Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 677c1b5134368504c2e447757584d19e > files > 725

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.TreeModelFilter</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-TreeModelFilter.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-TreeModelFilter.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.TreeModelFilter</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"
>Detail
</A
></DT
><DT
><A HREF="#2"
>Class Hierarchy
</A
></DT
><DT
><A HREF="#3"
>Types
</A
></DT
><DT
><A HREF="#4"
>Constructors
</A
></DT
><DT
><A HREF="#5"
>Methods
</A
></DT
><DT
><A HREF="#6"
>Attributes
</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"
><P
>A <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
> which hides parts of an underlying tree model
</P
><UL
><LI
> Module available since Gtk+ version 2.4
</LI
></UL
></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%3ATreeModelFilter"
>TreeModelFilter</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A HREF="#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcastToTreeModelFilter"
>castToTreeModelFilter</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgTypeTreeModelFilter"
>gTypeTreeModelFilter</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtoTreeModelFilter"
>toTreeModelFilter</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterNew"
>treeModelFilterNew</A
> :: (<A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModelClass"
>TreeModelClass</A
> (childModel row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> childModel) =&gt; childModel 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
> (TypedTreeModelFilter row)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterSetVisibleFunc"
>treeModelFilterSetVisibleFunc</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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-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
>) -&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%3AtreeModelFilterSetVisibleColumn"
>treeModelFilterSetVisibleColumn</A
> :: (<A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> (self row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> self) =&gt; self row -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</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%3AtreeModelFilterGetModel"
>treeModelFilterGetModel</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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%3ATreeModel"
>TreeModel</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterConvertChildIterToIter"
>treeModelFilterConvertChildIterToIter</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterConvertIterToChildIter"
>treeModelFilterConvertIterToChildIter</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterConvertChildPathToPath"
>treeModelFilterConvertChildPathToPath</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterConvertPathToChildPath"
>treeModelFilterConvertPathToChildPath</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterRefilter"
>treeModelFilterRefilter</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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%3AtreeModelFilterClearCache"
>treeModelFilterClearCache</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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%3AtreeModelFilterChildModel"
>treeModelFilterChildModel</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</A
> self <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtreeModelFilterVirtualRoot"
>treeModelFilterVirtualRoot</A
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</A
> self <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</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"
>Detail
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="doc"
><P
>A <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TT
> is a tree model which wraps another tree model, and
 can do the following things:
</P
><UL
><LI
> Filter specific rows, based on a function that examines each row
 indicating whether the row should be shown or not, or
 based on the return value of a visibility function, which is passed
 the <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TT
> of the row and returns a Boolean indicating whether the row should
 be shown or not.
</LI
><LI
> Set a different root node, also known as a &quot;virtual root&quot;. You can
 pass in a <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TT
> indicating the root node for the filter at construction
 time.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Class Hierarchy
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="doc"
><PRE
>
 | <TT
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObject"
>GObject</A
></TT
>
 | +----TreeModelFilter
</PRE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>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:TreeModelFilter"
><A NAME="t%3ATreeModelFilter"
></A
></A
><B
>TreeModelFilter</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#TreeModelFilter"
>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:TreeModelFilter')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:TreeModelFilter" 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/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</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-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</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"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A NAME="t:TreeModelFilterClass"
><A NAME="t%3ATreeModelFilterClass"
></A
></A
><B
>TreeModelFilterClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#TreeModelFilterClass"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:TreeModelFilterClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:TreeModelFilterClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> (TypedTreeModelFilter 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"
><A NAME="v:castToTreeModelFilter"
><A NAME="v%3AcastToTreeModelFilter"
></A
></A
><B
>castToTreeModelFilter</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#castToTreeModelFilter"
>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:gTypeTreeModelFilter"
><A NAME="v%3AgTypeTreeModelFilter"
></A
></A
><B
>gTypeTreeModelFilter</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#gTypeTreeModelFilter"
>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:toTreeModelFilter"
><A NAME="v%3AtoTreeModelFilter"
></A
></A
><B
>toTreeModelFilter</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#toTreeModelFilter"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>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:treeModelFilterNew"
><A NAME="v%3AtreeModelFilterNew"
></A
></A
><B
>treeModelFilterNew</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterNew"
>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
> (childModel row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> childModel)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; childModel row</TD
><TD CLASS="rdoc"
><TT
>childModel</TT
> - A <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
><TD CLASS="rdoc"
><TT
>root</TT
> - A <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TT
> or <TT
>[]</TT
>.
</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
> (TypedTreeModelFilter row)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Creates a new <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
>, with <TT
>childModel</TT
> as the child model and
 <TT
>root</TT
> as the virtual root.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="5"
><A NAME="5"
>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:treeModelFilterSetVisibleFunc"
><A NAME="v%3AtreeModelFilterSetVisibleFunc"
></A
></A
><B
>treeModelFilterSetVisibleFunc</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterSetVisibleFunc"
>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-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></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-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"
><TT
>func</TT
> - The visible function or
 <TT
>Nothing</TT
> to reset this function.
</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"
><P
>Sets the visible function used when filtering the rows to be <TT
>func</TT
>.
 The function should return <TT
>True</TT
> if the given row should be visible and
 <TT
>False</TT
> otherwise. The passed-in iterator is an iterator of the child
 model, not of the <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TT
> model that is passed in as the first
 argument to this function.
</P
><P
>If the condition calculated by the function changes over time (e.g.
 because it depends on some global parameters), you must call
 <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#v%3AtreeModelFilterRefilter"
>treeModelFilterRefilter</A
></TT
> to keep the visibility information of the model
 up to date.
</P
></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:treeModelFilterSetVisibleColumn"
><A NAME="v%3AtreeModelFilterSetVisibleColumn"
></A
></A
><B
>treeModelFilterSetVisibleColumn</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterSetVisibleColumn"
>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-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> (self row), <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATypedTreeModelClass"
>TypedTreeModelClass</A
> self)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self row</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3AColumnId"
>ColumnId</A
> row <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
><TT
>column</TT
> - A column of Booleans that determines
 if a row is visible
</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"
>Sets <TT
>column</TT
> of the child model to be the column where the filter model
 should look for visibility information. A row containing <TT
>True</TT
> means
 that this row should be shown.
</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:treeModelFilterGetModel"
><A NAME="v%3AtreeModelFilterGetModel"
></A
></A
><B
>treeModelFilterGetModel</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterGetModel"
>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-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></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/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
>)</TD
><TD CLASS="rdoc"
>returns a <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Returns a pointer to the child model of <TT
>filter</TT
>.
</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:treeModelFilterConvertChildIterToIter"
><A NAME="v%3AtreeModelFilterConvertChildIterToIter"
></A
></A
><B
>treeModelFilterConvertChildIterToIter</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterConvertChildIterToIter"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Return an iterator in the sorted model that points to the row pointed to
 by the given iter from the unfiltered model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterConvertIterToChildIter"
><A NAME="v%3AtreeModelFilterConvertIterToChildIter"
></A
></A
><B
>treeModelFilterConvertIterToChildIter</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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
> <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeIter"
>TreeIter</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterConvertIterToChildIter"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Return an iterator in the unfiltered model that points to the row pointed to
 by the given iter from the filtered model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterConvertChildPathToPath"
><A NAME="v%3AtreeModelFilterConvertChildPathToPath"
></A
></A
><B
>treeModelFilterConvertChildPathToPath</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterConvertChildPathToPath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Converts the given path to a path relative to the given filtered 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 filtered model.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterConvertPathToChildPath"
><A NAME="v%3AtreeModelFilterConvertPathToChildPath"
></A
></A
><B
>treeModelFilterConvertPathToChildPath</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterConvertPathToChildPath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Converts path in the filtered model to a path on the unfiltered model on which
 the given <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TT
> is based. That is, the given path points to a
 location in the given <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilter"
>TreeModelFilter</A
></TT
>. The returned path will point to the
 same location in the underlying unfiltered model.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterRefilter"
><A NAME="v%3AtreeModelFilterRefilter"
></A
></A
><B
>treeModelFilterRefilter</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; self -&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-TreeModelFilter.html#treeModelFilterRefilter"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Emits <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#v%3ArowChanged"
>rowChanged</A
></TT
> for each row in the child model, which causes the
 filter to re-evaluate whether a row is visible or not.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterClearCache"
><A NAME="v%3AtreeModelFilterClearCache"
></A
></A
><B
>treeModelFilterClearCache</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterClearCache"
>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-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
><TT
>filter</TT
> - the filter model
</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"
>This function should almost never be called. It clears the <TT
>filter</TT
> of
 any cached iterators that haven't been reffed with <TT
><A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#v%3AtreeModelRefNode"
>treeModelRefNode</A
></TT
>. This
 might be useful if the child model being filtered 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.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="6"
><A NAME="6"
>Attributes
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterChildModel"
><A NAME="v%3AtreeModelFilterChildModel"
></A
></A
><B
>treeModelFilterChildModel</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</A
> self <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreeModel"
>TreeModel</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterChildModel"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The model for the filtermodel to filter.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:treeModelFilterVirtualRoot"
><A NAME="v%3AtreeModelFilterVirtualRoot"
></A
></A
><B
>treeModelFilterVirtualRoot</B
> :: <A HREF="Graphics-UI-Gtk-ModelView-TreeModelFilter.html#t%3ATreeModelFilterClass"
>TreeModelFilterClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</A
> self <A HREF="Graphics-UI-Gtk-ModelView-TreeModel.html#t%3ATreePath"
>TreePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-ModelView-TreeModelFilter.html#treeModelFilterVirtualRoot"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The virtual root (relative to the child model) for this filtermodel.
</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
>