Package org.gnome.gtk

Class ScaleButton

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable
Direct Known Subclasses:
VolumeButton

@Generated("io.github.jwharm.JavaGI") public class ScaleButton extends Widget implements Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable
GtkScaleButton 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 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.