Type Alias: GtkProgressBarProps
GtkProgressBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:7671
Props for the GtkProgressBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
ellipsize? | Pango.EllipsizeMode | The preferred place to ellipsize the string. The text will be ellipsized if the progress bar does not have enough room to display the entire string, specified as a PangoEllipsizeMode. Note that setting this property to a value other than %PANGO_ELLIPSIZE_NONE has the side-effect that the progress bar requests only enough space to display the ellipsis ("..."). Another means to set a progress bar's width is Widget.set_size_request. | generated/jsx.ts:7683 |
fraction? | number | The fraction of total work that has been completed. | generated/jsx.ts:7685 |
inverted? | boolean | Invert the direction in which the progress bar grows. | generated/jsx.ts:7687 |
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:7712 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:7706 |
pulseStep? | number | The fraction of total progress to move the bounding block when pulsed. | generated/jsx.ts:7689 |
ref? | Ref<Gtk.ProgressBar> | - | generated/jsx.ts:7718 |
showText? | boolean | Sets whether the progress bar will show a text in addition to the bar itself. The shown text is either the value of the ProgressBar.text property or, if that is %NULL, the ProgressBar.fraction value, as a percentage. To make a progress bar that is styled and sized suitably for showing text (even if the actual text is blank), set ProgressBar.show-text to %TRUE and ProgressBar.text to the empty string (not %NULL). | generated/jsx.ts:7702 |
text? | string | null | Text to be displayed in the progress bar. | generated/jsx.ts:7704 |