]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtkcellrendererpixbuf.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkCellRendererPixbuf
3
4 <!-- ##### SECTION Short_Description ##### -->
5 Renders a pixbuf in a cell
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
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).
13 </para>
14
15 <para>
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 
19 is %TRUE and the 
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
23 the 
24 <link linkend="GtkCellRendererPixbuf--pixbuf-expander-closed">pixbuf-expander-closed</link> 
25 property is set to a pixbuf, it renders that one. 
26 </para>
27
28 <!-- ##### SECTION See_Also ##### -->
29 <para>
30
31 </para>
32
33 <!-- ##### SECTION Stability_Level ##### -->
34
35
36 <!-- ##### SECTION Image ##### -->
37
38
39 <!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
40 <para>
41
42 </para>
43
44
45 <!-- ##### ARG GtkCellRendererPixbuf:follow-state ##### -->
46 <para>
47
48 </para>
49
50 <!-- ##### ARG GtkCellRendererPixbuf:gicon ##### -->
51 <para>
52
53 </para>
54
55 <!-- ##### ARG GtkCellRendererPixbuf:icon-name ##### -->
56 <para>
57
58 </para>
59
60 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### -->
61 <para>
62
63 </para>
64
65 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-closed ##### -->
66 <para>
67
68 </para>
69
70 <!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-open ##### -->
71 <para>
72
73 </para>
74
75 <!-- ##### ARG GtkCellRendererPixbuf:stock-detail ##### -->
76 <para>
77
78 </para>
79
80 <!-- ##### ARG GtkCellRendererPixbuf:stock-id ##### -->
81 <para>
82
83 </para>
84
85 <!-- ##### ARG GtkCellRendererPixbuf:stock-size ##### -->
86 <para>
87
88 </para>
89
90 <!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### -->
91 <para>
92
93 </para>
94
95 @void: 
96 @Returns: 
97
98