Action.with_parameter


Description:

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

Parameters:

name

the name of the action

parameter_type

the type of parameter to the activate function

Returns:

a new Action




2022 vala-language.org