Class: Gtk::CellRendererProgress
- Inherits:
-
Object
- Object
- Gtk::CellRendererProgress
- Defined in:
- (unknown)
Instance Method Summary collapse
- #inverted=(inverted) ⇒ TrueClass
-
#inverted? ⇒ TrueClass
Inverted.
-
#new ⇒ Gtk::CellRenderer
Creates a new Gtk::CellRendererProgress.
-
#pulse ⇒ Integer
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.
-
#pulse=(pulse) ⇒ Integer
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.
-
#text ⇒ String
The “text” property determines the label which will be drawn over the progress bar.
-
#text=(text) ⇒ String
The “text” property determines the label which will be drawn over the progress bar.
-
#text_xalign ⇒ Gtk::gfloat
The “text-xalign” property controls the horizontal alignment of the text in the progress bar.
-
#text_xalign=(text_xalign) ⇒ Gtk::gfloat
The “text-xalign” property controls the horizontal alignment of the text in the progress bar.
-
#text_yalign ⇒ Gtk::gfloat
The “text-yalign” property controls the vertical alignment of the text in the progress bar.
-
#text_yalign=(text_yalign) ⇒ Gtk::gfloat
The “text-yalign” property controls the vertical alignment of the text in the progress bar.
-
#value ⇒ Integer
The “value” property determines the percentage to which the progress bar will be “filled in”.
-
#value=(value) ⇒ Integer
The “value” property determines the percentage to which the progress bar will be “filled in”.
Instance Method Details
#inverted=(inverted) ⇒ TrueClass
#inverted? ⇒ TrueClass
Returns inverted.
#new ⇒ Gtk::CellRenderer
Creates a new Gtk::CellRendererProgress.
#pulse ⇒ Integer
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.
#pulse=(pulse) ⇒ Integer
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.
#text ⇒ String
The “text” property 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.
#text=(text) ⇒ String
The “text” property 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.
#text_xalign ⇒ Gtk::gfloat
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.
#text_xalign=(text_xalign) ⇒ Gtk::gfloat
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.
#text_yalign ⇒ Gtk::gfloat
The “text-yalign” property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
#text_yalign=(text_yalign) ⇒ Gtk::gfloat
The “text-yalign” property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
#value ⇒ Integer
The “value” property determines the percentage to which the progress bar will be “filled in”.
#value=(value) ⇒ Integer
The “value” property determines the percentage to which the progress bar will be “filled in”.