Gio.ActionGroup.prototype.action_state_changed

function action_state_changed(action_name: String, state: GLib.Variant): void {
    // Gjs wrapper for g_action_group_action_state_changed()
}
  

Emits the Gio.ActionGroup::action-state-changed signal on action_group.

This function should only be called by Gio.ActionGroup implementations.

Since 2.28

action_name

the name of an action in the group

state

the new state of the named action