ActionT.changeState

Request for the state of action to be changed to value.

The action must be stateful and value must be of the correct type. See gio.action.Action.getStateType.

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.Action.getStateHint.

If the value GVariant is floating, it is consumed.

template ActionT()
override
void
changeState

Parameters

value glib.variant.VariantG

the new state