Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 677c1b5134368504c2e447757584d19e > files > 720

ghc-gtk-devel-0.11.2-5.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Graphics.UI.Gtk.ModelView.CustomStore</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Graphics-UI-Gtk-ModelView-CustomStore.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>gtk-0.11.2: Binding to the Gtk+ graphical user interface library.</TD
><TD CLASS="topbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html"
>Source code</A
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Graphics.UI.Gtk.ModelView.CustomStore</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable (depends on GHC)</TD
></TR
><TR
><TD CLASS="infohead"
>Stability</TD
><TD CLASS="infoval"
>provisional</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>gtk2hs-users@lists.sourceforge.net</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>The definition of a row-based store.  
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>Allows a custom data structure to be used with the <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeView.html#t%3ATreeView"
>TreeView</A
></TT
> and other
 widgets that follow the model-view-controller paradigm. The two models
 Graphics.UI.Gtk.ModelView.ListStore.ListStore and
 Graphics.UI.Gtk.ModelView.TreeStore.TreeStore are based on the
 <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
></TT
>. Even if no application-specific tree model
 should be implemented, this module is relevant in that it provides the
 functions <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#v%3AcustomStoreSetColumn"
>customStoreSetColumn</A
></TT
> and
 <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#v%3AcustomStoreGetRow"
>customStoreGetRow</A
></TT
> functions.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ACustomStore"
>CustomStore</A
> private row</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ATreeModelFlags"
>TreeModelFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ATreeModelItersPersist"
>TreeModelItersPersist</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ATreeModelListOnly"
>TreeModelListOnly</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ATreeModelIface"
>TreeModelIface</A
> row = <A HREF="#v%3ATreeModelIface"
>TreeModelIface</A
> {<TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceGetFlags"
>treeModelIfaceGetFlags</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelFlags"
>TreeModelFlags</A
>]</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceGetIter"
>treeModelIfaceGetIter</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceGetPath"
>treeModelIfaceGetPath</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceGetRow"
>treeModelIfaceGetRow</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterNext"
>treeModelIfaceIterNext</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterChildren"
>treeModelIfaceIterChildren</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterHasChild"
>treeModelIfaceIterHasChild</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterNChildren"
>treeModelIfaceIterNChildren</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterNthChild"
>treeModelIfaceIterNthChild</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceIterParent"
>treeModelIfaceIterParent</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceRefNode"
>treeModelIfaceRefNode</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeModelIfaceUnrefNode"
>treeModelIfaceUnrefNode</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
></TABLE
>}</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragSourceIface"
>DragSourceIface</A
> model row = <A HREF="#v%3ADragSourceIface"
>DragSourceIface</A
> {<TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeDragSourceRowDraggable"
>treeDragSourceRowDraggable</A
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeDragSourceDragDataGet"
>treeDragSourceDragDataGet</A
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeDragSourceDragDataDelete"
>treeDragSourceDragDataDelete</A
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
></TABLE
>}</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragDestIface"
>DragDestIface</A
> model row = <A HREF="#v%3ADragDestIface"
>DragDestIface</A
> {<TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeDragDestRowDropPossible"
>treeDragDestRowDropPossible</A
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="recfield"
><A HREF="#v%3AtreeDragDestDragDataReceived"
>treeDragDestDragDataReceived</A
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
></TABLE
>}</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreNew"
>customStoreNew</A
> :: (<A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModelClass"
>TreeModelClass</A
> (model row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model) =&gt; private -&gt; (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; model row) -&gt; <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelIface"
>TreeModelIface</A
> row -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragSourceIface"
>DragSourceIface</A
> model row) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragDestIface"
>DragDestIface</A
> model row) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (model row)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreGetRow"
>customStoreGetRow</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreSetColumn"
>customStoreSetColumn</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row ty -&gt; (row -&gt; ty) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreGetPrivate"
>customStoreGetPrivate</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; private</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreGetStamp"
>customStoreGetStamp</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-C-Types.html#t%3ACInt"
>CInt</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcustomStoreInvalidateIters"
>customStoreInvalidateIters</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelGetRow"
>treeModelGetRow</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelSetColumn"
>treeModelSetColumn</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row ty -&gt; (row -&gt; ty) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>The definition of a row-based store.  
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:CustomStore"
><A NAME="t%3ACustomStore"
></A
></A
><B
>CustomStore</B
> private row </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#CustomStore"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>A <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
></TT
> is an instance of a Gtk+ <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
> and can thus be used
   for any widget that stores data in a <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
>. The user may either
   create an instance of a <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
></TT
> or use one of the pre-defined
   models Graphics.UI.Gtk.ModelView.ListStore.ListStore of
   Graphics.UI.Gtk.ModelView.TreeStore.TreeStore.
</TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:CustomStore')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:CustomStore" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row)</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModelClass"
>TreeModelClass</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row)</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:TreeModelFlags"
><A NAME="t%3ATreeModelFlags"
></A
></A
><B
>TreeModelFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#TreeModelFlags"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
><P
>These flags indicate various properties of a
 Graphics.UI.Gtk.ModelView.TreeModel.TreeModel.
</P
><UL
><LI
> If a model has <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#v%3ATreeModelItersPersist"
>TreeModelItersPersist</A
></TT
> set, iterators remain valid after
   a Graphics.UI.Gtk.ModelView.TreeModel.TreeModel signal was emitted.
</LI
><LI
> The <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#v%3ATreeModelListOnly"
>TreeModelListOnly</A
></TT
> flag is set if the rows are arranged in a simple
   flat list. This is set in the
   Graphics.UI.Gtk.ModelView.ListStore.ListStore implementation.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:TreeModelItersPersist"
><A NAME="v%3ATreeModelItersPersist"
></A
></A
><B
>TreeModelItersPersist</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:TreeModelListOnly"
><A NAME="v%3ATreeModelListOnly"
></A
></A
><B
>TreeModelListOnly</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:TreeModelFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:TreeModelFlags" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelFlags"
>TreeModelFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelFlags"
>TreeModelFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelFlags"
>TreeModelFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:TreeModelIface"
><A NAME="t%3ATreeModelIface"
></A
></A
><B
>TreeModelIface</B
> row </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#TreeModelIface"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>The <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelIface"
>TreeModelIface</A
></TT
> structure contains all functions that are required
 to implement an application-specific <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="5" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:TreeModelIface"
><A NAME="v%3ATreeModelIface"
></A
></A
><B
>TreeModelIface</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="body" COLSPAN="2"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceGetFlags"
><A NAME="v%3AtreeModelIfaceGetFlags"
></A
></A
><B
>treeModelIfaceGetFlags</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelFlags"
>TreeModelFlags</A
>]</TD
><TD CLASS="rdoc"
>Return the flags that are valid for this model.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceGetIter"
><A NAME="v%3AtreeModelIfaceGetIter"
></A
></A
><B
>treeModelIfaceGetIter</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
><TD CLASS="rdoc"
>Convert an path into the tree into a more concise <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
>.
   Return <TT
>Nothing</TT
> if the path does not exit.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceGetPath"
><A NAME="v%3AtreeModelIfaceGetPath"
></A
></A
><B
>treeModelIfaceGetPath</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
><TD CLASS="rdoc"
>Convert an iterator to a path. The iterator will always be valid.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceGetRow"
><A NAME="v%3AtreeModelIfaceGetRow"
></A
></A
><B
>treeModelIfaceGetRow</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
><TD CLASS="rdoc"
>Retrieve a row at the given iterator.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterNext"
><A NAME="v%3AtreeModelIfaceIterNext"
></A
></A
><B
>treeModelIfaceIterNext</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
><TD CLASS="rdoc"
>Advance the given iterator to the next node at the same level.
   Return <TT
>Nothing</TT
> if there is no next node at this level.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterChildren"
><A NAME="v%3AtreeModelIfaceIterChildren"
></A
></A
><B
>treeModelIfaceIterChildren</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
><TD CLASS="rdoc"
>Advance the given iterator to the first child of this iterator.
   Return <TT
>Notihing</TT
> if the node at this iterator has no children.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterHasChild"
><A NAME="v%3AtreeModelIfaceIterHasChild"
></A
></A
><B
>treeModelIfaceIterHasChild</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>Check if the node at the given iterator has children.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterNChildren"
><A NAME="v%3AtreeModelIfaceIterNChildren"
></A
></A
><B
>treeModelIfaceIterNChildren</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>Query the number of children the the node at the given iteratore has.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterNthChild"
><A NAME="v%3AtreeModelIfaceIterNthChild"
></A
></A
><B
>treeModelIfaceIterNthChild</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
><TD CLASS="rdoc"
>Ask for an iterator to the <TT
>n</TT
>th child. Return <TT
>Nothing</TT
> if
   no such child exists.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceIterParent"
><A NAME="v%3AtreeModelIfaceIterParent"
></A
></A
><B
>treeModelIfaceIterParent</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
>)</TD
><TD CLASS="rdoc"
>Ask for an iterator to the parent of the node.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceRefNode"
><A NAME="v%3AtreeModelIfaceRefNode"
></A
></A
><B
>treeModelIfaceRefNode</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
>Increase a reference count for this node. A positive reference count
   indicates that the node is used (that is, most likely it is visible)
   in at least one widget. Tracking reference counts for nodes is
   optional but may be useful to infer when a given row can be discarded
   if it was retrieved from an external source.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeModelIfaceUnrefNode"
><A NAME="v%3AtreeModelIfaceUnrefNode"
></A
></A
><B
>treeModelIfaceUnrefNode</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
>Decrement the reference count of the given node.
</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragSourceIface"
><A NAME="t%3ADragSourceIface"
></A
></A
><B
>DragSourceIface</B
> model row </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#DragSourceIface"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>A structure containing functions that enable this widget to be used
   as a source in drag-and-drop.
</TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="5" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:DragSourceIface"
><A NAME="v%3ADragSourceIface"
></A
></A
><B
>DragSourceIface</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="body" COLSPAN="2"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:treeDragSourceRowDraggable"
><A NAME="v%3AtreeDragSourceRowDraggable"
></A
></A
><B
>treeDragSourceRowDraggable</B
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>Determine if the row at the given path is draggable. Return
   <TT
>False</TT
> if for some reason this row should not be dragged by
   the user.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeDragSourceDragDataGet"
><A NAME="v%3AtreeDragSourceDragDataGet"
></A
></A
><B
>treeDragSourceDragDataGet</B
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>Fill in the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> structure with information on
   the given node using
   Graphics.UI.Gtk.General.Selection.selectionDataSet.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeDragSourceDragDataDelete"
><A NAME="v%3AtreeDragSourceDragDataDelete"
></A
></A
><B
>treeDragSourceDragDataDelete</B
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>The widget is informed that the row at the given path should
   be deleted as the result of this drag.
</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragDestIface"
><A NAME="t%3ADragDestIface"
></A
></A
><B
>DragDestIface</B
> model row </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#DragDestIface"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>A structure containing functions that enable this widget to be used
   as a target in drag-and-drop.
</TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="5" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:DragDestIface"
><A NAME="v%3ADragDestIface"
></A
></A
><B
>DragDestIface</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="body" COLSPAN="2"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:treeDragDestRowDropPossible"
><A NAME="v%3AtreeDragDestRowDropPossible"
></A
></A
><B
>treeDragDestRowDropPossible</B
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>Tell the drag-and-drop mechanism if the row can be dropped at the
   given path.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:treeDragDestDragDataReceived"
><A NAME="v%3AtreeDragDestDragDataReceived"
></A
></A
><B
>treeDragDestDragDataReceived</B
> :: model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>The data in the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> structure should be read using
   Graphics.UI.Gtk.General.Selection.selectionDataGet and
   its information be used to insert a new row at the given path.
</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreNew"
><A NAME="v%3AcustomStoreNew"
></A
></A
><B
>customStoreNew</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModelClass"
>TreeModelClass</A
> (model row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; private</TD
><TD CLASS="rdoc"
>Any private data the store needs to store. Usually an <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-IORef.html#t%3AIORef"
>IORef</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; model row</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelIface"
>TreeModelIface</A
> row</TD
><TD CLASS="rdoc"
>Functions necessary to implement the <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
> interface.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragSourceIface"
>DragSourceIface</A
> model row)</TD
><TD CLASS="rdoc"
>Functions to enable this store to generate drag events.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> (<A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragDestIface"
>DragDestIface</A
> model row)</TD
><TD CLASS="rdoc"
>Functions to enable this store to receive drag events.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (model row)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Create a new store that implements the <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ATreeModelIface"
>TreeModelIface</A
></TT
> interface and
 optionally the <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragSourceIface"
>DragSourceIface</A
></TT
> and the <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragDestIface"
>DragDestIface</A
></TT
>. If the latter two
 are set to <TT
>Nothing</TT
> a dummy interface is substituted that rejects every
 drag and drop.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreGetRow"
><A NAME="v%3AcustomStoreGetRow"
></A
></A
><B
>customStoreGetRow</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreGetRow"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Extract a row of the given model at the given <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreSetColumn"
><A NAME="v%3AcustomStoreSetColumn"
></A
></A
><B
>customStoreSetColumn</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreSetColumn"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; model row</TD
><TD CLASS="rdoc"
>the store in which to allocate a new column
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row ty</TD
><TD CLASS="rdoc"
>the column that should be set
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; row -&gt; ty</TD
><TD CLASS="rdoc"
>the function that sets the property
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Set or update a column mapping. This function should be used before
   the model is installed into a widget since the number of defined
   columns are only checked once by widgets.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreGetPrivate"
><A NAME="v%3AcustomStoreGetPrivate"
></A
></A
><B
>customStoreGetPrivate</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; private</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreGetPrivate"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Return the private data stored in this <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
></TT
>. The private data
   is meant as a container for the data stored in this model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreGetStamp"
><A NAME="v%3AcustomStoreGetStamp"
></A
></A
><B
>customStoreGetStamp</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-C-Types.html#t%3ACInt"
>CInt</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreGetStamp"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Query the current value of the stamp that is used to create
   <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
> iterators. The stamp is compared each time a view
   accesses this store. If the stamp doesn't match, a warning
   is emitted. The stamp should be updated each time a the data
   in the model changes. The rationale is that a view should never
   use a stale <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
>, i.e., one that refers to an old model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:customStoreInvalidateIters"
><A NAME="v%3AcustomStoreInvalidateIters"
></A
></A
><B
>customStoreInvalidateIters</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ACustomStore"
>CustomStore</A
> private row -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#customStoreInvalidateIters"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Create a new stamp. See <TT
><A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#v%3AcustomStoreGetStamp"
>customStoreGetStamp</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelGetRow"
><A NAME="v%3AtreeModelGetRow"
></A
></A
><B
>treeModelGetRow</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model =&gt; model row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> row</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#treeModelGetRow"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelSetColumn"
><A NAME="v%3AtreeModelSetColumn"
></A
></A
><B
>treeModelSetColumn</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-CustomStore.html#treeModelSetColumn"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> model</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; model row</TD
><TD CLASS="rdoc"
>the store in which to allocate a new column
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row ty</TD
><TD CLASS="rdoc"
>the column that should be set
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; row -&gt; ty</TD
><TD CLASS="rdoc"
>the function that sets the property
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>