java-gnome version 4.0.15

org.gnome.gtk
Class CellRendererPixbuf

Object
  extended by org.freedesktop.bindings.Pointer
      extended by org.freedesktop.bindings.Proxy
          extended by org.gnome.glib.Object
              extended by org.gnome.gtk.Object
                  extended by org.gnome.gtk.CellRenderer
                      extended by org.gnome.gtk.CellRendererPixbuf

public class CellRendererPixbuf
extends CellRenderer

Display an image in a TreeView. The image data is sourced either from a DataColumn of type DataColumnPixbuf in your TreeModel, or from a DataColumn of type DataColumnStock.

Since:
4.0.5
Author:
Andrew Cowie, Vreixo Formoso

Constructor Summary
CellRendererPixbuf(CellLayout vertical)
          Construct a new CellRendererPixbuf.
 
Method Summary
 void setPixbuf(DataColumnPixbuf column)
          Indicate the DataColumn containing the Pixbuf to render as an image.
 void setStock(DataColumnStock column)
          Indicate the DataColumn containing a Stock icon which you want to have this CellRendererPixbuf render as an image.
 
Methods inherited from class org.gnome.gtk.CellRenderer
setAlignment, setBackground, setBackground, setVisible
 
Methods inherited from class org.freedesktop.bindings.Pointer
toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellRendererPixbuf

public CellRendererPixbuf(CellLayout vertical)
Construct a new CellRendererPixbuf.

Method Detail

setPixbuf

public void setPixbuf(DataColumnPixbuf column)
Indicate the DataColumn containing the Pixbuf to render as an image.


setStock

public void setStock(DataColumnStock column)
Indicate the DataColumn containing a Stock icon which you want to have this CellRendererPixbuf render as an image.

Since:
4.0.7


java-gnome