Skip to main content

Variable: ScaleButton

const ScaleButton: "ScaleButton"

Defined in: react/src/generated/jsx.ts:14785

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 [class@Gtk.VolumeButton] subclass that is tailored for this use case.

Shortcuts and Gestures

The following signals have default keybindings:

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.