Type Alias: GtkRangeProps
GtkRangeProps =
WidgetProps&object
Defined in: generated/jsx.ts:6192
Props for the GtkRange widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
fillLevel? | number | The fill level (e.g. prebuffering of a network stream). | generated/jsx.ts:6194 |
inverted? | boolean | If %TRUE, the direction in which the slider moves is inverted. | generated/jsx.ts:6196 |
lower? | number | The minimum value | generated/jsx.ts:6245 |
onAdjustBounds? | (value, self) => void | null | Emitted before clamping a value, to give the application a chance to adjust the bounds. | generated/jsx.ts:6220 |
onChangeValue? | (scroll, value, self) => boolean | null | Emitted when a scroll action is performed on a range. It allows an application to determine the type of scroll event that occurred and the resultant new value. The application can handle the event itself and return %TRUE to prevent further processing. Or, by returning %FALSE, it can pass the event to other handlers until the default GTK handler is reached. The value parameter is unrounded. An application that overrides the ::change-value signal is responsible for clamping the value to the desired number of decimal digits; the default GTK handler clamps the value based on Range.round-digits. | generated/jsx.ts:6235 |
onMoveSlider? | (step, self) => void | null | Virtual function that moves the slider. Used for keybindings. | generated/jsx.ts:6241 |
onValueChanged? | (value, self) => void | null | Callback when the value changes | generated/jsx.ts:6255 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:6215 |
pageIncrement? | number | The increment for page up/down | generated/jsx.ts:6251 |
pageSize? | number | The page size (usually 0 for scales) | generated/jsx.ts:6253 |
ref? | Ref<Gtk.Range> | - | generated/jsx.ts:6256 |
restrictToFillLevel? | boolean | Controls whether slider movement is restricted to an upper boundary set by the fill level. | generated/jsx.ts:6201 |
roundDigits? | number | The number of digits to round the value to when it changes. See Range.:change-value. | generated/jsx.ts:6208 |
showFillLevel? | boolean | Controls whether fill level indicator graphics are displayed on the trough. | generated/jsx.ts:6213 |
stepIncrement? | number | The increment for arrow keys | generated/jsx.ts:6249 |
upper? | number | The maximum value | generated/jsx.ts:6247 |
value? | number | The current value of the adjustment | generated/jsx.ts:6243 |