change_action_state


Description:

[ Version ( since = "2.28" ) ]
public abstract void change_action_state (string action_name, Variant value)

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

The action must be stateful and value must be of the correct type. See get_action_state_type.

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 get_action_state_hint.

If the value GVariant is floating, it is consumed.

Parameters:

this

a ActionGroup

action_name

the name of the action to request the change on

value

the new state




2022 vala-language.org