Sophie

Sophie

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

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.Gdk.Events</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-Gdk-Events.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-Events.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>deprecated</td></tr><tr><th>Maintainer</th><td>gtk2hs-users\@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Gdk.Events</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Definiton of a record that contains event information. Deprecated in
 favor of <code>Graphics.UI.Gtk.Gdk.EventM</code> and not exported by Gtk.hs.
</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:Modifier">Modifier</a> <ul class="subs"><li>= <a href="#v:Shift">Shift</a>  </li><li>| <a href="#v:Lock">Lock</a>  </li><li>| <a href="#v:Control">Control</a>  </li><li>| <a href="#v:Alt">Alt</a>  </li><li>| <a href="#v:Alt2">Alt2</a>  </li><li>| <a href="#v:Alt3">Alt3</a>  </li><li>| <a href="#v:Alt4">Alt4</a>  </li><li>| <a href="#v:Alt5">Alt5</a>  </li><li>| <a href="#v:Button1">Button1</a>  </li><li>| <a href="#v:Button2">Button2</a>  </li><li>| <a href="#v:Button3">Button3</a>  </li><li>| <a href="#v:Button4">Button4</a>  </li><li>| <a href="#v:Button5">Button5</a>  </li><li>| <a href="#v:Super">Super</a>  </li><li>| <a href="#v:Hyper">Hyper</a>  </li><li>| <a href="#v:Meta">Meta</a>  </li><li>| <a href="#v:Release">Release</a>  </li><li>| <a href="#v:ModifierMask">ModifierMask</a>  </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:TimeStamp">TimeStamp</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Word.html#t:Word32">Word32</a></li><li class="src short"><a href="#v:currentTime">currentTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Event">Event</a> <ul class="subs"><li>= <a href="#v:Event">Event</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul> }</li><li>| <a href="#v:Expose">Expose</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventArea">eventArea</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a></li><li><a href="#v:eventRegion">eventRegion</a> :: <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a></li><li><a href="#v:eventCount">eventCount</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li></ul> }</li><li>| <a href="#v:Motion">Motion</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventX">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventY">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventModifier">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</li><li><a href="#v:eventIsHint">eventIsHint</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventXRoot">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventYRoot">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li></ul> }</li><li>| <a href="#v:Button">Button</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventClick">eventClick</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventX">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventY">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventModifier">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</li><li><a href="#v:eventButton">eventButton</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:MouseButton">MouseButton</a></li><li><a href="#v:eventXRoot">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventYRoot">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li></ul> }</li><li>| <a href="#v:Key">Key</a> { <ul class="subs"><li><a href="#v:eventRelease">eventRelease</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventModifier">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</li><li><a href="#v:eventWithCapsLock">eventWithCapsLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventWithNumLock">eventWithNumLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventWithScrollLock">eventWithScrollLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventKeyVal">eventKeyVal</a> :: <a href="Graphics-UI-Gtk-Gdk-Keys.html#t:KeyVal">KeyVal</a></li><li><a href="#v:eventKeyName">eventKeyName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li><a href="#v:eventKeyChar">eventKeyChar</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:Char">Char</a></li></ul> }</li><li>| <a href="#v:Crossing">Crossing</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventX">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventY">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventXRoot">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventYRoot">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventLeaves">eventLeaves</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventCrossingMode">eventCrossingMode</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:CrossingMode">CrossingMode</a></li><li><a href="#v:eventNotifyType">eventNotifyType</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></li><li><a href="#v:eventModifier">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</li></ul> }</li><li>| <a href="#v:Focus">Focus</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventInFocus">eventInFocus</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul> }</li><li>| <a href="#v:Configure">Configure</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventXParent">eventXParent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:eventYParent">eventYParent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:eventWidth">eventWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:eventHeight">eventHeight</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li></ul> }</li><li>| <a href="#v:Visibility">Visibility</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventVisible">eventVisible</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:VisibilityState">VisibilityState</a></li></ul> }</li><li>| <a href="#v:Scroll">Scroll</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventX">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventY">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventDirection">eventDirection</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:ScrollDirection">ScrollDirection</a></li><li><a href="#v:eventXRoot">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:eventYRoot">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></li></ul> }</li><li>| <a href="#v:WindowState">WindowState</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventWindowMask">eventWindowMask</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a>]</li><li><a href="#v:eventWindowState">eventWindowState</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a>]</li></ul> }</li><li>| <a href="#v:Proximity">Proximity</a> { <ul class="subs"><li><a href="#v:eventSent">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:eventTime">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></li><li><a href="#v:eventInContact">eventInContact</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul> }</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventButton">EventButton</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventScroll">EventScroll</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventMotion">EventMotion</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventExpose">EventExpose</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventKey">EventKey</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventConfigure">EventConfigure</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventCrossing">EventCrossing</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventFocus">EventFocus</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventProperty">EventProperty</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventProximity">EventProximity</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventVisibility">EventVisibility</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventWindowState">EventWindowState</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EventGrabBroken">EventGrabBroken</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><a href="#v:marshExposeRect">marshExposeRect</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</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-Gdk-Events.html#t:Rectangle">Rectangle</a></li><li class="src short"><a href="#v:marshalEvent">marshalEvent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</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-Gdk-Events.html#t:Event">Event</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:VisibilityState">VisibilityState</a> <ul class="subs"><li>= <a href="#v:VisibilityUnobscured">VisibilityUnobscured</a>  </li><li>| <a href="#v:VisibilityPartialObscured">VisibilityPartialObscured</a>  </li><li>| <a href="#v:VisibilityFullyObscured">VisibilityFullyObscured</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:CrossingMode">CrossingMode</a> <ul class="subs"><li>= <a href="#v:CrossingNormal">CrossingNormal</a>  </li><li>| <a href="#v:CrossingGrab">CrossingGrab</a>  </li><li>| <a href="#v:CrossingUngrab">CrossingUngrab</a>  </li><li>| <a href="#v:CrossingGtkGrab">CrossingGtkGrab</a>  </li><li>| <a href="#v:CrossingGtkUngrab">CrossingGtkUngrab</a>  </li><li>| <a href="#v:CrossingStateChanged">CrossingStateChanged</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:NotifyType">NotifyType</a> <ul class="subs"><li>= <a href="#v:NotifyAncestor">NotifyAncestor</a>  </li><li>| <a href="#v:NotifyVirtual">NotifyVirtual</a>  </li><li>| <a href="#v:NotifyInferior">NotifyInferior</a>  </li><li>| <a href="#v:NotifyNonlinear">NotifyNonlinear</a>  </li><li>| <a href="#v:NotifyNonlinearVirtual">NotifyNonlinearVirtual</a>  </li><li>| <a href="#v:NotifyUnknown">NotifyUnknown</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:WindowState">WindowState</a> <ul class="subs"><li>= <a href="#v:WindowStateWithdrawn">WindowStateWithdrawn</a>  </li><li>| <a href="#v:WindowStateIconified">WindowStateIconified</a>  </li><li>| <a href="#v:WindowStateMaximized">WindowStateMaximized</a>  </li><li>| <a href="#v:WindowStateSticky">WindowStateSticky</a>  </li><li>| <a href="#v:WindowStateFullscreen">WindowStateFullscreen</a>  </li><li>| <a href="#v:WindowStateAbove">WindowStateAbove</a>  </li><li>| <a href="#v:WindowStateBelow">WindowStateBelow</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:ScrollDirection">ScrollDirection</a> <ul class="subs"><li>= <a href="#v:ScrollUp">ScrollUp</a>  </li><li>| <a href="#v:ScrollDown">ScrollDown</a>  </li><li>| <a href="#v:ScrollLeft">ScrollLeft</a>  </li><li>| <a href="#v:ScrollRight">ScrollRight</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:MouseButton">MouseButton</a> <ul class="subs"><li>= <a href="#v:LeftButton">LeftButton</a>  </li><li>| <a href="#v:MiddleButton">MiddleButton</a>  </li><li>| <a href="#v:RightButton">RightButton</a>  </li><li>| <a href="#v:OtherButton">OtherButton</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Click">Click</a> <ul class="subs"><li>= <a href="#v:SingleClick">SingleClick</a>  </li><li>| <a href="#v:DoubleClick">DoubleClick</a>  </li><li>| <a href="#v:TripleClick">TripleClick</a>  </li><li>| <a href="#v:ReleaseClick">ReleaseClick</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Rectangle">Rectangle</a>  = <a href="#v:Rectangle">Rectangle</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Modifier" class="def">Modifier</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#Modifier" class="link">Source</a></p><div class="doc"><p>Keyboard modifiers that are depressed when the user presses
 a key or a mouse button.
</p><ul><li> This data type is used to build lists of modifers that were active
 during an event.
</li><li> The <a href="Apple.html">Apple</a> key on Macintoshs is mapped to <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Alt2">Alt2</a></code> and the <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Meta">Meta</a></code>
 key (if available).
</li><li> Since Gtk 2.10, there are also <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Super">Super</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Hyper">Hyper</a></code> and <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Meta">Meta</a></code> modifiers
 which are simply generated from <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Alt">Alt</a></code> .. <code>Compose</code> modifier keys,
 depending on the mapping used by the windowing system. Due to one
 key being mapped to e.g. <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Alt2">Alt2</a></code> and <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Meta">Meta</a></code>, you shouldn't pattern
 match directly against a certain key but check whether a key is
 in the list using the <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-List.html#v:elem">elem</a></code> function, say.
</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Shift" class="def">Shift</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Lock" class="def">Lock</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Control" class="def">Control</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Alt" class="def">Alt</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Alt2" class="def">Alt2</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Alt3" class="def">Alt3</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Alt4" class="def">Alt4</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Alt5" class="def">Alt5</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Button1" class="def">Button1</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Button2" class="def">Button2</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Button3" class="def">Button3</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Button4" class="def">Button4</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Button5" class="def">Button5</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Super" class="def">Super</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Hyper" class="def">Hyper</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Meta" class="def">Meta</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Release" class="def">Release</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ModifierMask" class="def">ModifierMask</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Modifier" class="caption collapser" onclick="toggleSection('i:Modifier')">Instances</p><div id="section.i:Modifier" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</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-Flags.html#t:Flags">Flags</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TimeStamp" class="def">TimeStamp</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Word.html#t:Word32">Word32</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#TimeStamp" class="link">Source</a></p><div class="doc"><p>The time (in milliseconds) when an event happened. This is used mostly
 for ordering events and responses to events.
</p></div></div><div class="top"><p class="src"><a name="v:currentTime" class="def">currentTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#currentTime" class="link">Source</a></p><div class="doc"><p>Represents the current time, and can be used anywhere a time is expected.
</p></div></div><div class="doc"><p>Deprecated way of conveying event information.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Event" class="def">Event</a>  <a href="src/Graphics-UI-Gtk-Gdk-Events.html#Event" class="link">Source</a></p><div class="doc"><p>Events that are delivered to a widget.
</p><ul><li> Any given signal only emits one of these variants as described
   in <code>Graphics.UI.Gtk.Abstract.Widget.Widget</code>.
   Many events share common attributes:
</li><li> The <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventSent">eventSent</a></code> attribute is <code>True</code> if the event was not created by the
      user but by another application.
</li><li> The <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventTime">eventTime</a></code> attribute contains a time in milliseconds when the event
      happened.
</li><li> The <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventX">eventX</a></code> and <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventY">eventY</a></code> attributes contain the coordinates relative
      to the <code>Graphics.UI.Gtk.Abstract.Gdk.DrawWindow</code> associated with this
      widget. The values can contain sub-pixel information if the input
      device is a graphics tablet or the like.
</li><li> The <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventModifier">eventModifier</a></code> attribute denotes what modifier key was pressed
      during the event.
</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Event" class="def">Event</a></td><td class="doc"><p>An event that is not in one of the more specific categories below. This
 includes delete, destroy, map and unmap events. These events
 have no extra information associated with them.
</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Expose" class="def">Expose</a></td><td class="doc"><p>The expose event.
</p><ul><li> A region of widget that receives this event needs to be redrawn.
   This event is the result of revealing part or all of a window
   or by the application calling functions like
   <code>Graphics.UI.Gtk.Abstract.Widget.widgetQueueDrawArea</code>.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventArea" class="def">eventArea</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a></dt><dd class="doc"><p>A bounding box denoting what needs to be updated. For a more
 detailed information on the area that needs redrawing, use the
 next field.
</p></dd><dt class="src"><a name="v:eventRegion" class="def">eventRegion</a> :: <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a></dt><dd class="doc"><p>A set of horizontal stripes that denote the invalid area.
</p></dd><dt class="src"><a name="v:eventCount" class="def">eventCount</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc"><p>The number of contiguous <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Expose">Expose</a></code> events following this
   one. The only use for this is &quot;exposure compression&quot;, i.e. 
   handling all contiguous <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:Expose">Expose</a></code> events in one go, though Gdk
   performs some exposure compression so this is not normally needed.
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Motion" class="def">Motion</a></td><td class="doc"><p>Mouse motion.
</p><ul><li> Captures the movement of the mouse cursor while it is within the area
   of the widget.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventX" class="def">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventY" class="def">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventModifier" class="def">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventIsHint" class="def">eventIsHint</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>Indicate if this event is only a hint of the motion.
</p><ul><li> If the <code>Graphics.UI.Gtk.Abstract.Widget.PointerMotionHintMask</code>
  is set with <code>Data.Array.MArray.widgetAddEvents</code> then
   mouse positions are only generated each time
  <code>Graphics.UI.Gtk.Gdk.DrawWindow.drawWindowGetPointer</code>
   is called. In this case <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventIsHint">eventIsHint</a></code> is set to <code>True</code>.
</li></ul></dd><dt class="src"><a name="v:eventXRoot" class="def">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventYRoot" class="def">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Button" class="def">Button</a></td><td class="doc"><p>A mouse button was pressed or released.
</p><ul><li> This event is triggered if the mouse button was pressed or released
   while the mouse cursor was within the region of the widget.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventClick" class="def">eventClick</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</a></dt><dd class="doc"><p>The kind of button press, see <code><a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</a></code>. Note that double clicks will
   trigger this event with <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventClick">eventClick</a></code> set to <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:SingleClick">SingleClick</a></code>,
   <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:ReleaseClick">ReleaseClick</a></code>,
   <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:SingleClick">SingleClick</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:DoubleClick">DoubleClick</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:ReleaseClick">ReleaseClick</a></code>. Triple clicks will
   produce this sequence followed by <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:SingleClick">SingleClick</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:DoubleClick">DoubleClick</a></code>,
   <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:TripleClick">TripleClick</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:ReleaseClick">ReleaseClick</a></code>.
</p></dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventX" class="def">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventY" class="def">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventModifier" class="def">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventButton" class="def">eventButton</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:MouseButton">MouseButton</a></dt><dd class="doc"><p>The button that was pressed.
</p></dd><dt class="src"><a name="v:eventXRoot" class="def">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventYRoot" class="def">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Key" class="def">Key</a></td><td class="doc"><p>A key was pressed while the widget had the input focus.
</p><ul><li> If the widget has the current input focus (see
   <code>Graphics.UI.Gtk.Abstract.Widget.widgetSetCanFocus</code>)
   it will receive key pressed events. Certain key combinations are of
   no interest to a normal widget like Alt-F to access the file menu.
   For all these keys, the handler must return <code>False</code> to indicate that
   the key stroke should be propagated to the parent widget. At the
   top-level widget, keyboard shortcuts like Alt-F are turned into the
   corresponding signals.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventRelease" class="def">eventRelease</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is set if the key was released. This flag makes it possible
   to connect the same handler to
  <code>Graphics.UI.Gtk.Abstract.Widget.onKeyPress</code> and
  <code>Graphics.UI.Gtk.Abstract.Widget.onKeyRelease</code>.
</p></dd><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventModifier" class="def">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventWithCapsLock" class="def">eventWithCapsLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is <code>True</code> if Caps Lock is on while this key was pressed.
</p></dd><dt class="src"><a name="v:eventWithNumLock" class="def">eventWithNumLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is <code>True</code> if Number Lock is on while this key was pressed.
</p></dd><dt class="src"><a name="v:eventWithScrollLock" class="def">eventWithScrollLock</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is <code>True</code> if Scroll Lock is on while this key was pressed.
</p></dd><dt class="src"><a name="v:eventKeyVal" class="def">eventKeyVal</a> :: <a href="Graphics-UI-Gtk-Gdk-Keys.html#t:KeyVal">KeyVal</a></dt><dd class="doc"><p>A number representing the key that was pressed or released. A more convenient
   interface is provided by the next two fields.
</p></dd><dt class="src"><a name="v:eventKeyName" class="def">eventKeyName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></dt><dd class="doc"><p>A string representing the key that was pressed or released.
</p><ul><li> This string contains a description of the key rather than what
   should appear on screen. For example, pressing <a href="1.html">1</a> on the keypad
   results in <a href="KP_1.html">KP_1</a>. Of particular interest are <a href="F1.html">F1</a> till <a href="F12.html">F12</a>,
   for a complete list refer to &quot;<a href="gdk/gdkkeysyms.h">gdk/gdkkeysyms.h</a>&quot; where all
   possible values are defined. The corresponding strings are the
   constants without the GDK_ prefix.
</li></ul></dd><dt class="src"><a name="v:eventKeyChar" class="def">eventKeyChar</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:Char">Char</a></dt><dd class="doc"><p>A character matching the key that was pressed.
</p><ul><li> This entry can be used to build up a whole input string.
   The character is <code>Nothing</code> if the key does not correspond to a simple
   unicode character.
</li></ul></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Crossing" class="def">Crossing</a></td><td class="doc"><p>Mouse cursor crossing event.
</p><ul><li> This event indicates that the mouse cursor is hovering over this
   widget. It is used to set a widget into the pre-focus state where
   some GUI elements like buttons on a toolbar change their appearance.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventX" class="def">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventY" class="def">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventXRoot" class="def">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventYRoot" class="def">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventLeaves" class="def">eventLeaves</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is false if the widget was entered, it is true when the
   widget the mouse cursor left the widget.
</p></dd><dt class="src"><a name="v:eventCrossingMode" class="def">eventCrossingMode</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:CrossingMode">CrossingMode</a></dt><dd class="doc"><p>Kind of enter/leave event.
</p><ul><li> The mouse cursor might enter this widget because it grabs the mouse
   cursor for e.g. a modal dialog box.
</li></ul></dd><dt class="src"><a name="v:eventNotifyType" class="def">eventNotifyType</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></dt><dd class="doc"><p>Information on from what level of the widget hierarchy the mouse
   cursor came.
</p><ul><li> See <code><a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></code>.
</li></ul></dd><dt class="src"><a name="v:eventModifier" class="def">eventModifier</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:Modifier">Modifier</a>]</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Focus" class="def">Focus</a></td><td class="doc"><p>Gaining or loosing input focus.
</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventInFocus" class="def">eventInFocus</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>This flag is <code>True</code> if the widget receives the focus and <code>False</code> if
 it just lost the input focus.
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Configure" class="def">Configure</a></td><td class="doc"><p>The widget's size has changed.
</p><ul><li> In response to this event the application can allocate resources that
   are specific to the size of the widget. It is emitted when the widget
   is shown the first time and on every resize.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventXParent" class="def">eventXParent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc"><p>Position within the parent window.
</p></dd><dt class="src"><a name="v:eventYParent" class="def">eventYParent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc"><p>Position within the parent window.
</p></dd><dt class="src"><a name="v:eventWidth" class="def">eventWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventHeight" class="def">eventHeight</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Visibility" class="def">Visibility</a></td><td class="doc"><p>Change of visibility of a widget.
</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventVisible" class="def">eventVisible</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:VisibilityState">VisibilityState</a></dt><dd class="doc"><p>Denote what portions of the widget is visible.
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Scroll" class="def">Scroll</a></td><td class="doc"><p>Wheel movement of the mouse.
</p><ul><li> This action denotes that the content of the widget should be scrolled.
   The event is triggered by the movement of the mouse wheel. Surrounding
   scroll bars are independant of this signal. Most mice do not have
   buttons for horizontal scrolling, hence <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:eventDirection">eventDirection</a></code> will usually not
   contain <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:ScrollLeft">ScrollLeft</a></code> and <code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:ScrollRight">ScrollRight</a></code>. Mice with additional
   buttons may not work on X since only five buttons are supported
   (the three main buttons and two for the wheel).
</li><li> The handler of this signal should update the scroll bars that
   surround this widget which in turn tell this widget to update.
</li></ul></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventX" class="def">eventX</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventY" class="def">eventY</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventDirection" class="def">eventDirection</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:ScrollDirection">ScrollDirection</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventXRoot" class="def">eventXRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventYRoot" class="def">eventYRoot</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:WindowState" class="def">WindowState</a></td><td class="doc"><p>Indicate how the appearance of this window has changed.
</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventWindowMask" class="def">eventWindowMask</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a>]</dt><dd class="doc"><p>The mask indicates which flags have changed.
</p></dd><dt class="src"><a name="v:eventWindowState" class="def">eventWindowState</a> :: [<a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a>]</dt><dd class="doc"><p>The state indicates the current state of the window.
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Proximity" class="def">Proximity</a></td><td class="doc"><p>The state of the pen of a graphics tablet pen or touchscreen device.
</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:eventSent" class="def">eventSent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventTime" class="def">eventTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Events.html#t:TimeStamp">TimeStamp</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:eventInContact" class="def">eventInContact</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>Whether the stylus has moved in or out of contact with the tablet.
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Event" class="caption collapser" onclick="toggleSection('i:Event')">Instances</p><div id="section.i:Event" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventButton" class="def">EventButton</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventButton" class="link">Source</a></p><div class="doc"><p>An event that contains information on a button press.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventScroll" class="def">EventScroll</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventScroll" class="link">Source</a></p><div class="doc"><p>An event that contains information on scrolling.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventMotion" class="def">EventMotion</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventMotion" class="link">Source</a></p><div class="doc"><p>An event that contains information on the movement of the mouse pointer.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventExpose" class="def">EventExpose</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventExpose" class="link">Source</a></p><div class="doc"><p>An area of the <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code> needs redrawing.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventKey" class="def">EventKey</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventKey" class="link">Source</a></p><div class="doc"><p>An event that contains information about a key press.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventConfigure" class="def">EventConfigure</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventConfigure" class="link">Source</a></p><div class="doc"><p>An event that contains the new size of a window.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventCrossing" class="def">EventCrossing</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventCrossing" class="link">Source</a></p><div class="doc"><p>Generated when the pointer enters or leaves a window.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventFocus" class="def">EventFocus</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventFocus" class="link">Source</a></p><div class="doc"><p>An event that informs about a change of the input focus.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventProperty" class="def">EventProperty</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventProperty" class="link">Source</a></p><div class="doc"><p>An event that indicates a property of the window changed.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventProximity" class="def">EventProximity</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventProximity" class="link">Source</a></p><div class="doc"><p>An event that indicates that the pen of a graphics table is touching or
   not touching the tablet.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventVisibility" class="def">EventVisibility</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventVisibility" class="link">Source</a></p><div class="doc"><p>Parts of the window have been exposed or obscured.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventWindowState" class="def">EventWindowState</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventWindowState" class="link">Source</a></p><div class="doc"><p>The window state has changed.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:EventGrabBroken" class="def">EventGrabBroken</a> = <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#EventGrabBroken" class="link">Source</a></p><div class="doc"><p>A grab has been broken by unusual means.
</p></div></div><div class="top"><p class="src"><a name="v:marshExposeRect" class="def">marshExposeRect</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</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-Gdk-Events.html#t:Rectangle">Rectangle</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#marshExposeRect" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:marshalEvent" class="def">marshalEvent</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Event">Event</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-Gdk-Events.html#t:Event">Event</a><a href="src/Graphics-UI-Gtk-Gdk-Events.html#marshalEvent" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:VisibilityState" class="def">VisibilityState</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#VisibilityState" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:VisibilityUnobscured" class="def">VisibilityUnobscured</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:VisibilityPartialObscured" class="def">VisibilityPartialObscured</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:VisibilityFullyObscured" class="def">VisibilityFullyObscured</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:VisibilityState" class="caption collapser" onclick="toggleSection('i:VisibilityState')">Instances</p><div id="section.i:VisibilityState" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:VisibilityState">VisibilityState</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:VisibilityState">VisibilityState</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:VisibilityState">VisibilityState</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:CrossingMode" class="def">CrossingMode</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#CrossingMode" class="link">Source</a></p><div class="doc"><p>How focus is crossing the widget.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CrossingNormal" class="def">CrossingNormal</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CrossingGrab" class="def">CrossingGrab</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CrossingUngrab" class="def">CrossingUngrab</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CrossingGtkGrab" class="def">CrossingGtkGrab</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CrossingGtkUngrab" class="def">CrossingGtkUngrab</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CrossingStateChanged" class="def">CrossingStateChanged</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:CrossingMode" class="caption collapser" onclick="toggleSection('i:CrossingMode')">Instances</p><div id="section.i:CrossingMode" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:CrossingMode">CrossingMode</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:CrossingMode">CrossingMode</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:CrossingMode">CrossingMode</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:NotifyType" class="def">NotifyType</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#NotifyType" class="link">Source</a></p><div class="doc"><p>Information on from what level of the widget hierarchy the mouse
 cursor came.
</p><dl><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyAncestor">NotifyAncestor</a></code></dt><dd> The window is entered from an ancestor or left towards
 an ancestor.
</dd><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyVirtual">NotifyVirtual</a></code></dt><dd> The pointer moves between an ancestor and an inferior
 of the window.
</dd><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyInferior">NotifyInferior</a></code></dt><dd> The window is entered from an inferior or left
 towards an inferior.
</dd><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyNonlinear">NotifyNonlinear</a></code></dt><dd> The window is entered from or left towards a
 window which is neither an ancestor nor an inferior.
</dd><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyNonlinearVirtual">NotifyNonlinearVirtual</a></code></dt><dd> The pointer moves between two windows which
 are not ancestors of each other and the window is part of the ancestor
 chain between one of these windows and their least common ancestor.
</dd><dt><code><a href="Graphics-UI-Gtk-Gdk-Events.html#v:NotifyUnknown">NotifyUnknown</a></code></dt><dd> The level change does not fit into any of the other
 categories or could not be determined.
</dd></dl></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:NotifyAncestor" class="def">NotifyAncestor</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NotifyVirtual" class="def">NotifyVirtual</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NotifyInferior" class="def">NotifyInferior</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NotifyNonlinear" class="def">NotifyNonlinear</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NotifyNonlinearVirtual" class="def">NotifyNonlinearVirtual</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NotifyUnknown" class="def">NotifyUnknown</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:NotifyType" class="caption collapser" onclick="toggleSection('i:NotifyType')">Instances</p><div id="section.i:NotifyType" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></td><td class="doc"><p>Determine if child widget may be overdrawn.
</p></td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:NotifyType">NotifyType</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:WindowState" class="def">WindowState</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#WindowState" class="link">Source</a></p><div class="doc"><p>The state a <code>DrawWindow</code> is in.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:WindowStateWithdrawn" class="def">WindowStateWithdrawn</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateIconified" class="def">WindowStateIconified</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateMaximized" class="def">WindowStateMaximized</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateSticky" class="def">WindowStateSticky</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateFullscreen" class="def">WindowStateFullscreen</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateAbove" class="def">WindowStateAbove</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WindowStateBelow" class="def">WindowStateBelow</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:WindowState" class="caption collapser" onclick="toggleSection('i:WindowState')">Instances</p><div id="section.i:WindowState" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a></td><td class="doc"><p>These are hints for the window manager that indicate what type of function
 the window has. The window manager can use this when determining decoration
 and behaviour of the window. The hint must be set before mapping the window.
</p><p>See the extended window manager hints specification for more details about
 window types.
</p></td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</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-Flags.html#t:Flags">Flags</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:WindowState">WindowState</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ScrollDirection" class="def">ScrollDirection</a>  <a href="src/Graphics-UI-Gtk-Gdk-Enums.html#ScrollDirection" class="link">Source</a></p><div class="doc"><p>in which direction was scrolled?
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ScrollUp" class="def">ScrollUp</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ScrollDown" class="def">ScrollDown</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ScrollLeft" class="def">ScrollLeft</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ScrollRight" class="def">ScrollRight</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ScrollDirection" class="caption collapser" onclick="toggleSection('i:ScrollDirection')">Instances</p><div id="section.i:ScrollDirection" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:ScrollDirection">ScrollDirection</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:ScrollDirection">ScrollDirection</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:ScrollDirection">ScrollDirection</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MouseButton" class="def">MouseButton</a>  <a href="src/Graphics-UI-Gtk-General-Enums.html#MouseButton" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:LeftButton" class="def">LeftButton</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:MiddleButton" class="def">MiddleButton</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RightButton" class="def">RightButton</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OtherButton" class="def">OtherButton</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:MouseButton" class="caption collapser" onclick="toggleSection('i:MouseButton')">Instances</p><div id="section.i:MouseButton" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:MouseButton">MouseButton</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:MouseButton">MouseButton</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:MouseButton">MouseButton</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Click" class="def">Click</a>  <a href="src/Graphics-UI-Gtk-General-Enums.html#Click" class="link">Source</a></p><div class="doc"><p>Type of mouse click
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SingleClick" class="def">SingleClick</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DoubleClick" class="def">DoubleClick</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:TripleClick" class="def">TripleClick</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ReleaseClick" class="def">ReleaseClick</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Click" class="caption collapser" onclick="toggleSection('i:Click')">Instances</p><div id="section.i:Click" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Click">Click</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Rectangle" class="def">Rectangle</a>  </p><div class="doc"><p>Rectangle
</p><ul><li> Specifies x, y, width and height
</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Rectangle" class="def">Rectangle</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Rectangle" class="caption collapser" onclick="toggleSection('i:Rectangle')">Instances</p><div id="section.i:Rectangle" 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-Gdk-Events.html#t:Rectangle">Rectangle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</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/Foreign-Storable.html#t:Storable">Storable</a> <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a></td><td class="doc empty">&nbsp;</td></tr></table></div></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>