Package: gtk

Function gtk:shortcut-action-activate

Lambda List

gtk:shortcut-action-activate (action flags widget args)

Arguments

shortcut -- a gtk:shortcut-action object
flags -- a gtk:shortcut-action-flags value
widget -- a gtk:widget object
args -- an array of g:variant values to pass

Return Value

True if the action was activaed successfully.

Details

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 do not match the action or if the activation otherwise had no effect, false will be returned.
 

See also

#2024-11-1