Synopsis#include <gtk/gtk.h> GtkCellRendererPixbuf; GtkCellRenderer* gtk_cell_renderer_pixbuf_new (void); Object HierarchyGObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererPixbuf Properties"follow-state" gboolean : Read / Write "gicon" GIcon* : Read / Write "icon-name" gchar* : Read / Write "pixbuf" GdkPixbuf* : Read / Write "pixbuf-expander-closed" GdkPixbuf* : Read / Write "pixbuf-expander-open" GdkPixbuf* : Read / Write "stock-detail" gchar* : Read / Write "stock-id" gchar* : Read / Write "stock-size" guint : Read / Write DescriptionA 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 Detailsgtk_cell_renderer_pixbuf_new ()GtkCellRenderer* gtk_cell_renderer_pixbuf_new (void);
Creates a new GtkCellRendererPixbuf. Adjust rendering
parameters using object properties. Object properties can be set
globally (with
Property DetailsThe
|