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


Public Member Functions | Static Protected Attributes
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.

Public Member Functions

Static Protected Attributes

Constructors


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:
cellA pointer to a GtkCellRendererProgress.
owns_referenceSet 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 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.

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.


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