/usr/share/gtk-doc/html/pygtk/class-gtkcellrendererpixbuf.html is in python-gtk2-doc 2.24.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.CellRendererPixbuf</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkcellrenderercombo.html" title="gtk.CellRendererCombo"><link rel="next" href="class-gtkcellrendererprogress.html" title="gtk.CellRendererProgress"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.CellRendererPixbuf</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcellrenderercombo.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcellrendererprogress.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.CellRendererPixbuf"><a name="class-gtkcellrendererpixbuf"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.CellRendererPixbuf</h2><p>gtk.CellRendererPixbuf — an object that
renders a pixbuf into a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
cell</p></div><div class="refsect1" title="Synopsis"><a name="id3633558"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.CellRendererPixbuf</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkcellrenderer.html" title="gtk.CellRenderer">gtk.CellRenderer</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkcellrendererpixbuf.html#constructor-gtkcellrendererpixbuf" title="Constructor">gtk.CellRendererPixbuf</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3633601"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkcellrenderer.html" title="gtk.CellRenderer">gtk.CellRenderer</a>
+-- <a class="link" href="class-gtkcellrendererpixbuf.html" title="gtk.CellRendererPixbuf">gtk.CellRendererPixbuf</a>
</pre></div><div class="refsect1" title="gtk.CellRendererPixbuf Properties"><a name="properties-gtkcellrendererpixbuf"></a><h2>gtk.CellRendererPixbuf Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkcellrenderer.html#properties-gtkcellrenderer" title="gtk.CellRenderer Properties">gtk.CellRenderer Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"follow-state"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the rendered pixbuf should be
colorized according to the <a class="xref" href="gtk-constants.html#gtk-cellrenderer-state-constants" title="GTK CellRenderer State Constants">GTK CellRenderer State Constants</a>. This
property is available in GTK+ 2.8 and above.</td></tr><tr valign="top"><td valign="top">"gicon"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the GIcon representing the icon to display.
If the icon theme is changed, the image will be updated automatically. This
property is available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"icon-name"</td><td valign="top">Read-Write</td><td valign="top">The name of the themed icon to display. This property only
has an effect if not overridden by "stock_id" or "pixbuf"
properties. This property is available in GTK+ 2.8 and
above.</td></tr><tr valign="top"><td valign="top">"pixbuf"</td><td valign="top">Read/Write</td><td valign="top">The pixbuf to render.</td></tr><tr valign="top"><td valign="top">"pixbuf-expander-closed"</td><td valign="top">Read/Write</td><td valign="top">Pixbuf for closed expander.</td></tr><tr valign="top"><td valign="top">"pixbuf-expander-open"</td><td valign="top">Read/Write</td><td valign="top">Pixbuf for open expander.</td></tr><tr valign="top"><td valign="top">"stock-detail"</td><td valign="top">Read/Write</td><td valign="top">Render detail to pass to the theme engine</td></tr><tr valign="top"><td valign="top">"stock-id"</td><td valign="top">Read/Write</td><td valign="top">The stock ID of the stock icon to render</td></tr><tr valign="top"><td valign="top">"stock-size"</td><td valign="top">Read/Write</td><td valign="top">The size of the rendered icon</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.CellRendererPixbuf Signal Prototypes"><a name="signal-prototypes-gtkcellrendererpixbuf"></a><h2>gtk.CellRendererPixbuf Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkcellrenderer.html#signal-prototypes-gtkcellrenderer" title="gtk.CellRenderer Signal Prototypes">gtk.CellRenderer Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3633879"></a><h2>Description</h2><p>The <a class="link" href="class-gtkcellrendererpixbuf.html" title="gtk.CellRendererPixbuf"><code class="classname">gtk.CellRendererPixbuf</code></a>
manages the rendering of a pixbuf into a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
cell.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkcellrendererpixbuf"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.CellRendererPixbuf</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new cell renderer</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkcellrendererpixbuf.html" title="gtk.CellRendererPixbuf"><code class="classname">gtk.CellRendererPixbuf</code></a>.
Rendering parameters are adjusted using the object properties. The object
properties can be set globally (with <PYGTKDOCLINK HREF="method-gobject--set-property"><code class="methodname">set_property</code>()</PYGTKDOCLINK>).
Also, with <a class="link" href="class-gtktreeviewcolumn.html" title="gtk.TreeViewColumn"><code class="classname">gtk.TreeViewColumn</code></a>,
you can bind a property to a value in a <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>.
For example, you can bind the "pixbuf" property on the cell renderer to a
pixbuf value in the model, thus rendering a different image in each row of
the <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkcellrenderercombo.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkcellrendererprogress.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.CellRendererCombo </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.CellRendererProgress</td></tr></table></div></body></html>
|