SpinRow


Object Hierarchy:

Object hierarchy for SpinRow

Description:

[ CCode ( type_id = "adap_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 `AdapSpinRow` UI definition:

```xml <object class="AdapSpinRow"> <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

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

Accessibility

`AdapSpinRow` uses an internal `GtkSpinButton` with the `GTK_ACCESSIBLE_ROLE_SPIN_BUTTON` role.


Namespace: Adap
Package: libadapta-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget