Sophie

Sophie

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

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.Display</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-Display.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-Display.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.Display</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail
</a></li><li><a href="#g:2">Class Hierarchy
</a></li><li><a href="#g:3">Types
</a></li><li><a href="#g:4">Methods
</a></li><li><a href="#g:5">Signals
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Controls the keyboard/mouse/monitors combination.
</p><ul><li> Module available since Gdk version 2.2
</li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:Display">Display</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:DisplayClass">DisplayClass</a> o </li><li class="src short"><a href="#v:castToDisplay">castToDisplay</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-Display.html#t:Display">Display</a></li><li class="src short"><a href="#v:gTypeDisplay">gTypeDisplay</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toDisplay">toDisplay</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></li><li class="src short"><a href="#v:displayOpen">displayOpen</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a>)</li><li class="src short"><a href="#v:displayGetDefault">displayGetDefault</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a>)</li><li class="src short"><a href="#v:displayGetName">displayGetName</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Char.html#t:String">String</a></li><li class="src short"><a href="#v:displayGetNScreens">displayGetNScreens</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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></li><li class="src short"><a href="#v:displayGetScreen">displayGetScreen</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></li><li class="src short"><a href="#v:displayGetDefaultScreen">displayGetDefaultScreen</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Screen.html#t:Screen">Screen</a></li><li class="src short"><a href="#v:displayPointerUngrab">displayPointerUngrab</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <a href="Graphics-UI-Gtk-Gdk-EventM.html#t:TimeStamp">TimeStamp</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:displayKeyboardUngrab">displayKeyboardUngrab</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <a href="Graphics-UI-Gtk-Gdk-EventM.html#t:TimeStamp">TimeStamp</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:displayPointerIsGrabbed">displayPointerIsGrabbed</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displayBeep">displayBeep</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displaySync">displaySync</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displayFlush">displayFlush</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displayClose">displayClose</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displayListDevices">displayListDevices</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> [Device]</li><li class="src short"><a href="#v:displaySetDoubleClickTime">displaySetDoubleClickTime</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displaySetDoubleClickDistance">displaySetDoubleClickDistance</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displayGetPointer">displayGetPointer</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Screen.html#t:Screen">Screen</a>, [<a href="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</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:displayGetWindowAtPointer">displayGetWindowAtPointer</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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="/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:displayWarpPointer">displayWarpPointer</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</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:displaySupportsCursorColor">displaySupportsCursorColor</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displaySupportsCursorAlpha">displaySupportsCursorAlpha</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displayGetDefaultCursorSize">displayGetDefaultCursorSize</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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></li><li class="src short"><a href="#v:displayGetMaximalCursorSize">displayGetMaximalCursorSize</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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:displayGetDefaultGroup">displayGetDefaultGroup</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-DrawWindow.html#t:DrawWindow">DrawWindow</a></li><li class="src short"><a href="#v:displaySupportsSelectionNotification">displaySupportsSelectionNotification</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displayRequestSelectionNotification">displayRequestSelectionNotification</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <a href="Graphics-UI-Gtk-General-Selection.html#t:SelectionTag">SelectionTag</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displaySupportsClipboardPersistence">displaySupportsClipboardPersistence</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displayStoreClipboard">displayStoreClipboard</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a> -&gt; <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/Data-Word.html#t:Word32">Word32</a> -&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-General-Selection.html#t:TargetTag">TargetTag</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:displaySupportsShapes">displaySupportsShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displaySupportsInputShapes">displaySupportsInputShapes</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displaySupportsComposite">displaySupportsComposite</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:displayClosed">displayClosed</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/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></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p><code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code> objects purpose are two fold:
</p><ul><li> To grab/ungrab keyboard focus and mouse pointer
</li><li> To manage and provide information about the <code><a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></code>(s) available for
 this <code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code>
</li></ul><p><code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code> objects are the GDK representation of the X Display which can
 be described as /a workstation consisting of a keyboard a pointing device
 (such as a mouse) and one or more screens/. It is used to open and keep
 track of various <code><a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></code> objects currently instanciated by the application.
 It is also used to grab and release the keyboard and the mouse pointer.
</p></div><h1 id="g:2">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----Display
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Display" class="def">Display</a>  <a href="src/Graphics-UI-Gtk-Types.html#Display" class="link">Source</a></p><div class="subs instances"><p id="control.i:Display" class="caption collapser" onclick="toggleSection('i:Display')">Instances</p><div id="section.i:Display" 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-Display.html#t:Display">Display</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-Display.html#t:Display">Display</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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:DisplayClass" class="def">DisplayClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#DisplayClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:DisplayClass" class="caption collapser" onclick="toggleSection('i:DisplayClass')">Instances</p><div id="section.i:DisplayClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToDisplay" class="def">castToDisplay</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-Display.html#t:Display">Display</a><a href="src/Graphics-UI-Gtk-Types.html#castToDisplay" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeDisplay" class="def">gTypeDisplay</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeDisplay" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toDisplay" class="def">toDisplay</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a><a href="src/Graphics-UI-Gtk-Types.html#toDisplay" class="link">Source</a></p></div><h1 id="g:4">Methods
</h1><div class="top"><p class="src"><a name="v:displayOpen" class="def">displayOpen</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayOpen" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>displayName</code> - the name of the display to open
</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/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a>)</td><td class="doc"><p>returns a <code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code>, or <code>Nothing</code> if the display
 could not be opened.
</p></td></tr></table></div><div class="doc"><p>Opens a display.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetDefault" class="def">displayGetDefault</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetDefault" 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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a>)</td><td class="doc"><p>returns a <code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code>, or <code>Nothing</code> if there is no
 default display.
</p></td></tr></table></div><div class="doc"><p>Gets the default <code><a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</a></code>. This is a convenience function for
 <code>displayManagerGetDefaultDisplay displayManagerGet</code>.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetName" class="def">displayGetName</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetName" 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-Display.html#t:Display">Display</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-Char.html#t:String">String</a></td><td class="doc"><p>returns a string representing the display name
</p></td></tr></table></div><div class="doc"><p>Gets the name of the display.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetNScreens" class="def">displayGetNScreens</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetNScreens" 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-Display.html#t:Display">Display</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></td><td class="doc"><p>returns number of screens.
</p></td></tr></table></div><div class="doc"><p>Gets the number of screen managed by the <code>display</code>.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetScreen" class="def">displayGetScreen</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetScreen" 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-Display.html#t:Display">Display</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/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>screenNum</code> - the screen number
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></td><td class="doc"><p>returns the <code><a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></code> object
</p></td></tr></table></div><div class="doc"><p>Returns a screen object for one of the screens of the display.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetDefaultScreen" class="def">displayGetDefaultScreen</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetDefaultScreen" 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-Display.html#t:Display">Display</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="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></td><td class="doc"><p>returns the default <code><a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></code> object for <code>display</code>
</p></td></tr></table></div><div class="doc"><p>Get the default <code><a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></code> for <code>display</code>.
</p></div></div><div class="top"><p class="src"><a name="v:displayPointerUngrab" class="def">displayPointerUngrab</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayPointerUngrab" 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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-EventM.html#t:TimeStamp">TimeStamp</a></td><td class="doc"><p><code>time</code> - a timestap (e.g. <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:currentTime">currentTime</a></code>).
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/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>Release any pointer grab.
</p></div></div><div class="top"><p class="src"><a name="v:displayKeyboardUngrab" class="def">displayKeyboardUngrab</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayKeyboardUngrab" 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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-EventM.html#t:TimeStamp">TimeStamp</a></td><td class="doc"><p><code>time</code> - a timestap (e.g <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:currentTime">currentTime</a></code>).
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/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>Release any keyboard grab
</p></div></div><div class="top"><p class="src"><a name="v:displayPointerIsGrabbed" class="def">displayPointerIsGrabbed</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayPointerIsGrabbed" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if an active X pointer grab is in effect
</p></td></tr></table></div><div class="doc"><p>Test if the pointer is grabbed.
</p></div></div><div class="top"><p class="src"><a name="v:displayBeep" class="def">displayBeep</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayBeep" class="link">Source</a></p><div class="doc"><p>Emits a short beep on <code>display</code>
</p></div></div><div class="top"><p class="src"><a name="v:displaySync" class="def">displaySync</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySync" class="link">Source</a></p><div class="doc"><p>Flushes any requests queued for the windowing system and waits until all
 requests have been handled. This is often used for making sure that the
 display is synchronized with the current state of the program. Calling
 <code><a href="Graphics-UI-Gtk-Gdk-Display.html#v:displaySync">displaySync</a></code> before <code>errorTrapPop</code> makes sure that any errors generated
 from earlier requests are handled before the error trap is removed.
</p><p>This is most useful for X11. On windowing systems where requests are
 handled synchronously, this function will do nothing.
</p></div></div><div class="top"><p class="src"><a name="v:displayFlush" class="def">displayFlush</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayFlush" class="link">Source</a></p><div class="doc"><p>Flushes any requests queued for the windowing system; this happens
 automatically when the main loop blocks waiting for new events, but if your
 application is drawing without returning control to the main loop, you may
 need to call this function explicitely. A common case where this function
 needs to be called is when an application is executing drawing commands from
 a thread other than the thread where the main loop is running.
</p><p>This is most useful for X11. On windowing systems where requests are
 handled synchronously, this function will do nothing.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayClose" class="def">displayClose</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:Display">Display</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><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayClose" class="link">Source</a></p><div class="doc"><p>Closes the connection to the windowing system for the given display, and
 cleans up associated resources.
</p></div></div><div class="top"><p class="src"><a name="v:displayListDevices" class="def">displayListDevices</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayListDevices" 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-Display.html#t:Display">Display</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> [Device]</td><td class="doc"><p>returns a list of <code>Device</code>
</p></td></tr></table></div><div class="doc"><p>Returns the list of available input devices attached to <code>display</code>.
</p></div></div><div class="top"><p class="src"><a name="v:displaySetDoubleClickTime" class="def">displaySetDoubleClickTime</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySetDoubleClickTime" 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-Display.html#t:Display">Display</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/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>msec</code> - double click time in milliseconds (thousandths of a
 second)
</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>Sets the double click time (two clicks within this time interval count as
 a double click and result in an <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:eventButton">eventButton</a></code> where <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:eventClick">eventClick</a></code> is
 <code><a href="Graphics-UI-Gtk-General-Enums.html#v:DoubleClick">DoubleClick</a></code>). Applications should <em>not</em> set this, it is a global
 user-configured setting.
</p></div></div><div class="top"><p class="src"><a name="v:displaySetDoubleClickDistance" class="def">displaySetDoubleClickDistance</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySetDoubleClickDistance" 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-Display.html#t:Display">Display</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/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>distance</code> - distance in pixels
</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>Sets the double click distance (two clicks within this distance count as
 a double click and result in an <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:eventButton">eventButton</a></code> where <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#v:eventClick">eventClick</a></code> is
 <code><a href="Graphics-UI-Gtk-General-Enums.html#v:DoubleClick">DoubleClick</a></code>). See also <code><a href="Graphics-UI-Gtk-Gdk-Display.html#v:displaySetDoubleClickTime">displaySetDoubleClickTime</a></code>. Applications should
 <em>not</em> set this, it is a global user-configured setting.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayGetPointer" class="def">displayGetPointer</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetPointer" 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-Display.html#t:Display">Display</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="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a>, [<a href="Graphics-UI-Gtk-General-Enums.html#t:Modifier">Modifier</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"><p><code>(s, m, x, y)</code> - the screen <code>s</code>, the modifier mask <code>m</code> and the <code>x</code> and
 <code>y</code> coordinates of the pointer
</p></td></tr></table></div><div class="doc"><p>Gets the current location of the pointer and the current modifier mask
 for a given display.
</p></div></div><div class="top"><p class="src"><a name="v:displayGetWindowAtPointer" class="def">displayGetWindowAtPointer</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetWindowAtPointer" 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-Display.html#t:Display">Display</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-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>))</td><td class="doc"><p><code>(screen, winX, winY)</code> returns the window under the mouse
 pointer, or <code>Nothing</code>. The <code>winX</code> and <code>winY</code> denote the pointer location
 relative to the window origin
</p></td></tr></table></div><div class="doc"><p>Obtains the window underneath the mouse pointer, returning the location
 of the pointer in that window in <code>winX</code>, <code>winY</code> for <code>screen</code>. Returns
 <code>Nothing</code> if
 the window under the mouse pointer is not known to GDK (for example, belongs
 to another application).
</p></div></div><div class="top"><p class="src"><a name="v:displayWarpPointer" class="def">displayWarpPointer</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayWarpPointer" 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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Screen.html#t:Screen">Screen</a></td><td class="doc"><p><code>screen</code> - the screen of <code>display</code> to warp the pointer to
</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>x</code> - the x coordinate of the destination
</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> - the y coordinate of the destination
</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>Moves the pointer of <code>display</code> to the point <code>x</code>,<code>y</code> on the screen
 <code>screen</code>, unless the pointer is confined to a window by a grab, in which
 case it will be moved as far as allowed by the grab. Warping the pointer
 creates events as if the user had moved the mouse instantaneously to the
 destination.
</p><p>Note that the pointer should normally be under the control of the user.
 This function was added to cover some rare use cases like keyboard
 navigation support for the color picker in the <code><a href="Graphics-UI-Gtk-Selectors-ColorSelectionDialog.html#t:ColorSelectionDialog">ColorSelectionDialog</a></code>.
</p><ul><li> Available since Gdk version 2.8
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsCursorColor" class="def">displaySupportsCursorColor</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsCursorColor" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether cursors can have multiple colors.
</p></td></tr></table></div><div class="doc"><p>Returns <code>True</code> if multicolored cursors are supported on <code>display</code>.
 Otherwise, cursors have only a forground and a background color.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsCursorAlpha" class="def">displaySupportsCursorAlpha</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsCursorAlpha" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether cursors can have alpha channels.
</p></td></tr></table></div><div class="doc"><p>Returns <code>True</code> if cursors can use an 8bit alpha channel on <code>display</code>.
 Otherwise, cursors are restricted to bilevel alpha (i.e. a mask).
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayGetDefaultCursorSize" class="def">displayGetDefaultCursorSize</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetDefaultCursorSize" 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-Display.html#t:Display">Display</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></td><td class="doc"><p>returns the default cursor size.
</p></td></tr></table></div><div class="doc"><p>Returns the default size to use for cursors on <code>display</code>.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayGetMaximalCursorSize" class="def">displayGetMaximalCursorSize</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetMaximalCursorSize" 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-Display.html#t:Display">Display</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"><p><code>(width, height)</code>
 maximal <code>width</code> and <code>height</code> of the cursor
</p></td></tr></table></div><div class="doc"><p>Gets the maximal size to use for cursors on <code>display</code>.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayGetDefaultGroup" class="def">displayGetDefaultGroup</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayGetDefaultGroup" 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-Display.html#t:Display">Display</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="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc"><p>returns The default group leader window for <code>display</code>
</p></td></tr></table></div><div class="doc"><p>Returns the default group leader window for all toplevel windows on
 <code>display</code>. This window is implicitly created by GDK. See <code>windowSetGroup</code>.
</p><ul><li> Available since Gdk version 2.4
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsSelectionNotification" class="def">displaySupportsSelectionNotification</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsSelectionNotification" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#t:EOwnerChange">EOwnerChange</a></code>
 events will be sent.
</p></td></tr></table></div><div class="doc"><p>Returns whether <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#t:EOwnerChange">EOwnerChange</a></code> events will be
 sent when the owner of a selection changes.
</p><ul><li> Available since Gdk version 2.6
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayRequestSelectionNotification" class="def">displayRequestSelectionNotification</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayRequestSelectionNotification" 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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-General-Selection.html#t:SelectionTag">SelectionTag</a></td><td class="doc"><p><code>selection</code> - the <code><a href="Graphics-UI-Gtk-General-Selection.html#t:Atom">Atom</a></code> naming
 the selection for which ownership change notification is
 requested
</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/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#t:EOwnerChange">EOwnerChange</a></code>
 events will be sent.
</p></td></tr></table></div><div class="doc"><p>Request <code><a href="Graphics-UI-Gtk-Gdk-EventM.html#t:EOwnerChange">EOwnerChange</a></code> events for ownership
 changes of the selection named by the given atom.
</p><ul><li> Available since Gdk version 2.6
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsClipboardPersistence" class="def">displaySupportsClipboardPersistence</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsClipboardPersistence" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the display supports clipboard persistance.
</p></td></tr></table></div><div class="doc"><p>Returns whether the speicifed display supports clipboard persistance;
 i.e. if it's possible to store the clipboard data after an application has
 quit. On X11 this checks if a clipboard daemon is running.
</p><ul><li> Available since Gdk version 2.6
</li></ul></div></div><div class="top"><p class="src"><a name="v:displayStoreClipboard" class="def">displayStoreClipboard</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayStoreClipboard" 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-Display.html#t:Display">Display</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></td><td class="doc"><p><code>clipboardWindow</code> - a <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code> belonging to
 the clipboard owner
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Word.html#t:Word32">Word32</a></td><td class="doc"><p><code>time</code> - a timestamp
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Graphics-UI-Gtk-General-Selection.html#t:TargetTag">TargetTag</a>]</td><td class="doc"><p><code>targets</code> - an array of targets that should be
 saved, or <code>Nothing</code> if all available
 targets should be saved.
</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>Issues a request to the clipboard manager to store the clipboard data. On
 X11, this is a special program that works according to the freedesktop
 clipboard specification, available at
 http://www.freedesktop.org/Standards/clipboard-manager-spec.
</p><ul><li> Available since Gdk version 2.6
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsShapes" class="def">displaySupportsShapes</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsShapes" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if shaped windows are supported
</p></td></tr></table></div><div class="doc"><p>Returns <code>True</code> if <code>windowShapeCombineMask</code> can be used to create shaped
 windows on <code>display</code>.
</p><ul><li> Available since Gdk version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsInputShapes" class="def">displaySupportsInputShapes</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsInputShapes" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if windows with modified input shape are
 supported
</p></td></tr></table></div><div class="doc"><p>Returns <code>True</code> if <code>windowInputShapeCombineMask</code> can be used to modify the
 input shape of windows on <code>display</code>.
</p><ul><li> Available since Gdk version 2.10
</li></ul></div></div><div class="top"><p class="src"><a name="v:displaySupportsComposite" class="def">displaySupportsComposite</a><a href="src/Graphics-UI-Gtk-Gdk-Display.html#displaySupportsComposite" 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-Display.html#t:Display">Display</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-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if windows may be composited.
</p></td></tr></table></div><div class="doc"><p>Returns <code>True</code> if <code>windowSetComposited</code> can be used to redirect drawing
 on the window using compositing.
</p><p>Currently this only works on X11 with XComposite and XDamage extensions
 available.
</p><ul><li> Available since Gdk version 2.12
</li></ul></div></div><h1 id="g:5">Signals
</h1><div class="top"><p class="src"><a name="v:displayClosed" class="def">displayClosed</a> :: <a href="Graphics-UI-Gtk-Gdk-Display.html#t:DisplayClass">DisplayClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/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>)<a href="src/Graphics-UI-Gtk-Gdk-Display.html#displayClosed" class="link">Source</a></p><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Gdk-Display.html#v:displayClosed">displayClosed</a></code> signal is emitted when the connection to the windowing
 system for <code>display</code> is closed.
</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>