Sophie

Sophie

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

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.AppLaunchContext</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-AppLaunchContext.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-AppLaunchContext.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.AppLaunchContext</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Types
</a></li><li><a href="#g:2">Constructors
</a></li><li><a href="#g:3">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</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:AppLaunchContext">AppLaunchContext</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:AppLaunchContextClass">AppLaunchContextClass</a> o </li><li class="src short"><a href="#v:castToAppLaunchContext">castToAppLaunchContext</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></li><li class="src short"><a href="#v:gTypeAppLaunchContext">gTypeAppLaunchContext</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toAppLaunchContext">toAppLaunchContext</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContextClass">AppLaunchContextClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></li><li class="src short"><a href="#v:appLaunchContextNew">appLaunchContextNew</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></li><li class="src short"><a href="#v:appLaunchContextSetDisplay">appLaunchContextSetDisplay</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; <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:appLaunchContextSetScreen">appLaunchContextSetScreen</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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/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:appLaunchContextSetDesktop">appLaunchContextSetDesktop</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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:appLaunchContextSetTimestamp">appLaunchContextSetTimestamp</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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:appLaunchContextSetIconName">appLaunchContextSetIconName</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; <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/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:appLaunchContextSetIcon">appLaunchContextSetIcon</a> :: <a href="/usr/share/doc/ghc/html/libraries/gio-0.12.0/System-GIO-Icons-Icon.html#t:IconClass">IconClass</a> icon =&gt; <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; icon -&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">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:AppLaunchContext" class="def">AppLaunchContext</a>  <a href="src/Graphics-UI-Gtk-Types.html#AppLaunchContext" class="link">Source</a></p><div class="subs instances"><p id="control.i:AppLaunchContext" class="caption collapser" onclick="toggleSection('i:AppLaunchContext')">Instances</p><div id="section.i:AppLaunchContext" 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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContextClass">AppLaunchContextClass</a> <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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:AppLaunchContextClass" class="def">AppLaunchContextClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#AppLaunchContextClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:AppLaunchContextClass" class="caption collapser" onclick="toggleSection('i:AppLaunchContextClass')">Instances</p><div id="section.i:AppLaunchContextClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContextClass">AppLaunchContextClass</a> <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToAppLaunchContext" class="def">castToAppLaunchContext</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a><a href="src/Graphics-UI-Gtk-Types.html#castToAppLaunchContext" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeAppLaunchContext" class="def">gTypeAppLaunchContext</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeAppLaunchContext" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toAppLaunchContext" class="def">toAppLaunchContext</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContextClass">AppLaunchContextClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a><a href="src/Graphics-UI-Gtk-Types.html#toAppLaunchContext" class="link">Source</a></p></div><h1 id="g:2">Constructors
</h1><div class="top"><p class="src"><a name="v:appLaunchContextNew" class="def">appLaunchContextNew</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-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a><a href="src/Graphics-UI-Gtk-Gdk-AppLaunchContext.html#appLaunchContextNew" class="link">Source</a></p><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a></code>.
</p></div></div><h1 id="g:3">Methods
</h1><div class="top"><p class="src"><a name="v:appLaunchContextSetDisplay" class="def">appLaunchContextSetDisplay</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; <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-AppLaunchContext.html#appLaunchContextSetDisplay" class="link">Source</a></p><div class="doc"><p>Sets the display on which applications will be launched when using this context. See also
 <code><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#v:appLaunchContextSetScreen">appLaunchContextSetScreen</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextSetScreen" class="def">appLaunchContextSetScreen</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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/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-AppLaunchContext.html#appLaunchContextSetScreen" class="link">Source</a></p><div class="doc"><p>Sets the screen on which applications will be launched when using this context. See also
 <code><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#v:appLaunchContextSetDisplay">appLaunchContextSetDisplay</a></code>.
</p><p>If both screen and display are set, the screen takes priority. If neither screen or display are set,
 the default screen and display are used.
</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextSetDesktop" class="def">appLaunchContextSetDesktop</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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><a href="src/Graphics-UI-Gtk-Gdk-AppLaunchContext.html#appLaunchContextSetDesktop" class="link">Source</a></p><div class="doc"><p>Sets the workspace on which applications will be launched when using this context when running under
 a window manager that supports multiple workspaces, as described in the Extended Window Manager
 Hints.
</p><p>When the workspace is not specified or desktop is set to -1, it is up to the window manager to pick
 one, typically it will be the current workspace.
</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextSetTimestamp" class="def">appLaunchContextSetTimestamp</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</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><a href="src/Graphics-UI-Gtk-Gdk-AppLaunchContext.html#appLaunchContextSetTimestamp" class="link">Source</a></p><div class="doc"><p>Sets the timestamp of context. The timestamp should ideally be taken from the event that triggered
 the launch.
</p><p>Window managers can use this information to avoid moving the focus to the newly launched application
 when the user is busy typing in another window. This is also known as 'focus stealing prevention'.
</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextSetIconName" class="def">appLaunchContextSetIconName</a> :: <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; <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/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Gdk-AppLaunchContext.html#appLaunchContextSetIconName" class="link">Source</a></p><div class="doc"><p>Sets the icon for applications that are launched with this context. The <code>iconName</code> will be
 interpreted in the same way as the Icon field in desktop files. See also
 <code><a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#v:appLaunchContextSetIcon">appLaunchContextSetIcon</a></code>.
</p><p>If both icon and <code>iconName</code> are set, the <code>iconName</code> takes priority. If neither icon or <code>iconName</code> is
 set, the icon is taken from either the file that is passed to launched application or from the
 GAppInfo for the launched application itself.
</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextSetIcon" class="def">appLaunchContextSetIcon</a> :: <a href="/usr/share/doc/ghc/html/libraries/gio-0.12.0/System-GIO-Icons-Icon.html#t:IconClass">IconClass</a> icon =&gt; <a href="Graphics-UI-Gtk-Gdk-AppLaunchContext.html#t:AppLaunchContext">AppLaunchContext</a> -&gt; icon -&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-AppLaunchContext.html#appLaunchContextSetIcon" class="link">Source</a></p><div class="doc"><p>Sets the icon for applications that are launched with this context.
</p><p>Window Managers can use this information when displaying startup notification.
</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>