Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 1345

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Gtk::TreeSelection class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gtk::TreeSelection Class Reference<br>
<small>
[<a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1>Typedefed as <a class="el" href="classGtk_1_1TreeView.html#s1">Gtk::TreeView::Selection</a>. 
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gtk::TreeSelection:<p><center><img src="classGtk_1_1TreeSelection__inherit__graph.png" border="0" usemap="#Gtk_1_1TreeSelection__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1TreeSelection__inherit__map">
<area href="classGlib_1_1Object.html" shape="rect" coords="27,86,107,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="12,17,121,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1TreeSelection-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef SigC::Slot3&lt; bool,<br>
 const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&amp;,<br>
 const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;,<br>
 bool &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#s0">SlotSelect</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>e.g. on_select_function(const Glib::RefPtr&lt;TreeModel&gt;&amp; model, const TreeModel::Path&amp; path, bool path_currently_selected)</em> <a href="#s0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>typedef SigC::Slot1&lt; void,<br>
 const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#s1">SlotForeachIter</a></td></tr>
<tr><td nowrap align=right valign=top>typedef SigC::Slot1&lt; void,<br>
 const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#s2">SlotForeachPath</a></td></tr>
<tr><td nowrap align=right valign=top>typedef SigC::Slot2&lt; void,<br>
 const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;,<br>
 const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#s3">SlotForeachPathAndIter</a></td></tr>
<tr><td nowrap align=right valign=top>typedef <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<br>
 <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>, TreePath_Traits &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#s4">ListHandle_Path</a></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a0">~TreeSelection</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GtkTreeSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GtkTreeSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>GtkTreeSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a3">gobj_copy</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a4">set_mode</a> (<a class="el" href="group__gtkmmEnums.html#a86">SelectionMode</a> type)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the selection mode of the <em>selection</em> .</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__gtkmmEnums.html#a86">SelectionMode</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a5">get_mode</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the selection mode for <em>selection</em> .</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a6">set_select_function</a> (const <a class="el" href="classGtk_1_1TreeSelection.html#s0">SlotSelect</a>&amp; slot)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a7">get_tree_view</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the tree view associated with <em>selection</em> .</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a8">get_tree_view</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the tree view associated with <em>selection</em> .</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a9">get_model</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Shortcut for get_tree_view()-&gt;<a class="el" href="classGtk_1_1TreeSelection.html#a9">get_model()</a>.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a10">get_model</a> () const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a11">get_selected</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the currently selected row.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a12">get_selected</a> (<a class="el" href="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>&nbsp;</td><td><font size=-1><em>Get the currently selected row.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a13">selected_foreach</a> (const <a class="el" href="classGtk_1_1TreeSelection.html#s1">SlotForeachIter</a>&amp; slot)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a14">selected_foreach</a> (const <a class="el" href="classGtk_1_1TreeSelection.html#s2">SlotForeachPath</a>&amp; slot)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a15">selected_foreach</a> (const <a class="el" href="classGtk_1_1TreeSelection.html#s3">SlotForeachPathAndIter</a>&amp; slot)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a16">select</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; path)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Select the row at <em>path</em> .</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a17">select</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp; iter)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Selects the specified iterator.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a18">select</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s3">TreeModel::Row</a>&amp; row)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Selects the specified iterator.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a19">select</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; start_path, const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; end_path)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive.</em> <a href="#a19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a20">unselect</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; path)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unselects the row at <em>path</em> .</em> <a href="#a20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a21">unselect</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; start_path, const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; end_path)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unselects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive.</em> <a href="#a21"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a22">unselect</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp; iter)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unselects the specified iterator.</em> <a href="#a22"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a23">is_selected</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp; path) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns <code>true</code> if the row pointed to by <em>path</em> is currently selected.</em> <a href="#a23"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a24">is_selected</a> (const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp; iter) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns <code>true</code> if the row at <em>iter</em> is currently selected.</em> <a href="#a24"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a25">select_all</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Selects all the nodes.</em> <a href="#a25"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a26">unselect_all</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unselects all the nodes.</em> <a href="#a26"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ListHandle.html">ListHandle_Path</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a27">get_selected_rows</a> () const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ListHandle.html">ListHandle_Path</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a28">get_selected_rows</a> (<a class="el" href="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 nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a29">count_selected_rows</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of rows that have been selected in <em>tree</em> .</em> <a href="#a29"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#a30">signal_changed</a> ()</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#b0">on_changed</a> ()</td></tr>
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Gtk::TreeSelection&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1TreeSelection.html#k0">wrap</a> (GtkTreeSelection* object, bool take_copy=false)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Typedefed as <a class="el" href="classGtk_1_1TreeView.html#s1">Gtk::TreeView::Selection</a>.
<p>
This is a helper object to manage the selection for a <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a> widget.
<p>
It is automatically created when a new <a class="el" href="classGtk_1_1TreeView.html">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">Gtk::TreeView</a> widget instead of a separate class.
<p>
The Gtk::TreeSelection object can be obtained from a <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a> by calling <a class="el" href="classGtk_1_1TreeView.html#a8">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>
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 name="s4" doxytag="Gtk::TreeSelection::ListHandle_Path"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>, TreePath_Traits&gt; Gtk::TreeSelection::ListHandle_Path
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="s1" doxytag="Gtk::TreeSelection::SlotForeachIter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef SigC::Slot1&lt;void, const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp;&gt; Gtk::TreeSelection::SlotForeachIter
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="s2" doxytag="Gtk::TreeSelection::SlotForeachPath"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef SigC::Slot1&lt;void, const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&gt; Gtk::TreeSelection::SlotForeachPath
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="s3" doxytag="Gtk::TreeSelection::SlotForeachPathAndIter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef SigC::Slot2&lt;void, const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;, const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp;&gt; Gtk::TreeSelection::SlotForeachPathAndIter
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="s0" doxytag="Gtk::TreeSelection::SlotSelect"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef SigC::Slot3&lt;bool, const <a class="el" href="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_1TreeModel.html#s4">TreeModel::Path</a>&amp;, bool&gt; Gtk::TreeSelection::SlotSelect
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
e.g. on_select_function(const Glib::RefPtr&lt;TreeModel&gt;&amp; model, const TreeModel::Path&amp; path, bool path_currently_selected)
<p>
    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gtk::TreeSelection::~TreeSelection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gtk::TreeSelection::~TreeSelection </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a29" doxytag="Gtk::TreeSelection::count_selected_rows"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gtk::TreeSelection::count_selected_rows </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the number of rows that have been selected in <em>tree</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of rows selected.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a5" doxytag="Gtk::TreeSelection::get_mode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="group__gtkmmEnums.html#a86">SelectionMode</a> Gtk::TreeSelection::get_mode </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the selection mode for <em>selection</em> .
<p>
See <a class="el" href="classGtk_1_1TreeSelection.html#a4">set_mode()</a>. <dl compact><dt><b>Returns:</b></dt><dd>The current selection mode. </dd></dl>
    </td>
  </tr>
</table>
<a name="a10" doxytag="Gtk::TreeSelection::get_model"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a9" doxytag="Gtk::TreeSelection::get_model"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Shortcut for get_tree_view()-&gt;<a class="el" href="classGtk_1_1TreeSelection.html#a9">get_model()</a>.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> associated with this <a class="el" href="classGtk_1_1TreeSelection.html">TreeSelection</a>. </dd></dl>
    </td>
  </tr>
</table>
<a name="a12" doxytag="Gtk::TreeSelection::get_selected"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a> Gtk::TreeSelection::get_selected </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>model</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the currently selected row.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The currently selected row. Or NULL if no rows were selected. </dd></dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>model</em>&nbsp;</td><td>The current <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>This method won't work if the selection mode is <code><a class="el" href="group__gtkmmEnums.html#a86a158">Gtk::SELECTION_MULTIPLE</a></code>. Use <a class="el" href="classGtk_1_1TreeSelection.html#a13">selected_foreach()</a> for multiple selections. </dd></dl>
    </td>
  </tr>
</table>
<a name="a11" doxytag="Gtk::TreeSelection::get_selected"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a> Gtk::TreeSelection::get_selected </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the currently selected row.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The currently selected row. </dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>This method won't work if the selection mode is <code><a class="el" href="group__gtkmmEnums.html#a86a158">Gtk::SELECTION_MULTIPLE</a></code>. Use <a class="el" href="classGtk_1_1TreeSelection.html#a13">selected_foreach()</a> for multiple selections. </dd></dl>
    </td>
  </tr>
</table>
<a name="a28" doxytag="Gtk::TreeSelection::get_selected_rows"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ListHandle.html">ListHandle_Path</a> Gtk::TreeSelection::get_selected_rows </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt;&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>model</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a27" doxytag="Gtk::TreeSelection::get_selected_rows"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ListHandle.html">ListHandle_Path</a> Gtk::TreeSelection::get_selected_rows </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a8" doxytag="Gtk::TreeSelection::get_tree_view"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::TreeSelection::get_tree_view </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the tree view associated with <em>selection</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a>. </dd></dl>
    </td>
  </tr>
</table>
<a name="a7" doxytag="Gtk::TreeSelection::get_tree_view"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::TreeSelection::get_tree_view </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the tree view associated with <em>selection</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a>. </dd></dl>
    </td>
  </tr>
</table>
<a name="a2" doxytag="Gtk::TreeSelection::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GtkTreeSelection* Gtk::TreeSelection::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a3">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gtk::TreeSelection::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkTreeSelection* Gtk::TreeSelection::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a2">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="Gtk::TreeSelection::gobj_copy"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkTreeSelection* Gtk::TreeSelection::gobj_copy </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a24" doxytag="Gtk::TreeSelection::is_selected"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Gtk::TreeSelection::is_selected </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>iter</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns <code>true</code> if the row at <em>iter</em> is currently selected.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>iter</em>&nbsp;</td><td>A valid <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a>. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code>, if <em>iter</em> is selected. </dd></dl>
    </td>
  </tr>
</table>
<a name="a23" doxytag="Gtk::TreeSelection::is_selected"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Gtk::TreeSelection::is_selected </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>path</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns <code>true</code> if the row pointed to by <em>path</em> is currently selected.
<p>
If <em>path</em> does not point to a valid location, <code>false</code> is returned <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>path</em>&nbsp;</td><td>A <a class="el" href="classGtk_1_1TreePath.html">Gtk::TreePath</a> to check selection on. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>path</em> is selected. </dd></dl>
    </td>
  </tr>
</table>
<a name="b0" doxytag="Gtk::TreeSelection::on_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Gtk::TreeSelection::on_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a19" doxytag="Gtk::TreeSelection::select"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::select </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>start_path</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>end_path</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>start_path</em>&nbsp;</td><td>The initial node of the range. </td></tr>
    <tr><td valign=top><em>end_path</em>&nbsp;</td><td>The final node of the range. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a18" doxytag="Gtk::TreeSelection::select"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::select </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s3">TreeModel::Row</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>row</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects the specified iterator.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a> to be selected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a17" doxytag="Gtk::TreeSelection::select"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::select </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>iter</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects the specified iterator.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a> to be selected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a16" doxytag="Gtk::TreeSelection::select"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::select </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>path</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Select the row at <em>path</em> .
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>path</em>&nbsp;</td><td>The <a class="el" href="classGtk_1_1TreePath.html">Gtk::TreePath</a> to be selected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a25" doxytag="Gtk::TreeSelection::select_all"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::select_all </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects all the nodes.
<p>
<em>selection</em> is must be set to <a class="el" href="group__gtkmmEnums.html#a86a158">Gtk::SELECTION_MULTIPLE</a> mode.     </td>
  </tr>
</table>
<a name="a15" doxytag="Gtk::TreeSelection::selected_foreach"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::selected_foreach </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeSelection.html#s3">SlotForeachPathAndIter</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>slot</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a14" doxytag="Gtk::TreeSelection::selected_foreach"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::selected_foreach </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeSelection.html#s2">SlotForeachPath</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>slot</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a13" doxytag="Gtk::TreeSelection::selected_foreach"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::selected_foreach </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeSelection.html#s1">SlotForeachIter</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>slot</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Gtk::TreeSelection::set_mode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::set_mode </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__gtkmmEnums.html#a86">SelectionMode</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the selection mode of the <em>selection</em> .
<p>
If the previous type was <a class="el" href="group__gtkmmEnums.html#a86a158">Gtk::SELECTION_MULTIPLE</a>, then the anchor is kept selected, if it was previously selected. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>type</em>&nbsp;</td><td>The selection mode. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Gtk::TreeSelection::set_select_function"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::set_select_function </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeSelection.html#s0">SlotSelect</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>slot</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a30" doxytag="Gtk::TreeSelection::signal_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt; Gtk::TreeSelection::signal_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Prototype:</b></dt><dd><code>void changed()</code> </dd></dl>
    </td>
  </tr>
</table>
<a name="a22" doxytag="Gtk::TreeSelection::unselect"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::unselect </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s1">TreeModel::iterator</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>iter</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects the specified iterator.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a> to be unselected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a21" doxytag="Gtk::TreeSelection::unselect"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::unselect </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>start_path</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>end_path</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive.
<p>
Since: 2.2 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>start_path</em>&nbsp;</td><td>The initial node of the range. </td></tr>
    <tr><td valign=top><em>end_path</em>&nbsp;</td><td>The initial node of the range. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a20" doxytag="Gtk::TreeSelection::unselect"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::unselect </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1TreeModel.html#s4">TreeModel::Path</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>path</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects the row at <em>path</em> .
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>path</em>&nbsp;</td><td>The <a class="el" href="classGtk_1_1TreePath.html">Gtk::TreePath</a> to be unselected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a26" doxytag="Gtk::TreeSelection::unselect_all"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::TreeSelection::unselect_all </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects all the nodes.
<p>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gtk::TreeSelection::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Gtk::TreeSelection&gt; wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GtkTreeSelection*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="treeselection_8h.html">treeselection.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>