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
<!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
42
<!-- ##### ARG GtkCellRendererPixbuf:follow-state ##### -->
47
<!-- ##### ARG GtkCellRendererPixbuf:icon-name ##### -->
52
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### -->
57
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-closed ##### -->
62
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-open ##### -->
67
<!-- ##### ARG GtkCellRendererPixbuf:stock-detail ##### -->
72
<!-- ##### ARG GtkCellRendererPixbuf:stock-id ##### -->
77
<!-- ##### ARG GtkCellRendererPixbuf:stock-size ##### -->
82
<!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### -->