Package: gtk

Function gtk:shortcuts-window-add-section

Lambda List

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

Arguments

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

Details

Adds a section to the shortcuts window. This is the programmatic equivalent to using a gtk:builder UI definition and a <child> tag to add the child. Using the gtk:window-child function is not appropriate as the shortcuts window manages its children internally.

Since 4.14

Warning

This function is deprecated since 4.18. This widget will be removed in GTK 5.
 

See also

#2025-05-14