Learn R Programming

RGtk2 (version 2.12.17)

GtkCellRendererPixbuf: GtkCellRendererPixbuf

Description

Renders a pixbuf in a cell

Arguments

Methods and Functions

gtkCellRendererPixbufNew() gtkCellRendererPixbuf()

Hierarchy

GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererPixbuf

Detailed Description

A GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render either a given GdkPixbuf (set via the pixbuf property) or a stock icon (set via the stock-id property). To support the tree view, GtkCellRendererPixbuf also supports rendering two alternative pixbufs, when the is-expander property is TRUE. If the is-expanded property is TRUE and the pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the is-expanded property is FALSE and the pixbuf-expander-closed property is set to a pixbuf, it renders that one.

Convenient Construction

gtkCellRendererPixbuf is the equivalent of gtkCellRendererPixbufNew.

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererPixbuf.html