activate_action_variant
Description:
Activates an action for the widget.
The action is looked up in the action groups associated with this and its ancestors.
If the action is in an action group added with [method@Gtk.Widget.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 [method@Gio.Action.get_parameter_type].
Parameters:
this |
a widget |
name |
the name of the action to activate |
args |
parameters to use |
Returns:
true if the action was activated |