Package: gtk
Class gtk:shortcuts-window
Superclassesgtk:window, gtk:widget, gobject:initially-unowned, gtk:accessible, gtk:buildable, gtk:constraint-target, gtk:native, gtk:root, gtk:shortcut-manager, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:shortcuts-window widget shows brief information about the
keyboard shortcuts and gestures of an application.
The shortcuts can be grouped, and you can have multiple sections in this
window, corresponding to the major modes of your application. Additionally, the shortcuts can be filtered by the current view, to avoid showing information that is not relevant in the current application context. The recommended way to construct a shortcuts window is with a gtk:builder UI definition, by populating a shortcuts window with one or more gtk:shortcuts-section objects, which contain gtk:shortcuts-group objects that in turn contain objects of the gtk:shortcuts-shortcut class. Examples![]() An example with multiple views: This example shows a shortcuts window that has been configured to show only the shortcuts relevant to the "stopwatch" view. The .ui file for this example can be found here. ![]() An example with multiple sections: This example shows a shortcuts window with two sections, "Editor Shortcuts" and "Terminal Shortcuts". The .ui file for this example can be found here. ![]() Signal DetailsThe "close" signallambda (shortcutswindow) :action
The "search" signallambda (shortcutswindow) :action
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2024-2-18