Package: gtk

Function gtk:shortcuts-group-add-shortcut

Lambda List

gtk:shortcuts-group-add-shortcut (group shortcut)

Arguments

group -- a gtk:shortcuts-group widget
shortcut -- a gtk:shortcuts-shortcut widget

Details

Adds a shortcut to the shortcuts group. This is the programmatic equivalent to using a gtk:builder UI definition and a <child> tag to add the child. Adding children with other API is not appropriate as the gtk:shortcuts-group widget manages its children internally.

Since 4.14
 

See also

gtk:shortcuts-group
gtk:shortctus-shortcut
#2024-10-27