forked from AuroraMiddleware/gtk
be5ee811e6
2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): Doc additions. 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkcellrenderercombo.sgml: * gtk/tmpl/gtkcellrenderertoggle.sgml: * gtk/tmpl/gtkcellrenderertext.sgml: Add introductions. * gtk/tmpl/gtkcellrenderer.sgml: Additions.
77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
<!-- ##### 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>
|
|
|
|
<!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
|
|
<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:
|
|
|
|
|