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 _getGType() static nothrow
GType _gType() @property nothrow
CellRendererProgress self() nothrowReturns `this`, for use in `with` statements.
CellRendererProgressGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_progress.CellRendererProgress] Returns: New builder object
bool inverted() @property nothrow
void inverted(bool propval) @property nothrow
int pulse() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `value` property. Returns: The "value" property determines the percentage to which the progress bar will be "filled in".
void value(int propval) @property nothrowSet `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.cell_renderer_progress.CellRendererProgress]. Returns: the new cell renderer

Fluent builder implementation template for gtk.cell_renderer_progress.CellRendererProgress

Methods
T inverted(bool propval) nothrow
T pulse(int propval) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `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