Package: gtk

Function gtk:application-accels-for-action

Lambda List

gtk:application-accels-for-action (application name)

Syntax

(gtk:application-accels-for-action application name) => accels
(setf (gtk:application-accels-for-action application name) accels)

Arguments

application -- a gtk:application instance
name -- a string for a detailed action name, specifying an action and target
accels -- a string or a list of strings for accelerators in the format understood by the gtk:accelerator-parse function

Details

Gets or sets the keyboard accelerators that will trigger the given action. The first item in the list of accelerators will be the primary accelerator, which may be displayed in the UI. To remove all accelerators for an action, use an empty list.

For the detailed action name, see the g:action-parse-detailed-name and g:action-print-detailed-name functions.
 

See also

2025-08-21