ActionGroup.changeActionState

Request for the state of the named action within action_group to be changed to value.

The action must be stateful and value must be of the correct type. See gio.action_group.ActionGroup.getActionStateType.

This call merely requests a change. The action may refuse to change its state or may change its state to something other than value. See gio.action_group.ActionGroup.getActionStateHint.

If the value GVariant is floating, it is consumed.

interface ActionGroup
void
changeActionState

Parameters

actionName string

the name of the action to request the change on

value glib.variant.VariantG

the new state