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 adw.spin_row.SpinRow UI definition:
<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 gtk.spin_button.SpinButton for details.
adw.spin_row.SpinRow has the same structure as class@ActionRow, as well as the .spin style class on the main node.
adw.spin_row.SpinRow uses an internal gtk.spin_button.SpinButton with the gtk.types.AccessibleRole.SpinButton role.
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 adw.spin_row.SpinRow UI definition:
See gtk.spin_button.SpinButton for details.
CSS nodes
adw.spin_row.SpinRow has the same structure as class@ActionRow, as well as the .spin style class on the main node.
Accessibility
adw.spin_row.SpinRow uses an internal gtk.spin_button.SpinButton with the gtk.types.AccessibleRole.SpinButton role.