ShortcutAction.activate

Activates the action on the @widget with the given @args.

Note that some actions ignore the passed in @flags, @widget or @args.

Activation of an action can fail for various reasons. If the action is not supported by the @widget, if the @args don't match the action or if the activation otherwise had no effect, %FALSE will be returned.

class ShortcutAction
bool
activate

Parameters

flags GtkShortcutActionFlags

flags to activate with

widget Widget

Target of the activation

args Variant

arguments to pass

Return Value

Type: bool

%TRUE if this action was activated successfully

Meta