This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-pygtktreemodelrow.html is in python-gtk2-doc 2.24.0-3.

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
25
26
27
28
29
30
31
32
33
34
35
36
37
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.TreeModelRow</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-gtktreemodelsort.html" title="gtk.TreeModelSort"><link rel="next" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"></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.TreeModelRow</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktreemodelsort.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pygtktreemodelrowiter.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TreeModelRow"><a name="class-pygtktreemodelrow"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TreeModelRow</h2><p>gtk.TreeModelRow — an object representing a row in a <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a></p></div><div class="refsect1" title="Synopsis"><a name="id4028450"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TreeModelRow</span></span>:
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pygtktreemodelrow.html#method-gtktreemodelrow--iterchildren" title="gtk.TreeModelRow.iterchildren">iterchildren</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id4028491"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GBoxed</PYGTKDOCLINK>
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.TreeModelRow</a>
</pre></div><div class="refsect1" title="Attributes"><a name="id4028517"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table cellpadding="5" width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"next"</td><td valign="top">Read</td><td valign="top">The next <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
or <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"parent"</td><td valign="top">Read</td><td valign="top">The parent <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
 of this row or <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"model"</td><td valign="top">Read</td><td valign="top">The <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>
that the row is part of.</td></tr><tr valign="top"><td valign="top">"path"</td><td valign="top">Read</td><td valign="top">The tree path of the row</td></tr><tr valign="top"><td valign="top">"iter"</td><td valign="top">Read</td><td valign="top">A <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at the row.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="id4028698"></a><h2>Description</h2><p>A <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
object represents a row in a <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>. A
<a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
is created by taking the mapping of a <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>. For
example:</p><pre class="programlisting">
  treemodelrow = liststore[0]
  treemodelrow = liststore[(0,)]
  treemodelrow = liststore['0']
</pre><p>all create a <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
for the first row in <em class="parameter"><code>liststore</code></em>. The <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
implements some of the Python sequence protocol that makes the row behave
like a sequence of objects. Specifically a tree model row has the capability
of:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">getting and setting column values,</li><li class="listitem">returning a tuple or list containing the column values,
and</li><li class="listitem">getting the number of values in the row i.e. the number of
columns</li></ul></div><p>For example to get and set the value in the second column of a
row, you could do the following:</p><pre class="programlisting">
  value = treemodelrow[1]
  treemodelrow[1] = value
</pre><p>You can use the Python <code class="function">len</code>() function to get
the number of columns in the row and you can retrieve all the column values
as a list (tuple) using the Python <code class="function">list</code>()
(<code class="function">tuple</code>()) function.</p><p>The <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
supports one method: the <a class="link" href="class-pygtktreemodelrow.html#method-gtktreemodelrow--iterchildren" title="gtk.TreeModelRow.iterchildren"><code class="methodname">iterchildren</code>()</a>
method that returns a <a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
for iterating over the children of the row.</p></div><div class="refsect1" title="Methods"><a name="id4028868"></a><h2>Methods</h2><div class="refsect2" title="gtk.TreeModelRow.iterchildren"><a name="method-gtktreemodelrow--iterchildren"></a><h3>gtk.TreeModelRow.iterchildren</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">iterchildren</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 <a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
	  for the row's children or
	  <code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">iterchildren</code>() method returns a
<a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
for iterating over the children of the row or <code class="literal">None</code> if the
row has no children.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtktreemodelsort.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-pygtktreemodelrowiter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.TreeModelSort </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeModelRowIter</td></tr></table></div></body></html>