Sophie

Sophie

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

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.ActionMenuToolbar.RecentAction</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-ActionMenuToolbar-RecentAction.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.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.ActionMenuToolbar.RecentAction</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">Constructors
</a></li><li><a href="#g:5">Attributes
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>An action of which represents a list of recently used files
</p><ul><li> Module available since Gtk+ version 2.12
</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:RecentAction">RecentAction</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> o =&gt; <a href="#t:RecentActionClass">RecentActionClass</a> o </li><li class="src short"><a href="#v:castToRecentAction">castToRecentAction</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-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></li><li class="src short"><a href="#v:toRecentAction">toRecentAction</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></li><li class="src short"><a href="#v:recentActionNew">recentActionNew</a> :: <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/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> <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="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></li><li class="src short"><a href="#v:recentActionNewForManager">recentActionNewForManager</a> :: <a href="Graphics-UI-Gtk-Recent-RecentManager.html#t:RecentManagerClass">RecentManagerClass</a> manager =&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/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> manager -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></li><li class="src short"><a href="#v:recentActionShowNumbers">recentActionShowNumbers</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></code> represents a list of recently used files, which can be
 shown by widgets such as <code>RecentChooserDialog</code> or <code><a href="Graphics-UI-Gtk-Recent-RecentChooserMenu.html#t:RecentChooserMenu">RecentChooserMenu</a></code>.
</p><p>To construct a submenu showing recently used files, use a <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></code>
 as the action for a &lt;menuitem&gt;. To construct a menu toolbutton showing the
 recently used files in the popup menu, use a <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></code> as the action
 for a &lt;toolitem&gt; element.
</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-ActionMenuToolbar-Action.html#t:Action">Action</a></code>
 | +----RecentAction
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RecentAction" class="def">RecentAction</a>  <a href="src/Graphics-UI-Gtk-Types.html#RecentAction" class="link">Source</a></p><div class="subs instances"><p id="control.i:RecentAction" class="caption collapser" onclick="toggleSection('i:RecentAction')">Instances</p><div id="section.i:RecentAction" 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-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</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-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</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-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</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-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> o =&gt; <a name="t:RecentActionClass" class="def">RecentActionClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#RecentActionClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:RecentActionClass" class="caption collapser" onclick="toggleSection('i:RecentActionClass')">Instances</p><div id="section.i:RecentActionClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToRecentAction" class="def">castToRecentAction</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-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a><a href="src/Graphics-UI-Gtk-Types.html#castToRecentAction" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toRecentAction" class="def">toRecentAction</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a><a href="src/Graphics-UI-Gtk-Types.html#toRecentAction" class="link">Source</a></p></div><h1 id="g:4">Constructors
</h1><div class="top"><p class="src"><a name="v:recentActionNew" class="def">recentActionNew</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#recentActionNew" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <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> - a unique name for the action
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>label</code> - the label displayed in menu items and on buttons, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>tooltip</code> - a tooltip for the action, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>stockId</code> - the stock icon to display in widgets representing
 the action, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></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="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></code> object. To add the action to a <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-ActionGroup.html#t:ActionGroup">ActionGroup</a></code>
 and set the accelerator for the action, call
 <code>actionGroupAddActionWithAccel</code>.
</p></div></div><div class="top"><p class="src"><a name="v:recentActionNewForManager" class="def">recentActionNewForManager</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#recentActionNewForManager" 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-RecentManager.html#t:RecentManagerClass">RecentManagerClass</a> manager</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> - a unique name for the action
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>label</code> - the label displayed in menu items and on buttons,
 or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>tooltip</code> - a tooltip for the action, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</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><code>stockId</code> - the stock icon to display in widgets representing
 the action, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> manager</td><td class="doc"><p><code>manager</code> - a <code><a href="Graphics-UI-Gtk-Recent-RecentManager.html#t:RecentManager">RecentManager</a></code>, or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> for the
 default <code><a href="Graphics-UI-Gtk-Recent-RecentManager.html#t:RecentManager">RecentManager</a></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="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentAction">RecentAction</a></code> object. To add the action to a <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-ActionGroup.html#t:ActionGroup">ActionGroup</a></code>
 and set the accelerator for the action, call
 <code>actionGroupAddActionWithAccel</code>.
</p></div></div><h1 id="g:5">Attributes
</h1><div class="top"><p class="src"><a name="v:recentActionShowNumbers" class="def">recentActionShowNumbers</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#t:RecentActionClass">RecentActionClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-RecentAction.html#recentActionShowNumbers" class="link">Source</a></p><div class="doc"><p>If recent items should be shown with numbers next to them.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>