Sophie

Sophie

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

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.ListStore</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-ListStore.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-ListStore.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.ListStore</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"
>Types 
</A
></DT
><DT
><A HREF="#2"
>Constructors
</A
></DT
><DT
><A HREF="#3"
>Implementation of Interfaces
</A
></DT
><DT
><A HREF="#4"
>Methods
</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"
>Standard model to store list data.
</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%3AListStore"
>ListStore</A
> a</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreNew"
>listStoreNew</A
> ::  [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-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreNewDND"
>listStoreNewDND</A
> ::  [a] -&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
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a) -&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
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreDefaultDragSourceIface"
>listStoreDefaultDragSourceIface</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragSourceIface"
>DragSourceIface</A
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> row</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreDefaultDragDestIface"
>listStoreDefaultDragDestIface</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragDestIface"
>DragDestIface</A
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> row</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreIterToIndex"
>listStoreIterToIndex</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
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreGetValue"
>listStoreGetValue</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreSetValue"
>listStoreSetValue</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; 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="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreToList"
>listStoreToList</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [a]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreGetSize"
>listStoreGetSize</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreInsert"
>listStoreInsert</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; 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="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStorePrepend"
>listStorePrepend</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; 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="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreAppend"
>listStoreAppend</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; 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="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlistStoreRemove"
>listStoreRemove</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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/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%3AlistStoreClear"
>listStoreClear</A
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>Types 
</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:ListStore"
><A NAME="t%3AListStore"
></A
></A
><B
>ListStore</B
> a </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#ListStore"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ListStore')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:ListStore" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
></TD
></TR
><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-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModelClass"
>TreeModelClass</A
> (<A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Constructors
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreNew"
><A NAME="v%3AlistStoreNew"
></A
></A
><B
>listStoreNew</B
> ::  [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-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Create a new <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
> that contains a list of elements.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreNewDND"
><A NAME="v%3AlistStoreNewDND"
></A
></A
><B
>listStoreNewDND</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreNewDND"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: [a]</TD
><TD CLASS="rdoc"
>the initial content of the model
</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
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
><TD CLASS="rdoc"
>an optional interface for drags
</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
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
><TD CLASS="rdoc"
>an optional interface to handle drops
</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="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a)</TD
><TD CLASS="rdoc"
>the new model
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Create a new <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
> that contains a list of elements. In addition, specify two
   interfaces for drag and drop.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>Implementation of Interfaces
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreDefaultDragSourceIface"
><A NAME="v%3AlistStoreDefaultDragSourceIface"
></A
></A
><B
>listStoreDefaultDragSourceIface</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragSourceIface"
>DragSourceIface</A
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> row</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreDefaultDragSourceIface"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Default drag functions for Graphics.UI.Gtk.ModelView.ListStore. These
 functions allow the rows of the model to serve as drag source. Any row is
 allowed to be dragged and the data set in the SelectionDataM object is
 set with <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeDrag.html#v%3AtreeSetRowDragData"
>treeSetRowDragData</A
></TT
>, i.e. it contains the model and the
 <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TT
> to the row.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreDefaultDragDestIface"
><A NAME="v%3AlistStoreDefaultDragDestIface"
></A
></A
><B
>listStoreDefaultDragDestIface</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-CustomStore.html#t%3ADragDestIface"
>DragDestIface</A
> <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> row</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreDefaultDragDestIface"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Default drop functions for Graphics.UI.Gtk.ModelView.ListStore. These
   functions accept a row and insert the row into the new location if it is
   dragged into a tree view
 that uses the same model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>Methods
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreIterToIndex"
><A NAME="v%3AlistStoreIterToIndex"
></A
></A
><B
>listStoreIterToIndex</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/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreIterToIndex"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Convert a <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
> to an an index into the <TT
><A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
></TT
>. Note that this
   function merely extracts the second element of the <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:listStoreGetValue"
><A NAME="v%3AlistStoreGetValue"
></A
></A
><B
>listStoreGetValue</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreGetValue"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Extract the value at the given index.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreSetValue"
><A NAME="v%3AlistStoreSetValue"
></A
></A
><B
>listStoreSetValue</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreSetValue"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Update the value at the given index. The index must exist.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreToList"
><A NAME="v%3AlistStoreToList"
></A
></A
><B
>listStoreToList</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [a]</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreToList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Extract all data from the store.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreGetSize"
><A NAME="v%3AlistStoreGetSize"
></A
></A
><B
>listStoreGetSize</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreGetSize"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Query the number of elements in the store.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreInsert"
><A NAME="v%3AlistStoreInsert"
></A
></A
><B
>listStoreInsert</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreInsert"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Insert an element in front of the given element. The element is appended
 if the index is greater or equal to the size of the list.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStorePrepend"
><A NAME="v%3AlistStorePrepend"
></A
></A
><B
>listStorePrepend</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStorePrepend"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Prepend the element to the store.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreAppend"
><A NAME="v%3AlistStoreAppend"
></A
></A
><B
>listStoreAppend</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> a -&gt; 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreAppend"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Append an element to the store. Returns the index of the inserted
 element.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreRemove"
><A NAME="v%3AlistStoreRemove"
></A
></A
><B
>listStoreRemove</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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/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-ListStore.html#listStoreRemove"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Remove the element at the given index.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:listStoreClear"
><A NAME="v%3AlistStoreClear"
></A
></A
><B
>listStoreClear</B
> ::  <A HREF="Graphics-UI-Gtk-ModelView-ListStore.html#t%3AListStore"
>ListStore</A
> 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="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-ListStore.html#listStoreClear"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Empty the store.
</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
>