Skip to content

@gtkx/react / AdjustableProps

Type Alias: AdjustableProps

AdjustableProps = object

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

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:748

The minimum allowed value


onValueChanged?

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

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

Callback fired when the adjustable value changes


pageIncrement?

optional pageIncrement?: number

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

The page increment for larger adjustments


pageSize?

optional pageSize?: number

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

The size of the visible portion (for scrollbars)


stepIncrement?

optional stepIncrement?: number

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

The step increment for small adjustments


upper?

optional upper?: number

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

The maximum allowed value


value?

optional value?: number

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

The current value of the adjustable