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 [method@Gtk.Widget.activate_action_variant] that constructs the args
variant according to
format_string
.
Parameters:
this |
a `GtkWidget` |
name |
the name of the action to activate |
format_string |
GVariant format string for arguments |
... |
arguments, as given by format string |
Returns:
true if the action was activated, false if the action does not exist |