ScaleButton


Object Hierarchy:

Gtk.ScaleButton Gtk.ScaleButton Gtk.ScaleButton Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.ScaleButton GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.ScaleButton Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.ScaleButton Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.ScaleButton Gtk.ConstraintTarget->Gtk.Widget Gtk.AccessibleRange Gtk.AccessibleRange Gtk.AccessibleRange->Gtk.ScaleButton Gtk.Orientable Gtk.Orientable Gtk.Orientable->Gtk.ScaleButton

Description:

[ CCode ( type_id = "gtk_scale_button_get_type ()" ) ]
public class ScaleButton : Widget, 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 [class@Gtk.VolumeButton] subclass that is tailored for this use case.

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.

All known sub-classes:

Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Gtk.AccessibleRange
All known members inherited from interface Gtk.Orientable