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 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::TreeIter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>
</div>
</div>
<div class="contents">
<h1>Gtk::TreeIter Class Reference<br/>
<small>
[<a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1><!-- doxytag: class="Gtk::TreeIter" --><!-- doxytag: inherits="Gtk::TreeIterBase" -->
<p>A <a class="el" href="classGtk_1_1TreeModel.html#a754e74cd833ff30e729f9b8d7daf4d8c">Gtk::TreeModel::iterator</a> is a reference to a specific node on a specific model. <a href="#_details">More...</a></p>
<p>Inherits <a class="el" href="classGtk_1_1TreeIterBase.html">Gtk::TreeIterBase</a>.</p>
<p>Inherited by <a class="el" href="classGtk_1_1TreeNodeChildren.html">Gtk::TreeNodeChildren</a>, and <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::TreeIter:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1TreeIter__coll__graph.png" border="0" usemap="#Gtk_1_1TreeIter_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1TreeIter_coll__map" id="Gtk_1_1TreeIter_coll__map">
<area shape="rect" href="classGtk_1_1TreeIterBase.html" title="Gtk::TreeIterBase" alt="" coords="5,5,128,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGtk_1_1TreeIter-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00400.html">std::bidirectional_iterator_tag</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#ad48e11234a1ef30a56fbf64d944232e1">iterator_category</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#ad6d804b4744a31a96083edd31639b82b">value_type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#ab55da0493213816959f624a0d3747771">difference_type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef const <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a5011b05221c38181c734b44fa8c0d83f">reference</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef const <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a5ca69865eaeb38e6c56539964411307b">pointer</a></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a5f419a854ffb2ddefa224b5afd70657d">TreeIter</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a41602c61e46dd41587f4b56db46d325e">operator++</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a46e9bcc4291a436b8b70992c45762372">operator++</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#afed3b959fa29d90b57e417b88392e335">operator--</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Please note that this is very slow compared to <a class="el" href="classGtk_1_1TreeIter.html#a41602c61e46dd41587f4b56db46d325e">operator++()</a>. <a href="#afed3b959fa29d90b57e417b88392e335"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#ab1070ff322a770f443ddf625d0ee0391">operator--</a> (int)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Please note that this is very slow compared to <a class="el" href="classGtk_1_1TreeIter.html#a41602c61e46dd41587f4b56db46d325e">operator++()</a>. <a href="#ab1070ff322a770f443ddf625d0ee0391"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeRow.html">reference</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a8719cade1c5047b221f6cefa738547c0">operator*</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeRow.html">pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a1daa2dd6654698e001ef8ff8b784b885">operator-></a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a644adfe72d43e87d451e3be9b9c36648">equal</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& other) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a937201ba3ea794fc6442d5069967a214">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Discover whether the iterator is valid, and not equal to end(). <a href="#a937201ba3ea794fc6442d5069967a214"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#ab0c7c66a642182e48c087fd02562b73f">get_stamp</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is only useful when implementing a custom <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a> class. <a href="#ab0c7c66a642182e48c087fd02562b73f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#af30ad8f5e3754851f52ade6aa0714476">set_stamp</a> (int stamp)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is only useful when implementing a custom <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a> class. <a href="#af30ad8f5e3754851f52ade6aa0714476"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1TreeModel.html#a754e74cd833ff30e729f9b8d7daf4d8c">Gtk::TreeModel::iterator</a> is a reference to a specific node on a specific model. </p>
<p>It is a generic structure with an integer and three generic pointers. These are filled in by the model in a model-specific way.</p>
<p>One can convert a path to an iterator by calling <a class="el" href="classGtk_1_1TreeModel.html#aebaa795e4920ddc0ec5e39c9f4fbc660" title="Returns a valid iterator pointing to path.">Gtk::TreeModel::get_iter()</a>.</p>
<p>These iterators are the primary way of accessing a model and are similar to the iterators used by <a class="el" href="classGtk_1_1TextBuffer.html" title="Multi-line attributed text that can be displayed by one or more Gtk::TextView widgets...">Gtk::TextBuffer</a>. The model interface defines a set of operations using them for navigating the model.</p>
<p>The lifecycle of an iterator can be a little confusing at first. Iterators are expected to always be valid for as long as the model is unchanged (and doesn't emit a signal). Additionally, some models guarantee that an iterator is valid for as long as the node it refers to is valid (most notably the <a class="el" href="classGtk_1_1TreeStore.html">Gtk::TreeStore</a> and <a class="el" href="classGtk_1_1ListStore.html" title="Thist is a list model for use with a Gtk::TreeView widget.">Gtk::ListStore</a>).</p>
<p>Although generally uninteresting, as one always has to allow for the case where iterators do not persist beyond a signal, some very important performance enhancements were made in the sort model. As a result, the <a class="el" href="group__gtkmmEnums.html#gga8db2110062643eb26461ec23b63e2cb2af6180b637675678b5d9d6ee16e0596ab">Gtk::TREE_MODEL_ITERS_PERSIST</a> flag was added to indicate this behaviour - see <a class="el" href="classGtk_1_1TreeModel.html#af4b5de9c0bd5a79ef06fcda4fc415ef8" title="Returns a set of flags supported by this interface.">Gtk::TreeModel::get_flags()</a>.</p>
<p>Typedefed as <a class="el" href="classGtk_1_1TreeModel.html#a754e74cd833ff30e729f9b8d7daf4d8c">Gtk::TreeModel::iterator</a>. The <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a> iterator. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ab55da0493213816959f624a0d3747771"></a><!-- doxytag: member="Gtk::TreeIter::difference_type" ref="ab55da0493213816959f624a0d3747771" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="classGtk_1_1TreeIter.html#ab55da0493213816959f624a0d3747771">Gtk::TreeIter::difference_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="classGtk_1_1TreeNodeChildren.html#af369358b71331b358b7c86b0cf7f6703">Gtk::TreeNodeChildren</a>.</p>
</div>
</div>
<a class="anchor" id="ad48e11234a1ef30a56fbf64d944232e1"></a><!-- doxytag: member="Gtk::TreeIter::iterator_category" ref="ad48e11234a1ef30a56fbf64d944232e1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00400.html">std::bidirectional_iterator_tag</a> <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00400.html">Gtk::TreeIter::iterator_category</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a5ca69865eaeb38e6c56539964411307b"></a><!-- doxytag: member="Gtk::TreeIter::pointer" ref="a5ca69865eaeb38e6c56539964411307b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef const <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a>* <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeIter::pointer</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a5011b05221c38181c734b44fa8c0d83f"></a><!-- doxytag: member="Gtk::TreeIter::reference" ref="a5011b05221c38181c734b44fa8c0d83f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef const <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a>& <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeIter::reference</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad6d804b4744a31a96083edd31639b82b"></a><!-- doxytag: member="Gtk::TreeIter::value_type" ref="ad6d804b4744a31a96083edd31639b82b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeRow</a> <a class="el" href="classGtk_1_1TreeRow.html">Gtk::TreeIter::value_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="classGtk_1_1TreeNodeChildren.html#a67c2eca3018e0121026bee8610c09171">Gtk::TreeNodeChildren</a>.</p>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a5f419a854ffb2ddefa224b5afd70657d"></a><!-- doxytag: member="Gtk::TreeIter::TreeIter" ref="a5f419a854ffb2ddefa224b5afd70657d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::TreeIter::TreeIter </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a644adfe72d43e87d451e3be9b9c36648"></a><!-- doxytag: member="Gtk::TreeIter::equal" ref="a644adfe72d43e87d451e3be9b9c36648" args="(const TreeIter &other) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::TreeIter::equal </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& </td>
<td class="paramname"> <em>other</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ab0c7c66a642182e48c087fd02562b73f"></a><!-- doxytag: member="Gtk::TreeIter::get_stamp" ref="ab0c7c66a642182e48c087fd02562b73f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::TreeIter::get_stamp </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This is only useful when implementing a custom <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a> class. </p>
<p>Compare the iterator's stamp with your model's stamp to discover whether it is valid. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1TreeIter.html#af30ad8f5e3754851f52ade6aa0714476" title="This is only useful when implementing a custom Gtk::TreeModel class.">set_stamp()</a>. </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The iterator's stamp. </dd></dl>
</div>
</div>
<a class="anchor" id="a937201ba3ea794fc6442d5069967a214"></a><!-- doxytag: member="Gtk::TreeIter::operator bool" ref="a937201ba3ea794fc6442d5069967a214" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::TreeIter::operator bool </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Discover whether the iterator is valid, and not equal to end(). </p>
<p>Reimplemented in <a class="el" href="classGtk_1_1TreeRow.html#a256d9c1def321f1968c2f01299781e14">Gtk::TreeRow</a>, and <a class="el" href="classGtk_1_1TreeNodeChildren.html#acd5ff0fa0208b643ab79976f7ac7c1fa">Gtk::TreeNodeChildren</a>.</p>
</div>
</div>
<a class="anchor" id="a8719cade1c5047b221f6cefa738547c0"></a><!-- doxytag: member="Gtk::TreeIter::operator*" ref="a8719cade1c5047b221f6cefa738547c0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1TreeRow.html">reference</a> Gtk::TreeIter::operator* </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a46e9bcc4291a436b8b70992c45762372"></a><!-- doxytag: member="Gtk::TreeIter::operator++" ref="a46e9bcc4291a436b8b70992c45762372" args="(int)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a> Gtk::TreeIter::operator++ </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a41602c61e46dd41587f4b56db46d325e"></a><!-- doxytag: member="Gtk::TreeIter::operator++" ref="a41602c61e46dd41587f4b56db46d325e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& Gtk::TreeIter::operator++ </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ab1070ff322a770f443ddf625d0ee0391"></a><!-- doxytag: member="Gtk::TreeIter::operator--" ref="ab1070ff322a770f443ddf625d0ee0391" args="(int)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a> Gtk::TreeIter::operator-- </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Please note that this is very slow compared to <a class="el" href="classGtk_1_1TreeIter.html#a41602c61e46dd41587f4b56db46d325e">operator++()</a>. </p>
</div>
</div>
<a class="anchor" id="afed3b959fa29d90b57e417b88392e335"></a><!-- doxytag: member="Gtk::TreeIter::operator--" ref="afed3b959fa29d90b57e417b88392e335" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& Gtk::TreeIter::operator-- </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Please note that this is very slow compared to <a class="el" href="classGtk_1_1TreeIter.html#a41602c61e46dd41587f4b56db46d325e">operator++()</a>. </p>
</div>
</div>
<a class="anchor" id="a1daa2dd6654698e001ef8ff8b784b885"></a><!-- doxytag: member="Gtk::TreeIter::operator->" ref="a1daa2dd6654698e001ef8ff8b784b885" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1TreeRow.html">pointer</a> Gtk::TreeIter::operator-> </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af30ad8f5e3754851f52ade6aa0714476"></a><!-- doxytag: member="Gtk::TreeIter::set_stamp" ref="af30ad8f5e3754851f52ade6aa0714476" args="(int stamp)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::TreeIter::set_stamp </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>stamp</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This is only useful when implementing a custom <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a> class. </p>
<p>Set the stamp to be equal to your model's stamp, to mark the iterator as valid. When your model's structure changes, you should increment your model's stamp to mark all older iterators as invalid. They will be recognised as invalid because they will then have an incorrect stamp. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/treeiter.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:05 2010 for gtkmm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|