gtk.cell_renderer_progress

Module for [CellRendererProgress] class

Types 3

Renders numbers as progress bars

[gtk.cell_renderer_progress.CellRendererProgress] renders a numeric value as a progress par in a cell. Additionally, it can display a text on top of the progress bar.

Deprecated

List views use widgets to display their contents.

You should use [gtk.progress_bar.ProgressBar] instead

Methods
GType _gType() @property
CellRendererProgress self()Returns `this`, for use in `with` statements.
CellRendererProgressGidBuilder builder()Get builder for [gtk.cellrendererprogress.CellRendererProgress] Returns: New builder object
bool inverted() @property
void inverted(bool propval) @property
int pulse() @propertyGet `pulse` property. Returns: Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress is made, w...
void pulse(int propval) @propertySet `pulse` property. Params: propval = Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress i...
string text() @propertyGet `text` property. Returns: The "text" property determines the label which will be drawn over the progress bar. Setting this property to null causes the default label to be displayed. Setting thi...
void text(string propval) @propertySet `text` property. Params: propval = The "text" property determines the label which will be drawn over the progress bar. Setting this property to null causes the default label to be displayed. Se...
float textXalign() @propertyGet `textXalign` property. Returns: The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL l...
void textXalign(float propval) @propertySet `textXalign` property. Params: propval = The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved ...
float textYalign() @propertyGet `textYalign` property. Returns: The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
void textYalign(float propval) @propertySet `textYalign` property. Params: propval = The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
int value() @propertyGet `value` property. Returns: The "value" property determines the percentage to which the progress bar will be "filled in".
void value(int propval) @propertySet `value` property. Params: propval = The "value" property determines the percentage to which the progress bar will be "filled in".
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.cellrendererprogress.CellRendererProgress]. Returns: the new cell renderer
Methods
T inverted(bool propval)
T pulse(int propval)Set `pulse` property. Params: propval = Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress i...
T text(string propval)Set `text` property. Params: propval = The "text" property determines the label which will be drawn over the progress bar. Setting this property to null causes the default label to be displayed. Se...
T textXalign(float propval)Set `textXalign` property. Params: propval = The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved ...
T textYalign(float propval)Set `textYalign` property. Params: propval = The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom). Returns: Bui...
T value(int propval)Set `value` property. Params: propval = The "value" property determines the percentage to which the progress bar will be "filled in". Returns: Builder instance for fluent chaining

Fluent builder for [gtk.cell_renderer_progress.CellRendererProgress]