GtkCellRendererProgress

GtkCellRendererProgress — Renders numbers as progress bars

Synopsis


#include <gtk/gtk.h>


struct      GtkCellRendererProgress;
GtkCellRenderer* gtk_cell_renderer_progress_new
                                            (void);


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkCellRenderer
               +----GtkCellRendererProgress

Properties


  "text"                 gchararray           : Read / Write
  "value"                gint                 : Read / Write

Description

Details

struct GtkCellRendererProgress

struct GtkCellRendererProgress;


gtk_cell_renderer_progress_new ()

GtkCellRenderer* gtk_cell_renderer_progress_new
                                            (void);

Creates a new GtkCellRendererProgress.

Returns : the new cell renderer

Since 2.6

Properties

"text" (gchararray : Read / Write)

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

"value" (gint : Read / Write)

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

Since 2.6