File: GtkCellRendererPixbuf.Rd

package info (click to toggle)
rgtk2 2.20.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 33,540 kB
  • sloc: ansic: 137,163; makefile: 2; sh: 1
file content (93 lines) | stat: -rw-r--r-- 2,939 bytes parent folder | download | duplicates (2)
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
\alias{GtkCellRendererPixbuf}
\alias{gtkCellRendererPixbuf}
\name{GtkCellRendererPixbuf}
\title{GtkCellRendererPixbuf}
\description{Renders a pixbuf in a cell}
\section{Methods and Functions}{
\code{\link{gtkCellRendererPixbufNew}()}\cr
\code{gtkCellRendererPixbuf()}
}
\section{Hierarchy}{\preformatted{GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GtkCellRendererPixbuf}}
\section{Detailed Description}{A \code{\link{GtkCellRendererPixbuf}} can be used to render an image in a cell. It allows to render
either a given \code{\link{GdkPixbuf}} (set via the
pixbuf property) or a stock icon
(set via the stock-id property).
  
To support the tree view, \code{\link{GtkCellRendererPixbuf}} also supports rendering two alternative
pixbufs, when the is-expander property
is \code{TRUE}. If the is-expanded property
is \code{TRUE} and the
pixbuf-expander-open
property is set to a pixbuf, it renders that pixbuf, if the
is-expanded property is \code{FALSE} and
the
pixbuf-expander-closed
property is set to a pixbuf, it renders that one.}
\section{Structures}{\describe{\item{\verb{GtkCellRendererPixbuf}}{
\emph{undocumented
}

}}}
\section{Convenient Construction}{\code{gtkCellRendererPixbuf} is the equivalent of \code{\link{gtkCellRendererPixbufNew}}.}
\section{Properties}{\describe{
\item{\verb{follow-state} [logical : Read / Write]}{

Specifies whether the rendered pixbuf should be colorized
according to the \code{\link{GtkCellRendererState}}.
  Default value: FALSE  Since 2.8

}
\item{\verb{gicon} [\code{\link{GIcon}} : *                : Read / Write]}{

The GIcon representing the icon to display.
If the icon theme is changed, the image will be updated
automatically.
  Since 2.14

}
\item{\verb{icon-name} [character : *                : Read / Write]}{

The name of the themed icon to display.
This property only has an effect if not overridden by "stock_id"
or "pixbuf" properties.
  Default value: NULL  Since 2.8

}
\item{\verb{pixbuf} [\code{\link{GdkPixbuf}} : *            : Read / Write]}{

The pixbuf to render.

}
\item{\verb{pixbuf-expander-closed} [\code{\link{GdkPixbuf}} : *            : Read / Write]}{

Pixbuf for closed expander.

}
\item{\verb{pixbuf-expander-open} [\code{\link{GdkPixbuf}} : *            : Read / Write]}{

Pixbuf for open expander.

}
\item{\verb{stock-detail} [character : *                : Read / Write]}{

Render detail to pass to the theme engine.  Default value: NULL

}
\item{\verb{stock-id} [character : *                : Read / Write]}{

The stock ID of the stock icon to render.  Default value: NULL

}
\item{\verb{stock-size} [numeric : Read / Write]}{

The GtkIconSize value that specifies the size of the rendered icon.  Default value: 1

}
}}
\references{\url{https://developer.gnome.org/gtk2/stable/GtkCellRendererPixbuf.html}}
\author{Derived by RGtkGen from GTK+ documentation}
\keyword{internal}