Class
GtkCellRendererProgress
deprecated: 4.10
Description [src]
final class Gtk.CellRendererProgress : Gtk.CellRenderer
implements Gtk.Orientable {
/* No available fields */
}
Renders numbers as progress bars
GtkCellRendererProgress
renders a numeric value as a progress par in a cell.
Additionally, it can display a text on top of the progress bar.
Deprecated since: 4.10
List views use widgets to display their contents.
You should use GtkProgressBar
instead.
Instance methods
Methods inherited from GtkCellRenderer (27)
Please see GtkCellRenderer for a full list of methods.
Methods inherited from GtkOrientable (2)
gtk_orientable_get_orientation
Retrieves the orientation of the orientable
.
gtk_orientable_set_orientation
Sets the orientation of the orientable
.
Properties
Gtk.CellRendererProgress:pulse
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.
Gtk.CellRendererProgress:text
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 this property to an empty string causes
no label to be displayed.
Gtk.CellRendererProgress:text-xalign
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.
Gtk.CellRendererProgress:text-yalign
The “text-yalign” property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
Gtk.CellRendererProgress:value
The “value” property determines the percentage to which the progress bar will be “filled in”.
Properties inherited from GtkCellRenderer (15)
Gtk.CellRenderer:cell-background
Gtk.CellRenderer:cell-background-rgba
Cell background as a GdkRGBA
.
Gtk.CellRenderer:cell-background-set
Gtk.CellRenderer:editing
Gtk.CellRenderer:height
Gtk.CellRenderer:is-expanded
Gtk.CellRenderer:is-expander
Gtk.CellRenderer:mode
Gtk.CellRenderer:sensitive
Gtk.CellRenderer:visible
Gtk.CellRenderer:width
Gtk.CellRenderer:xalign
Gtk.CellRenderer:xpad
Gtk.CellRenderer:yalign
Gtk.CellRenderer:ypad
Properties inherited from GtkOrientable (1)
Signals
Signals inherited from GtkCellRenderer (2)
GtkCellRenderer::editing-canceled
This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape.
GtkCellRenderer::editing-started
This signal gets emitted when a cell starts to be edited.
The intended use of this signal is to do special setup
on editable
, e.g. adding a GtkEntryCompletion
or setting
up additional columns in a GtkComboBox
.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.