Package: gtk
Function gtk:widget-class-add-shortcut
Lambda Listgtk:widget-class-add-shortcut (gtype shortcut) ArgumentsDetails Installs a shortcut for the widget class of g:type-t type.
Every instance created for the widget class or its subclasses will inherit
this shortcut and trigger it. Shortcuts added this way will be triggered in the :bubble propagation phase, which means they may also trigger if child widgets have focus. This function must only be used in class initialization functions otherwise it is not guaranteed that the shortcut will be installed. | See also |
#2025-2-13