Package: gtk

Function gtk:shortcuts-section-add-group

Lambda List

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

Arguments

section -- a gtk:shortcuts-section widget
group -- a gtk:shortcuts-group widget to add

Details

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

Since 4.14
 

See also

#2024-10-27