GtkScrollbar

A standalone scrollbar widget.

Preview

CSS Node Tree

scrollbar[.horizontal|.vertical]
  └── range[.dragging]
      └── trough
          └── slider

Props

Prop

Type

Behavior

  • Most apps should use GtkScrolledWindow instead, whose scrollbars are these.
  • Pressing the slider grabs it; a click in the trough centers the slider on the pointer.
  • Shift+click or a middle click pages towards the pointer while held; the wheel moves by pages.

GTK4 Documentation →

On this page