[ CCode ( has_construct_function = false ) ]
public Action.with_parameter (string name, VariantType? parameter_type)
Creates a new action with a parameter.
The created action is stateless. See Action.stateful.
name |
the name of the action |
parameter_type |
the type of parameter to the activate function |
a new Action |