GtkNotebook

A tabbed container widget.

Preview

Content of page 1

CSS Node Tree

notebook[.frame]
  ├── header[.top|.bottom|.left|.right]
  │   └── tabs
  │       └── tab[:checked] (per page)
  └── stack (page content)

Props

Prop

Type

Behavior

  • Use GtkNotebookPage children to declare each tab and its content.
  • Tabs can be positioned at top, bottom, left, or right via tabPos.

GTK4 Documentation →

On this page