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


Public Member Functions | Static Protected Attributes
Xfc::Gtk::CellRendererPixbuf Class Reference

A GtkCellRendererPixbuf C++ wrapper class. More...

#include <xfc/gtk/cellrendererpixbuf.hh>

Inheritance diagram for Xfc::Gtk::CellRendererPixbuf:
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 GtkCellRendererPixbuf C++ wrapper class.

CellRendererPixbuf is an object that renders a pixbuf in a cell.


Constructor & Destructor Documentation

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

Construct a new CellRendererPixbuf from an existing GtkCellRendererPixbuf.

Parameters:
cellA pointer to a GtkCellRendererPixbuf.
owns_referenceSet false if the initial reference count is floating, set true if it's not.

The cell can be a newly created GtkCellRendererPixbuf or an existing GtkCellRendererPixbuf. (see G::Object::Object).

Xfc::Gtk::CellRendererPixbuf::CellRendererPixbuf ( )

Construct a new CellRendererPixbuf.

Adjust rendering parameters using object properties. Also, with TreeViewColumn, you can bind a property to a value in a TreeModel. For example, you can bind the "pixbuf" property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the TreeView.


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