Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::CellRendererProgress Class Reference

A GtkCellRendererProgress C++ wrapper class. More...

#include <xfc/gtk/cellrendererprogress.hh>

Inheritance diagram for Xfc::Gtk::CellRendererProgress:

Xfc::Gtk::CellRenderer Xfc::Gtk::Object Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable List of all members.

Property Prototypes

Public Member Functions

Accessors
Property Proxies

Detailed Description

A GtkCellRendererProgress C++ wrapper class.

CellRendererProgress is a cell renderer that renders numbers as progress bars.


Constructor & Destructor Documentation

Xfc::Gtk::CellRendererProgress::CellRendererProgress ( GtkCellRendererProgress *  cell,
bool  owns_reference = false 
) [explicit, protected]

Construct a new CellRendererProgress from an existing GtkCellRendererProgress.

Parameters:
cell A pointer to a GtkCellRendererProgress.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The cell can be a newly created GtkCellRendererProgress or an existing GtkCellRendererProgress. (see G::Object::Object).

Xfc::Gtk::CellRendererProgress::CellRendererProgress ( GtkCellRendererProgress *  cell,
bool  owns_reference = false 
) [explicit, protected]

Construct a new CellRendererProgress from an existing GtkCellRendererProgress.

Parameters:
cell A pointer to a GtkCellRendererProgress.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The cell can be a newly created GtkCellRendererProgress or an existing GtkCellRendererProgress. (see G::Object::Object).


Member Function Documentation

const ValuePropertyProxy Xfc::Gtk::CellRendererProgress::property_value (  ) 

The "value" property determines the percentage to which the progress bar will be "filled in" (int : Read / Write).

The allowed values are: [0,100]. The default value is 0.

const TextPropertyProxy Xfc::Gtk::CellRendererProgress::property_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. The default value is null.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3