Class
GioSimpleAction
Instance methods
Methods inherited from GAction (8)
g_action_activate
Activates the action.
Available since: 2.28
g_action_change_state
Request for the state of action
to be changed to value
.
Available since: 2.30
g_action_get_enabled
Checks if action
is currently enabled.
Available since: 2.28
g_action_get_name
Queries the name of action
.
Available since: 2.28
g_action_get_parameter_type
Queries the type of the parameter that must be given when activating
action
.
Available since: 2.28
g_action_get_state
Queries the current state of action
.
Available since: 2.28
g_action_get_state_hint
Requests a hint about the valid range of values for the state of
action
.
Available since: 2.28
g_action_get_state_type
Queries the type of the state of action
.
Available since: 2.28
Properties
Gio.SimpleAction:name
The name of the action. This is mostly meaningful for identifying
the action once it has been added to a GSimpleActionGroup
.
Available since: 2.28
Gio.SimpleAction:parameter-type
The type of the parameter that must be given when activating the action.
Available since: 2.28
Gio.SimpleAction:state
The state of the action, or NULL
if the action is stateless.
Available since: 2.28
Gio.SimpleAction:state-type
The GVariantType
of the state that the action has, or NULL
if the
action is stateless.
Available since: 2.28
Properties inherited from GAction (5)
Gio.Action:enabled
If action
is currently enabled.
Available since: 2.28
Gio.Action:name
The name of the action. This is mostly meaningful for identifying
the action once it has been added to a GActionGroup
. It is immutable.
Available since: 2.28
Gio.Action:parameter-type
The type of the parameter that must be given when activating the
action. This is immutable, and may be NULL
if no parameter is needed when
activating the action.
Available since: 2.28
Gio.Action:state
The state of the action, or NULL
if the action is stateless.
Available since: 2.28
Gio.Action:state-type
The GVariantType
of the state that the action has, or NULL
if the
action is stateless. This is immutable.
Available since: 2.28
Signals
Gio.SimpleAction::change-state
Indicates that the action just received a request to change its state.
Available since: 2.30
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.