summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml
blob: 51e23f83479ed5b717216fd1e601ccf2d74706be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!-- ##### SECTION Title ##### -->
GtkCellRendererPixbuf

<!-- ##### SECTION Short_Description ##### -->
Renders a pixbuf in a cell

<!-- ##### SECTION Long_Description ##### -->
<para>
A #GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render 
either a given #GdkPixbuf (set via the 
<link linkend="GtkCellRendererPixbuf--pixbuf">pixbuf</link> property) or a stock icon 
(set via the <link linkend="GtkCellRendererPixbuf--stock-id">stock-id</link> property).
</para>

<para>
To support the tree view, #GtkCellRendererPixbuf also supports rendering two alternative 
pixbufs, when the <link linkend="GtkCellRenderer--is-expander">is-expander</link> property 
is %TRUE. If the <link linkend="GtkCellRenderer--is-expanded">is-expanded</link> property 
is %TRUE and the 
<link linkend="GtkCellRendererPixbuf--pixbuf-expander-open">pixbuf-expander-open</link> 
property is set to a pixbuf, it renders that pixbuf, if the 
<link linkend="GtkCellRenderer--is-expanded">is-expanded</link> property is %FALSE and
the 
<link linkend="GtkCellRendererPixbuf--pixbuf-expander-closed">pixbuf-expander-closed</link> 
property is set to a pixbuf, it renders that one. 
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
<para>

</para>


<!-- ##### ARG GtkCellRendererPixbuf:follow-state ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:gicon ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:icon-name ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-closed ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-open ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:stock-detail ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:stock-id ##### -->
<para>

</para>

<!-- ##### ARG GtkCellRendererPixbuf:stock-size ##### -->
<para>

</para>

<!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### -->
<para>

</para>

@Returns: