Type Alias: GtkLevelBarProps
GtkLevelBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:4876
Props for the GtkLevelBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
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:4883 |
maxValue? | number | Determines the maximum value of the interval that can be displayed by the bar. | generated/jsx.ts:4885 |
minValue? | number | Determines the minimum value of the interval that can be displayed by the bar. | generated/jsx.ts:4887 |
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:4900 |
offsets? | object[] | null | Array of named offset thresholds for visual style changes | generated/jsx.ts:4917 |
onOffsetChanged? | (name, self) => 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:4915 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:4904 |
ref? | Ref<Gtk.LevelBar> | - | generated/jsx.ts:4918 |
value? | number | Determines the currently filled value of the level bar. | generated/jsx.ts:4902 |