gtk.cell_renderer_progress
Module for [CellRendererProgress] class
Types 3
#GtkCellRendererProgress renders a numeric value as a progress par in a cell. Additionally, it can display a text on top of the progress bar.
The #GtkCellRendererProgress cell renderer was added in GTK+ 2.6.
Methods
CellRendererProgressGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_progress.CellRendererProgress] Returns: New builder objectint 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".classCellRendererProgressGidBuilderImpl(T) : gtk.cell_renderer.CellRendererGidBuilderImpl!T, gtk.orientable.OrientableGidBuilderImpl!T
Fluent builder implementation template for gtk.cell_renderer_progress.CellRendererProgress
Methods
T inverted(bool propval) nothrowT 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