<!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.Action</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-Action.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.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.Action</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">Methods </a></li><li><a href="#g:6">Attributes </a></li><li><a href="#g:7">Signals </a></li><li><a href="#g:8">Deprecated </a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>An action which can be triggered by a menu or toolbar item </p><ul><li> Module available since Gtk+ version 2.4 </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:Action">Action</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:ActionClass">ActionClass</a> o </li><li class="src short"><a href="#v:castToAction">castToAction</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a></li><li class="src short"><a href="#v:gTypeAction">gTypeAction</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toAction">toAction</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> o => o -> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a></li><li class="src short"><a href="#v:actionNew">actionNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <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> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</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-ActionMenuToolbar-Action.html#t:Action">Action</a></li><li class="src short"><a href="#v:actionGetName">actionGetName</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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:actionIsSensitive">actionIsSensitive</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:actionGetSensitive">actionGetSensitive</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:actionSetSensitive">actionSetSensitive</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <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:actionIsVisible">actionIsVisible</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:actionGetVisible">actionGetVisible</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:actionSetVisible">actionSetVisible</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <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:actionActivate">actionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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:actionCreateMenuItem">actionCreateMenuItem</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Abstract-Widget.html#t:Widget">Widget</a></li><li class="src short"><a href="#v:actionCreateToolItem">actionCreateToolItem</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Abstract-Widget.html#t:Widget">Widget</a></li><li class="src short"><a href="#v:actionConnectProxy">actionConnectProxy</a> :: (<a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> proxy) => self -> proxy -> <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:actionDisconnectProxy">actionDisconnectProxy</a> :: (<a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> proxy) => self -> proxy -> <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:actionGetProxies">actionGetProxies</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Abstract-Widget.html#t:Widget">Widget</a>]</li><li class="src short"><a href="#v:actionConnectAccelerator">actionConnectAccelerator</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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:actionDisconnectAccelerator">actionDisconnectAccelerator</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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:actionGetAccelPath">actionGetAccelPath</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-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>)</li><li class="src short"><a href="#v:actionSetAccelPath">actionSetAccelPath</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <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:actionSetAccelGroup">actionSetAccelGroup</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> AccelGroup -> <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:actionName">actionName</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a></li><li class="src short"><a href="#v:actionLabel">actionLabel</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a></li><li class="src short"><a href="#v:actionShortLabel">actionShortLabel</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a></li><li class="src short"><a href="#v:actionTooltip">actionTooltip</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-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>)</li><li class="src short"><a href="#v:actionStockId">actionStockId</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-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>)</li><li class="src short"><a href="#v:actionVisibleHorizontal">actionVisibleHorizontal</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionVisibleOverflown">actionVisibleOverflown</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionVisibleVertical">actionVisibleVertical</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionIsImportant">actionIsImportant</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionHideIfEmpty">actionHideIfEmpty</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionSensitive">actionSensitive</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionVisible">actionVisible</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionAccelPath">actionAccelPath</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:ReadWriteAttr">ReadWriteAttr</a> self (<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>) <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:actionAlwaysShowImage">actionAlwaysShowImage</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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><li class="src short"><a href="#v:actionActivated">actionActivated</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<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:onActionActivate">onActionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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="/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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterActionActivate">afterActionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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="/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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li></ul></div><div id="interface"><h1 id="g:1">Detail </h1><div class="doc"><p>Actions represent operations that the user can be perform, along with some information how it should be presented in the interface. Each action provides methods to create icons, menu items and toolbar items representing itself. </p><p>As well as the callback that is called when the action gets activated, the following also gets associated with the action: </p><ul><li> a name (not translated, for path lookup) </li><li> a label (translated, for display) </li><li> an accelerator </li><li> whether label indicates a stock id </li><li> a tooltip (optional, translated) </li><li> a toolbar label (optional, shorter than label) </li></ul><p>The action will also have some state information: </p><ul><li> visible (shown/hidden) </li><li> sensitive (enabled/disabled) </li></ul><p>Apart from regular actions, there are toggle actions, which can be toggled between two states and radio actions, of which only one in a group can be in the "active" state. Other actions can be implemented as <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a></code> subclasses. </p><p>Each action can have one or more proxy menu item, toolbar button or other proxy widgets. Proxies mirror the state of the action (text label, tooltip, icon, visible, sensitive, etc), and should change when the action's state changes. When the proxy is activated, it should activate its action. </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> | +----Action | +----<code><a href="Graphics-UI-Gtk-ActionMenuToolbar-ToggleAction.html#t:ToggleAction">ToggleAction</a></code> </pre></div><h1 id="g:3">Types </h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Action" class="def">Action</a> <a href="src/Graphics-UI-Gtk-Types.html#Action" class="link">Source</a></p><div class="subs instances"><p id="control.i:Action" class="caption collapser" onclick="toggleSection('i:Action')">Instances</p><div id="section.i:Action" 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-Action.html#t:Action">Action</a></td><td class="doc empty"> </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-Action.html#t:Action">Action</a></td><td class="doc empty"> </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-Action.html#t:Action">Action</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a name="t:ActionClass" class="def">ActionClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#ActionClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:ActionClass" class="caption collapser" onclick="toggleSection('i:ActionClass')">Instances</p><div id="section.i:ActionClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-RadioAction.html#t:RadioAction">RadioAction</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-ToggleAction.html#t:ToggleAction">ToggleAction</a></td><td class="doc empty"> </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"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToAction" class="def">castToAction</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a><a href="src/Graphics-UI-Gtk-Types.html#castToAction" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeAction" class="def">gTypeAction</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeAction" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toAction" class="def">toAction</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> o => o -> <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</a><a href="src/Graphics-UI-Gtk-Types.html#toAction" class="link">Source</a></p></div><h1 id="g:4">Constructors </h1><div class="top"><p class="src"><a name="v:actionNew" class="def">actionNew</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionNew" 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">-> <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 </p></td></tr><tr><td class="src">-> <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 </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a></td><td class="doc"><p><code>stockId</code> - the stock icon to display in widgets representing the action </p></td></tr><tr><td class="src">-> <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-Action.html#t:Action">Action</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:Action">Action</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>Graphics.UI.Gtk.ActionMenuToolbar.ActionGroup.actionGroupAddActionWithAccel</code>. See <a href="Graphics-UI-Gtk-ActionMenuToolbar-UIManager.html#XML-UI">Graphics.UI.Gtk.ActionMenuToolbar.UIManager</a> for information on allowed action names. </p></div></div><h1 id="g:5">Methods </h1><div class="top"><p class="src"><a name="v:actionGetName" class="def">actionGetName</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionGetName" class="link">Source</a></p><div class="doc"><p>Returns the name of the action. </p></div></div><div class="top"><p class="src"><a name="v:actionIsSensitive" class="def">actionIsSensitive</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionIsSensitive" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the action and its associated action group are both sensitive. </p></td></tr></table></div><div class="doc"><p>Returns whether the action is effectively sensitive. </p></div></div><div class="top"><p class="src"><a name="v:actionGetSensitive" class="def">actionGetSensitive</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionGetSensitive" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the action itself is sensitive. </p></td></tr></table></div><div class="doc"><p>Returns whether the action itself is sensitive. Note that this doesn't necessarily mean effective sensitivity. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionIsSensitive">actionIsSensitive</a></code> for that. </p></div></div><div class="top"><p class="src"><a name="v:actionSetSensitive" class="def">actionSetSensitive</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionSetSensitive" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>sensitive</code> - <code>True</code> to make the action sensitive </p></td></tr><tr><td class="src">-> <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"> </td></tr></table></div><div class="doc"><p>Sets the sensitive property of the action to <code>sensitive</code>. Note that this doesn't necessarily mean effective sensitivity. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionIsSensitive">actionIsSensitive</a></code> for that. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionIsVisible" class="def">actionIsVisible</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionIsVisible" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the action and its associated action group are both visible. </p></td></tr></table></div><div class="doc"><p>Returns whether the action is effectively visible. </p></div></div><div class="top"><p class="src"><a name="v:actionGetVisible" class="def">actionGetVisible</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionGetVisible" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the action itself is visible. </p></td></tr></table></div><div class="doc"><p>Returns whether the action itself is visible. Note that this doesn't necessarily mean effective visibility. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionIsSensitive">actionIsSensitive</a></code> for that. </p></div></div><div class="top"><p class="src"><a name="v:actionSetVisible" class="def">actionSetVisible</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionSetVisible" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>visible</code> - <code>True</code> to make the action visible </p></td></tr><tr><td class="src">-> <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"> </td></tr></table></div><div class="doc"><p>Sets the visible property of the action to <code>visible</code>. Note that this doesn't necessarily mean effective visibility. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionIsVisible">actionIsVisible</a></code> for that. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionActivate" class="def">actionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-ActionMenuToolbar-Action.html#actionActivate" class="link">Source</a></p><div class="doc"><p>Emits the "activate" signal on the specified action, if it isn't insensitive. This gets called by the proxy widgets when they get activated. </p><p>It can also be used to manually activate an action. </p></div></div><div class="top"><p class="src"><a name="v:actionCreateMenuItem" class="def">actionCreateMenuItem</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionCreateMenuItem" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Abstract-Widget.html#t:Widget">Widget</a></td><td class="doc"><p>returns a menu item connected to the action. </p></td></tr></table></div><div class="doc"><p>Creates a menu item widget that proxies for the given action. </p></div></div><div class="top"><p class="src"><a name="v:actionCreateToolItem" class="def">actionCreateToolItem</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionCreateToolItem" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Abstract-Widget.html#t:Widget">Widget</a></td><td class="doc"><p>returns a toolbar item connected to the action. </p></td></tr></table></div><div class="doc"><p>Creates a toolbar item widget that proxies for the given action. </p></div></div><div class="top"><p class="src"><a name="v:actionConnectProxy" class="def">actionConnectProxy</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionConnectProxy" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> proxy)</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> proxy</td><td class="doc"><p><code>proxy</code> - the proxy widget </p></td></tr><tr><td class="src">-> <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"> </td></tr></table></div><div class="doc"><p>Connects a widget to an action object as a proxy. Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. </p><p>If the widget is already connected to an action, it is disconnected first. </p></div></div><div class="top"><p class="src"><a name="v:actionDisconnectProxy" class="def">actionDisconnectProxy</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionDisconnectProxy" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> proxy)</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> proxy</td><td class="doc"><p><code>proxy</code> - the proxy widget </p></td></tr><tr><td class="src">-> <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"> </td></tr></table></div><div class="doc"><p>Disconnects a proxy widget from an action. </p></div></div><div class="top"><p class="src"><a name="v:actionGetProxies" class="def">actionGetProxies</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-Abstract-Widget.html#t:Widget">Widget</a>]<a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionGetProxies" class="link">Source</a></p><div class="doc"><p>Returns the proxy widgets for an action. </p></div></div><div class="top"><p class="src"><a name="v:actionConnectAccelerator" class="def">actionConnectAccelerator</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-ActionMenuToolbar-Action.html#actionConnectAccelerator" class="link">Source</a></p><div class="doc"><p>Installs the accelerator for <code>action</code> if <code>action</code> has an accel path and group. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionSetAccelPath">actionSetAccelPath</a></code> and <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionSetAccelGroup">actionSetAccelGroup</a></code> </p><p>Since multiple proxies may independently trigger the installation of the accelerator, the <code>action</code> counts the number of times this function has been called and doesn't remove the accelerator until <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionDisconnectAccelerator">actionDisconnectAccelerator</a></code> has been called as many times. </p></div></div><div class="top"><p class="src"><a name="v:actionDisconnectAccelerator" class="def">actionDisconnectAccelerator</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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-ActionMenuToolbar-Action.html#actionDisconnectAccelerator" class="link">Source</a></p><div class="doc"><p>Undoes the effect of one call to <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionConnectAccelerator">actionConnectAccelerator</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:actionGetAccelPath" class="def">actionGetAccelPath</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionGetAccelPath" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-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>returns the accel path for this action, or <code>Nothing</code> if none is set. </p></td></tr></table></div><div class="doc"><p>Returns the accel path for this action. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionSetAccelPath" class="def">actionSetAccelPath</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionSetAccelPath" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><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>accelPath</code> - the accelerator path </p></td></tr><tr><td class="src">-> <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"> </td></tr></table></div><div class="doc"><p>Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent. </p></div></div><div class="top"><p class="src"><a name="v:actionSetAccelGroup" class="def">actionSetAccelGroup</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> AccelGroup -> <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-ActionMenuToolbar-Action.html#actionSetAccelGroup" class="link">Source</a></p><div class="doc"><p>Sets the <code>AccelGroup</code> in which the accelerator for this action will be installed. </p></div></div><h1 id="g:6">Attributes </h1><div class="top"><p class="src"><a name="v:actionName" class="def">actionName</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionName" class="link">Source</a></p><div class="doc"><p>A unique name for the action. </p><p>Default value: "" </p></div></div><div class="top"><p class="src"><a name="v:actionLabel" class="def">actionLabel</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionLabel" class="link">Source</a></p><div class="doc"><p>The label used for menu items and buttons that activate this action. </p><p>Default value: "" </p></div></div><div class="top"><p class="src"><a name="v:actionShortLabel" class="def">actionShortLabel</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Char.html#t:String">String</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionShortLabel" class="link">Source</a></p><div class="doc"><p>A shorter label that may be used on toolbar buttons. </p><p>Default value: "" </p></div></div><div class="top"><p class="src"><a name="v:actionTooltip" class="def">actionTooltip</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-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>)<a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionTooltip" class="link">Source</a></p><div class="doc"><p>A tooltip for this action. </p><p>Default value: <code>Nothing</code> </p></div></div><div class="top"><p class="src"><a name="v:actionStockId" class="def">actionStockId</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-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>)<a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionStockId" class="link">Source</a></p><div class="doc"><p>The stock icon displayed in widgets representing this action. </p><p>Default value: <code>Nothing</code> </p></div></div><div class="top"><p class="src"><a name="v:actionVisibleHorizontal" class="def">actionVisibleHorizontal</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionVisibleHorizontal" class="link">Source</a></p><div class="doc"><p>Whether the toolbar item is visible when the toolbar is in a horizontal orientation. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:actionVisibleOverflown" class="def">actionVisibleOverflown</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionVisibleOverflown" class="link">Source</a></p><div class="doc"><p>When <code>True</code>, toolitem proxies for this action are represented in the toolbar overflow menu. </p><p>Default value: <code>True</code> </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionVisibleVertical" class="def">actionVisibleVertical</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionVisibleVertical" class="link">Source</a></p><div class="doc"><p>Whether the toolbar item is visible when the toolbar is in a vertical orientation. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:actionIsImportant" class="def">actionIsImportant</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionIsImportant" class="link">Source</a></p><div class="doc"><p>Whether the action is considered important. When <code>True</code>, toolitem proxies for this action show text in <code>Graphics.UI.Gtk.MenuComboToolbar.Toolbar.ToolbarBothHoriz</code> mode. </p><p>Default value: <code>False</code> </p></div></div><div class="top"><p class="src"><a name="v:actionHideIfEmpty" class="def">actionHideIfEmpty</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionHideIfEmpty" class="link">Source</a></p><div class="doc"><p>When <code>True</code>, empty menu proxies for this action are hidden. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:actionSensitive" class="def">actionSensitive</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionSensitive" class="link">Source</a></p><div class="doc"><p>Whether the action is enabled. </p><p>Default value: <code>True</code> </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionVisible" class="def">actionVisible</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionVisible" class="link">Source</a></p><div class="doc"><p>Whether the action is visible. </p><p>Default value: <code>True</code> </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionAccelPath" class="def">actionAccelPath</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:ReadWriteAttr">ReadWriteAttr</a> self (<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>) <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a><a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#actionAccelPath" class="link">Source</a></p><div class="doc"><p>'accelPath' property. See <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionGetAccelPath">actionGetAccelPath</a></code> and <code><a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#v:actionSetAccelPath">actionSetAccelPath</a></code> </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:actionAlwaysShowImage" class="def">actionAlwaysShowImage</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <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-Action.html#actionAlwaysShowImage" class="link">Source</a></p><div class="doc"><p>If <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code>, the action's menu item proxies will ignore the <code>menuImages</code> setting and always show their image, if available. </p><p>Use this property if the menu item would be useless or hard to use without their image. </p><p>Default value: <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> </p><p>Since 2.20 </p></div></div><h1 id="g:7">Signals </h1><div class="top"><p class="src"><a name="v:actionActivated" class="def">actionActivated</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<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-ActionMenuToolbar-Action.html#actionActivated" class="link">Source</a></p><div class="doc"><p>The "activate" signal is emitted when the action is activated. </p></div></div><h1 id="g:8">Deprecated </h1><div class="top"><p class="src"><a name="v:onActionActivate" class="def">onActionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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="/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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#onActionActivate" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterActionActivate" class="def">afterActionActivate</a> :: <a href="Graphics-UI-Gtk-ActionMenuToolbar-Action.html#t:ActionClass">ActionClass</a> self => self -> <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="/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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-ActionMenuToolbar-Action.html#afterActionActivate" class="link">Source</a></p><div class="doc"><p>The "activate" signal is emitted when the action is activated. </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>