Sophie

Sophie

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

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.DrawWindow</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-DrawWindow.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Gdk.DrawWindow</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Class Hierarchy
</a></li><li><a href="#g:2">Types
</a></li><li><a href="#g:3">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code> is a rectangular region on the screen.
</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:DrawWindow">DrawWindow</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> o =&gt; <a href="#t:DrawWindowClass">DrawWindowClass</a> o </li><li class="src short"><a href="#v:castToDrawWindow">castToDrawWindow</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></li><li class="src short"><a href="#v:gTypeDrawWindow">gTypeDrawWindow</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></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:NativeWindowId">NativeWindowId</a> </li><li class="src short"><a href="#v:toNativeWindowId">toNativeWindowId</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Integral">Integral</a> a =&gt; a -&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a></li><li class="src short"><a href="#v:fromNativeWindowId">fromNativeWindowId</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Integral">Integral</a> a =&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a> -&gt; a</li><li class="src short"><a href="#v:drawWindowGetState">drawWindowGetState</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:WindowState">WindowState</a>]</li><li class="src short"><a href="#v:drawWindowScroll">drawWindowScroll</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowClear">drawWindowClear</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowClearArea">drawWindowClearArea</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowClearAreaExpose">drawWindowClearAreaExpose</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowRaise">drawWindowRaise</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowLower">drawWindowLower</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowBeginPaintRect">drawWindowBeginPaintRect</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowEndPaint">drawWindowEndPaint</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowInvalidateRect">drawWindowInvalidateRect</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowInvalidateRegion">drawWindowInvalidateRegion</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowGetUpdateArea">drawWindowGetUpdateArea</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a>)</li><li class="src short"><a href="#v:drawWindowFreezeUpdates">drawWindowFreezeUpdates</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowThawUpdates">drawWindowThawUpdates</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowProcessUpdates">drawWindowProcessUpdates</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowSetAcceptFocus">drawWindowSetAcceptFocus</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowShapeCombineMask">drawWindowShapeCombineMask</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowShapeCombineRegion">drawWindowShapeCombineRegion</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowSetChildShapes">drawWindowSetChildShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowMergeChildShapes">drawWindowMergeChildShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:drawWindowGetPointer">drawWindowGetPointer</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/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="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</a>]))</li><li class="src short"><a href="#v:drawWindowGetPointerPos">drawWindowGetPointerPos</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</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="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</a>])</li><li class="src short"><a href="#v:drawWindowGetOrigin">drawWindowGetOrigin</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/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><li class="src short"><a href="#v:drawWindowForeignNew">drawWindowForeignNew</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a>)</li><li class="src short"><a href="#v:drawWindowGetDefaultRootWindow">drawWindowGetDefaultRootWindow</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></li></ul></div><div id="interface"><h1 id="g:1">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:Drawable">Drawable</a></code>
 | +----DrawWindow
</pre></div><h1 id="g:2">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:DrawWindow" class="def">DrawWindow</a>  <a href="src/Graphics-UI-Gtk-Types.html#DrawWindow" class="link">Source</a></p><div class="subs instances"><p id="control.i:DrawWindow" class="caption collapser" onclick="toggleSection('i:DrawWindow')">Instances</p><div id="section.i:DrawWindow" 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-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> o =&gt; <a name="t:DrawWindowClass" class="def">DrawWindowClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#DrawWindowClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:DrawWindowClass" class="caption collapser" onclick="toggleSection('i:DrawWindowClass')">Instances</p><div id="section.i:DrawWindowClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToDrawWindow" class="def">castToDrawWindow</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a><a href="src/Graphics-UI-Gtk-Types.html#castToDrawWindow" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeDrawWindow" class="def">gTypeDrawWindow</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeDrawWindow" class="link">Source</a></p></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-DrawWindow.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-DrawWindow.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-DrawWindow.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-DrawWindow.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-DrawWindow.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:NativeWindowId" class="def">NativeWindowId</a>  <a href="src/Graphics-UI-Gtk-General-Structs.html#NativeWindowId" class="link">Source</a></p><div class="doc"><p>The identifer of a window of the underlying windowing system.
</p></div><div class="subs instances"><p id="control.i:NativeWindowId" class="caption collapser" onclick="toggleSection('i:NativeWindowId')">Instances</p><div id="section.i:NativeWindowId" 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-DrawWindow.html#t:NativeWindowId">NativeWindowId</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-DrawWindow.html#t:NativeWindowId">NativeWindowId</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:toNativeWindowId" class="def">toNativeWindowId</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Integral">Integral</a> a =&gt; a -&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a><a href="src/Graphics-UI-Gtk-General-Structs.html#toNativeWindowId" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fromNativeWindowId" class="def">fromNativeWindowId</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Integral">Integral</a> a =&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a> -&gt; a<a href="src/Graphics-UI-Gtk-General-Structs.html#fromNativeWindowId" class="link">Source</a></p></div><h1 id="g:3">Methods
</h1><div class="top"><p class="src"><a name="v:drawWindowGetState" class="def">drawWindowGetState</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetState" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:WindowState">WindowState</a>]</td><td class="doc"><p>returns <code>DrawWindow</code> flags
</p></td></tr></table></div><div class="doc"><p>Gets the bitwise OR of the currently active drawWindow state flags, from
 the <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:WindowState">WindowState</a></code> enumeration.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowScroll" class="def">drawWindowScroll</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowScroll" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>dx</code> - Amount to scroll in the X direction
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>dy</code> - Amount to scroll in the Y direction
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Scroll the contents of <code>DrawWindow</code>.
</p><ul><li> Scroll both, pixels and children, by the given amount.
 <code>DrawWindow</code> itself does not move. Portions of the window that the
 scroll operation brings inm from offscreen areas are invalidated. The
 invalidated region may be bigger than what would strictly be necessary. (For
 X11, a minimum area will be invalidated if the window has no subwindows, or
 if the edges of the window's parent do not extend beyond the edges of the
 drawWindow. In other cases, a multi-step process is used to scroll the window
 which may produce temporary visual artifacts and unnecessary invalidations.)
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowClear" class="def">drawWindowClear</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowClear" class="link">Source</a></p><div class="doc"><p>Clears an entire <code>DrawWindow</code> to the background color or background pixmap.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowClearArea" class="def">drawWindowClearArea</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowClearArea" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>x</code> - x coordinate of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>y</code> - y coordinate of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>width</code> - width of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>height</code> - height of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Clears an area of <code>DrawWindow</code> to the background color or background pixmap.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowClearAreaExpose" class="def">drawWindowClearAreaExpose</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowClearAreaExpose" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>x</code> - x coordinate of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>y</code> - y coordinate of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>width</code> - width of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>height</code> - height of rectangle to clear
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Like <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowClearArea">drawWindowClearArea</a></code>, but also generates an expose event for the
 cleared area.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowRaise" class="def">drawWindowRaise</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowRaise" class="link">Source</a></p><div class="doc"><p>Raises <code>DrawWindow</code> to the top of the Z-order (stacking order), so that other
 drawWindows with the same parent drawWindow appear below <code>DrawWindow</code>. This is true
 whether or not the drawWindows are visible.
</p><p>If <code>DrawWindow</code> is a toplevel, the window manager may choose to deny the
 request to move the drawWindow in the Z-order, <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowRaise">drawWindowRaise</a></code> only requests the
 restack, does not guarantee it.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowLower" class="def">drawWindowLower</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowLower" class="link">Source</a></p><div class="doc"><p>Lowers <code>DrawWindow</code> to the bottom of the Z-order (stacking order), so that
 other windows with the same parent window appear above <code>DrawWindow</code>. This is
 true whether or not the other windows are visible.
</p><p>If <code>DrawWindow</code> is a toplevel, the window manager may choose to deny the
 request to move the drawWindow in the Z-order, <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowLower">drawWindowLower</a></code> only
 requests the restack, does not guarantee it.
</p><p>Note that a widget is raised automatically when it is mapped, thus you
 need to call <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowLower">drawWindowLower</a></code> after
 <code>Graphics.UI.Gtk.Abstract.Widget.widgetShow</code> if the window should
 not appear above other windows.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowBeginPaintRect" class="def">drawWindowBeginPaintRect</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowBeginPaintRect" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a></td><td class="doc"><p><code>rectangle</code> - rectangle you intend to draw to
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>A convenience wrapper around <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> which creates a
 rectangular region for you.
</p><ul><li> See <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> for details.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowBeginPaintRegion" class="def">drawWindowBeginPaintRegion</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowBeginPaintRegion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a></td><td class="doc"><p><code>region</code> - region you intend to draw to
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Indicate that you are beginning the process of redrawing <code>region</code>.
</p><ul><li> A
 backing store (offscreen buffer) large enough to contain <code>region</code> will be
 created. The backing store will be initialized with the background color or
 background pixmap for <code>DrawWindow</code>. Then, all drawing operations performed on
 <code>DrawWindow</code> will be diverted to the backing store. When you call
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code>, the backing store will be copied to <code>DrawWindow</code>, making it
 visible onscreen. Only the part of <code>DrawWindow</code> contained in <code>region</code> will be
 modified; that is, drawing operations are clipped to <code>region</code>.
</li></ul><p>The net result of all this is to remove flicker, because the user sees
 the finished product appear all at once when you call <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code>. If
 you draw to <code>DrawWindow</code> directly without calling <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code>, the
 user may see flicker as individual drawing operations are performed in
 sequence. The clipping and background-initializing features of
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> are conveniences for the programmer, so you can
 avoid doing that work yourself.
</p><p>When using GTK+, the widget system automatically places calls to
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> and <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code> around emissions of the
 <code>expose_event</code> signal. That is, if you're writing an expose event handler,
 you can assume that the exposed area in <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:eventRegion">eventRegion</a></code> has already been
 cleared to the window background, is already set as the clip region, and
 already has a backing store. Therefore in most cases, application code need
 not call <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code>. (You can disable the automatic calls
 around expose events on a widget-by-widget basis by calling
 <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#v:widgetSetDoubleBuffered">widgetSetDoubleBuffered</a></code>.)
</p><p>If you call this function multiple times before calling the matching
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code>, the backing stores are pushed onto a stack.
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code> copies the topmost backing store onscreen, subtracts the
 topmost region from all other regions in the stack, and pops the stack. All
 drawing operations affect only the topmost backing store in the stack. One
 matching call to <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowEndPaint">drawWindowEndPaint</a></code> is required for each call to
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowEndPaint" class="def">drawWindowEndPaint</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowEndPaint" class="link">Source</a></p><div class="doc"><p>Signal that drawing has finished.
</p><ul><li> Indicates that the backing store created by the most recent call to
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> should be copied onscreen and deleted, leaving the
 next-most-recent backing store or no backing store at all as the active
 paint region. See <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> for full details. It is an error
 to call this function without a matching <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowBeginPaintRegion">drawWindowBeginPaintRegion</a></code> first.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowInvalidateRect" class="def">drawWindowInvalidateRect</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowInvalidateRect" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Events.html#t:Rectangle">Rectangle</a></td><td class="doc"><p><code>rect</code> - rectangle to invalidate
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>invalidateChildren</code> - whether to also invalidate
 child drawWindows
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>A convenience wrapper around <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowInvalidateRegion">drawWindowInvalidateRegion</a></code> which invalidates a
 rectangular region. See <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowInvalidateRegion">drawWindowInvalidateRegion</a></code> for details.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowInvalidateRegion" class="def">drawWindowInvalidateRegion</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowInvalidateRegion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a></td><td class="doc"><p><code>region</code> - a <a href="Region.html">Region</a>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>invalidateChildren</code> - <code>True</code> to also invalidate child
 drawWindows
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds <code>region</code> to the update area for <code>DrawWindow</code>. The update area is the
 region that needs to be redrawn, or &quot;dirty region.&quot;. During the
 next idle period of the main look, an expose even for this region
 will be created. An application would normally redraw
 the contents of <code>DrawWindow</code> in response to those expose events.
</p><p>The <code>invalidateChildren</code> parameter controls whether the region of each
 child drawWindow that intersects <code>region</code> will also be invalidated. If <code>False</code>,
 then the update area for child drawWindows will remain unaffected.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowGetUpdateArea" class="def">drawWindowGetUpdateArea</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetUpdateArea" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a>)</td><td class="doc"><p>returns the update area for <code>DrawWindow</code>
</p></td></tr></table></div><div class="doc"><p>Ask for the dirty region of this window.
</p><ul><li> Transfers ownership of the update area from <code>DrawWindow</code> to the caller of the
 function. That is, after calling this function, <code>DrawWindow</code> will no longer have
 an invalid/dirty region; the update area is removed from <code>DrawWindow</code> and
 handed to you. If this window has no update area, <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowGetUpdateArea">drawWindowGetUpdateArea</a></code> returns <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowFreezeUpdates" class="def">drawWindowFreezeUpdates</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowFreezeUpdates" class="link">Source</a></p><div class="doc"><p>Temporarily freezes a drawWindow such that it won't receive expose events.
 * The drawWindow will begin receiving expose events again when
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowThawUpdates">drawWindowThawUpdates</a></code>
 is called. If <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowFreezeUpdates">drawWindowFreezeUpdates</a></code> has been called more than once,
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowThawUpdates">drawWindowThawUpdates</a></code> must be called an equal number of times to begin
 processing exposes.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowThawUpdates" class="def">drawWindowThawUpdates</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowThawUpdates" class="link">Source</a></p><div class="doc"><p>Thaws a drawWindow frozen with <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowFreezeUpdates">drawWindowFreezeUpdates</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowProcessUpdates" class="def">drawWindowProcessUpdates</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowProcessUpdates" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>updateChildren</code> - whether to also process updates for child
 drawWindows
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sends one or more expose events to <code>DrawWindow</code>.
</p><ul><li> The areas in each expose
 event will cover the entire update area for the window (see
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowInvalidateRegion">drawWindowInvalidateRegion</a></code> for details). Normally Gtk calls
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowProcessUpdates">drawWindowProcessUpdates</a></code> on your behalf, so there's no need to call this
 function unless you want to force expose events to be delivered immediately
 and synchronously (vs. the usual case, where Gtk delivers them in an idle
 handler). Occasionally this is useful to produce nicer scrolling behavior,
 for example.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowSetAcceptFocus" class="def">drawWindowSetAcceptFocus</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowSetAcceptFocus" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>acceptFocus</code> - <code>True</code> if the drawWindow should receive input focus
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Setting <code>acceptFocus</code> to <code>False</code> hints the desktop environment that the
 window doesn't want to receive input focus.
</p><p>On X, it is the responsibility of the drawWindow manager to interpret this
 hint. ICCCM-compliant drawWindow manager usually respect it.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowShapeCombineMask" class="def">drawWindowShapeCombineMask</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowShapeCombineMask" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc"><p><code>mask</code> - region of drawWindow to be non-transparent
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>offsetX</code> - X position of <code>shapeRegion</code> in <code>DrawWindow</code>
 coordinates
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>offsetY</code> - Y position of <code>shapeRegion</code> in <code>DrawWindow</code>
 coordinates
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Applies a shape mask to window. Pixels in window corresponding to set
 bits in the mask will be visible; pixels in window corresponding to
 unset bits in the mask will be transparent. This gives a non-rectangular
 window.
</p><ul><li> If <code>mask</code> is <code>Nothing</code>, the shape mask will be unset, and the x/y parameters
 are not used. The <code>mask</code> must be a bitmap, that is, a <code><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></code> of depth
 one.
</li><li> On the X11 platform, this uses an X server extension which is widely
 available on most common platforms, but not available on very old
 X servers, and occasionally the implementation will be buggy.
 On servers without the shape extension, this function will do nothing.
 On the Win32 platform the functionality is always present.
</li><li> This function works on both toplevel and child windows.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowShapeCombineRegion" class="def">drawWindowShapeCombineRegion</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowShapeCombineRegion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Region.html#t:Region">Region</a></td><td class="doc"><p><code>shapeRegion</code> - region of drawWindow to be non-transparent
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>offsetX</code> - X position of <code>shapeRegion</code> in <code>DrawWindow</code>
 coordinates
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>offsetY</code> - Y position of <code>shapeRegion</code> in <code>DrawWindow</code>
 coordinates
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Makes pixels in <code>DrawWindow</code> outside <code>shapeRegion</code> transparent.
</p><ul><li> Makes pixels in <code>DrawWindow</code> outside <code>shapeRegion</code> transparent, so that
 the window may be nonrectangular.
</li></ul><p>If <code>shapeRegion</code> is <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, the shape will be unset, so the whole
 <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code> will be opaque again. The parameters <code>offsetX</code> and <code>offsetY</code>
 are ignored if <code>shapeRegion</code> is <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>.
</p><p>On the X11 platform, this uses an X server extension which is widely
 available on most common platforms, but not available on very old X servers,
 and occasionally the implementation will be buggy. On servers without the
 shape extension, this function will do nothing.
</p><p>This function works on both toplevel and child drawWindows.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowSetChildShapes" class="def">drawWindowSetChildShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowSetChildShapes" class="link">Source</a></p><div class="doc"><p>Sets the shape mask of <code>DrawWindow</code> to the union of shape masks for all
 children of <code>DrawWindow</code>, ignoring the shape mask of <code>DrawWindow</code> itself. Contrast
 with <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowMergeChildShapes">drawWindowMergeChildShapes</a></code> which includes the shape mask of <code>DrawWindow</code> in
 the masks to be merged.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowMergeChildShapes" class="def">drawWindowMergeChildShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowMergeChildShapes" class="link">Source</a></p><div class="doc"><p>Merges the shape masks for any child drawWindows into the shape mask for
 <code>DrawWindow</code>. i.e. the union of all masks for <code>DrawWindow</code> and its children will
 become the new mask for <code>DrawWindow</code>. See <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowShapeCombineMask">drawWindowShapeCombineMask</a></code>.
</p><p>This function is distinct from <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:drawWindowSetChildShapes">drawWindowSetChildShapes</a></code> because it includes
 <code>DrawWindow</code>'s shape mask in the set of shapes to be merged.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowGetPointer" class="def">drawWindowGetPointer</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/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="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</a>]))<a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetPointer" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:drawWindowGetPointerPos" class="def">drawWindowGetPointerPos</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindowClass">DrawWindowClass</a> self =&gt; self -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</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="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</a>])<a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetPointerPos" class="link">Source</a></p><div class="doc"><p>Obtains the current pointer position and modifier state.
</p><ul><li> The position is
 given in coordinates relative to the given window.
</li><li> The return value is <code>(Just win, x, y, mod)</code> where <code>win</code> is the
 window over which the mouse currently resides and <code>mod</code> denotes
 the keyboard modifiers currently being depressed.
</li><li> The return value is <code>Nothing</code> for the window if the mouse cursor is
 not over a known window.
</li></ul></div></div><div class="top"><p class="src"><a name="v:drawWindowGetOrigin" class="def">drawWindowGetOrigin</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetOrigin" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-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"><pre>(x, y)</pre></td></tr></table></div><div class="doc"><p>Obtains the position of a window in screen coordinates.
</p><p>You can use this to help convert a position between screen coordinates and
 local <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code> relative coordinates.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowForeignNew" class="def">drawWindowForeignNew</a> :: <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:NativeWindowId">NativeWindowId</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a>)<a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowForeignNew" class="link">Source</a></p><div class="doc"><p>Get the handle to an exising window of the windowing system. The
 passed-in handle is a reference to a native window, that is, an Xlib XID
 for X windows and a HWND for Win32.
</p></div></div><div class="top"><p class="src"><a name="v:drawWindowGetDefaultRootWindow" class="def">drawWindowGetDefaultRootWindow</a><a href="src/Graphics-UI-Gtk-Gdk-DrawWindow.html#drawWindowGetDefaultRootWindow" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc"><p>returns the default root window
</p></td></tr></table></div><div class="doc"><p>Obtains the root window (parent all other windows are inside) for the default display and screen.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>