/usr/share/gtk-doc/html/pygtk/class-pygtkgenericcellrenderer.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.GenericCellRenderer</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-gtkgammacurve.html" title="gtk.GammaCurve"><link rel="next" href="class-pygtkgenerictreemodel.html" title="gtk.GenericTreeModel"></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.GenericCellRenderer</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkgammacurve.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pygtkgenerictreemodel.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.GenericCellRenderer"><a name="class-pygtkgenericcellrenderer"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.GenericCellRenderer</h2><p>gtk.GenericCellRenderer — a TreeView cell renderer that helps create cell renderers
in Python</p></div><div class="refsect1" title="Synopsis"><a name="id3723716"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.GenericCellRenderer</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-pygtkgenericcellrenderer.html#constructor-gtkgenericcellrenderer" title="Constructor">gtk.GenericCellRenderer</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3723765"></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-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer">gtk.GenericCellRenderer</a>
</pre></div><div class="refsect1" title="Description"><a name="id3723804"></a><h2>Description</h2><p>The <a class="link" href="class-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer"><code class="classname">gtk.GenericCellRenderer</code></a>
helps in the creation of <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a> cell
renderers in Python. The <a class="link" href="class-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer"><code class="classname">gtk.GenericCellRenderer</code></a>
is subclassed to provide a new cell renderer that provides cell renderer
behavior using methods with predefined names that are called by the <a class="link" href="class-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer"><code class="classname">gtk.GenericCellRenderer</code></a>
methods as required to provide the various cell renderer operations. The
methods that need to be defined by the programmer in Python are:</p><code class="methodsynopsis"> def <span class="methodname">on_get_size</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>widget</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>cell_area</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname">on_render</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>window</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>widget</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>background_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>cell_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>expose_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>flags</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname">on_activate</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>widget</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>path</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>background_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>cell_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>flags</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname">on_start_editing</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>widget</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>path</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>background_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>cell_area</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>flags</code></em></span></span>)</code><p>See the <a class="link" href="class-gtkcellrenderer.html" title="gtk.CellRenderer"><code class="classname">gtk.CellRenderer</code></a>
description for details of the above methods.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkgenericcellrenderer"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.GenericCellRenderer</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>a new <a class="link" href="class-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer"><code class="classname">gtk.GenericCellRenderer</code></a>
object</td></tr></tbody></table><p>Creates a new <a class="link" href="class-pygtkgenericcellrenderer.html" title="gtk.GenericCellRenderer"><code class="classname">gtk.GenericCellRenderer</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-gtkgammacurve.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-pygtkgenerictreemodel.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.GammaCurve </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.GenericTreeModel</td></tr></table></div></body></html>
|