Class

GtkCellRendererProgress

Description [src]

class Gtk.CellRendererProgress : Gtk.CellRenderer
  implements Gtk.Orientable {
  /* No available fields */
}

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

The GtkCellRendererProgress cell renderer was added in GTK+ 2.6.

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

Implements

Constructors

gtk_cell_renderer_progress_new

Creates a new GtkCellRendererProgress.

since: 2.6

Instance methods

Methods inherited from GtkCellRenderer (24)

Please see GtkCellRenderer for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GtkOrientable (2)
gtk_orientable_get_orientation

Retrieves the orientation of the orientable.

since: 2.16

gtk_orientable_set_orientation

Sets the orientation of the orientable.

since: 2.16

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.

since: 2.12

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.

since: 2.6

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.

since: 2.12

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).

since: 2.12

Gtk.CellRendererProgress:value

The “value” property determines the percentage to which the progress bar will be “filled in”.

since: 2.6

Properties inherited from GtkCellRenderer (16)
Gtk.CellRenderer:cell-background
No description available.

Gtk.CellRenderer:cell-background-gdk

Cell background as a GdkColor.

deprecated: 3.4 

Gtk.CellRenderer:cell-background-rgba

Cell background as a GdkRGBA.

since: 3.0

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)
GtkOrientable:orientation

The orientation of the orientable.

since: 2.16

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.

since: 2.4

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.

since: 2.6

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.

Class structure

struct GtkCellRendererProgressClass {
  GtkCellRendererClass parent_class;
  void (* _gtk_reserved1) (
void
  );
  void (* _gtk_reserved2) (
void
  );
  void (* _gtk_reserved3) (
void
  );
  void (* _gtk_reserved4) (
void
  );
  
}

No description available.

Class members
parent_class: GtkCellRendererClass

No description available.

_gtk_reserved1: void (* _gtk_reserved1) ( void )

No description available.

_gtk_reserved2: void (* _gtk_reserved2) ( void )

No description available.

_gtk_reserved3: void (* _gtk_reserved3) ( void )

No description available.

_gtk_reserved4: void (* _gtk_reserved4) ( void )

No description available.