activate_action


Description:

public abstract void activate_action (string action_name, Variant? parameter)

Activate the named action within this.

If the action is expecting a parameter, then the correct type of parameter must be given as parameter. If the action is expecting no parameters then parameter must be null. See get_action_parameter_type.

Parameters:

this

a ActionGroup

action_name

the name of the action to activate

parameter

parameters to the activation