Package: gtk

Class gtk-cell-renderer-progress

Superclasses

gtk-cell-renderer, gtk-orientable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

inverted
The inverted property of type :boolean (Read / Write)
Invert the direction in which the progress bar grows.
Default value: false
pulse
The pulse property of type :int (Read / Write)
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.
Allowed values: >= -1
Default value: -1
text
The text property of type :string (Read / Write)
Determines the label which will be drawn over the progress bar. Setting this property to nil causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed.
Default value: nil
text-xalign
The text-xalign property of type :float (Read / Write)
Controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL layouts.
Allowed values: [0,1]
Default value: 0.5
text-yalign
The text-yalign property of type :float (Read / Write)
Controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
Allowed values: [0,1]
Default value: 0.5
value
The value property of type :int (Read / Write)
Determines the percentage to which the progress bar will be "filled in".
Allowed values: [0,100]
Default value: 0

Details

gtk-cell-renderer-progress renders a numeric value as a progress par in a cell. Additionally, it can display a text on top of the progress bar.

The gtk-cell-renderer-progress cell renderer was added in GTK+ 2.6.
 

Slot Access Functions

Inherited Slot Access Functions

2020-6-14