1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Renders a pixbuf in a cell
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render
10 either a given #GdkPixbuf (set via the
11 <link linkend="GtkCellRendererPixbuf--pixbuf">pixbuf</link> property) or a stock icon
12 (set via the <link linkend="GtkCellRendererPixbuf--stock-id">stock-id</link> property).
16 To support the tree view, #GtkCellRendererPixbuf also supports rendering two alternative
17 pixbufs, when the <link linkend="GtkCellRenderer--is-expander">is-expander</link> property
18 is %TRUE. If the <link linkend="GtkCellRenderer--is-expanded">is-expanded</link> property
20 <link linkend="GtkCellRendererPixbuf--pixbuf-expander-open">pixbuf-expander-open</link>
21 property is set to a pixbuf, it renders that pixbuf, if the
22 <link linkend="GtkCellRenderer--is-expanded">is-expanded</link> property is %FALSE and
24 <link linkend="GtkCellRendererPixbuf--pixbuf-expander-closed">pixbuf-expander-closed</link>
25 property is set to a pixbuf, it renders that one.
28 <!-- ##### SECTION See_Also ##### -->
33 <!-- ##### SECTION Stability_Level ##### -->
36 <!-- ##### SECTION Image ##### -->
39 <!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
45 <!-- ##### ARG GtkCellRendererPixbuf:follow-state ##### -->
50 <!-- ##### ARG GtkCellRendererPixbuf:gicon ##### -->
55 <!-- ##### ARG GtkCellRendererPixbuf:icon-name ##### -->
60 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### -->
65 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-closed ##### -->
70 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-open ##### -->
75 <!-- ##### ARG GtkCellRendererPixbuf:stock-detail ##### -->
80 <!-- ##### ARG GtkCellRendererPixbuf:stock-id ##### -->
85 <!-- ##### ARG GtkCellRendererPixbuf:stock-size ##### -->
90 <!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### -->