GtkHeaderBar

A bar for window titles and controls.

Preview

My Application

CSS Node Tree

headerbar
  └── windowhandle
      └── box (CenterLayout)
          ├── box.start
          ├── <title widget>
          └── box.end

Props

Prop

Type

Behavior

  • Window control buttons (close, minimize, maximize) are rendered based on the decorationLayout string.
  • The decorationLayout format uses colon to separate start from end buttons: "appmenu:minimize,maximize,close".

GTK4 Documentation →

On this page