activate_action
Description:
Looks up the action in the action groups associated with this and its ancestors, and activates it.
This is a wrapper around activate_action_variant that constructs the
args
variant according to format_string
.
Parameters:
this |
a Widget |
name |
the name of the action to activate |
format_string |
GVariant format string for arguments or null for no arguments |
... |
arguments, as given by format string |
Returns:
true if the action was activated, false if the action does not exist. |