Class

GtkCellRendererProgress

Description [src]

final class Gtk.CellRendererProgress : Gtk.CellRenderer {
  /* 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.

Hierarchy

hierarchy this GtkCellRendererProgress implements_0 GtkOrientable this--implements_0 ancestor_0 GtkCellRenderer ancestor_0--this ancestor_1 GInitiallyUnowned ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1

Ancestors

Implements

Constructors

gtk_cell_renderer_progress_new

Creates a new GtkCellRendererProgress.

Properties

Gtk.CellRendererProgress:inverted
No description available.
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
No description available.
Gtk.CellRenderer:cell-background-rgba

Cell background as a GdkRGBA

Gtk.CellRenderer:cell-background-set
No description available.
Gtk.CellRenderer:editing
No description available.
Gtk.CellRenderer:height
No description available.
Gtk.CellRenderer:is-expanded
No description available.
Gtk.CellRenderer:is-expander
No description available.
Gtk.CellRenderer:mode
No description available.
Gtk.CellRenderer:sensitive
No description available.
Gtk.CellRenderer:visible
No description available.
Gtk.CellRenderer:width
No description available.
Gtk.CellRenderer:xalign
No description available.
Gtk.CellRenderer:xpad
No description available.
Gtk.CellRenderer:yalign
No description available.
Gtk.CellRenderer:ypad
No description available.
Properties inherited from GtkOrientable (1)
Gtk.Orientable:orientation

The orientation of the orientable.