Skip to main content

Type Alias: AdjustableProps

AdjustableProps = object

Defined in: packages/react/src/jsx.ts:737

Props for widgets backed by a GtkAdjustment.

Used by GtkRange, GtkScaleButton, GtkSpinButton, and AdwSpinRow to configure the adjustment bounds, increments, and value change callback.

Properties

lower?

optional lower: number

Defined in: packages/react/src/jsx.ts:741

The minimum allowed value


onValueChanged?

optional onValueChanged: (value, self) => void | null

Defined in: packages/react/src/jsx.ts:751

Callback fired when the adjustable value changes


pageIncrement?

optional pageIncrement: number

Defined in: packages/react/src/jsx.ts:747

The page increment for larger adjustments


pageSize?

optional pageSize: number

Defined in: packages/react/src/jsx.ts:749

The size of the visible portion (for scrollbars)


stepIncrement?

optional stepIncrement: number

Defined in: packages/react/src/jsx.ts:745

The step increment for small adjustments


upper?

optional upper: number

Defined in: packages/react/src/jsx.ts:743

The maximum allowed value


value?

optional value: number

Defined in: packages/react/src/jsx.ts:739

The current value of the adjustable