Skip to main content

Variable: AdwSpinRow

const AdwSpinRow: "AdwSpinRow"

Defined in: generated/jsx.ts:19675

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 Gtk.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.