Sophie

Sophie

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

ghc-gtk-devel-0.12.0-4.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.Gtk.Recent.RecentFilter</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-Recent-RecentFilter.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Recent.RecentFilter</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail
</a></li><li><a href="#g:2">Class Hierarchy
</a></li><li><a href="#g:3">Types
</a></li><li><a href="#g:4">Enums
</a></li><li><a href="#g:5">Constructors
</a></li><li><a href="#g:6">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A filter for selecting a subset of recently used files
</p><ul><li> Module available since Gtk+ version 2.10
</li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:RecentFilter">RecentFilter</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Object.html#t:ObjectClass">ObjectClass</a> o =&gt; <a href="#t:RecentFilterClass">RecentFilterClass</a> o </li><li class="src short"><a href="#v:castToRecentFilter">castToRecentFilter</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></li><li class="src short"><a href="#v:toRecentFilter">toRecentFilter</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:RecentFilterFlags">RecentFilterFlags</a> <ul class="subs"><li>= <a href="#v:RecentFilterUri">RecentFilterUri</a>  </li><li>| <a href="#v:RecentFilterDisplayName">RecentFilterDisplayName</a>  </li><li>| <a href="#v:RecentFilterMimeType">RecentFilterMimeType</a>  </li><li>| <a href="#v:RecentFilterApplication">RecentFilterApplication</a>  </li><li>| <a href="#v:RecentFilterGroup">RecentFilterGroup</a>  </li><li>| <a href="#v:RecentFilterAge">RecentFilterAge</a>  </li></ul></li><li class="src short"><a href="#v:recentFilterNew">recentFilterNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></li><li class="src short"><a href="#v:recentFilterGetName">recentFilterGetName</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li class="src short"><a href="#v:recentFilterSetName">recentFilterSetName</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddMimeType">recentFilterAddMimeType</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddPattern">recentFilterAddPattern</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddPixbufFormats">recentFilterAddPixbufFormats</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddApplication">recentFilterAddApplication</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddGroup">recentFilterAddGroup</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:recentFilterAddAge">recentFilterAddAge</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></code> can be used to restrict the files being shown in a
 <code><a href="Graphics-UI-Gtk-Recent-RecentChooser.html#t:RecentChooser">RecentChooser</a></code>. Files can be filtered based on their name (with
 <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddPattern">recentFilterAddPattern</a></code>), on their mime type (with
 <code>fileFilterAddMimeType</code>), on the application that has registered them (with
 <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddApplication">recentFilterAddApplication</a></code>), or by a custom filter function (with
 <code>recentFilterAddCustom</code>).
</p><p>Filtering by mime type handles aliasing and subclassing of mime types;
 e.g. a filter for text/plain also matches a file with mime type
 application/rtf, since application/rtf is a subclass of text/plain. Note
 that <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></code> allows wildcards for the subtype of a mime type, so you
 can e.g. filter for image/.
</p><p>Normally, filters are used by adding them to a <code><a href="Graphics-UI-Gtk-Recent-RecentChooser.html#t:RecentChooser">RecentChooser</a></code>, see
 <code>recentChooserAddFilter</code>, but it is also possible to manually use a filter
 on a file with <code>recentFilterFilter</code>.
</p><p>Recently used files are supported since Gtk+ 2.10.
</p></div><h1 id="g:2">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Abstract-Object.html#t:Object">Object</a></code>
 | +----RecentFilter
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RecentFilter" class="def">RecentFilter</a>  <a href="src/Graphics-UI-Gtk-Types.html#RecentFilter" class="link">Source</a></p><div class="subs instances"><p id="control.i:RecentFilter" class="caption collapser" onclick="toggleSection('i:RecentFilter')">Instances</p><div id="section.i:RecentFilter" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Object.html#t:ObjectClass">ObjectClass</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Object.html#t:ObjectClass">ObjectClass</a> o =&gt; <a name="t:RecentFilterClass" class="def">RecentFilterClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#RecentFilterClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:RecentFilterClass" class="caption collapser" onclick="toggleSection('i:RecentFilterClass')">Instances</p><div id="section.i:RecentFilterClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToRecentFilter" class="def">castToRecentFilter</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a><a href="src/Graphics-UI-Gtk-Types.html#castToRecentFilter" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toRecentFilter" class="def">toRecentFilter</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a><a href="src/Graphics-UI-Gtk-Types.html#toRecentFilter" class="link">Source</a></p></div><h1 id="g:4">Enums
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RecentFilterFlags" class="def">RecentFilterFlags</a>  <a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#RecentFilterFlags" class="link">Source</a></p><div class="doc"><p>These flags indicate what parts of a <code>RecentFilterInfo</code> struct are filled or need to be filled.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RecentFilterUri" class="def">RecentFilterUri</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RecentFilterDisplayName" class="def">RecentFilterDisplayName</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RecentFilterMimeType" class="def">RecentFilterMimeType</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RecentFilterApplication" class="def">RecentFilterApplication</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RecentFilterGroup" class="def">RecentFilterGroup</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RecentFilterAge" class="def">RecentFilterAge</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:RecentFilterFlags" class="caption collapser" onclick="toggleSection('i:RecentFilterFlags')">Instances</p><div id="section.i:RecentFilterFlags" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterFlags">RecentFilterFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterFlags">RecentFilterFlags</a></td><td class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a></code> with no rules added to it. Such filter does
 not accept any recently used resources, so is not particularly useful until
 you add rules with <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddPattern">recentFilterAddPattern</a></code>, <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddMimeType">recentFilterAddMimeType</a></code>,
 <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddApplication">recentFilterAddApplication</a></code>, <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterAddAge">recentFilterAddAge</a></code>. To create a filter that
 accepts any recently used resource, use:
</p><pre> filter &lt;- recentFilterNew
 recentFilterAddPattern filter &quot;*&quot;
</pre><ul><li> Available since Gtk+ version 2.10
</li></ul></td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterFlags">RecentFilterFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterFlags">RecentFilterFlags</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:5">Constructors
</h1><div class="top"><p class="src"><a name="v:recentFilterNew" class="def">recentFilterNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilter">RecentFilter</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterNew" class="link">Source</a></p></div><h1 id="g:6">Methods
</h1><div class="top"><p class="src"><a name="v:recentFilterGetName" class="def">recentFilterGetName</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterGetName" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p>returns the name of the filter
</p></td></tr></table></div><div class="doc"><p>Gets the human-readable name for the filter. See <code><a href="Graphics-UI-Gtk-Recent-RecentFilter.html#v:recentFilterSetName">recentFilterSetName</a></code>.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterSetName" class="def">recentFilterSetName</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterSetName" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>name</code> - then human readable name of <code>filter</code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the human-readable name of the filter; this is the string that will be displayed in the
 recently used resources selector user interface if there is a selectable list of filters.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterAddMimeType" class="def">recentFilterAddMimeType</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddMimeType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>mimeType</code> - a MIME type
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a rule that allows resources based on their registered MIME type.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterAddPattern" class="def">recentFilterAddPattern</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddPattern" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>pattern</code> - a file pattern
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a rule that allows resources based on a pattern matching their
 display name.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterAddPixbufFormats" class="def">recentFilterAddPixbufFormats</a> :: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddPixbufFormats" class="link">Source</a></p><div class="doc"><p>Adds a rule allowing image files in the formats supported by <code><a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:recentFilterAddApplication" class="def">recentFilterAddApplication</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddApplication" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>application</code> - an application name
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a rule that allows resources based on the name of the application
 that has registered them.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterAddGroup" class="def">recentFilterAddGroup</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddGroup" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>group</code> - a group name
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a rule that allows resources based on the name of the group to which
 they belong
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:recentFilterAddAge" class="def">recentFilterAddAge</a><a href="src/Graphics-UI-Gtk-Recent-RecentFilter.html#recentFilterAddAge" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Recent-RecentFilter.html#t:RecentFilterClass">RecentFilterClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>days</code> - number of days
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a rule that allows resources based on their age - that is, the
 number of days elapsed since they were last modified.
</p><ul><li> Available since Gtk+ version 2.10
</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>