Sophie

Sophie

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

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.TreeRowReference</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-TreeRowReference.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-ModelView-TreeRowReference.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.TreeRowReference</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">Types
</a></li><li><a href="#g:3">Constructors
</a></li><li><a href="#g:4">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A persistent index into a tree model.
</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:TreeRowReference">TreeRowReference</a> </li><li class="src short"><a href="#v:treeRowReferenceNew">treeRowReferenceNew</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</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-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</a>)</li><li class="src short"><a href="#v:treeRowReferenceGetPath">treeRowReferenceGetPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</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:treeRowReferenceValid">treeRowReferenceValid</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</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>A <code>RowReference</code> is an index into a
 <code>Graphics.UI.Gtk.ModelView.TreeModel.TreeModel</code> that is persistent even if
 rows are inserted, deleted or reordered.
</p></div><h1 id="g:2">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TreeRowReference" class="def">TreeRowReference</a>  <a href="src/Graphics-UI-Gtk-ModelView-TreeRowReference.html#TreeRowReference" class="link">Source</a></p><div class="doc"><p>Tree Row Reference : like a <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreePath">TreePath</a></code> it points to a subtree or node, but
 it is persistent. It identifies the same node (so long as it exists) even
 when items are added, removed, or reordered.
</p></div></div><h1 id="g:3">Constructors
</h1><div class="top"><p class="src"><a name="v:treeRowReferenceNew" class="def">treeRowReferenceNew</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</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-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</a>)<a href="src/Graphics-UI-Gtk-ModelView-TreeRowReference.html#treeRowReferenceNew" class="link">Source</a></p><div class="doc"><p>Creates a row reference based on a path. This reference will keep pointing
 to the node pointed to by the given path, so long as it exists. Returns <code>Nothing</code> if there is no node at the given path.
</p></div></div><h1 id="g:4">Methods
</h1><div class="top"><p class="src"><a name="v:treeRowReferenceGetPath" class="def">treeRowReferenceGetPath</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</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-TreeRowReference.html#treeRowReferenceGetPath" class="link">Source</a></p><div class="doc"><p>Returns a path that the row reference currently points to.
</p><ul><li> The returned path may be the empty list if the reference was invalid.
</li></ul></div></div><div class="top"><p class="src"><a name="v:treeRowReferenceValid" class="def">treeRowReferenceValid</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeRowReference.html#t:TreeRowReference">TreeRowReference</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-TreeRowReference.html#treeRowReferenceValid" class="link">Source</a></p><div class="doc"><p>Returns True if the reference refers to a current valid path.
</p></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>