Skip to main content

Variable: GtkScaleButton

const GtkScaleButton: "GtkScaleButton"

Defined in: generated/jsx.ts:18953

Provides a button which pops up a scale widget.

This kind of widget is commonly used for volume controls in multimedia applications, and GTK provides a Gtk.VolumeButton subclass that is tailored for this use case.

Shortcuts and Gestures

The following signals have default keybindings:

  • Gtk.ScaleButton.:popup

CSS nodes

scalebutton.scale
╰── button.toggle
╰── <icon>

GtkScaleButton has a single CSS node with name scalebutton and .scale style class, and contains a button node with a .toggle style class.