Package: gtk

Function gtk:shortcut-new-with-arguments

Lambda List

gtk:shortcut-new-with-arguments (trigger action args)

Arguments

trigger -- a gtk:shortcut-trigger object that will trigger the shortcut
action -- a gtk:shortcut-action object that will be activated upon triggering
args -- a g:variant paramter for the arguments passed to activation

Return Value

The new gtk:shortcut object.

Details

Creates a new shortcut that is triggered by trigger and then activates action with arguments given by args.
 

See also

2026-11-20