GtkLevelBar

A bar that shows a fill level.

Preview

CSS Node Tree

levelbar[.horizontal|.vertical][.continuous|.discrete]
  └── trough
      ├── block.filled[.low|.high|.full]
      └── block.empty

Props

Prop

Type

Behavior

  • In continuous mode, the bar fills proportionally.
  • In discrete mode, individual blocks fill up.
  • Default offset thresholds: low (0.25), high (0.75), full (1.0).

GTK4 Documentation →

On this page