Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 404d46ca9bb341d7a0e7e04bc69da9df > files > 857

ghc-gtk-devel-0.12.0-4.fc15.i686.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/html; charset=UTF-8" /><title>Graphics.UI.Gtk.ModelView.TreeSelection</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-ModelView-TreeSelection.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.ModelView.TreeSelection</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail
</a></li><li><a href="#g:2">Class Hierarchy
</a></li><li><a href="#g:3">Types
</a></li><li><a href="#g:4">Methods
</a></li><li><a href="#g:5">Attributes
</a></li><li><a href="#g:6">Signals
</a></li><li><a href="#g:7">Deprecated
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The selection object for <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code>
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:TreeSelection">TreeSelection</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:TreeSelectionClass">TreeSelectionClass</a> o </li><li class="src short"><a href="#v:castToTreeSelection">castToTreeSelection</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></li><li class="src short"><a href="#v:gTypeTreeSelection">gTypeTreeSelection</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toTreeSelection">toTreeSelection</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:SelectionMode">SelectionMode</a> <ul class="subs"><li>= <a href="#v:SelectionNone">SelectionNone</a>  </li><li>| <a href="#v:SelectionSingle">SelectionSingle</a>  </li><li>| <a href="#v:SelectionBrowse">SelectionBrowse</a>  </li><li>| <a href="#v:SelectionMultiple">SelectionMultiple</a>  </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:TreeSelectionCB">TreeSelectionCB</a> = <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:TreeSelectionForeachCB">TreeSelectionForeachCB</a> = <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionSetMode">treeSelectionSetMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionGetMode">treeSelectionGetMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a></li><li class="src short"><a href="#v:treeSelectionSetSelectFunction">treeSelectionSetSelectFunction</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionCB">TreeSelectionCB</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionGetTreeView">treeSelectionGetTreeView</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></li><li class="src short"><a href="#v:treeSelectionGetSelected">treeSelectionGetSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a>)</li><li class="src short"><a href="#v:treeSelectionSelectedForeach">treeSelectionSelectedForeach</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionForeachCB">TreeSelectionForeachCB</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionGetSelectedRows">treeSelectionGetSelectedRows</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a>]</li><li class="src short"><a href="#v:treeSelectionCountSelectedRows">treeSelectionCountSelectedRows</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:treeSelectionSelectPath">treeSelectionSelectPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionUnselectPath">treeSelectionUnselectPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionPathIsSelected">treeSelectionPathIsSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:treeSelectionSelectIter">treeSelectionSelectIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionUnselectIter">treeSelectionUnselectIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionIterIsSelected">treeSelectionIterIsSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:treeSelectionSelectAll">treeSelectionSelectAll</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionUnselectAll">treeSelectionUnselectAll</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionSelectRange">treeSelectionSelectRange</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionUnselectRange">treeSelectionUnselectRange</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:treeSelectionMode">treeSelectionMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a></li><li class="src short"><a href="#v:treeSelectionSelectionChanged">treeSelectionSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)</li><li class="src short"><a href="#v:onSelectionChanged">onSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterSelectionChanged">afterSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code> object is a helper object to manage the selection for
 a <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> widget. The <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code> object is automatically created
 when a new <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> widget is created, and cannot exist independentally of
 this widget. The primary reason the <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code> objects exists is for
 cleanliness of code and API. That is, there is no conceptual reason all
 these functions could not be methods on the <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> widget instead of a
 separate function.
</p><p>The <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code> object is gotten from a <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> by calling
 <code>treeViewGetSelection</code>. It can be
 manipulated to check the selection status of the tree, as well as select
 and deselect individual rows. Selection is done completely on the
 <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> 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>One of the important things to remember when monitoring the selection of
 a view is that the &quot;changed&quot; 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 &quot;changed&quot; signal when nothing has happened (mostly as a
 result of programmers calling select_row on an already selected row).
</p></div><h1 id="g:2">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----TreeSelection
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TreeSelection" class="def">TreeSelection</a>  <a href="src/Graphics-UI-Gtk-Types.html#TreeSelection" class="link">Source</a></p><div class="subs instances"><p id="control.i:TreeSelection" class="caption collapser" onclick="toggleSection('i:TreeSelection')">Instances</p><div id="section.i:TreeSelection" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:TreeSelectionClass" class="def">TreeSelectionClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#TreeSelectionClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:TreeSelectionClass" class="caption collapser" onclick="toggleSection('i:TreeSelectionClass')">Instances</p><div id="section.i:TreeSelectionClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToTreeSelection" class="def">castToTreeSelection</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a><a href="src/Graphics-UI-Gtk-Types.html#castToTreeSelection" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeTreeSelection" class="def">gTypeTreeSelection</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeTreeSelection" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toTreeSelection" class="def">toTreeSelection</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a><a href="src/Graphics-UI-Gtk-Types.html#toTreeSelection" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:SelectionMode" class="def">SelectionMode</a>  <a href="src/Graphics-UI-Gtk-General-Enums.html#SelectionMode" class="link">Source</a></p><div class="doc"><p>Mode in which selections can be performed
</p><ul><li> There is a deprecated entry SelectionExtended which should have the same
 value as SelectionMultiple. C2HS chokes on that construct.
</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SelectionNone" class="def">SelectionNone</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:SelectionSingle" class="def">SelectionSingle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:SelectionBrowse" class="def">SelectionBrowse</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:SelectionMultiple" class="def">SelectionMultiple</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:SelectionMode" class="caption collapser" onclick="toggleSection('i:SelectionMode')">Instances</p><div id="section.i:SelectionMode" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TreeSelectionCB" class="def">TreeSelectionCB</a> = <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#TreeSelectionCB" class="link">Source</a></p><div class="doc"><p>Callback type for a function that is called everytime the selection
 changes. This function is set with <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:treeSelectionSetSelectFunction">treeSelectionSetSelectFunction</a></code>.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TreeSelectionForeachCB" class="def">TreeSelectionForeachCB</a> = <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#TreeSelectionForeachCB" class="link">Source</a></p><div class="doc"><p>Callback function type for <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:treeSelectionSelectedForeach">treeSelectionSelectedForeach</a></code>.
</p></div></div><h1 id="g:4">Methods
</h1><div class="top"><p class="src"><a name="v:treeSelectionSetMode" class="def">treeSelectionSetMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSetMode" class="link">Source</a></p><div class="doc"><p>Set single or multiple choice.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionGetMode" class="def">treeSelectionGetMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionGetMode" class="link">Source</a></p><div class="doc"><p>Gets the selection mode.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionSetSelectFunction" class="def">treeSelectionSetSelectFunction</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionCB">TreeSelectionCB</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSetSelectFunction" class="link">Source</a></p><div class="doc"><p>Set a callback function if selection changes.
</p><ul><li> If set, this function is called before any
 node is selected or unselected, giving some control over which nodes are
 selected. The select function should return <code>True</code> if the state of the node
 may be toggled, and <code>False</code> if the state of the node should be left
 unchanged.
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeSelectionGetTreeView" class="def">treeSelectionGetTreeView</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionGetTreeView" class="link">Source</a></p><div class="doc"><p>Retrieve the <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> widget that this <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code> works on.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionGetSelected" class="def">treeSelectionGetSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a>)<a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionGetSelected" class="link">Source</a></p><div class="doc"><p>Retrieves the selection of a single choice <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelection">TreeSelection</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionSelectedForeach" class="def">treeSelectionSelectedForeach</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionForeachCB">TreeSelectionForeachCB</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectedForeach" class="link">Source</a></p><div class="doc"><p>Execute a function for each selected node.
</p><ul><li> Note that you cannot modify the tree or selection from within this
 function. Hence, <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:treeSelectionGetSelectedRows">treeSelectionGetSelectedRows</a></code> might be more useful.
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeSelectionGetSelectedRows" class="def">treeSelectionGetSelectedRows</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionGetSelectedRows" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a>]</td><td class="doc"><p>returns a list containing a <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></code> for
 each selected row.
</p></td></tr></table></div><div class="doc"><p>Creates a list of paths of all selected rows.
</p><ul><li> 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 <code>TreeRowReference</code>s. To do this,
 you can use <code>treeRowReferenceNew</code>.
</li><li> Available since Gtk+ version 2.2
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeSelectionCountSelectedRows" class="def">treeSelectionCountSelectedRows</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionCountSelectedRows" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The number of rows selected.
</p></td></tr></table></div><div class="doc"><p>Returns the number of rows that are selected.
</p><ul><li> Available since Gtk+ version 2.2
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeSelectionSelectPath" class="def">treeSelectionSelectPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectPath" class="link">Source</a></p><div class="doc"><p>Select a specific item by <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionUnselectPath" class="def">treeSelectionUnselectPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionUnselectPath" class="link">Source</a></p><div class="doc"><p>Deselect a specific item by <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionPathIsSelected" class="def">treeSelectionPathIsSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionPathIsSelected" class="link">Source</a></p><div class="doc"><p>Returns True if the row at the given path is currently selected.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionSelectIter" class="def">treeSelectionSelectIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectIter" class="link">Source</a></p><div class="doc"><p>Select a specific item by <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionUnselectIter" class="def">treeSelectionUnselectIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionUnselectIter" class="link">Source</a></p><div class="doc"><p>Deselect a specific item by <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionIterIsSelected" class="def">treeSelectionIterIsSelected</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionIterIsSelected" class="link">Source</a></p><div class="doc"><p>Returns True if the row at the given iter is currently selected.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionSelectAll" class="def">treeSelectionSelectAll</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectAll" class="link">Source</a></p><div class="doc"><p>Selects all the nodes. The tree selection must be set to
 <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:SelectionMultiple">SelectionMultiple</a></code> mode.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionUnselectAll" class="def">treeSelectionUnselectAll</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionUnselectAll" class="link">Source</a></p><div class="doc"><p>Unselects all the nodes.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionSelectRange" class="def">treeSelectionSelectRange</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectRange" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></td><td class="doc"><p><code>startPath</code> - The initial node of the range.
</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></td><td class="doc"><p><code>endPath</code> - The final node of the range.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Selects a range of nodes, determined by <code>startPath</code> and <code>endPath</code>
 inclusive. <code>selection</code> must be set to <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:SelectionMultiple">SelectionMultiple</a></code> mode.
</p></div></div><div class="top"><p class="src"><a name="v:treeSelectionUnselectRange" class="def">treeSelectionUnselectRange</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionUnselectRange" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></td><td class="doc"><p><code>startPath</code> - The initial node of the range.
</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></td><td class="doc"><p><code>endPath</code> - The initial node of the range.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Unselects a range of nodes, determined by <code>startPath</code> and <code>endPath</code>
 inclusive.
</p><ul><li> Available since Gtk+ version 2.2
</li></ul></div></div><h1 id="g:5">Attributes
</h1><div class="top"><p class="src"><a name="v:treeSelectionMode" class="def">treeSelectionMode</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:SelectionMode">SelectionMode</a><a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionMode" class="link">Source</a></p><div class="doc"><p>'mode' property. See <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:treeSelectionGetMode">treeSelectionGetMode</a></code> and <code><a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#v:treeSelectionSetMode">treeSelectionSetMode</a></code>
</p></div></div><h1 id="g:6">Signals
</h1><div class="top"><p class="src"><a name="v:treeSelectionSelectionChanged" class="def">treeSelectionSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)<a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#treeSelectionSelectionChanged" class="link">Source</a></p><div class="doc"><p>Emitted whenever the selection has (possibly) changed. Please note that
 this signal is mostly a hint. It may only be emitted once when a range of
 rows are selected, and it may occasionally be emitted when nothing has
 happened.
</p></div></div><h1 id="g:7">Deprecated
</h1><div class="top"><p class="src"><a name="v:onSelectionChanged" class="def">onSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#onSelectionChanged" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterSelectionChanged" class="def">afterSelectionChanged</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeSelection.html#t:TreeSelectionClass">TreeSelectionClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-ModelView-TreeSelection.html#afterSelectionChanged" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>