Package org.gnome.adw

Class SpinRow

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Actionable, Buildable, ConstraintTarget, Editable

@Generated("io.github.jwharm.JavaGI") public final class SpinRow extends ActionRow implements Accessible, Actionable, Buildable, ConstraintTarget, Editable
An ActionRow with an embedded spin button.

spin-row

Example of an AdwSpinRow 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 SpinButton for details.

CSS nodes
AdwSpinRow has the same structure as ActionRow, as well as the .spin style class on the main node.

Accessibility
AdwSpinRow uses an internal GtkSpinButton with the GTK_ACCESSIBLE_ROLE_SPIN_BUTTON role.