This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-pygtktreemodelrowiter.html is in python-gtk2-doc 2.24.0-4ubuntu1.

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.TreeModelRowIter</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-pygtktreemodelrow.html" title="gtk.TreeModelRow"><link rel="next" href="class-gtktreerowreference.html" title="gtk.TreeRowReference"></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.TreeModelRowIter</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pygtktreemodelrow.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreerowreference.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TreeModelRowIter"><a name="class-pygtktreemodelrowiter"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TreeModelRowIter</h2><p>gtk.TreeModelRowIter — an object for iterating over a set of <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
objects.</p></div><div class="refsect1" title="Synopsis"><a name="id4028994"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TreeModelRowIter</span></span>:
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pygtktreemodelrowiter.html#method-gtktreemodelrowiter--next" title="gtk.TreeModelRowIter.next">next</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id4029035"></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.TreeModelRowIter</a>
</pre></div><div class="refsect1" title="Description"><a name="id4029062"></a><h2>Description</h2><p>A <a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
is an object that implements the Python Iterator protocol. It provides the
means to iterate over a set of <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
objects 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-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
is created by calling the Python <code class="function">iter</code>() function on a
<a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>
object:</p><pre class="programlisting">
  treemodelrowiter = iter(treestore)
</pre><p>or, calling the <a class="link" href="class-pygtktreemodelrow.html#method-gtktreemodelrow--iterchildren" title="gtk.TreeModelRow.iterchildren"><code class="methodname">gtk.TreeModelRow.iterchildren</code>()</a>
method to iterate over its child rows.</p><p>Each time you call the <a class="link" href="class-pygtktreemodelrowiter.html#method-gtktreemodelrowiter--next" title="gtk.TreeModelRowIter.next"><code class="methodname">next</code>()</a>
method it returns the next sibling <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
. When there are no rows left the StopIteration exception is raised. Note
that a <a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
does not iterate over the child rows of the rows it is iterating
over. You'll have to use the <a class="link" href="class-pygtktreemodelrow.html#method-gtktreemodelrow--iterchildren" title="gtk.TreeModelRow.iterchildren"><code class="methodname">gtk.TreeModelRow.iterchildren</code>()</a>
method to retrieve an iterator for the child rows.</p></div><div class="refsect1" title="Methods"><a name="id4029180"></a><h2>Methods</h2><div class="refsect2" title="gtk.TreeModelRowIter.next"><a name="method-gtktreemodelrowiter--next"></a><h3>gtk.TreeModelRowIter.next</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">next</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 next <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a></td></tr></tbody></table><p>The <code class="methodname">next</code>() method returns the next
<a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
in the set of rows it is iterating over. When there are no more rows left
the StopIteration exception is raised.</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-pygtktreemodelrow.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-gtktreerowreference.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.TreeModelRow </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeRowReference</td></tr></table></div></body></html>