GtkScale

A slider widget for selecting a value from a range.

Preview

50.0

CSS Node Tree

scale[.horizontal|.vertical][.marks-before][.marks-after]
  ├── value[.top|.bottom|.left|.right]
  ├── marks
  │   └── mark > indicator + [label]
  └── trough
      ├── highlight
      └── slider

Props

Prop

Type

Keyboard

  • Arrow keys — adjust value by step
  • Shift + Arrow — fine-tune (10× smaller step)
  • Home / End — jump to min / max

GTK4 Documentation →

On this page