GtkCheckButton

A checkbox or radio button widget.

Preview

CSS Node Tree

checkbutton[.text-button][.grouped]
  ├── check (or radio if grouped)
  └── [label]

Props

Prop

Type

Behavior

  • Without a group prop, renders as a checkbox.
  • With a group prop, buttons sharing the same group act as radio buttons — only one can be active at a time.
  • Supports an inconsistent state for indeterminate/dash display.

GTK4 Documentation →

On this page