/usr/share/gtk-doc/html/pygtk/class-gtktreemodel.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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.TreeModel</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-gtktreeiter.html" title="gtk.TreeIter"><link rel="next" href="class-gtktreemodelfilter.html" title="gtk.TreeModelFilter"></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.TreeModel</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktreeiter.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreemodelfilter.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TreeModel"><a name="class-gtktreemodel"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TreeModel</h2><p>gtk.TreeModel — the tree interface used by <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a></p></div><div class="refsect1" title="Synopsis"><a name="id4018327"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TreeModel</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-flags" title="gtk.TreeModel.get_flags">get_flags</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-n-columns" title="gtk.TreeModel.get_n_columns">get_n_columns</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-column-type" title="gtk.TreeModel.get_column_type">get_column_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter" title="gtk.TreeModel.get_iter">get_iter</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter-from-string" title="gtk.TreeModel.get_iter_from_string">get_iter_from_string</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path_string</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-string-from-iter" title="gtk.TreeModel.get_string_from_iter">get_string_from_iter</a></span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>iter</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter-root" title="gtk.TreeModel.get_iter_root">get_iter_root</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter-first" title="gtk.TreeModel.get_iter_first">get_iter_first</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-path" title="gtk.TreeModel.get_path">get_path</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-value" title="gtk.TreeModel.get_value">get_value</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>column</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-next" title="gtk.TreeModel.iter_next">iter_next</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-children" title="gtk.TreeModel.iter_children">iter_children</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-has-child" title="gtk.TreeModel.iter_has_child">iter_has_child</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-n-children" title="gtk.TreeModel.iter_n_children">iter_n_children</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-nth-child" title="gtk.TreeModel.iter_nth_child">iter_nth_child</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>n</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--iter-parent" title="gtk.TreeModel.iter_parent">iter_parent</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--ref-node" title="gtk.TreeModel.ref_node">ref_node</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--unref-node" title="gtk.TreeModel.unref_node">unref_node</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get" title="gtk.TreeModel.get">get</a></span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>column</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--foreach" title="gtk.TreeModel.foreach">foreach</a></span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>func</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_data</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--row-changed" title="gtk.TreeModel.row_changed">row_changed</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--row-inserted" title="gtk.TreeModel.row_inserted">row_inserted</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--row-has-child-toggled" title="gtk.TreeModel.row_has_child_toggled">row_has_child_toggled</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--row-deleted" title="gtk.TreeModel.row_deleted">row_deleted</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--rows-reordered" title="gtk.TreeModel.rows_reordered">rows_reordered</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>new_order</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--filter-new" title="gtk.TreeModel.filter_new">filter_new</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>root</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table><pre class="programlisting">
<span class="bold"><strong>Functions</strong></span>
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#function-gtk--tree-row-reference-inserted" title="gtk.tree_row_reference_inserted">gtk.tree_row_reference_inserted</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>proxy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtktreemodel.html#function-gtk--tree-row-reference-deleted" title="gtk.tree_row_reference_deleted">gtk.tree_row_reference_deleted</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>proxy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code></pre></div><div class="refsect1" title="gtk.TreeModel Signal Prototypes"><a name="signal-prototypes-gtktreemodel"></a><h2>gtk.TreeModel Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtktreemodel.html#signal-gtktreemodel--row-changed" title='The "row-changed" gtk.TreeModel Signal'>row-changed</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtktreemodel.html#signal-gtktreemodel--row-deleted" title='The "row-deleted" gtk.TreeModel Signal'>row-deleted</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtktreemodel.html#signal-gtktreemodel--row-has-child-toggled" title='The "row-has-child-toggled" gtk.TreeModel Signal'>row-has-child-toggled</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtktreemodel.html#signal-gtktreemodel--row-inserted" title='The "row-inserted" gtk.TreeModel Signal'>row-inserted</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtktreemodel.html#signal-gtktreemodel--rows-reordered" title='The "rows-reordered" gtk.TreeModel Signal'>rows-reordered</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>new_order</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id4019698"></a><h2>Description</h2><p>The <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>
interface defines a generic tree interface for use by the <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
widget. It is an abstract interface, and is designed to be usable with any
appropriate data structure. The programmer just has to implement this
interface on their own data type for it to be viewable by a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
widget.</p><p>The model is represented as a hierarchical tree of strongly-typed,
columned data. In other words, the model can be seen as a tree where every
node has different values depending on which column is being queried. The
type of data found in a column is determined by using the Python or GObject
type system (i.e. gobject.TYPE_INT, gtk.BUTTON, gobject.TYPE_STRING, etc.).
The types are homogeneous per column across all nodes. It is important to
note that this interface only provides a way of examining a model and
observing changes. The implementation of each individual model decides how
and if changes are made.</p><p>In order to make life simpler for programmers who do not need to
write their own specialized model, two generic models are provided: the
<a class="link" href="class-gtktreestore.html" title="gtk.TreeStore"><code class="classname">gtk.TreeStore</code></a> and
the <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>. To
use these, the developer simply pushes data into these models as necessary.
These models provide the data structure as well as all appropriate tree
interfaces. As a result, implementing drag and drop, sorting, and storing
data is trivial. For the vast majority of trees and lists, these two models
are sufficient.</p><p>Models are accessed on a node-column level of granularity. One can
query for the value of a model at a certain node and a certain column on
that node. A particular node in a model is referenced using a path or a
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
object. Most of the interface consists of operations on a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</p><p>A path is essentially a potential node. It is a location on a
model that may or may not actually correspond to a node on a specific model.
A path can be converted into either an array of unsigned integers or a
string. The string form is a list of numbers separated by a colon. Each
number refers to the offset at that level. Thus, the path "0" refers to the
root node and the path "2:4" refers to the fifth child of the third
node.</p><p>By contrast, a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> is a
reference to a specific node on a specific model. One can convert a path to
a treeiter by calling <a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter" title="gtk.TreeModel.get_iter"><code class="methodname">get_iter</code>()</a>.
These treeiters are the primary way of accessing a model and are similar to
the textiters used by <a class="link" href="class-gtktextbuffer.html" title="gtk.TextBuffer"><code class="classname">gtk.TextBuffer</code></a>.
The model interface defines a set of operations using them for navigating
the model.</p><p>It is expected that models fill in the treeiter with private data.
For example, the <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>
model, which is internally a simple linked list, stores a list node in one
of the pointers. The <a class="link" href="class-gtktreemodelsort.html" title="gtk.TreeModelSort"><code class="classname">gtk.TreeModelSort</code></a>
stores an array and an offset in two of the pointers. Additionally, there is
an integer field. This field is generally filled with a unique stamp per
model. This stamp is for catching errors resulting from using invalid
treeiters with a model.</p><p>The lifecycle of a treeiter can be a little confusing at first.
treeiters are expected to always be valid for as long as the model is
unchanged (and doesn't emit a signal). The model is considered to own all
outstanding treeiters and nothing needs to be done to free them from the
user's point of view. Additionally, some models guarantee that an treeiter
is valid for as long as the node it refers to is valid (most notably the
<a class="link" href="class-gtktreestore.html" title="gtk.TreeStore"><code class="classname">gtk.TreeStore</code></a> and
<a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>).
Although generally uninteresting, as one always has to allow for the case
where treeiters do not persist beyond a signal, some very important
performance enhancements were made in the sort model. As a result, the
<code class="literal">gtk.TREE_MODEL_ITERS_PERSIST</code> flag was added to indicate
this behavior.</p><p>A <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>
object supports some of the Python Mapping protocol that allows you to
retrieve a <a class="link" href="class-pygtktreemodelrow.html" title="gtk.TreeModelRow"><code class="classname">gtk.TreeModelRow</code></a>
object representing a row in the model. You can also set the values in a row
using the same protocol. For example, you can retrieve the second row of a
<a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>
using any of:</p><pre class="programlisting">
treemodelrow = model[1]
treemodelrow = model[(1,)]
treemodelrow = model['1']
treemodelrow = model["1"]
</pre><p>Also if the model has two columns both containing strings then the
following will set the values of the third row.</p><pre class="programlisting">
model[(2,)] = ('new string value', 'string 2')
</pre><p>You can also retrieve the number of top level items in the <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a> by
using the Python <code class="function">len</code>() function:</p><pre class="programlisting">
n_rows = len(model)
</pre><p>A <a class="link" href="class-pygtktreemodelrowiter.html" title="gtk.TreeModelRowIter"><code class="classname">gtk.TreeModelRowIter</code></a>
object can be retrieved for iterating over the top level rows of a <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a> by
calling the Python <code class="function">iter</code>() function:</p><pre class="programlisting">
treemodelrowiter = iter(model)
</pre><p>See the <a class="ulink" href="http://www.pygtk.org/pygtk2tutorial/sec-TreeModelInterface.html#sec-PythonProtocolSupport" target="_top">PyGTK
tutorial</a> for more information.</p></div><div class="refsect1" title="Methods"><a name="id4020020"></a><h2>Methods</h2><div class="refsect2" title="gtk.TreeModel.get_flags"><a name="method-gtktreemodel--get-flags"></a><h3>gtk.TreeModel.get_flags</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_flags</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 flags supported by this
interface.</td></tr></tbody></table><p>The <code class="methodname">get_flags</code>() method returns a set of
flags supported by this interface. The flags are a bitwise combination
of:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TREE_MODEL_ITERS_PERSIST</code></span></p></td><td>Treeiters survive all signals emitted by the
tree.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_MODEL_LIST_ONLY</code></span></p></td><td>The model is a list only, and never has
children</td></tr></tbody></table><p>The flags supported should not change during the lifecycle of
the tree_model.</p></div><div class="refsect2" title="gtk.TreeModel.get_n_columns"><a name="method-gtktreemodel--get-n-columns"></a><h3>gtk.TreeModel.get_n_columns</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_n_columns</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 number of columns.</td></tr></tbody></table><p>The <code class="methodname">get_n_columns</code>() method returns the
number of columns supported by the treemodel.</p></div><div class="refsect2" title="gtk.TreeModel.get_column_type"><a name="method-gtktreemodel--get-column-type"></a><h3>gtk.TreeModel.get_column_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_column_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>index</code></strong> :</span></p></td><td>the column index.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the type of the column.</td></tr></tbody></table><p>The <code class="methodname">get_column_type</code>() method returns
the type of the column.</p></div><div class="refsect2" title="gtk.TreeModel.get_iter"><a name="method-gtktreemodel--get-iter"></a><h3>gtk.TreeModel.get_iter</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_iter</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> that
points at <em class="parameter"><code>path</code></em>.</td></tr></tbody></table><p>The <code class="methodname">get_iter</code>() method returns a new
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to <em class="parameter"><code>path</code></em>. This method raises a
<code class="literal">ValueError</code> exception if <em class="parameter"><code>path</code></em> is
not a valid tree path.</p></div><div class="refsect2" title="gtk.TreeModel.get_iter_from_string"><a name="method-gtktreemodel--get-iter-from-string"></a><h3>gtk.TreeModel.get_iter_from_string</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_iter_from_string</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path_string</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path_string</code></strong> :</span></p></td><td>a string representation of a
path.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> that
points at the path represented by
<em class="parameter"><code>path_string</code></em></td></tr></tbody></table><p>The <code class="methodname">get_iter_from_string</code>() method
returns a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the path represented by <em class="parameter"><code>path_string</code></em>, if
it exists. This method raises a <code class="literal">ValueError</code> exception if
<em class="parameter"><code>path_string</code></em> does not represent a valid tree
path.</p></div><div class="refsect2" title="gtk.TreeModel.get_string_from_iter"><a name="method-gtktreemodel--get-string-from-iter"></a><h3>gtk.TreeModel.get_string_from_iter</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_string_from_iter</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>iter</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>An <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A string representation of iter</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.2 and above.</p></div><p>The <code class="methodname">get_string_from_iter</code>() method
returns a string representation of the path pointed to by
<em class="parameter"><code>iter</code></em>. This string is a ':' separated list of
numbers. For example, "4:10:0:3" would be an acceptable return value for
this string.</p></div><div class="refsect2" title="gtk.TreeModel.get_iter_root"><a name="method-gtktreemodel--get-iter-root"></a><h3>gtk.TreeModel.get_iter_root</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_iter_root</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-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> that
points at the first path in the treemodel or
<code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">get_iter_root</code>() method returns a
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the path "0" or <code class="literal">None</code> if the tree is
empty.</p></div><div class="refsect2" title="gtk.TreeModel.get_iter_first"><a name="method-gtktreemodel--get-iter-first"></a><h3>gtk.TreeModel.get_iter_first</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_iter_first</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-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> that points at the first path in the treemodel or <code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">get_iter_first</code>() method returns a
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the path "0" or <code class="literal">None</code> if the tree is
empty.</p></div><div class="refsect2" title="gtk.TreeModel.get_path"><a name="method-gtktreemodel--get-path"></a><h3>gtk.TreeModel.get_path</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_path</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the tree path referenced by
<em class="parameter"><code>iter</code></em>.</td></tr></tbody></table><p>The <code class="methodname">get_path</code>() method returns the tree
path referenced by <em class="parameter"><code>iter</code></em>.</p></div><div class="refsect2" title="gtk.TreeModel.get_value"><a name="method-gtktreemodel--get-value"></a><h3>gtk.TreeModel.get_value</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_value</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>column</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>column</code></strong> :</span></p></td><td>the column value to
retrieve.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a value.</td></tr></tbody></table><p>The <code class="methodname">get_value</code>() method returns the
value at <em class="parameter"><code>column</code></em> at the path pointed to by
<em class="parameter"><code>iter</code></em>.</p></div><div class="refsect2" title="gtk.TreeModel.iter_next"><a name="method-gtktreemodel--iter-next"></a><h3>gtk.TreeModel.iter_next</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_next</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at the next row or <code class="literal">None</code> if there is no
next row.</td></tr></tbody></table><p>The <code class="methodname">iter_next</code>() method returns a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at the row at the current level after the row referenced by
<em class="parameter"><code>iter</code></em>. If there is no next row,
<code class="literal">None</code> is returned. <em class="parameter"><code>iter</code></em> is
unchanged.</p></div><div class="refsect2" title="gtk.TreeModel.iter_children"><a name="method-gtktreemodel--iter-children"></a><h3>gtk.TreeModel.iter_children</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_children</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>the <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the parent or <code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> to be
set to the first child or <code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">iter_children</code>() method returns a
new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the first child of <em class="parameter"><code>parent</code></em>. If
<em class="parameter"><code>parent</code></em> has no children, <code class="literal">None</code> is
returned. <em class="parameter"><code>parent</code></em> will remain a valid node after this
method has been called.</p><p>If <em class="parameter"><code>parent</code></em> is <code class="literal">None</code> returns
the first node, equivalent to
<code class="methodname"><a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-iter-first" title="gtk.TreeModel.get_iter_first">gtk.TreeModel.get_iter_first</a></code>().
</p></div><div class="refsect2" title="gtk.TreeModel.iter_has_child"><a name="method-gtktreemodel--iter-has-child"></a><h3>gtk.TreeModel.iter_has_child</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_has_child</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> to
test for children.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if
<em class="parameter"><code>iter</code></em> has children.</td></tr></tbody></table><p>The <code class="methodname">iter_has_child</code>() method returns
<code class="literal">True</code> if <em class="parameter"><code>iter</code></em> has children, or
<code class="literal">False</code> otherwise.</p></div><div class="refsect2" title="gtk.TreeModel.iter_n_children"><a name="method-gtktreemodel--iter-n-children"></a><h3>gtk.TreeModel.iter_n_children</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_n_children</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>, or
<code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of children of
<em class="parameter"><code>iter</code></em>.</td></tr></tbody></table><p>The <code class="methodname">iter_n_children</code>() method returns
the number of children that <em class="parameter"><code>iter</code></em> has. As a special
case, if <em class="parameter"><code>iter</code></em> is <code class="literal">None</code>, then the
number of top level nodes is returned.</p></div><div class="refsect2" title="gtk.TreeModel.iter_nth_child"><a name="method-gtktreemodel--iter-nth-child"></a><h3>gtk.TreeModel.iter_nth_child</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_nth_child</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>n</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> to
get the child from, or <code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>n</code></strong> :</span></p></td><td>Then index of the desired
child.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> that
is set to the nth child or <code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">iter_nth_child</code>() method returns a
new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the child of <em class="parameter"><code>parent</code></em>, with the index
specified by <em class="parameter"><code>n</code></em>. The first index is 0. If
<em class="parameter"><code>n</code></em> is too big, or <em class="parameter"><code>parent</code></em> has no
children, this method returns <code class="literal">None</code>.
<em class="parameter"><code>parent</code></em> will remain a valid node after this function
has been called. As a special case, if <em class="parameter"><code>parent</code></em> is
<code class="literal">None</code>, then the treeiter points to the
<em class="parameter"><code>n</code></em>th root node.</p></div><div class="refsect2" title="gtk.TreeModel.iter_parent"><a name="method-gtktreemodel--iter-parent"></a><h3>gtk.TreeModel.iter_parent</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">iter_parent</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>child</code></strong> :</span></p></td><td>The <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a> set
to the parent of <em class="parameter"><code>child</code></em> or
<code class="literal">None</code></td></tr></tbody></table><p>The <code class="methodname">iter_parent</code>() method returns a
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the parent of <em class="parameter"><code>child</code></em>. If
<em class="parameter"><code>child</code></em> is at the top level, and doesn't have a parent,
then <code class="literal">None</code> is returned. <em class="parameter"><code>child</code></em> will
remain a valid node after this method has been called.</p></div><div class="refsect2" title="gtk.TreeModel.ref_node"><a name="method-gtktreemodel--ref-node"></a><h3>gtk.TreeModel.ref_node</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">ref_node</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr></tbody></table><p>The <code class="methodname">ref_node</code>() method lets the
treemodel ref the node that <em class="parameter"><code>iter</code></em> points to. This is
an optional method for models to implement. To be more specific, models may
ignore this call as it exists primarily for performance reasons. This
function is primarily meant as a way for views to let the caching model know
when nodes are being displayed (and hence, whether or not to cache that
node.) For example, a file-system based model would not want to keep the
entire file-hierarchy in memory, just the sections that are currently being
displayed by every current view. A model should be expected to be able to
get a treeiter independent of it's reffed state.</p></div><div class="refsect2" title="gtk.TreeModel.unref_node"><a name="method-gtktreemodel--unref-node"></a><h3>gtk.TreeModel.unref_node</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">unref_node</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>.</td></tr></tbody></table><p>The <code class="methodname">unref_node</code>() method lets the
treemodel unref the node that <em class="parameter"><code>iter</code></em> points to. This is
an optional method for models to implement. To be more specific, models may
ignore this call as it exists primarily for performance reasons. For more
information on what this means, see the <a class="link" href="class-gtktreemodel.html#method-gtktreemodel--ref-node" title="gtk.TreeModel.ref_node"><code class="methodname">ref_node</code>()</a>
method. Please note that nodes that are deleted are not unreffed.</p></div><div class="refsect2" title="gtk.TreeModel.get"><a name="method-gtktreemodel--get"></a><h3>gtk.TreeModel.get</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>column</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at the row to retrieve data value
from</td></tr><tr><td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td><td>a column number</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>zero or more column numbers</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a tuple containing the column
values</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get</code>() method returns a tuple
containing the values of one or more cells in the row referenced by the
<a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
specified by <em class="parameter"><code>iter</code></em>. column specifies the first column
number to retrieve a value from. The additional arguments should contain
integer column numbers for additional column values. For example, to get
values from columns 0 and 3, you would write:</p><pre class="programlisting">
value0, value3 = treemodel_get(iter, 0, 3)
</pre><p></p></div><div class="refsect2" title="gtk.TreeModel.foreach"><a name="method-gtktreemodel--foreach"></a><h3>gtk.TreeModel.foreach</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">foreach</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>func</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_data</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td><td>a function to be called on each
row</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>the user data to passed to
<em class="parameter"><code>func</code></em>.</td></tr></tbody></table><p>The <code class="methodname">foreach</code>() method calls
<em class="parameter"><code>func</code></em> on each node in model in a depth-first fashion.
<em class="parameter"><code>user_data</code></em> is passed to <em class="parameter"><code>func</code></em>
each time it is called. If <em class="parameter"><code>func</code></em> returns
<code class="literal">True</code>, then the operation ceases, and
<code class="methodname">foreach</code>() returns.</p><p>The signature of <em class="parameter"><code>func</code></em> is:</p><pre class="programlisting">
def func(model, path, iter, user_data)
</pre><p>where <em class="parameter"><code>model</code></em> is the treemodel,
<em class="parameter"><code>path</code></em> is the current path, and
<em class="parameter"><code>iter</code></em> is a treeiter pointing to
<em class="parameter"><code>path</code></em>.</p><p>If <em class="parameter"><code>func</code></em> is an object method its signature
will be:</p><pre class="programlisting">
def func(self, model, path, iter, user_data)
</pre><p></p></div><div class="refsect2" title="gtk.TreeModel.row_changed"><a name="method-gtktreemodel--row-changed"></a><h3>gtk.TreeModel.row_changed</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">row_changed</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a path pointing to the changed
row</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the changed row</td></tr></tbody></table><p>The <code class="methodname">row_changed</code>() method emits the
"row-changed" signal on the treemodel with the parameters
<em class="parameter"><code>path</code></em> and <em class="parameter"><code>iter</code></em> that are the
path and a treeiter pointing to the path of the changed row.</p></div><div class="refsect2" title="gtk.TreeModel.row_inserted"><a name="method-gtktreemodel--row-inserted"></a><h3>gtk.TreeModel.row_inserted</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">row_inserted</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a path pointing to the inserted
row</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the inserted row</td></tr></tbody></table><p>The <code class="methodname">row_inserted</code>() method emits the
"row-inserted" signal on the treemodel with the parameters
<em class="parameter"><code>path</code></em> and <em class="parameter"><code>iter</code></em> that are the
path and a treeiter pointing to the path of the inserted row.</p></div><div class="refsect2" title="gtk.TreeModel.row_has_child_toggled"><a name="method-gtktreemodel--row-has-child-toggled"></a><h3>gtk.TreeModel.row_has_child_toggled</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">row_has_child_toggled</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a path pointing to the changed
row</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the changed row</td></tr></tbody></table><p>The <code class="methodname">row_has_child_toggled</code>() method
emits the "row-has-child-toggled" signal on the treemodel with the
parameters <em class="parameter"><code>path</code></em> and <em class="parameter"><code>iter</code></em> that
are the path and a treeiter pointing to the path of the changed row. This
should be called by models after the child state of a node changes.</p></div><div class="refsect2" title="gtk.TreeModel.row_deleted"><a name="method-gtktreemodel--row-deleted"></a><h3>gtk.TreeModel.row_deleted</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">row_deleted</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a path pointing to the previous location of the
deleted row.</td></tr></tbody></table><p>The <code class="methodname">row_deleted</code>() method emits the
"row-deleted" signal on the treemodel. This should be called by models after
a row has been removed. The location pointed to by
<em class="parameter"><code>path</code></em> should be the location that the deleted row was
at. It may not be a valid location anymore.</p></div><div class="refsect2" title="gtk.TreeModel.rows_reordered"><a name="method-gtktreemodel--rows-reordered"></a><h3>gtk.TreeModel.rows_reordered</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">rows_reordered</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>iter</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>new_order</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>A tree path pointing to the tree node whose
children have been reordered, or <code class="literal">None</code> or () or
"" to indicate the top level node.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>iter</code></strong> :</span></p></td><td>A valid <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing to the node whose children have been reordered, or
<code class="literal">None</code> to indicate the top level
node.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>new_order</code></strong> :</span></p></td><td>a sequence of integers containing the old
indexes of the children in the new order, i.e. the child nodes
have been rearranged so that the <em class="parameter"><code>treemodel</code></em>
node that was at position index
<em class="parameter"><code>new_order</code></em><code class="literal">[i]</code> is now at
position index <code class="literal">i</code>.</td></tr></tbody></table><p>The <code class="methodname">rows_reordered</code>() method emits the
"rows_reordered" signal on the tree model. This method should be called by a
tree model when its rows have been reordered. If <em class="parameter"><code>iter</code></em>
is <code class="literal">None</code> to indicate that the top level rows have been
reordered, <em class="parameter"><code>path</code></em> should be <code class="literal">None</code> or
() or "".</p></div><div class="refsect2" title="gtk.TreeModel.filter_new"><a name="method-gtktreemodel--filter-new"></a><h3>gtk.TreeModel.filter_new</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">filter_new</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>root</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>root</code></strong> :</span></p></td><td>a tree path or
<code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A new <a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">filter_new</code>() method creates a new
<a class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>,
with the tree model as the child_model and the virtual root specified by
<em class="parameter"><code>root</code></em>.</p></div></div><div class="refsect1" title="Functions"><a name="id4023331"></a><h2>Functions</h2><div class="refsect2" title="gtk.tree_row_reference_inserted"><a name="function-gtk--tree-row-reference-inserted"></a><h3>gtk.tree_row_reference_inserted</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.tree_row_reference_inserted</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>proxy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>proxy</code></strong> :</span></p></td><td>a <PYGTKDOCLINK HREF="class-gobject"><code class="classname">GObject</code></PYGTKDOCLINK></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a row position that was
inserted</td></tr></tbody></table><p>The <code class="function">gtk.tree_row_reference_inserted</code>()
function lets a set of row references know that the model emitted the
"row_inserted" signal for the row specified by
<em class="parameter"><code>path</code></em>.</p></div><div class="refsect2" title="gtk.tree_row_reference_deleted"><a name="function-gtk--tree-row-reference-deleted"></a><h3>gtk.tree_row_reference_deleted</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.tree_row_reference_deleted</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>proxy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>proxy</code></strong> :</span></p></td><td>a <PYGTKDOCLINK HREF="class-gobject"><code class="classname">GObject</code></PYGTKDOCLINK></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>path</code></strong> :</span></p></td><td>a row position that was
deleted</td></tr></tbody></table><p>The <code class="function">gtk.tree_row_reference_deleted</code>()
function lets a set of row references know that the model emitted the
"row_deleted" signal for the row specified by
<em class="parameter"><code>path</code></em>.</p></div></div><div class="refsect1" title="Signals"><a name="id4023579"></a><h2>Signals</h2><div class="refsect2" title='The "row-changed" gtk.TreeModel Signal'><a name="signal-gtktreemodel--row-changed"></a><h3>The "row-changed" gtk.TreeModel Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>treemodel</code></em> :</span></p></td><td>the treemodel that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at <em class="parameter"><code>path</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "row-changed" signal is emitted when the row specified by
<em class="parameter"><code>path</code></em> and pointed to by <em class="parameter"><code>iter</code></em>
has changed in the <em class="parameter"><code>treemodel</code></em>. Usually, this means
that one or more column values have changed.</p></div><div class="refsect2" title='The "row-deleted" gtk.TreeModel Signal'><a name="signal-gtktreemodel--row-deleted"></a><h3>The "row-deleted" gtk.TreeModel Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>treemodel</code></em> :</span></p></td><td>the treemodel that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "row-deleted" signal is emitted when the row that was
specified by <em class="parameter"><code>path</code></em> is deleted from
<em class="parameter"><code>treemodel</code></em>.</p></div><div class="refsect2" title='The "row-has-child-toggled" gtk.TreeModel Signal'><a name="signal-gtktreemodel--row-has-child-toggled"></a><h3>The "row-has-child-toggled" gtk.TreeModel Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>treemodel</code></em> :</span></p></td><td>the treemodel that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at <em class="parameter"><code>path</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "row-has-child-toggled" signal is emitted when the child
state of the row specified by <em class="parameter"><code>path</code></em> and pointed to by
<em class="parameter"><code>iter</code></em> has changed in
<em class="parameter"><code>treemodel</code></em>.</p></div><div class="refsect2" title='The "row-inserted" gtk.TreeModel Signal'><a name="signal-gtktreemodel--row-inserted"></a><h3>The "row-inserted" gtk.TreeModel Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>treemodel</code></em> :</span></p></td><td>the treemodel that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at <em class="parameter"><code>path</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "row-inserted" signal is emitted when the row specified by
<em class="parameter"><code>path</code></em> and pointed to by <em class="parameter"><code>iter</code></em> is
inserted into <em class="parameter"><code>treemodel</code></em>. The row referenced by
<em class="parameter"><code>iter</code></em> will be empty so using the <a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-value" title="gtk.TreeModel.get_value"><code class="methodname">get_value</code>()</a>
method will always return <code class="literal">None</code>. Connect to the
"row-changed" signal if you want to track value changes.</p></div><div class="refsect2" title='The "rows-reordered" gtk.TreeModel Signal'><a name="signal-gtktreemodel--rows-reordered"></a><h3>The "rows-reordered" gtk.TreeModel Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>treemodel</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>iter</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>new_order</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>treemodel</code></em> :</span></p></td><td>the treemodel that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td><td>a path</td></tr><tr><td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td><td>a <a class="link" href="class-gtktreeiter.html" title="gtk.TreeIter"><code class="classname">gtk.TreeIter</code></a>
pointing at <em class="parameter"><code>path</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>new_order</code></em> :</span></p></td><td>an array of reordered row
numbers</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "rows-reordered" signal is emitted when the
<em class="parameter"><code>treemodel</code></em> child rows of the row specified by
<em class="parameter"><code>path</code></em> and pointed to by
<em class="parameter"><code>iter</code></em> are reordered. The child nodes have been
rearranged so that the <em class="parameter"><code>treemodel</code></em> node that was
at position index
<em class="parameter"><code>new_order</code></em><code class="literal">[i]</code> is now at
position index <code class="literal">i</code>. The value of
<em class="parameter"><code>new_order</code></em> cannot be directly retrieved in PyGTK
because it is passed as an opaque pointer (<PYGTKDOCLINK HREF="class-gobjectgpointer"><code class="classname">gobject.GPointer</code></PYGTKDOCLINK>)
value. <em class="parameter"><code>iter</code></em> may be <code class="literal">None</code> and
<em class="parameter"><code>path</code></em> an empty tuple to indicate that the top
level rows were reordered.</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-gtktreeiter.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-gtktreemodelfilter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.TreeIter </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeModelFilter</td></tr></table></div></body></html>
|