13
13
+----GtkCellRenderer
14
14
+----GtkCellRendererPixbuf}}
15
\section{Detailed Description}{A \verb{\link{GtkCellRendererPixbuf}} can be used to render an image in a cell. It allows to render
16
either a given \verb{\link{GdkPixbuf}} (set via the
17
pixbuf property) or a stock icon
15
\section{Detailed Description}{A \code{\link{GtkCellRendererPixbuf}} can be used to render an image in a cell. It allows to render
16
either a given \code{\link{GdkPixbuf}} (set via the
17
pixbuf property) or a stock icon
18
18
(set via the stock-id property).
20
To support the tree view, \verb{\link{GtkCellRendererPixbuf}} also supports rendering two alternative
21
pixbufs, when the is-expander property
22
is \code{TRUE}. If the is-expanded property
23
is \code{TRUE} and the
25
property is set to a pixbuf, it renders that pixbuf, if the
20
To support the tree view, \code{\link{GtkCellRendererPixbuf}} also supports rendering two alternative
21
pixbufs, when the is-expander property
22
is \code{TRUE}. If the is-expanded property
23
is \code{TRUE} and the
25
property is set to a pixbuf, it renders that pixbuf, if the
26
26
is-expanded property is \code{FALSE} and
28
pixbuf-expander-closed
29
property is set to a pixbuf, it renders that one. }
28
pixbuf-expander-closed
29
property is set to a pixbuf, it renders that one.}
30
30
\section{Structures}{\describe{\item{\verb{GtkCellRendererPixbuf}}{
37
37
\item{\verb{follow-state} [logical : Read / Write]}{
39
39
Specifies whether the rendered pixbuf should be colorized
40
according to the \code{\link{GtkCellRendererState}}.
42
Default value: FALSE Since 2.8
40
according to the \code{\link{GtkCellRendererState}}.
41
Default value: FALSE Since 2.8
44
\item{\verb{gicon} [\code{\link{GIcon}} : * : Read / Write]}{
46
The GIcon representing the icon to display.
47
If the icon theme is changed, the image will be updated
45
52
\item{\verb{icon-name} [character : * : Read / Write]}{
47
54
The name of the themed icon to display.
48
This property only has an effect if not overridden by "stock_id"
49
or "pixbuf" properties.
51
Default value: NULL Since 2.8
55
This property only has an effect if not overridden by "stock_id"
56
or "pixbuf" properties.
57
Default value: NULL Since 2.8
54
\item{\verb{pixbuf} [\verb{\link{GdkPixbuf}} : * : Read / Write]}{
60
\item{\verb{pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{
56
62
The pixbuf to render.
59
\item{\verb{pixbuf-expander-closed} [\verb{\link{GdkPixbuf}} : * : Read / Write]}{
65
\item{\verb{pixbuf-expander-closed} [\code{\link{GdkPixbuf}} : * : Read / Write]}{
61
67
Pixbuf for closed expander.
64
\item{\verb{pixbuf-expander-open} [\verb{\link{GdkPixbuf}} : * : Read / Write]}{
70
\item{\verb{pixbuf-expander-open} [\code{\link{GdkPixbuf}} : * : Read / Write]}{
66
72
Pixbuf for open expander.