Sophie

Sophie

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

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.TreeModelSort</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-TreeModelSort.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.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.TreeModelSort</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">Constructors
</a></li><li><a href="#g:5">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a></code> which makes an underlying tree model sortable
</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:TreeModelSort">TreeModelSort</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:TreeModelSortClass">TreeModelSortClass</a> o </li><li class="src short"><a href="#v:castToTreeModelSort">castToTreeModelSort</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-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></li><li class="src short"><a href="#v:gTypeTreeModelSort">gTypeTreeModelSort</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toTreeModelSort">toTreeModelSort</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:TypedTreeModelSort">TypedTreeModelSort</a> row</li><li class="src short"><a href="#v:treeModelSortNewWithModel">treeModelSortNewWithModel</a> :: (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> (childModel row), <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TypedTreeModelClass">TypedTreeModelClass</a> childModel) =&gt; childModel row -&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-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> row)</li><li class="src short"><a href="#v:treeModelSortGetModel">treeModelSortGetModel</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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:TreeModel">TreeModel</a></li><li class="src short"><a href="#v:treeModelSortConvertChildPathToPath">treeModelSortConvertChildPathToPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></li><li class="src short"><a href="#v:treeModelSortConvertPathToChildPath">treeModelSortConvertPathToChildPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></li><li class="src short"><a href="#v:treeModelSortConvertChildIterToIter">treeModelSortConvertChildIterToIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></li><li class="src short"><a href="#v:treeModelSortConvertIterToChildIter">treeModelSortConvertIterToChildIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></li><li class="src short"><a href="#v:treeModelSortResetDefaultSortFunc">treeModelSortResetDefaultSortFunc</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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:treeModelSortClearCache">treeModelSortClearCache</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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:treeModelSortIterIsValid">treeModelSortIterIsValid</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code> is a model which implements the <code><a href="Graphics-UI-Gtk-ModelView-TreeSortable.html#t:TreeSortable">TreeSortable</a></code>
 interface. It does not hold any data itself, but rather is created with a
 child model and proxies its data. It has identical rows to its
 child model, and the changes in the child are propagated. The primary
 purpose of this model is to provide a way to sort a model without
 modifying it.
</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>
 | +----TreeModelSort
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TreeModelSort" class="def">TreeModelSort</a>  <a href="src/Graphics-UI-Gtk-Types.html#TreeModelSort" class="link">Source</a></p><div class="subs instances"><p id="control.i:TreeModelSort" class="caption collapser" onclick="toggleSection('i:TreeModelSort')">Instances</p><div id="section.i:TreeModelSort" 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-TreeModelSort.html#t:TreeModelSort">TreeModelSort</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-TreeModelSort.html#t:TreeModelSort">TreeModelSort</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-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeSortable.html#t:TreeSortableClass">TreeSortableClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</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:TreeModelSortClass" class="def">TreeModelSortClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#TreeModelSortClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:TreeModelSortClass" class="caption collapser" onclick="toggleSection('i:TreeModelSortClass')">Instances</p><div id="section.i:TreeModelSortClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToTreeModelSort" class="def">castToTreeModelSort</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-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a><a href="src/Graphics-UI-Gtk-Types.html#castToTreeModelSort" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeTreeModelSort" class="def">gTypeTreeModelSort</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeTreeModelSort" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toTreeModelSort" class="def">toTreeModelSort</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a><a href="src/Graphics-UI-Gtk-Types.html#toTreeModelSort" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TypedTreeModelSort" class="def">TypedTreeModelSort</a> row <a href="src/Graphics-UI-Gtk-ModelView-Types.html#TypedTreeModelSort" class="link">Source</a></p><div class="subs instances"><p id="control.i:TypedTreeModelSort" class="caption collapser" onclick="toggleSection('i:TypedTreeModelSort')">Instances</p><div id="section.i:TypedTreeModelSort" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TypedTreeModelClass">TypedTreeModelClass</a> <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</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-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-TreeSortable.html#t:TreeSortableClass">TreeSortableClass</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> row)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:4">Constructors
</h1><div class="top"><p class="src"><a name="v:treeModelSortNewWithModel" class="def">treeModelSortNewWithModel</a> :: (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> (childModel row), <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TypedTreeModelClass">TypedTreeModelClass</a> childModel) =&gt; childModel row -&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-TreeModelSort.html#t:TypedTreeModelSort">TypedTreeModelSort</a> row)<a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortNewWithModel" class="link">Source</a></p><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code>, that will be a sorted view of the given
 model.
</p></div></div><h1 id="g:5">Methods
</h1><div class="top"><p class="src"><a name="v:treeModelSortGetModel" class="def">treeModelSortGetModel</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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:TreeModel">TreeModel</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortGetModel" class="link">Source</a></p><div class="doc"><p>Returns the underlying model the <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code> is sorting.
</p></div></div><div class="top"><p class="src"><a name="v:treeModelSortConvertChildPathToPath" class="def">treeModelSortConvertChildPathToPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortConvertChildPathToPath" class="link">Source</a></p><div class="doc"><p>Converts the given path to a path relative to the given sorted model.
</p><ul><li> The given path points to a row in the child model. The returned path will
 point to the same row in the sorted model.
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeModelSortConvertPathToChildPath" class="def">treeModelSortConvertPathToChildPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortConvertPathToChildPath" class="link">Source</a></p><div class="doc"><p>Converts path in the sorted model to a path on the unsorted model on which
 the given <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code> is based. That is, the given path points to a
 location in the given <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code>. The returned path will point to the
 same location in the underlying unsorted model.
</p></div></div><div class="top"><p class="src"><a name="v:treeModelSortConvertChildIterToIter" class="def">treeModelSortConvertChildIterToIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortConvertChildIterToIter" class="link">Source</a></p><div class="doc"><p>Return an iterator in the sorted model that points to the row pointed to
 by the given iter from the unsorted model.
</p></div></div><div class="top"><p class="src"><a name="v:treeModelSortConvertIterToChildIter" class="def">treeModelSortConvertIterToChildIter</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortConvertIterToChildIter" class="link">Source</a></p><div class="doc"><p>Return an iterator in the unsorted model that points to the row pointed to
 by the given iter from the sorted model.
</p></div></div><div class="top"><p class="src"><a name="v:treeModelSortResetDefaultSortFunc" class="def">treeModelSortResetDefaultSortFunc</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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-TreeModelSort.html#treeModelSortResetDefaultSortFunc" class="link">Source</a></p><div class="doc"><p>This resets the default sort function. As a consequence, the order of
 this model will be the same order as that of the child model.
</p></div></div><div class="top"><p class="src"><a name="v:treeModelSortClearCache" class="def">treeModelSortClearCache</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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-TreeModelSort.html#treeModelSortClearCache" class="link">Source</a></p><div class="doc"><p>Clear the cache of unref'd iterators.
</p><ul><li> This function should almost never be called. It clears the
 <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code> of any cached iterators that haven't been reffed with
 <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#v:treeModelRefNode">treeModelRefNode</a></code>. This might be useful if the child model being sorted is
 static (and doesn't change often) and there has been a lot of unreffed
 access to nodes. As a side effect of this function, all unreffed iters will
 be invalid.
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeModelSortIterIsValid" class="def">treeModelSortIterIsValid</a><a href="src/Graphics-UI-Gtk-ModelView-TreeModelSort.html#treeModelSortIterIsValid" 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-TreeModelSort.html#t:TreeModelSortClass">TreeModelSortClass</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:TreeIter">TreeIter</a></td><td class="doc"><p><code>iter</code> - A <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></code>.
</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/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the iter is valid, <code>False</code> if the iter is
 invalid.
</p></td></tr></table></div><div class="doc"><p>Checks if the given iter is a valid iter for this <code><a href="Graphics-UI-Gtk-ModelView-TreeModelSort.html#t:TreeModelSort">TreeModelSort</a></code>.
</p><ul><li> WARNING: This function is slow. Only use it for debugging and/or testing
 purposes.
</li><li> Available since Gtk+ version 2.2
</li></ul></div></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>