SpinRow


Object Hierarchy:

Adw.SpinRow Adw.SpinRow Adw.SpinRow Adw.ActionRow Adw.ActionRow Adw.ActionRow->Adw.SpinRow Adw.PreferencesRow Adw.PreferencesRow Adw.PreferencesRow->Adw.ActionRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Adw.PreferencesRow Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.ListBoxRow GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.SpinRow Gtk.Accessible->Adw.ActionRow Gtk.Accessible->Adw.PreferencesRow Gtk.Accessible->Gtk.ListBoxRow Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.SpinRow Gtk.Buildable->Adw.ActionRow Gtk.Buildable->Adw.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.SpinRow Gtk.ConstraintTarget->Adw.ActionRow Gtk.ConstraintTarget->Adw.PreferencesRow Gtk.ConstraintTarget->Gtk.ListBoxRow Gtk.ConstraintTarget->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Adw.SpinRow Gtk.Actionable->Adw.ActionRow Gtk.Actionable->Adw.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow Gtk.Editable Gtk.Editable Gtk.Editable->Adw.SpinRow

Description:

[ CCode ( type_id = "adw_spin_row_get_type ()" ) ]
[ Version ( since = "1.4" ) ]
public sealed class SpinRow : ActionRow, Accessible, Actionable, Buildable, ConstraintTarget, Editable

An [class@ActionRow] with an embedded spin button.

<picture> <source srcset="spin-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="spin-row.png" alt="spin-row"> </picture>

Example of an `AdwSpinRow` UI definition:

```xml <object class="AdwSpinRow"> <property name="title" translatable="yes">Spin Row</property> <property name="adjustment"> <object class="GtkAdjustment"> <property name="lower">0</property> <property name="upper">100 </property> <property name="value">50</property> <property name="page-increment">10</property> <property name="step-increment">1</property> </object> </property> </object> ```

See [class@Gtk.SpinButton] for details.

CSS nodes

`AdwSpinRow` has the same structure as [class@ActionRow], as well as the `.spin` style class on the main node.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget