GtkHeaderBar
A bar for window titles and controls.
Preview
CSS Node Tree
headerbar
└── windowhandle
└── box (CenterLayout)
├── box.start
├── <title widget>
└── box.endProps
Prop
Type
Behavior
- Window control buttons (close, minimize, maximize) are rendered based on the
decorationLayoutstring. - The
decorationLayoutformat uses colon to separate start from end buttons:"appmenu:minimize,maximize,close". Without a colon, both sides show the buttons. Onlyminimize,maximizeandclosemake buttons. - The buttons and the title bar act on the enclosing
GtkWindow(onClose,onMinimize,onMaximize,onDrag), unless the header bar sets its ownonWindow*handlers. - Without a title widget, the header bar shows the window's
title.