Creates a new #GAction with the name of @name.
Setting the state of this action will toggle the state of the state machine. You should use g_variant_new_string() or similar to create the state.
the name of the action.
A newly created #GAction.
See Implementation
Creates a new #GAction with the name of @name.
Setting the state of this action will toggle the state of the state machine. You should use g_variant_new_string() or similar to create the state.