activate_action_variant
Description:
Looks up the action in the action groups associated with this and its ancestors, and activates it.
If the action is in an action group added with insert_action_group, the
name
is expected to be prefixed with the prefix that was used when the group was inserted.
The arguments must match the actions expected parameter type, as returned by get_parameter_type.
Parameters:
this |
a Widget |
name |
the name of the action to activate |
args |
parameters to use, or null |
Returns:
true if the action was activated, false if the action does not exist. |