@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?
optionallower?:number
Defined in: packages/react/src/jsx.ts:748
The minimum allowed value
onValueChanged?
optionalonValueChanged?: ((value,self) =>void) |null
Defined in: packages/react/src/jsx.ts:758
Callback fired when the adjustable value changes
pageIncrement?
optionalpageIncrement?:number
Defined in: packages/react/src/jsx.ts:754
The page increment for larger adjustments
pageSize?
optionalpageSize?:number
Defined in: packages/react/src/jsx.ts:756
The size of the visible portion (for scrollbars)
stepIncrement?
optionalstepIncrement?:number
Defined in: packages/react/src/jsx.ts:752
The step increment for small adjustments
upper?
optionalupper?:number
Defined in: packages/react/src/jsx.ts:750
The maximum allowed value
value?
optionalvalue?:number
Defined in: packages/react/src/jsx.ts:746
The current value of the adjustable