<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>gtkmm: Gtk::TreeRow Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.14.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1TreeRow.html">TreeRow</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="classGtk_1_1TreeRow-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::TreeRow Class Reference<div class="ingroups"><a class="el" href="group__TreeView.html">TreeView Classes</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Typedefed as <a class="el" href="classGtk_1_1TreeModel.html#a297c9db68905e82fe7c3fac57f6c4de8">TreeModel::Row</a>. <a href="classGtk_1_1TreeRow.html#details">More...</a></p> <p><code>#include <gtkmm/treeiter.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::TreeRow:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1TreeRow__inherit__graph.png" border="0" usemap="#Gtk_1_1TreeRow_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1TreeRow_inherit__map" id="Gtk_1_1TreeRow_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1TreeIter.html" title="A Gtk::TreeModel::iterator is a reference to a specific node on a specific model. ..." alt="" coords="20,80,119,107"/><area shape="rect" id="node3" href="classGtk_1_1TreeIterBase.html" title="Gtk::TreeIterBase" alt="" coords="4,5,133,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a5a38a7fa20f2e69eef053e8a811e582a"><td class="memItemLeft" align="right" valign="top">typedef const void* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a5a38a7fa20f2e69eef053e8a811e582a">BoolExpr</a></td></tr> <tr class="memdesc:a5a38a7fa20f2e69eef053e8a811e582a"><td class="mdescLeft"> </td><td class="mdescRight">This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). <a href="#a5a38a7fa20f2e69eef053e8a811e582a">More...</a><br /></td></tr> <tr class="separator:a5a38a7fa20f2e69eef053e8a811e582a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classGtk_1_1TreeIter"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classGtk_1_1TreeIter')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a></td></tr> <tr class="memitem:ad48e11234a1ef30a56fbf64d944232e1 inherit pub_types_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak" /> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00636.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 class="separator:ad48e11234a1ef30a56fbf64d944232e1 inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad6d804b4744a31a96083edd31639b82b inherit pub_types_classGtk_1_1TreeIter"><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 class="separator:ad6d804b4744a31a96083edd31639b82b inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab55da0493213816959f624a0d3747771 inherit pub_types_classGtk_1_1TreeIter"><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 class="separator:ab55da0493213816959f624a0d3747771 inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5011b05221c38181c734b44fa8c0d83f inherit pub_types_classGtk_1_1TreeIter"><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 class="separator:a5011b05221c38181c734b44fa8c0d83f inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5ca69865eaeb38e6c56539964411307b inherit pub_types_classGtk_1_1TreeIter"><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 class="separator:a5ca69865eaeb38e6c56539964411307b inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a18bdf86cfc172d21a7584f18835a55bb inherit pub_types_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top">typedef const void* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a18bdf86cfc172d21a7584f18835a55bb">BoolExpr</a></td></tr> <tr class="memdesc:a18bdf86cfc172d21a7584f18835a55bb inherit pub_types_classGtk_1_1TreeIter"><td class="mdescLeft"> </td><td class="mdescRight">This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). <a href="#a18bdf86cfc172d21a7584f18835a55bb">More...</a><br /></td></tr> <tr class="separator:a18bdf86cfc172d21a7584f18835a55bb inherit pub_types_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aaf9be9abd2a264e1a562f0e745ad4721"><td class="memTemplParams" colspan="2">template<class ColumnType > </td></tr> <tr class="memitem:aaf9be9abd2a264e1a562f0e745ad4721"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeValueProxy.html">TreeValueProxy</a>< ColumnType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#aaf9be9abd2a264e1a562f0e745ad4721">operator[]</a> (const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& column) const </td></tr> <tr class="memdesc:aaf9be9abd2a264e1a562f0e745ad4721"><td class="mdescLeft"> </td><td class="mdescRight">Use this to set and get the value of this <em>column</em> of this row. <a href="#aaf9be9abd2a264e1a562f0e745ad4721">More...</a><br /></td></tr> <tr class="separator:aaf9be9abd2a264e1a562f0e745ad4721"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a79e62bd6eb9dc803aada1d5f7b6ed915"><td class="memTemplParams" colspan="2">template<class ColumnType > </td></tr> <tr class="memitem:a79e62bd6eb9dc803aada1d5f7b6ed915"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a79e62bd6eb9dc803aada1d5f7b6ed915">set_value</a> (const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& column, const ColumnType& data) const </td></tr> <tr class="memdesc:a79e62bd6eb9dc803aada1d5f7b6ed915"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of this <em>column</em> of this row. <a href="#a79e62bd6eb9dc803aada1d5f7b6ed915">More...</a><br /></td></tr> <tr class="separator:a79e62bd6eb9dc803aada1d5f7b6ed915"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2184f58e1571a75976b8273af9ba910e"><td class="memTemplParams" colspan="2">template<class ColumnType > </td></tr> <tr class="memitem:a2184f58e1571a75976b8273af9ba910e"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a2184f58e1571a75976b8273af9ba910e">set_value</a> (int column, const ColumnType& data) const </td></tr> <tr class="memdesc:a2184f58e1571a75976b8273af9ba910e"><td class="mdescLeft"> </td><td class="mdescRight">Use set_value(const TreeModelColumn<>& column, const ColumnType& data) unless you do not know the column type at compile-time. <a href="#a2184f58e1571a75976b8273af9ba910e">More...</a><br /></td></tr> <tr class="separator:a2184f58e1571a75976b8273af9ba910e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9e0d32ec1cfef924fc6012093d222785"><td class="memTemplParams" colspan="2">template<class ColumnType > </td></tr> <tr class="memitem:a9e0d32ec1cfef924fc6012093d222785"><td class="memTemplItemLeft" align="right" valign="top">ColumnType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a9e0d32ec1cfef924fc6012093d222785">get_value</a> (const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& column) const </td></tr> <tr class="memdesc:a9e0d32ec1cfef924fc6012093d222785"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of this <em>column</em> of this row. <a href="#a9e0d32ec1cfef924fc6012093d222785">More...</a><br /></td></tr> <tr class="separator:a9e0d32ec1cfef924fc6012093d222785"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e0a925de843c616f86297450992f9da"><td class="memTemplParams" colspan="2">template<class ColumnType > </td></tr> <tr class="memitem:a2e0a925de843c616f86297450992f9da"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a2e0a925de843c616f86297450992f9da">get_value</a> (int column, ColumnType& data) const </td></tr> <tr class="memdesc:a2e0a925de843c616f86297450992f9da"><td class="mdescLeft"> </td><td class="mdescRight">Use get_value(const TreeModelColumn<>& column) unless you do not know the column type at compile-time. <a href="#a2e0a925de843c616f86297450992f9da">More...</a><br /></td></tr> <tr class="separator:a2e0a925de843c616f86297450992f9da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a334dc0b2d96c219e24de467d3fcbd091"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeNodeChildren.html">TreeNodeChildren</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a334dc0b2d96c219e24de467d3fcbd091">children</a> () const </td></tr> <tr class="memdesc:a334dc0b2d96c219e24de467d3fcbd091"><td class="mdescLeft"> </td><td class="mdescRight">This returns an STL-like container API, for iterating over the rows. <a href="#a334dc0b2d96c219e24de467d3fcbd091">More...</a><br /></td></tr> <tr class="separator:a334dc0b2d96c219e24de467d3fcbd091"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d55079617fc05a849af189b657e7679"><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_1TreeRow.html#a9d55079617fc05a849af189b657e7679">parent</a> () const </td></tr> <tr class="memdesc:a9d55079617fc05a849af189b657e7679"><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator to the parent row of this row. <a href="#a9d55079617fc05a849af189b657e7679">More...</a><br /></td></tr> <tr class="separator:a9d55079617fc05a849af189b657e7679"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26862b4b1de30557583eb4011aeb14f1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a26862b4b1de30557583eb4011aeb14f1">operator BoolExpr</a> () const </td></tr> <tr class="memdesc:a26862b4b1de30557583eb4011aeb14f1"><td class="mdescLeft"> </td><td class="mdescRight">Discover whether this is a valid row. <a href="#a26862b4b1de30557583eb4011aeb14f1">More...</a><br /></td></tr> <tr class="separator:a26862b4b1de30557583eb4011aeb14f1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a70f407de60552e0270ed73471ad07cd1"><td class="memItemLeft" align="right" valign="top">GtkTreeIter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#a70f407de60552e0270ed73471ad07cd1">gobj</a> ()</td></tr> <tr class="memdesc:a70f407de60552e0270ed73471ad07cd1"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a70f407de60552e0270ed73471ad07cd1">More...</a><br /></td></tr> <tr class="separator:a70f407de60552e0270ed73471ad07cd1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aabd78b5aa80816c10b49d51f797ce7b7"><td class="memItemLeft" align="right" valign="top">const GtkTreeIter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeRow.html#aabd78b5aa80816c10b49d51f797ce7b7">gobj</a> () const </td></tr> <tr class="memdesc:aabd78b5aa80816c10b49d51f797ce7b7"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aabd78b5aa80816c10b49d51f797ce7b7">More...</a><br /></td></tr> <tr class="separator:aabd78b5aa80816c10b49d51f797ce7b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classGtk_1_1TreeIter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGtk_1_1TreeIter')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a></td></tr> <tr class="memitem:a5f419a854ffb2ddefa224b5afd70657d inherit pub_methods_classGtk_1_1TreeIter"><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 class="separator:a5f419a854ffb2ddefa224b5afd70657d inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41602c61e46dd41587f4b56db46d325e inherit pub_methods_classGtk_1_1TreeIter"><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 class="separator:a41602c61e46dd41587f4b56db46d325e inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a46e9bcc4291a436b8b70992c45762372 inherit pub_methods_classGtk_1_1TreeIter"><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 class="separator:a46e9bcc4291a436b8b70992c45762372 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afed3b959fa29d90b57e417b88392e335 inherit pub_methods_classGtk_1_1TreeIter"><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 class="memdesc:afed3b959fa29d90b57e417b88392e335 inherit pub_methods_classGtk_1_1TreeIter"><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">More...</a><br /></td></tr> <tr class="separator:afed3b959fa29d90b57e417b88392e335 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab1070ff322a770f443ddf625d0ee0391 inherit pub_methods_classGtk_1_1TreeIter"><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 class="memdesc:ab1070ff322a770f443ddf625d0ee0391 inherit pub_methods_classGtk_1_1TreeIter"><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">More...</a><br /></td></tr> <tr class="separator:ab1070ff322a770f443ddf625d0ee0391 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8719cade1c5047b221f6cefa738547c0 inherit pub_methods_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html#a5011b05221c38181c734b44fa8c0d83f">reference</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a8719cade1c5047b221f6cefa738547c0">operator*</a> () const </td></tr> <tr class="separator:a8719cade1c5047b221f6cefa738547c0 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1daa2dd6654698e001ef8ff8b784b885 inherit pub_methods_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html#a5ca69865eaeb38e6c56539964411307b">pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a1daa2dd6654698e001ef8ff8b784b885">operator-></a> () const </td></tr> <tr class="separator:a1daa2dd6654698e001ef8ff8b784b885 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a644adfe72d43e87d451e3be9b9c36648 inherit pub_methods_classGtk_1_1TreeIter"><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 class="separator:a644adfe72d43e87d451e3be9b9c36648 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fef381e0bef5f000e6120c627259b1f inherit pub_methods_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a2fef381e0bef5f000e6120c627259b1f">operator BoolExpr</a> () const </td></tr> <tr class="memdesc:a2fef381e0bef5f000e6120c627259b1f inherit pub_methods_classGtk_1_1TreeIter"><td class="mdescLeft"> </td><td class="mdescRight">Discover whether the iterator is valid, and not equal to <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga5124f3464f8607e7338ff7407faeaf15">end()</a>. <a href="#a2fef381e0bef5f000e6120c627259b1f">More...</a><br /></td></tr> <tr class="separator:a2fef381e0bef5f000e6120c627259b1f inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0c7c66a642182e48c087fd02562b73f inherit pub_methods_classGtk_1_1TreeIter"><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 class="memdesc:ab0c7c66a642182e48c087fd02562b73f inherit pub_methods_classGtk_1_1TreeIter"><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">More...</a><br /></td></tr> <tr class="separator:ab0c7c66a642182e48c087fd02562b73f inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af30ad8f5e3754851f52ade6aa0714476 inherit pub_methods_classGtk_1_1TreeIter"><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 class="memdesc:af30ad8f5e3754851f52ade6aa0714476 inherit pub_methods_classGtk_1_1TreeIter"><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">More...</a><br /></td></tr> <tr class="separator:af30ad8f5e3754851f52ade6aa0714476 inherit pub_methods_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classGtk_1_1TreeIterBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGtk_1_1TreeIterBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGtk_1_1TreeIterBase.html">Gtk::TreeIterBase</a></td></tr> <tr class="memitem:a0904577c8f2602dc7a5508068f0acfbd inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a0904577c8f2602dc7a5508068f0acfbd">TreeIterBase</a> ()</td></tr> <tr class="separator:a0904577c8f2602dc7a5508068f0acfbd inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10a9ab4a23c43d1252a4383ac1096c53 inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a10a9ab4a23c43d1252a4383ac1096c53">TreeIterBase</a> (const GtkTreeIter* gobject)</td></tr> <tr class="separator:a10a9ab4a23c43d1252a4383ac1096c53 inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1479600863c422429b606e26885fc5ef inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top">GtkTreeIter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a1479600863c422429b606e26885fc5ef">gobj</a> ()</td></tr> <tr class="memdesc:a1479600863c422429b606e26885fc5ef inherit pub_methods_classGtk_1_1TreeIterBase"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a1479600863c422429b606e26885fc5ef">More...</a><br /></td></tr> <tr class="separator:a1479600863c422429b606e26885fc5ef inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a9ac6f632e297568fa81c67966fb737 inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top">const GtkTreeIter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a0a9ac6f632e297568fa81c67966fb737">gobj</a> () const </td></tr> <tr class="memdesc:a0a9ac6f632e297568fa81c67966fb737 inherit pub_methods_classGtk_1_1TreeIterBase"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a0a9ac6f632e297568fa81c67966fb737">More...</a><br /></td></tr> <tr class="separator:a0a9ac6f632e297568fa81c67966fb737 inherit pub_methods_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_static_methods_classGtk_1_1TreeIterBase"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGtk_1_1TreeIterBase')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classGtk_1_1TreeIterBase.html">Gtk::TreeIterBase</a></td></tr> <tr class="memitem:a0d7ca80b3cc79576e0b43ef373f6064a inherit pub_static_methods_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a0d7ca80b3cc79576e0b43ef373f6064a">get_type</a> ()</td></tr> <tr class="memdesc:a0d7ca80b3cc79576e0b43ef373f6064a inherit pub_static_methods_classGtk_1_1TreeIterBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a0d7ca80b3cc79576e0b43ef373f6064a">More...</a><br /></td></tr> <tr class="separator:a0d7ca80b3cc79576e0b43ef373f6064a inherit pub_static_methods_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classGtk_1_1TreeIterBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classGtk_1_1TreeIterBase')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classGtk_1_1TreeIterBase.html">Gtk::TreeIterBase</a></td></tr> <tr class="memitem:a825f19ad20572560796c87c58a2d1cf0 inherit pro_attribs_classGtk_1_1TreeIterBase"><td class="memItemLeft" align="right" valign="top">GtkTreeIter </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIterBase.html#a825f19ad20572560796c87c58a2d1cf0">gobject_</a></td></tr> <tr class="separator:a825f19ad20572560796c87c58a2d1cf0 inherit pro_attribs_classGtk_1_1TreeIterBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header related_classGtk_1_1TreeIter"><td colspan="2" onclick="javascript:toggleInherit('related_classGtk_1_1TreeIter')"><img src="closed.png" alt="-"/> Related Functions inherited from <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a></td></tr> <tr class="memitem:a27ec6dbc88cf8ed080ebf397226f25ad inherit related_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a27ec6dbc88cf8ed080ebf397226f25ad">operator==</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& lhs, const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& rhs)</td></tr> <tr class="separator:a27ec6dbc88cf8ed080ebf397226f25ad inherit related_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b0a2d89e01de99226fce73c9034d2c7 inherit related_classGtk_1_1TreeIter"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeIter.html#a8b0a2d89e01de99226fce73c9034d2c7">operator!=</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& lhs, const <a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a>& rhs)</td></tr> <tr class="separator:a8b0a2d89e01de99226fce73c9034d2c7 inherit related_classGtk_1_1TreeIter"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Typedefed as <a class="el" href="classGtk_1_1TreeModel.html#a297c9db68905e82fe7c3fac57f6c4de8">TreeModel::Row</a>. </p> <p>Dereference a <a class="el" href="classGtk_1_1TreeModel.html#a754e74cd833ff30e729f9b8d7daf4d8c">TreeModel::iterator</a> to get the Row. Use operator[] or <a class="el" href="classGtk_1_1TreeRow.html#a79e62bd6eb9dc803aada1d5f7b6ed915" title="Sets the value of this column of this row. ">set_value()</a> and <a class="el" href="classGtk_1_1TreeRow.html#a9e0d32ec1cfef924fc6012093d222785" title="Gets the value of this column of this row. ">get_value()</a> to access the values in the columns of this row.</p> <p>If the model contains a hierarchy of rows (such as <a class="el" href="classGtk_1_1TreeStore.html">Gtk::TreeStore</a>), then you can access the child rows with <a class="el" href="classGtk_1_1TreeRow.html#a334dc0b2d96c219e24de467d3fcbd091" title="This returns an STL-like container API, for iterating over the rows. ">children()</a>.</p> <p>You can use a const <a class="el" href="classGtk_1_1TreeModel.html#a297c9db68905e82fe7c3fac57f6c4de8">TreeModel::Row</a>& for any parameter that takes a const <a class="el" href="classGtk_1_1TreeModel.html#a754e74cd833ff30e729f9b8d7daf4d8c">TreeModel::iterator</a>&. </p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a class="anchor" id="a5a38a7fa20f2e69eef053e8a811e582a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef const void* <a class="el" href="classGtk_1_1TreeRow.html#a5a38a7fa20f2e69eef053e8a811e582a">Gtk::TreeRow::BoolExpr</a></td> </tr> </table> </div><div class="memdoc"> <p>This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a334dc0b2d96c219e24de467d3fcbd091"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1TreeNodeChildren.html">TreeNodeChildren</a>& Gtk::TreeRow::children </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This returns an STL-like container API, for iterating over the rows. </p> <p>See also <a class="el" href="classGtk_1_1TreeModel.html#a62142e8a5beffb04a2b643d7f62c890f" title="This returns an STL-like container API, for iterating over the rows. ">Gtk::TreeModel::children()</a> for the top-level children. </p> </div> </div> <a class="anchor" id="a9e0d32ec1cfef924fc6012093d222785"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class ColumnType > </div> <table class="memname"> <tr> <td class="memname">ColumnType Gtk::TreeRow::get_value </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& </td> <td class="paramname"><em>column</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the value of this <em>column</em> of this row. </p> <p>This is a templated method, so the compiler will not allow you to provide an inappropriate type of data for the model column.</p> <p>See also operator[].</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">column</td><td>The model column. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The value of this column of this row </dd></dl> </div> </div> <a class="anchor" id="a2e0a925de843c616f86297450992f9da"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class ColumnType > </div> <table class="memname"> <tr> <td class="memname">void Gtk::TreeRow::get_value </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>column</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">ColumnType & </td> <td class="paramname"><em>data</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Use get_value(const TreeModelColumn<>& column) unless you do not know the column type at compile-time. </p> <p>If the <em>data</em> output argument is of an inappropriate C++ type then this might fail at runtime. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramdir"></td><td class="paramname">column</td><td>The number of the column whose value you want to query. </td></tr> <tr><td class="paramdir">[out]</td><td class="paramname">data</td><td>An output argument which will contain the value of this column of this row. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a70f407de60552e0270ed73471ad07cd1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkTreeIter* Gtk::TreeRow::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="aabd78b5aa80816c10b49d51f797ce7b7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkTreeIter* Gtk::TreeRow::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a26862b4b1de30557583eb4011aeb14f1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::TreeRow::operator <a class="el" href="classGtk_1_1TreeIter.html#a18bdf86cfc172d21a7584f18835a55bb">BoolExpr</a> </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Discover whether this is a valid row. </p> <p>For instance, </p><div class="fragment"><div class="line"><span class="keywordflow">if</span>(treeiter)</div> <div class="line"> do_something()</div> </div><!-- fragment --> </div> </div> <a class="anchor" id="aaf9be9abd2a264e1a562f0e745ad4721"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class ColumnType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeValueProxy.html">TreeValueProxy</a><ColumnType> Gtk::TreeRow::operator[] </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& </td> <td class="paramname"><em>column</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Use this to set and get the value of this <em>column</em> of this row. </p> <p>This is a templated method, so the compiler will not allow you to provide an inappropriate type of data for the model column.</p> <p>This is just a more convenient syntax that does the same thing as <a class="el" href="classGtk_1_1TreeRow.html#a79e62bd6eb9dc803aada1d5f7b6ed915" title="Sets the value of this column of this row. ">set_value()</a> and <a class="el" href="classGtk_1_1TreeRow.html#a9e0d32ec1cfef924fc6012093d222785" title="Gets the value of this column of this row. ">get_value()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">column</td><td>The model column.. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a9d55079617fc05a849af189b657e7679"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeIter</a> Gtk::TreeRow::parent </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets an iterator to the parent row of this row. </p> <dl class="section return"><dt>Returns</dt><dd>An iterator to the parent row. </dd></dl> </div> </div> <a class="anchor" id="a79e62bd6eb9dc803aada1d5f7b6ed915"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class ColumnType > </div> <table class="memname"> <tr> <td class="memname">void Gtk::TreeRow::set_value </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumn.html">TreeModelColumn</a>< ColumnType >& </td> <td class="paramname"><em>column</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const ColumnType & </td> <td class="paramname"><em>data</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Sets the value of this <em>column</em> of this row. </p> <p>This is a templated method, so the compiler will not allow you to provide an inappropriate type of <em>data</em> for the model column.</p> <p>See also operator[].</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">column</td><td>The model column. </td></tr> <tr><td class="paramname">data</td><td>The new value to use for this column of this row. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2184f58e1571a75976b8273af9ba910e"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class ColumnType > </div> <table class="memname"> <tr> <td class="memname">void Gtk::TreeRow::set_value </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>column</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const ColumnType & </td> <td class="paramname"><em>data</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Use set_value(const TreeModelColumn<>& column, const ColumnType& data) unless you do not know the column type at compile-time. </p> <p>If the <em>data</em> is of an inappropriate C++ type then this might fail at runtime. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">column</td><td>The number of the column whose value you want to change. </td></tr> <tr><td class="paramname">data</td><td>The new value to use for this column of this row. </td></tr> </table> </dd> </dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 23 2014 12:59:28 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>