Type Alias: GtkLevelBarProps
GtkLevelBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:6034
Props for the GtkLevelBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:6074 |
inverted? | boolean | Whether the GtkLeveBar is inverted. Level bars normally grow from top to bottom or left to right. Inverted level bars grow in the opposite direction. | generated/jsx.ts:6041 |
maxValue? | number | Determines the maximum value of the interval that can be displayed by the bar. | generated/jsx.ts:6043 |
minValue? | number | Determines the minimum value of the interval that can be displayed by the bar. | generated/jsx.ts:6045 |
mode? | Gtk.LevelBarMode | Determines the way GtkLevelBar interprets the value properties to draw the level fill area. Specifically, when the value is %GTK_LEVEL_BAR_MODE_CONTINUOUS, GtkLevelBar will draw a single block representing the current value in that area; when the value is %GTK_LEVEL_BAR_MODE_DISCRETE, the widget will draw a succession of separate blocks filling the draw area, with the number of blocks being equal to the units separating the integral roundings of LevelBar.min-value and LevelBar.max-value. | generated/jsx.ts:6058 |
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:6080 |
onOffsetChanged()? | (self, name) => void | null | Emitted when an offset specified on the bar changes value. This typically is the result of a LevelBar.add_offset_value call. The signal supports detailed connections; you can connect to the detailed signal "changed::x" in order to only receive callbacks when the value of offset "x" changes. | generated/jsx.ts:6073 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:6062 |
ref? | Ref<Gtk.LevelBar> | - | generated/jsx.ts:6086 |
value? | number | Determines the currently filled value of the level bar. | generated/jsx.ts:6060 |