Type Alias: GtkRangeProps
GtkRangeProps =
WidgetProps&object
Defined in: generated/jsx.ts:7721
Props for the GtkRange widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:7773 |
fillLevel? | number | The fill level (e.g. prebuffering of a network stream). | generated/jsx.ts:7723 |
inverted? | boolean | If %TRUE, the direction in which the slider moves is inverted. | generated/jsx.ts:7725 |
onAdjustBounds()? | (self, value) => void | null | Emitted before clamping a value, to give the application a chance to adjust the bounds. | generated/jsx.ts:7749 |
onChangeValue()? | (self, scroll, value) => 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:7764 |
onMoveSlider()? | (self, step) => void | null | Virtual function that moves the slider. Used for keybindings. | generated/jsx.ts:7770 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:7779 |
onValueChanged()? | (self) => void | null | Emitted when the range value changes. | generated/jsx.ts:7772 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:7744 |
ref? | Ref<Gtk.Range> | - | generated/jsx.ts:7792 |
restrictToFillLevel? | boolean | Controls whether slider movement is restricted to an upper boundary set by the fill level. | generated/jsx.ts:7730 |
roundDigits? | number | The number of digits to round the value to when it changes. See Range.:change-value. | generated/jsx.ts:7737 |
showFillLevel? | boolean | Controls whether fill level indicator graphics are displayed on the trough. | generated/jsx.ts:7742 |