Struct gtk::CellRendererProgressBuilder [−][src]
pub struct CellRendererProgressBuilder { /* fields omitted */ }
Expand description
A builder-pattern type to construct CellRendererProgress
objects.
Implementations
Create a new CellRendererProgressBuilder
.
Build the CellRendererProgress
.
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, without specifying exactly how much.
Each increment of the property causes the block to move by a little bit.
To indicate that the activity has not started yet, set the property
to zero. To indicate completion, set the property to G_MAXINT
.
The “text” property determines the label which will be drawn
over the progress bar. Setting this property to None
causes the default
label to be displayed. Setting this property to an empty string causes
no label to be displayed.
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 layouts.
The “text-yalign” property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
The “value” property determines the percentage to which the progress bar will be “filled in”.
Cell background as a gdk::RGBA
The orientation of the orientable.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CellRendererProgressBuilder
impl Send for CellRendererProgressBuilder
impl Sync for CellRendererProgressBuilder
impl Unpin for CellRendererProgressBuilder
impl UnwindSafe for CellRendererProgressBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more