create_action


Description:

public Action create_action (string name)

Creates a new Action with the name of name.

Setting the state of this action will toggle the state of the state machine. You should use Variant.string or similar to create the state.

Parameters:

this

An StateMachine

name

the name of the action.

Returns:

A newly created Action.




2022 vala-language.org