Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 795

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!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::TreeSelection 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1TreeSelection.html">TreeSelection</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::TreeSelection Class Reference<br/>
<small>
[<a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1><!-- doxytag: class="Gtk::TreeSelection" --><!-- doxytag: inherits="Glib::Object" -->
<p>Typedefed as <a class="el" href="classGtk_1_1TreeView.html#ac8c004cc10cc48e6e4ce8ccfe0e49279" title="A selection object for Gtk::TreeView.">Gtk::TreeView::Selection</a>. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::TreeSelection:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1TreeSelection__coll__graph.png" border="0" usemap="#Gtk_1_1TreeSelection_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1TreeSelection_coll__map" id="Gtk_1_1TreeSelection_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="24,160,115,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="9,83,129,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="16,5,123,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1TreeSelection-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 <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; bool, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;<br class="typebreak"/>
&amp;, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a> <br class="typebreak"/>
&amp;, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a2262e022dc13c1918af1127f42a158b1">SlotSelect</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, bool on_select_function(const Glib::RefPtr&lt;TreeModel&gt;&amp; model, const TreeModel::Path&amp; path, bool path_currently_selected) The select function should return true if the state of the node may be toggled, and false if the state of the node should be left unchanged. <a href="#a2262e022dc13c1918af1127f42a158b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>, <br class="typebreak"/>
TreePath_Traits &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ac5f0337df16d05d0c5db83284ffb05f8">ListHandle_Path</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a0157e2ca1c2fa319a93913c782a7b640">SlotForeachIter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_foreach(const Gtk::TreeModel::iterator&amp; iter);. <a href="#a0157e2ca1c2fa319a93913c782a7b640"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#aab1d3454d5216f1574cb53bf54205f74">SlotForeachPath</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_foreach(const Gtk::TreeModel::Path&amp; path);. <a href="#aab1d3454d5216f1574cb53bf54205f74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;, const <br class="typebreak"/>
<a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a31c44b43f5acd501a0a411c04bdf4706">SlotForeachPathAndIter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_foreach(const Gtk::TreeModel::Path&amp; path, const Gtk::TreeModel::iterator&amp; iter);. <a href="#a31c44b43f5acd501a0a411c04bdf4706"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a53c5fcfea07919973631158579e9bbc0">~TreeSelection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkTreeSelection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#aa272d22e2a8cf68ef941bb898e6ae7a5">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aa272d22e2a8cf68ef941bb898e6ae7a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkTreeSelection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#afbfe1d2a5920a31ad730124c0ed2ffbe">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#afbfe1d2a5920a31ad730124c0ed2ffbe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkTreeSelection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#aa691fc7df426d2f19612cc82c512596d">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#aa691fc7df426d2f19612cc82c512596d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a8c77e2bc04394554fe272c90aec1b064">set_mode</a> (<a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">SelectionMode</a> type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the selection mode of the <em>selection</em>. <a href="#a8c77e2bc04394554fe272c90aec1b064"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">SelectionMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ab83925a34c53e387e2813f2dc6a08587">get_mode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the selection mode for <em>selection</em>. <a href="#ab83925a34c53e387e2813f2dc6a08587"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a7c408b8e2b45b4a65a2a9ad66d9602cf">set_select_function</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotSelect</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the selection callback slot. <a href="#a7c408b8e2b45b4a65a2a9ad66d9602cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a5564087ad3cb1979d546d905e9364294">get_tree_view</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tree view associated with <em>selection</em>. <a href="#a5564087ad3cb1979d546d905e9364294"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a0eb46be8a024f92607b1f12b581e16c2">get_tree_view</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tree view associated with <em>selection</em>. <a href="#a0eb46be8a024f92607b1f12b581e16c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ae6e6474b69278a024ce2f50cc81f3bac">get_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Shortcut for <a class="el" href="classGtk_1_1TreeSelection.html#a5564087ad3cb1979d546d905e9364294" title="Returns the tree view associated with selection.">get_tree_view()</a>-&gt;<a class="el" href="classGtk_1_1TreeSelection.html#ae6e6474b69278a024ce2f50cc81f3bac" title="Shortcut for get_tree_view()-&gt;get_model().">get_model()</a>. <a href="#ae6e6474b69278a024ce2f50cc81f3bac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a32d988aaf33b721a41f264255f8f2ee3">get_model</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#af949a1a078bc5c2272e25e0c2987a81f">get_selected</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently selected row. <a href="#af949a1a078bc5c2272e25e0c2987a81f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a6c38032e5eb2a7b4a089fb74552c7910">get_selected</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; model)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently selected row. <a href="#a6c38032e5eb2a7b4a089fb74552c7910"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6">get_selected_rows</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a list of paths of all selected rows. <a href="#ab6b8e42892faccbe7c44e483f5f1beb6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a426debb82f5c75994ae3950b42168b03">get_selected_rows</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; model)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a list of paths of all selected rows. <a href="#a426debb82f5c75994ae3950b42168b03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#abd81154bc8b483b8110bf67bf25a0022">count_selected_rows</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of rows that have been selected in <em>tree</em>. <a href="#abd81154bc8b483b8110bf67bf25a0022"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a632c93a952e9597059647af3f7fd7f26">selected_foreach_iter</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachIter</a>&amp; slot) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a callback slot for each selected node. <a href="#a632c93a952e9597059647af3f7fd7f26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ad2b0b0926ada175f4d363ecba50810f0">selected_foreach_path</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachPath</a>&amp; slot) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a callback slot for each selected node. <a href="#ad2b0b0926ada175f4d363ecba50810f0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ae954b4f6786bbc3c06daaf4ac348bfc8">selected_foreach</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachPathAndIter</a>&amp; slot) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a callback slot for each selected node. <a href="#ae954b4f6786bbc3c06daaf4ac348bfc8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#abe2e36ac9f950b47e6290ce84af939ae">select</a> (const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the row at <em>path</em>. <a href="#abe2e36ac9f950b47e6290ce84af939ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a70c91065737a3ff94fee94e1ed7b83ae">select</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp; iter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the specified iterator. <a href="#a70c91065737a3ff94fee94e1ed7b83ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a0e5b782c5a0af7ae4f257d5af932038f">select</a> (const <a class="el" href="classGtk_1_1TreeRow.html">TreeModel::Row</a>&amp; row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the specified iterator. <a href="#a0e5b782c5a0af7ae4f257d5af932038f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a22b9264d8c0b06d3678dd022a6994a61">select</a> (const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; start_path, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; end_path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive. <a href="#a22b9264d8c0b06d3678dd022a6994a61"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a77e91cb1efd4cfcc05832aa97bc92a4c">unselect</a> (const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unselects the row at <em>path</em>. <a href="#a77e91cb1efd4cfcc05832aa97bc92a4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a5ef57ea9bc6f15126ba43f8da4199b46">unselect</a> (const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; start_path, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; end_path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unselects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive. <a href="#a5ef57ea9bc6f15126ba43f8da4199b46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a5aa28ea9eea8f0b8a02a28a4d4472a08">unselect</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp; iter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unselects the specified iterator. <a href="#a5aa28ea9eea8f0b8a02a28a4d4472a08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ab5241ae9e120dcd3c680cec28d0f34f6">is_selected</a> (const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the row pointed to by <em>path</em> is currently selected. <a href="#ab5241ae9e120dcd3c680cec28d0f34f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a48d8c7d8dfab291eefc72dbc207ddbc3">is_selected</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp; iter) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the row at <em>iter</em> is currently selected. <a href="#a48d8c7d8dfab291eefc72dbc207ddbc3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a2cb8620473e74aec20511c3f655e3e1a">select_all</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects all the nodes. <a href="#a2cb8620473e74aec20511c3f655e3e1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#aeac5766a4626733996641ed2583a09e5">unselect_all</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unselects all the nodes. <a href="#aeac5766a4626733996641ed2583a09e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#ad880fbe3cf130fe7c46f410b7efe3c0f">signal_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a1c0c20b2c05f751112e8fa0a8da93844">on_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeSelection.html">Gtk::TreeSelection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSelection.html#a3005841d69e579cf3a75e7a4699d4fa6">wrap</a> (GtkTreeSelection* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a3005841d69e579cf3a75e7a4699d4fa6"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Typedefed as <a class="el" href="classGtk_1_1TreeView.html#ac8c004cc10cc48e6e4ce8ccfe0e49279" title="A selection object for Gtk::TreeView.">Gtk::TreeView::Selection</a>. </p>
<p>This is a helper object to manage the selection for a <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> widget.</p>
<p>It is automatically created when a new <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> widget is created, and cannot exist independently of this widget. The primary reason this class exists is for cleanliness of code and API. That is, there is no conceptual reason all these methods could not be methods on the <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> widget instead of a separate class.</p>
<p>The <a class="el" href="classGtk_1_1TreeSelection.html" title="Typedefed as Gtk::TreeView::Selection.">Gtk::TreeSelection</a> object can be obtained from a <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> by calling <a class="el" href="classGtk_1_1TreeView.html#ae953e086ee80dbcd34e49dc55a600dcb" title="Gets the Gtk::TreeSelection associated with tree_view.">Gtk::TreeView::get_selection()</a>. It can be manipulated to check the selection status of the tree, as well as to select and deselect individual rows. Selection is done completely view-side. As a result, multiple views of the same model can have completely different selections. Additionally, you cannot change the selection of a row on the model that is not currently displayed by the view without expanding its parents first.</p>
<p>When monitoring the selection of a view, it's important to remember that the "changed" signal is mostly a hint. That is, it may only emit one signal when a range of rows is selected. Additionally, it may on occasion emit a "changed" signal when nothing has happened. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ac5f0337df16d05d0c5db83284ffb05f8"></a><!-- doxytag: member="Gtk::TreeSelection::ListHandle_Path" ref="ac5f0337df16d05d0c5db83284ffb05f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>, TreePath_Traits&gt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Gtk::TreeSelection::ListHandle_Path</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0157e2ca1c2fa319a93913c782a7b640"></a><!-- doxytag: member="Gtk::TreeSelection::SlotForeachIter" ref="a0157e2ca1c2fa319a93913c782a7b640" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeSelection::SlotForeachIter</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For example, void on_foreach(const Gtk::TreeModel::iterator&amp; iter);. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful. </p>

</div>
</div>
<a class="anchor" id="aab1d3454d5216f1574cb53bf54205f74"></a><!-- doxytag: member="Gtk::TreeSelection::SlotForeachPath" ref="aab1d3454d5216f1574cb53bf54205f74" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeSelection::SlotForeachPath</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For example, void on_foreach(const Gtk::TreeModel::Path&amp; path);. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful. </p>

</div>
</div>
<a class="anchor" id="a31c44b43f5acd501a0a411c04bdf4706"></a><!-- doxytag: member="Gtk::TreeSelection::SlotForeachPathAndIter" ref="a31c44b43f5acd501a0a411c04bdf4706" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;, const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeSelection::SlotForeachPathAndIter</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For example, void on_foreach(const Gtk::TreeModel::Path&amp; path, const Gtk::TreeModel::iterator&amp; iter);. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful. </p>

</div>
</div>
<a class="anchor" id="a2262e022dc13c1918af1127f42a158b1"></a><!-- doxytag: member="Gtk::TreeSelection::SlotSelect" ref="a2262e022dc13c1918af1127f42a158b1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;bool, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&amp;, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;, bool&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeSelection::SlotSelect</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, bool on_select_function(const Glib::RefPtr&lt;TreeModel&gt;&amp; model, const TreeModel::Path&amp; path, bool path_currently_selected) The select function should return true if the state of the node may be toggled, and false if the state of the node should be left unchanged. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a53c5fcfea07919973631158579e9bbc0"></a><!-- doxytag: member="Gtk::TreeSelection::~TreeSelection" ref="a53c5fcfea07919973631158579e9bbc0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::TreeSelection::~TreeSelection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abd81154bc8b483b8110bf67bf25a0022"></a><!-- doxytag: member="Gtk::TreeSelection::count_selected_rows" ref="abd81154bc8b483b8110bf67bf25a0022" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::TreeSelection::count_selected_rows </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of rows that have been selected in <em>tree</em>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000106">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of rows selected. </dd></dl>

</div>
</div>
<a class="anchor" id="ab83925a34c53e387e2813f2dc6a08587"></a><!-- doxytag: member="Gtk::TreeSelection::get_mode" ref="ab83925a34c53e387e2813f2dc6a08587" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">SelectionMode</a> Gtk::TreeSelection::get_mode </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the selection mode for <em>selection</em>. </p>
<p>See <a class="el" href="classGtk_1_1TreeSelection.html#a8c77e2bc04394554fe272c90aec1b064" title="Sets the selection mode of the selection.">set_mode()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current selection mode. </dd></dl>

</div>
</div>
<a class="anchor" id="a32d988aaf33b721a41f264255f8f2ee3"></a><!-- doxytag: member="Gtk::TreeSelection::get_model" ref="a32d988aaf33b721a41f264255f8f2ee3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt; Gtk::TreeSelection::get_model </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae6e6474b69278a024ce2f50cc81f3bac"></a><!-- doxytag: member="Gtk::TreeSelection::get_model" ref="ae6e6474b69278a024ce2f50cc81f3bac" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt; Gtk::TreeSelection::get_model </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shortcut for <a class="el" href="classGtk_1_1TreeSelection.html#a5564087ad3cb1979d546d905e9364294" title="Returns the tree view associated with selection.">get_tree_view()</a>-&gt;<a class="el" href="classGtk_1_1TreeSelection.html#ae6e6474b69278a024ce2f50cc81f3bac" title="Shortcut for get_tree_view()-&gt;get_model().">get_model()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> associated with this <a class="el" href="classGtk_1_1TreeSelection.html" title="Typedefed as Gtk::TreeView::Selection.">TreeSelection</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a6c38032e5eb2a7b4a089fb74552c7910"></a><!-- doxytag: member="Gtk::TreeSelection::get_selected" ref="a6c38032e5eb2a7b4a089fb74552c7910" args="(Glib::RefPtr&lt; TreeModel &gt; &amp;model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a> Gtk::TreeSelection::get_selected </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>model</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the currently selected row. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The currently selected row. Or end() if no rows were selected. </dd></dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>model</em>&#160;</td><td>The current <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="note"><dt><b>Note:</b></dt><dd>This method won't work if the selection mode is <code><a class="el" href="group__gtkmmEnums.html#gga3e58167cfed0be4c87474c3bdca80d78a1828aee7873c17ec61f10274de30146b">Gtk::SELECTION_MULTIPLE</a></code>. Use <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> for multiple selections. </dd></dl>

</div>
</div>
<a class="anchor" id="af949a1a078bc5c2272e25e0c2987a81f"></a><!-- doxytag: member="Gtk::TreeSelection::get_selected" ref="af949a1a078bc5c2272e25e0c2987a81f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a> Gtk::TreeSelection::get_selected </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the currently selected row. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The currently selected row. </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>This method won't work if the selection mode is <code><a class="el" href="group__gtkmmEnums.html#gga3e58167cfed0be4c87474c3bdca80d78a1828aee7873c17ec61f10274de30146b">Gtk::SELECTION_MULTIPLE</a></code>. Use <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> for multiple selections. </dd></dl>

</div>
</div>
<a class="anchor" id="a426debb82f5c75994ae3950b42168b03"></a><!-- doxytag: member="Gtk::TreeSelection::get_selected_rows" ref="a426debb82f5c75994ae3950b42168b03" args="(Glib::RefPtr&lt; TreeModel &gt; &amp;model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Path</a> Gtk::TreeSelection::get_selected_rows </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>model</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a list of paths of all selected rows. </p>
<p>Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of GtkTreeRowReferences.</p>
<dl><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>model</em>&#160;</td><td>The current <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a standard container containing a Gtk::Model::Path for each selected row. </dd></dl>

</div>
</div>
<a class="anchor" id="ab6b8e42892faccbe7c44e483f5f1beb6"></a><!-- doxytag: member="Gtk::TreeSelection::get_selected_rows" ref="ab6b8e42892faccbe7c44e483f5f1beb6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Path</a> Gtk::TreeSelection::get_selected_rows </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a list of paths of all selected rows. </p>
<p>Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of GtkTreeRowReferences.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a standard container containing a Gtk::Model::Path for each selected row. </dd></dl>

</div>
</div>
<a class="anchor" id="a0eb46be8a024f92607b1f12b581e16c2"></a><!-- doxytag: member="Gtk::TreeSelection::get_tree_view" ref="a0eb46be8a024f92607b1f12b581e16c2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::TreeSelection::get_tree_view </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the tree view associated with <em>selection</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5564087ad3cb1979d546d905e9364294"></a><!-- doxytag: member="Gtk::TreeSelection::get_tree_view" ref="a5564087ad3cb1979d546d905e9364294" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::TreeSelection::get_tree_view </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the tree view associated with <em>selection</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="afbfe1d2a5920a31ad730124c0ed2ffbe"></a><!-- doxytag: member="Gtk::TreeSelection::gobj" ref="afbfe1d2a5920a31ad730124c0ed2ffbe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkTreeSelection* Gtk::TreeSelection::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="aa272d22e2a8cf68ef941bb898e6ae7a5"></a><!-- doxytag: member="Gtk::TreeSelection::gobj" ref="aa272d22e2a8cf68ef941bb898e6ae7a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkTreeSelection* Gtk::TreeSelection::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="aa691fc7df426d2f19612cc82c512596d"></a><!-- doxytag: member="Gtk::TreeSelection::gobj_copy" ref="aa691fc7df426d2f19612cc82c512596d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkTreeSelection* Gtk::TreeSelection::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a48d8c7d8dfab291eefc72dbc207ddbc3"></a><!-- doxytag: member="Gtk::TreeSelection::is_selected" ref="a48d8c7d8dfab291eefc72dbc207ddbc3" args="(const TreeModel::iterator &amp;iter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::TreeSelection::is_selected </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp;&#160;</td>
          <td class="paramname"> <em>iter</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns <code>true</code> if the row at <em>iter</em> is currently selected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&#160;</td><td>A valid <a class="el" href="classGtk_1_1TreeIter.html" title="A Gtk::TreeModel::iterator is a reference to a specific node on a specific model...">Gtk::TreeIter</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code>, if <em>iter</em> is selected. </dd></dl>

</div>
</div>
<a class="anchor" id="ab5241ae9e120dcd3c680cec28d0f34f6"></a><!-- doxytag: member="Gtk::TreeSelection::is_selected" ref="ab5241ae9e120dcd3c680cec28d0f34f6" args="(const TreeModel::Path &amp;path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::TreeSelection::is_selected </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns <code>true</code> if the row pointed to by <em>path</em> is currently selected. </p>
<p>If <em>path</em> does not point to a valid location, <code>false</code> is returned </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to check selection on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>path</em> is selected. </dd></dl>

</div>
</div>
<a class="anchor" id="a1c0c20b2c05f751112e8fa0a8da93844"></a><!-- doxytag: member="Gtk::TreeSelection::on_changed" ref="a1c0c20b2c05f751112e8fa0a8da93844" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSelection::on_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a22b9264d8c0b06d3678dd022a6994a61"></a><!-- doxytag: member="Gtk::TreeSelection::select" ref="a22b9264d8c0b06d3678dd022a6994a61" args="(const TreeModel::Path &amp;start_path, const TreeModel::Path &amp;end_path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::select </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>start_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>end_path</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive. </p>
<p><em>selection</em> must be set to <a class="el" href="group__gtkmmEnums.html#gga3e58167cfed0be4c87474c3bdca80d78a1828aee7873c17ec61f10274de30146b">Gtk::SELECTION_MULTIPLE</a> mode. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>start_path</em>&#160;</td><td>The initial node of the range. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>end_path</em>&#160;</td><td>The final node of the range. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0e5b782c5a0af7ae4f257d5af932038f"></a><!-- doxytag: member="Gtk::TreeSelection::select" ref="a0e5b782c5a0af7ae4f257d5af932038f" args="(const TreeModel::Row &amp;row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::select </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeRow.html">TreeModel::Row</a>&amp;&#160;</td>
          <td class="paramname"> <em>row</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Selects the specified iterator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&#160;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html" title="A Gtk::TreeModel::iterator is a reference to a specific node on a specific model...">Gtk::TreeIter</a> to be selected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a70c91065737a3ff94fee94e1ed7b83ae"></a><!-- doxytag: member="Gtk::TreeSelection::select" ref="a70c91065737a3ff94fee94e1ed7b83ae" args="(const TreeModel::iterator &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::select </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp;&#160;</td>
          <td class="paramname"> <em>iter</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Selects the specified iterator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&#160;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html" title="A Gtk::TreeModel::iterator is a reference to a specific node on a specific model...">Gtk::TreeIter</a> to be selected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abe2e36ac9f950b47e6290ce84af939ae"></a><!-- doxytag: member="Gtk::TreeSelection::select" ref="abe2e36ac9f950b47e6290ce84af939ae" args="(const TreeModel::Path &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::select </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Select the row at <em>path</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>The <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to be selected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2cb8620473e74aec20511c3f655e3e1a"></a><!-- doxytag: member="Gtk::TreeSelection::select_all" ref="a2cb8620473e74aec20511c3f655e3e1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::select_all </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Selects all the nodes. </p>
<p><em>selection</em> must be set to <a class="el" href="group__gtkmmEnums.html#gga3e58167cfed0be4c87474c3bdca80d78a1828aee7873c17ec61f10274de30146b">Gtk::SELECTION_MULTIPLE</a> mode. </p>

</div>
</div>
<a class="anchor" id="ae954b4f6786bbc3c06daaf4ac348bfc8"></a><!-- doxytag: member="Gtk::TreeSelection::selected_foreach" ref="ae954b4f6786bbc3c06daaf4ac348bfc8" args="(const SlotForeachPathAndIter &amp;slot) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::selected_foreach </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachPathAndIter</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calls a callback slot for each selected node. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The function to call for each selected node. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a632c93a952e9597059647af3f7fd7f26"></a><!-- doxytag: member="Gtk::TreeSelection::selected_foreach_iter" ref="a632c93a952e9597059647af3f7fd7f26" args="(const SlotForeachIter &amp;slot) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::selected_foreach_iter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachIter</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calls a callback slot for each selected node. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The function to call for each selected node. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad2b0b0926ada175f4d363ecba50810f0"></a><!-- doxytag: member="Gtk::TreeSelection::selected_foreach_path" ref="ad2b0b0926ada175f4d363ecba50810f0" args="(const SlotForeachPath &amp;slot) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::selected_foreach_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotForeachPath</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calls a callback slot for each selected node. </p>
<p>Note that you cannot modify the tree or selection from within the callback function. As a result, <a class="el" href="classGtk_1_1TreeSelection.html#ab6b8e42892faccbe7c44e483f5f1beb6" title="Creates a list of paths of all selected rows.">get_selected_rows()</a> might be more useful.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The function to call for each selected node. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8c77e2bc04394554fe272c90aec1b064"></a><!-- doxytag: member="Gtk::TreeSelection::set_mode" ref="a8c77e2bc04394554fe272c90aec1b064" args="(SelectionMode type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::set_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">SelectionMode</a>&#160;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the selection mode of the <em>selection</em>. </p>
<p>If the previous type was <a class="el" href="group__gtkmmEnums.html#gga3e58167cfed0be4c87474c3bdca80d78a1828aee7873c17ec61f10274de30146b">Gtk::SELECTION_MULTIPLE</a>, then the anchor is kept selected, if it was previously selected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The selection mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7c408b8e2b45b4a65a2a9ad66d9602cf"></a><!-- doxytag: member="Gtk::TreeSelection::set_select_function" ref="a7c408b8e2b45b4a65a2a9ad66d9602cf" args="(const SlotSelect &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::set_select_function </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotSelect</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the selection callback slot. </p>
<p>If set, this function is called before any node is selected or unselected, giving some control over which nodes are selected.</p>
<p>The select function should return true if the state of the node may be toggled, and FALSE if the state of the node should be left unchanged.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The selection function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad880fbe3cf130fe7c46f410b7efe3c0f"></a><!-- doxytag: member="Gtk::TreeSelection::signal_changed" ref="ad880fbe3cf130fe7c46f410b7efe3c0f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::TreeSelection::signal_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a5aa28ea9eea8f0b8a02a28a4d4472a08"></a><!-- doxytag: member="Gtk::TreeSelection::unselect" ref="a5aa28ea9eea8f0b8a02a28a4d4472a08" args="(const TreeModel::iterator &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::unselect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>&amp;&#160;</td>
          <td class="paramname"> <em>iter</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unselects the specified iterator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&#160;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html" title="A Gtk::TreeModel::iterator is a reference to a specific node on a specific model...">Gtk::TreeIter</a> to be unselected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5ef57ea9bc6f15126ba43f8da4199b46"></a><!-- doxytag: member="Gtk::TreeSelection::unselect" ref="a5ef57ea9bc6f15126ba43f8da4199b46" args="(const TreeModel::Path &amp;start_path, const TreeModel::Path &amp;end_path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::unselect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>start_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>end_path</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unselects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000107">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>start_path</em>&#160;</td><td>The initial node of the range. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>end_path</em>&#160;</td><td>The initial node of the range. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a77e91cb1efd4cfcc05832aa97bc92a4c"></a><!-- doxytag: member="Gtk::TreeSelection::unselect" ref="a77e91cb1efd4cfcc05832aa97bc92a4c" args="(const TreeModel::Path &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::unselect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unselects the row at <em>path</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>The <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to be unselected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aeac5766a4626733996641ed2583a09e5"></a><!-- doxytag: member="Gtk::TreeSelection::unselect_all" ref="aeac5766a4626733996641ed2583a09e5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSelection::unselect_all </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unselects all the nodes. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a3005841d69e579cf3a75e7a4699d4fa6"></a><!-- doxytag: member="Gtk::TreeSelection::wrap" ref="a3005841d69e579cf3a75e7a4699d4fa6" args="(GtkTreeSelection *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeSelection.html">Gtk::TreeSelection</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkTreeSelection *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/treeselection.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:06 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>