Package: gtk
Class gtk:header-bar
Superclassesgtk:container, gtk:widget, gtk:buildable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:header-bar widget is similar to a horizontal gtk:box
widget. It allows children to be placed at the start or the end. In
addition, it allows a title and subtitle to be displayed. ![]() Figure: GtkHeaderBar The title will be centered with respect to the width of the box, even if the children at either side take up different amounts of space. The height of the titlebar will be set to provide sufficient space for the subtitle, even if none is currently set. If a subtitle is not needed, the space reservation can be turned off with the gtk:header-bar-has-subtitle function. The gtk:header-bar widget can add typical window frame controls, such as Minimize, Maximize and Close buttons, or the window icon. Child Property Detailspack-type The pack-type child property of type gtk:pack-type (Read / Write) Whether the child is packed with reference to the start or end of the parent. Default value: :start position The position child property of type :int (Read / Write) The index of the child widget in the parent. Allowed values: >= -1 Default value: 0 | Returned bySlot Access FunctionsInherited Slot Access FunctionsSee also |
2025-06-27