2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkCellRendererPixbuf
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2003-06-23 22:59:01 +00:00
|
|
|
Renders a pixbuf in a cell
|
2000-10-30 23:21:38 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2004-11-01 20:59:56 +00:00
|
|
|
A #GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render
|
2004-11-02 07:06:02 +00:00
|
|
|
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).
|
2004-11-01 20:59:56 +00:00
|
|
|
</para>
|
2000-10-30 23:21:38 +00:00
|
|
|
|
2004-11-01 20:59:56 +00:00
|
|
|
<para>
|
2004-11-02 07:06:02 +00:00
|
|
|
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.
|
2000-10-30 23:21:38 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2005-02-03 23:29:02 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:follow-state ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2008-07-05 20:30:16 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:gicon ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:icon-name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-11-02 18:18:50 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-closed ##### -->
|
2001-12-23 22:55:17 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-11-02 18:18:50 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:pixbuf-expander-open ##### -->
|
2001-12-23 22:55:17 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-11-02 18:18:50 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:stock-detail ##### -->
|
2002-04-30 18:16:14 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-11-02 18:18:50 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:stock-id ##### -->
|
2002-04-30 18:16:14 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-11-02 18:18:50 +00:00
|
|
|
<!-- ##### ARG GtkCellRendererPixbuf:stock-size ##### -->
|
2002-04-30 18:16:14 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
@void:
|
2004-07-20 02:26:06 +00:00
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|