/usr/share/doc/libghc-gtk3-doc/html/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html is in libghc-gtk3-doc 0.14.8-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <!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.MenuComboToolbar.CheckMenuItem</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.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">gtk3-0.14.8: Binding to the Gtk+ 3 graphical user interface library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.UI.Gtk.MenuComboToolbar.CheckMenuItem</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></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A menu item with a check box</p></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:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItemClass">MenuItemClass</a> o => <a href="#t:CheckMenuItemClass">CheckMenuItemClass</a> o</li><li class="src short"><a href="#v:castToCheckMenuItem">castToCheckMenuItem</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><a href="#v:gTypeCheckMenuItem">gTypeCheckMenuItem</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toCheckMenuItem">toCheckMenuItem</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> o => o -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><a href="#v:checkMenuItemNew">checkMenuItemNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><a href="#v:checkMenuItemNewWithLabel">checkMenuItemNewWithLabel</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><a href="#v:checkMenuItemNewWithMnemonic">checkMenuItemNewWithMnemonic</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></li><li class="src short"><a href="#v:checkMenuItemSetActive">checkMenuItemSetActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:checkMenuItemGetActive">checkMenuItemGetActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemEmitToggled">checkMenuItemEmitToggled</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:checkMenuItemSetInconsistent">checkMenuItemSetInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:checkMenuItemGetInconsistent">checkMenuItemGetInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemGetDrawAsRadio">checkMenuItemGetDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemSetDrawAsRadio">checkMenuItemSetDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:checkMenuItemActive">checkMenuItemActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemInconsistent">checkMenuItemInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemDrawAsRadio">checkMenuItemDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:checkMenuItemToggled">checkMenuItemToggled</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ())</li></ul></div><div id="interface"><h1 id="g:1">Detail</h1><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></code> is a menu item that maintains the state of a boolean
value in addition to a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItem">MenuItem</a></code>s usual role in activating application
code.</p><p>A check box indicating the state of the boolean value is displayed at the
left side of the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItem">MenuItem</a></code>. Activating the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItem">MenuItem</a></code> toggles the value.</p></div><h1 id="g:2">Class Hierarchy</h1><div class="doc"><pre>| <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a></code>
| +----<code>Object</code>
| +----<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code>
| +----<code><a href="Graphics-UI-Gtk-Abstract-Container.html#t:Container">Container</a></code>
| +----<code><a href="Graphics-UI-Gtk-Abstract-Bin.html#t:Bin">Bin</a></code>
| +----<code>Item</code>
| +----<code><a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItem">MenuItem</a></code>
| +----CheckMenuItem
| +----<code><a href="Graphics-UI-Gtk-MenuComboToolbar-RadioMenuItem.html#t:RadioMenuItem">RadioMenuItem</a></code>
</pre></div><h1 id="g:3">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CheckMenuItem" class="def">CheckMenuItem</a> <a href="src/Graphics-UI-Gtk-Types.html#CheckMenuItem" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></p><div class="subs instances"><p id="control.i:CheckMenuItem" class="caption collapser" onclick="toggleSection('i:CheckMenuItem')">Instances</p><div id="section.i:CheckMenuItem" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:Eq:1" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2237" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:Ord:2" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2237" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2251" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:CheckMenuItemClass:4" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:CheckMenuItemClass:4')"></span> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2246" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:CheckMenuItemClass:4" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:MenuItemClass:5" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:MenuItemClass:5')"></span> <a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItemClass">MenuItemClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2247" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:MenuItemClass:5" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:BinClass:6" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:BinClass:6')"></span> <a href="Graphics-UI-Gtk-Abstract-Bin.html#t:BinClass">BinClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2248" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:BinClass:6" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:ContainerClass:7" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:ContainerClass:7')"></span> <a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2249" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:ContainerClass:7" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CheckMenuItem:WidgetClass:8" class="instance expander" onclick="toggleSection('i:id:CheckMenuItem:WidgetClass:8')"></span> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2250" class="link">Source</a> <a href="#t:CheckMenuItem" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:CheckMenuItem:WidgetClass:8" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-MenuComboToolbar-MenuItem.html#t:MenuItemClass">MenuItemClass</a> o => <a id="t:CheckMenuItemClass" class="def">CheckMenuItemClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#CheckMenuItemClass" class="link">Source</a> <a href="#t:CheckMenuItemClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:CheckMenuItemClass" class="caption collapser" onclick="toggleSection('i:CheckMenuItemClass')">Instances</p><div id="section.i:CheckMenuItemClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:CheckMenuItemClass:CheckMenuItemClass:1" class="instance expander" onclick="toggleSection('i:ic:CheckMenuItemClass:CheckMenuItemClass:1')"></span> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-RadioMenuItem.html#t:RadioMenuItem">RadioMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2274" class="link">Source</a> <a href="#t:CheckMenuItemClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:CheckMenuItemClass:CheckMenuItemClass:1" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:CheckMenuItemClass:CheckMenuItemClass:2" class="instance expander" onclick="toggleSection('i:ic:CheckMenuItemClass:CheckMenuItemClass:2')"></span> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-2246" class="link">Source</a> <a href="#t:CheckMenuItemClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:CheckMenuItemClass:CheckMenuItemClass:2" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:castToCheckMenuItem" class="def">castToCheckMenuItem</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="src/Graphics-UI-Gtk-Types.html#castToCheckMenuItem" class="link">Source</a> <a href="#v:castToCheckMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gTypeCheckMenuItem" class="def">gTypeCheckMenuItem</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a> <a href="src/Graphics-UI-Gtk-Types.html#gTypeCheckMenuItem" class="link">Source</a> <a href="#v:gTypeCheckMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toCheckMenuItem" class="def">toCheckMenuItem</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> o => o -> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="src/Graphics-UI-Gtk-Types.html#toCheckMenuItem" class="link">Source</a> <a href="#v:toCheckMenuItem" class="selflink">#</a></p></div><h1 id="g:4">Constructors</h1><div class="top"><p class="src"><a id="v:checkMenuItemNew" class="def">checkMenuItemNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemNew" class="link">Source</a> <a href="#v:checkMenuItemNew" class="selflink">#</a></p><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemNewWithLabel" class="def">checkMenuItemNewWithLabel</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemNewWithLabel" class="link">Source</a> <a href="#v:checkMenuItemNewWithLabel" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>label</code> - the string to use for the label.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></code> with a label.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemNewWithMnemonic" class="def">checkMenuItemNewWithMnemonic</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemNewWithMnemonic" class="link">Source</a> <a href="#v:checkMenuItemNewWithMnemonic" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>label</code> - The text of the button, with an underscore
in front of the mnemonic character</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItem">CheckMenuItem</a></code> containing a label. The label will be
created using <code><a href="Graphics-UI-Gtk-Display-Label.html#v:labelNewWithMnemonic">labelNewWithMnemonic</a></code>, so
underscores in <code>label</code> indicate the mnemonic for the menu item.</p></div></div><h1 id="g:5">Methods</h1><div class="top"><p class="src"><a id="v:checkMenuItemSetActive" class="def">checkMenuItemSetActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemSetActive" class="link">Source</a> <a href="#v:checkMenuItemSetActive" class="selflink">#</a></p><div class="doc"><p>Sets the active state of the menu item's check box.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemGetActive" class="def">checkMenuItemGetActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemGetActive" class="link">Source</a> <a href="#v:checkMenuItemGetActive" class="selflink">#</a></p><div class="doc"><p>Returns whether the check menu item is active. See
<code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#v:checkMenuItemSetActive">checkMenuItemSetActive</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemEmitToggled" class="def">checkMenuItemEmitToggled</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemEmitToggled" class="link">Source</a> <a href="#v:checkMenuItemEmitToggled" class="selflink">#</a></p><div class="doc"><p>Emits the toggled signal.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemSetInconsistent" class="def">checkMenuItemSetInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemSetInconsistent" class="link">Source</a> <a href="#v:checkMenuItemSetInconsistent" class="selflink">#</a></p><div class="doc"><p>If the user has selected a range of elements (such as some text or
spreadsheet cells) that are affected by a boolean setting, and the current
values in that range are inconsistent, you may want to display the check in
an "in between" state. This function turns on "in between" display.
Normally you would turn off the inconsistent state again if the user
explicitly selects a setting. This has to be done manually,
<code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#v:checkMenuItemSetInconsistent">checkMenuItemSetInconsistent</a></code> only affects visual appearance, it doesn't
affect the semantics of the widget.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemGetInconsistent" class="def">checkMenuItemGetInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemGetInconsistent" class="link">Source</a> <a href="#v:checkMenuItemGetInconsistent" class="selflink">#</a></p><div class="doc"><p>Query if the menu check is drawn as inconsistent (inbetween). See
<code><a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#v:checkMenuItemSetInconsistent">checkMenuItemSetInconsistent</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemGetDrawAsRadio" class="def">checkMenuItemGetDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemGetDrawAsRadio" class="link">Source</a> <a href="#v:checkMenuItemGetDrawAsRadio" class="selflink">#</a></p><div class="doc"><p>Returns whether the menu item is drawn like a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-RadioMenuItem.html#t:RadioMenuItem">RadioMenuItem</a></code>.</p><ul><li>Available since Gtk+ version 2.4</li></ul></div></div><div class="top"><p class="src"><a id="v:checkMenuItemSetDrawAsRadio" class="def">checkMenuItemSetDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemSetDrawAsRadio" class="link">Source</a> <a href="#v:checkMenuItemSetDrawAsRadio" class="selflink">#</a></p><div class="doc"><p>Sets whether the menu item is drawn like a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-RadioMenuItem.html#t:RadioMenuItem">RadioMenuItem</a></code>.</p><ul><li>Available since Gtk+ version 2.4</li></ul></div></div><h1 id="g:6">Attributes</h1><div class="top"><p class="src"><a id="v:checkMenuItemActive" class="def">checkMenuItemActive</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemActive" class="link">Source</a> <a href="#v:checkMenuItemActive" class="selflink">#</a></p><div class="doc"><p>Whether the menu item is checked.</p><p>Default value: <code>False</code></p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemInconsistent" class="def">checkMenuItemInconsistent</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemInconsistent" class="link">Source</a> <a href="#v:checkMenuItemInconsistent" class="selflink">#</a></p><div class="doc"><p>Whether to display an "inconsistent" state.</p><p>Default value: <code>False</code></p></div></div><div class="top"><p class="src"><a id="v:checkMenuItemDrawAsRadio" class="def">checkMenuItemDrawAsRadio</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemDrawAsRadio" class="link">Source</a> <a href="#v:checkMenuItemDrawAsRadio" class="selflink">#</a></p><div class="doc"><p>Whether the menu item looks like a radio menu item.</p><p>Default value: <code>False</code></p></div></div><h1 id="g:7">Signals</h1><div class="top"><p class="src"><a id="v:checkMenuItemToggled" class="def">checkMenuItemToggled</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#t:CheckMenuItemClass">CheckMenuItemClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()) <a href="src/Graphics-UI-Gtk-MenuComboToolbar-CheckMenuItem.html#checkMenuItemToggled" class="link">Source</a> <a href="#v:checkMenuItemToggled" class="selflink">#</a></p><div class="doc"><p>This signal is emitted when the state of the check box is changed.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|