/usr/share/doc/libghc-gio-doc/html/System-GIO-File-AppInfo.html is in libghc-gio-doc 0.13.1.0-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <!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>System.GIO.File.AppInfo</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_System-GIO-File-AppInfo.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-GIO-File-AppInfo.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">gio-0.13.1.0: Binding to the GIO.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-devel@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>alpha</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.GIO.File.AppInfo</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Details</a></li><li><a href="#g:2">Types</a></li><li><a href="#g:3">Enums</a></li><li><a href="#g:4">Methods</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </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:AppInfo">AppInfo</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:AppInfoClass">AppInfoClass</a> o</li><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="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> o => <a href="#t:AppLaunchContextClass">AppLaunchContextClass</a> o</li><li class="src short"><span class="keyword">data</span> <a href="#t:AppInfoCreateFlags">AppInfoCreateFlags</a><ul class="subs"><li>= <a href="#v:AppInfoCreateNone">AppInfoCreateNone</a></li><li>| <a href="#v:AppInfoCreateNeedsTerminal">AppInfoCreateNeedsTerminal</a></li><li>| <a href="#v:AppInfoCreateSupportsUris">AppInfoCreateSupportsUris</a></li><li>| <a href="#v:AppInfoCreateSupportsStartupNotification">AppInfoCreateSupportsStartupNotification</a></li></ul></li><li class="src short"><a href="#v:appInfoCreateFromCommandline">appInfoCreateFromCommandline</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string -> [<a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></li><li class="src short"><a href="#v:appInfoDup">appInfoDup</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></li><li class="src short"><a href="#v:appInfoEqual">appInfoEqual</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> info1, <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> info2) => info1 -> info2 -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoGetId">appInfoGetId</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string)</li><li class="src short"><a href="#v:appInfoGetName">appInfoGetName</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:appInfoGetDisplayName">appInfoGetDisplayName</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string</li><li class="src short"><a href="#v:appInfoGetDescription">appInfoGetDescription</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:appInfoGetExecutable">appInfoGetExecutable</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string</li><li class="src short"><a href="#v:appInfoGetCommandline">appInfoGetCommandline</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:appInfoGetIcon">appInfoGetIcon</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a>)</li><li class="src short"><a href="#v:appInfoLaunch">appInfoLaunch</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> [<a href="System-GIO-File-File.html#t:File">File</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoSupportsFiles">appInfoSupportsFiles</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoSupportsUris">appInfoSupportsUris</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoLaunchUris">appInfoLaunchUris</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> [string] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoShouldShow">appInfoShouldShow</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoCanDelete">appInfoCanDelete</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoDelete">appInfoDelete</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoResetTypeAssociations">appInfoResetTypeAssociations</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoSetAsDefaultForType">appInfoSetAsDefaultForType</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoSetAsDefaultForExtension">appInfoSetAsDefaultForExtension</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoAddSupportsType">appInfoAddSupportsType</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoCanRemoveSupportsType">appInfoCanRemoveSupportsType</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:appInfoRemoveSupportsType">appInfoRemoveSupportsType</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appInfoGetAll">appInfoGetAll</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>]</li><li class="src short"><a href="#v:appInfoGetAllForType">appInfoGetAllForType</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>]</li><li class="src short"><a href="#v:appInfoGetDefaultForType">appInfoGetDefaultForType</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>)</li><li class="src short"><a href="#v:appInfoGetDefaultForUriScheme">appInfoGetDefaultForUriScheme</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>)</li><li class="src short"><a href="#v:appInfoLaunchDefaultForUri">appInfoLaunchDefaultForUri</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appLaunchContextGetDisplay">appLaunchContextGetDisplay</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> appinfo -> [<a href="System-GIO-File-File.html#t:File">File</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><a href="#v:appLaunchContextGetStartupNotifyId">appLaunchContextGetStartupNotifyId</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> appinfo -> [<a href="System-GIO-File-File.html#t:File">File</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string)</li><li class="src short"><a href="#v:appLaunchContextLaunchFailed">appLaunchContextLaunchFailed</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:appLaunchContextNew">appLaunchContextNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></li></ul></div><div id="interface"><h1 id="g:1">Details</h1><div class="doc"><p><code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> and <code><a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></code> are used for describing and launching applications installed on the
system.</p><p>As of GLib 2.20, URIs will always be converted to POSIX paths (using <code>fileGetPath</code> when using
<code><a href="System-GIO-File-AppInfo.html#v:appInfoLaunch">appInfoLaunch</a></code> even if the application requested an URI and not a POSIX path. For example for
an desktop-file based application with Exec key totem %U and a single URI, sftp:
<em>home</em>user<em>.gvfs</em>sftp on foo/file.avi will be passed. This will only work if a set of suitable GIO
extensions (such as gvfs 2.26 compiled with FUSE support), is available and operational; if this is
not the case, the URI will be passed unmodified to the application. Some URIs, such as mailto:, of
course cannot be mapped to a POSIX path (in gvfs there's no FUSE mount for it); such URIs will be
passed unmodified to the application.</p><p>Specifically for gvfs 2.26 and later, the POSIX URI will be mapped back to the GIO URI in the <code><a href="System-GIO-File-File.html#t:File">File</a></code>
constructors (since gvfs implements the GVfs extension point). As such, if the application needs to
examine the URI, it needs to use <code>fileGetUri</code> or similar on <code><a href="System-GIO-File-File.html#t:File">File</a></code>. In other words, an
application cannot assume that the URI passed to e.g. 'fileNewForCommandlineArg ' is equal to
the result of <code>fileGetUri</code>.</p></div><h1 id="g:2">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AppInfo" class="def">AppInfo</a> <a href="src/System-GIO-Types.html#AppInfo" class="link">Source</a></p><div class="subs instances"><p id="control.i:AppInfo" class="caption collapser" onclick="toggleSection('i:AppInfo')">Instances</p><div id="section.i:AppInfo" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></span> <a href="src/System-GIO-Types.html#line-868" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></span> <a href="src/System-GIO-Types.html#line-868" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></span> <a href="src/System-GIO-Types.html#line-878" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></span> <a href="src/System-GIO-Types.html#line-877" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a name="t:AppInfoClass" class="def">AppInfoClass</a> o <a href="src/System-GIO-Types.html#AppInfoClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:AppInfoClass" class="caption collapser" onclick="toggleSection('i:AppInfoClass')">Instances</p><div id="section.i:AppInfoClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></span> <a href="src/System-GIO-Types.html#line-877" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AppLaunchContext" class="def">AppLaunchContext</a> <a href="src/System-GIO-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 clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-798" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-798" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-809" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-GIO-File-AppInfo.html#t:AppLaunchContextClass">AppLaunchContextClass</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-807" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-808" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> o => <a name="t:AppLaunchContextClass" class="def">AppLaunchContextClass</a> o <a href="src/System-GIO-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 clearfix"><span class="inst-left"><a href="System-GIO-File-AppInfo.html#t:AppLaunchContextClass">AppLaunchContextClass</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-807" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><h1 id="g:3">Enums</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AppInfoCreateFlags" class="def">AppInfoCreateFlags</a> <a href="src/System-GIO-Enums.html#AppInfoCreateFlags" class="link">Source</a></p><div class="doc"><p>Flags used when creating a <code>AppInfo</code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AppInfoCreateNone" class="def">AppInfoCreateNone</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AppInfoCreateNeedsTerminal" class="def">AppInfoCreateNeedsTerminal</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AppInfoCreateSupportsUris" class="def">AppInfoCreateSupportsUris</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AppInfoCreateSupportsStartupNotification" class="def">AppInfoCreateSupportsStartupNotification</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:AppInfoCreateFlags" class="caption collapser" onclick="toggleSection('i:AppInfoCreateFlags')">Instances</p><div id="section.i:AppInfoCreateFlags" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-148" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-149" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-148" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-148" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-148" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Flags.html#t:Flags">Flags</a> <a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a></span> <a href="src/System-GIO-Enums.html#line-145" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><h1 id="g:4">Methods</h1><div class="top"><p class="src"><a name="v:appInfoCreateFromCommandline" class="def">appInfoCreateFromCommandline</a> <a href="src/System-GIO-File-AppInfo.html#appInfoCreateFromCommandline" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>commandline</code> the commandline to use</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p><code>applicationName</code> the application name, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> to use commandline</p></td></tr><tr><td class="src">-> [<a href="System-GIO-File-AppInfo.html#t:AppInfoCreateFlags">AppInfoCreateFlags</a>]</td><td class="doc"><p><code>flags</code> flags that can specify details of the created <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code></p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></td><td class="doc"><p>returns new <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> for given command.</p></td></tr></table></div><div class="doc"><p>Creates a new <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> from the given information.</p></div></div><div class="top"><p class="src"><a name="v:appInfoDup" class="def">appInfoDup</a> :: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a> <a href="src/System-GIO-File-AppInfo.html#appInfoDup" class="link">Source</a></p><div class="doc"><p>Creates a duplicate of a <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:appInfoEqual" class="def">appInfoEqual</a> <a href="src/System-GIO-File-AppInfo.html#appInfoEqual" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> info1, <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> info2)</td><td class="doc empty"> </td></tr><tr><td class="src">=> info1</td><td class="doc empty"> </td></tr><tr><td class="src">-> info2</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if appinfo1 is equal to appinfo2. <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if two <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s are equal.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetId" class="def">appInfoGetId</a> :: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) => appinfo -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string) <a href="src/System-GIO-File-AppInfo.html#appInfoGetId" class="link">Source</a></p><div class="doc"><p>Gets the ID of an application. An id is a string that identifies the application. The exact format
of the id is platform dependent. For instance, on Unix this is the desktop file id from the xdg menu
specification.</p><p>Note that the returned ID may be <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, depending on how the appinfo has been constructed.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetName" class="def">appInfoGetName</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetName" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></td><td class="doc"><p>returns the name of the application for appinfo.</p></td></tr></table></div><div class="doc"><p>Gets the installed name of the application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetDisplayName" class="def">appInfoGetDisplayName</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetDisplayName" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p>returns the display name of the application for appinfo, or the name if no display name is available.</p></td></tr></table></div><div class="doc"><p>Gets the installed name of the application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetDescription" class="def">appInfoGetDescription</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetDescription" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing a description of the application appinfo, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if none.</p></td></tr></table></div><div class="doc"><p>Gets a human-readable description of an installed application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetExecutable" class="def">appInfoGetExecutable</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetExecutable" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p>returns the executable of the application for appinfo.</p></td></tr></table></div><div class="doc"><p>Gets the executable's name for the installed application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetCommandline" class="def">appInfoGetCommandline</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetCommandline" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>returns a string containing the appinfo's commandline, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if this information is not available</p></td></tr></table></div><div class="doc"><p>Gets the commandline with which the application will be started.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetIcon" class="def">appInfoGetIcon</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetIcon" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a>)</td><td class="doc"><p>returns the default <code><a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a></code> for appinfo or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code></p></td></tr></table></div><div class="doc"><p>Gets the icon for the application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoLaunch" class="def">appInfoLaunch</a> <a href="src/System-GIO-File-AppInfo.html#appInfoLaunch" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> [<a href="System-GIO-File-File.html#t:File">File</a>]</td><td class="doc"><p><code>files</code> a list of <code><a href="System-GIO-File-File.html#t:File">File</a></code> objects</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc"><p><code>launchContext</code> a <code><a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></code> or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code></p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Launches the application. Passes files to the launched application as arguments, using the optional
<code>launchContext</code> to get information about the details of the launcher (like what screen it is on).
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs</p><p>To lauch the application without arguments pass a emtpy files list.</p><p>Note that even if the launch is successful the application launched can fail to start if it runs
into problems during startup. There is no way to detect this.</p><p>Some URIs can be changed when passed through a <code><a href="System-GIO-File-File.html#t:File">File</a></code> (for instance unsupported uris with strange
formats like mailto:), so if you have a textual uri you want to pass in as argument, consider using
<code><a href="System-GIO-File-AppInfo.html#v:appInfoLaunchUris">appInfoLaunchUris</a></code> instead.</p></div></div><div class="top"><p class="src"><a name="v:appInfoSupportsFiles" class="def">appInfoSupportsFiles</a> <a href="src/System-GIO-File-AppInfo.html#appInfoSupportsFiles" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if the appinfo supports files.</p></td></tr></table></div><div class="doc"><p>Checks if the application accepts files as arguments.</p></div></div><div class="top"><p class="src"><a name="v:appInfoSupportsUris" class="def">appInfoSupportsUris</a> <a href="src/System-GIO-File-AppInfo.html#appInfoSupportsUris" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if the appinfo supports uris.</p></td></tr></table></div><div class="doc"><p>Checks if the application accepts uris as arguments.</p></div></div><div class="top"><p class="src"><a name="v:appInfoLaunchUris" class="def">appInfoLaunchUris</a> <a href="src/System-GIO-File-AppInfo.html#appInfoLaunchUris" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> [string]</td><td class="doc"><p><code>uris</code> a list containing URIs to launch.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc"><p><code>launchContext</code> a <code><a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></code> or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code></p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Launches the application. Passes uris to the launched application as arguments, using the optional
<code>launchContext</code> to get information about the details of the launcher (like what screen it is on).
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p><p>To lauch the application without arguments pass a empty uris list.</p><p>Note that even if the launch is successful the application launched can fail to start if it runs
into problems during startup. There is no way to detect this.</p></div></div><div class="top"><p class="src"><a name="v:appInfoShouldShow" class="def">appInfoShouldShow</a> <a href="src/System-GIO-File-AppInfo.html#appInfoShouldShow" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if the appinfo should be shown, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if the application info should be shown in menus that list available applications.</p></div></div><div class="top"><p class="src"><a name="v:appInfoCanDelete" class="def">appInfoCanDelete</a> <a href="src/System-GIO-File-AppInfo.html#appInfoCanDelete" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if appinfo can be deleted</p></td></tr></table></div><div class="doc"><p>Obtains the information whether the <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> can be deleted. See <code><a href="System-GIO-File-AppInfo.html#v:appInfoDelete">appInfoDelete</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:appInfoDelete" class="def">appInfoDelete</a> <a href="src/System-GIO-File-AppInfo.html#appInfoDelete" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if appinfo has been deleted</p></td></tr></table></div><div class="doc"><p>Tries to delete a <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>.</p><p>On some platforms, there may be a difference between user-defined <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s which can be deleted,
and system-wide ones which cannot. See <code><a href="System-GIO-File-AppInfo.html#v:appInfoCanDelete">appInfoCanDelete</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:appInfoResetTypeAssociations" class="def">appInfoResetTypeAssociations</a> <a href="src/System-GIO-File-AppInfo.html#appInfoResetTypeAssociations" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>contentType</code> a content type</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Removes all changes to the type associations done by <code><a href="System-GIO-File-AppInfo.html#v:appInfoSetAsDefaultForType">appInfoSetAsDefaultForType</a></code>,
<code><a href="System-GIO-File-AppInfo.html#v:appInfoSetAsDefaultForExtension">appInfoSetAsDefaultForExtension</a></code> or
<code><a href="System-GIO-File-AppInfo.html#v:appInfoRemoveSupportsType">appInfoRemoveSupportsType</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:appInfoSetAsDefaultForType" class="def">appInfoSetAsDefaultForType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoSetAsDefaultForType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p><code>contentType</code> the content type.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the application as the default handler for a given type.
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p></div></div><div class="top"><p class="src"><a name="v:appInfoSetAsDefaultForExtension" class="def">appInfoSetAsDefaultForExtension</a> <a href="src/System-GIO-File-AppInfo.html#appInfoSetAsDefaultForExtension" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p><code>extension</code> a string containing the file extension (without the dot).</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the application as the default handler for a given extension.
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p></div></div><div class="top"><p class="src"><a name="v:appInfoAddSupportsType" class="def">appInfoAddSupportsType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoAddSupportsType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p><code>contentType</code> a string.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Adds a content type to the application information to indicate the application is capable of opening
files with the given content type.
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p></div></div><div class="top"><p class="src"><a name="v:appInfoCanRemoveSupportsType" class="def">appInfoCanRemoveSupportsType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoCanRemoveSupportsType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code> if it is possible to remove supported content types from a given appinfo, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:False">False</a></code> if not.</p></td></tr></table></div><div class="doc"><p>Checks if a supported content type can be removed from an application.</p></div></div><div class="top"><p class="src"><a name="v:appInfoRemoveSupportsType" class="def">appInfoRemoveSupportsType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoRemoveSupportsType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p><code>contentType</code> a string.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Removes a supported type from an application, if possible.
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetAll" class="def">appInfoGetAll</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>] <a href="src/System-GIO-File-AppInfo.html#appInfoGetAll" class="link">Source</a></p><div class="doc"><p>Gets a list of all of the applications currently registered on this system.</p><p>For desktop files, this includes applications that have NoDisplay=true set or are excluded from
display by means of OnlyShowIn or NotShowIn. See <code><a href="System-GIO-File-AppInfo.html#v:appInfoShouldShow">appInfoShouldShow</a></code>. The returned list does
not include applications which have the Hidden key set.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetAllForType" class="def">appInfoGetAllForType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetAllForType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>contentType</code> the content type to find a <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> for</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>]</td><td class="doc"><p>returns list of <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s for given <code>contentType</code> or <code>empty</code> on error.</p></td></tr></table></div><div class="doc"><p>Gets a list of all <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s for a given content type.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetDefaultForType" class="def">appInfoGetDefaultForType</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetDefaultForType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>contentType</code> the content type to find a <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> for</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>mustSupportUris</code> if <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code>, the <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> is expected to support URIs</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>)</td><td class="doc"><p>returns list of <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s for given <code>contentType</code> or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> on error.</p></td></tr></table></div><div class="doc"><p>Gets the <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code> that corresponds to a given content type.</p></div></div><div class="top"><p class="src"><a name="v:appInfoGetDefaultForUriScheme" class="def">appInfoGetDefaultForUriScheme</a> <a href="src/System-GIO-File-AppInfo.html#appInfoGetDefaultForUriScheme" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>uriScheme</code> a string containing a URI scheme.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a>)</td><td class="doc"><p>returns list of <code><a href="System-GIO-File-AppInfo.html#t:AppInfo">AppInfo</a></code>s for given <code>contentType</code> or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> on error.</p></td></tr></table></div><div class="doc"><p>Gets the default application for launching applications using this URI scheme. A URI scheme is the
initial part of the URI, up to but not including the <code>:</code>, e.g. "http", "ftp" or "sip".</p></div></div><div class="top"><p class="src"><a name="v:appInfoLaunchDefaultForUri" class="def">appInfoLaunchDefaultForUri</a> <a href="src/System-GIO-File-AppInfo.html#appInfoLaunchDefaultForUri" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p><code>uri</code> the uri to show</p></td></tr><tr><td class="src">-> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc"><p><code>launchContext</code> an optional <code><a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></code>.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Utility function that launches the default application registered to handle the specified
uri. Synchronous I/O is done on the uri to detect the type of the file if required.
Throws a <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GError">GError</a></code> if an error occurs.</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextGetDisplay" class="def">appLaunchContextGetDisplay</a> <a href="src/System-GIO-File-AppInfo.html#appLaunchContextGetDisplay" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> [<a href="System-GIO-File-File.html#t:File">File</a>]</td><td class="doc"><p><code>files</code> a list of <code><a href="System-GIO-File-File.html#t:File">File</a></code> objects</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> string</td><td class="doc"><p>returns a display string for the display.</p></td></tr></table></div><div class="doc"><p>Gets the display string for the display. This is used to ensure new applications are started on the
same display as the launching application.</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextGetStartupNotifyId" class="def">appLaunchContextGetStartupNotifyId</a> <a href="src/System-GIO-File-AppInfo.html#appLaunchContextGetStartupNotifyId" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-AppInfo.html#t:AppInfoClass">AppInfoClass</a> appinfo, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> appinfo</td><td class="doc empty"> </td></tr><tr><td class="src">-> [<a href="System-GIO-File-File.html#t:File">File</a>]</td><td class="doc"><p><code>files</code> a list of <code><a href="System-GIO-File-File.html#t:File">File</a></code> objects</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> string)</td><td class="doc"><p>returns a startup notification ID for the application, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if not supported.</p></td></tr></table></div><div class="doc"><p>Initiates startup notification for the application and returns the DesktopStartupId for the
launched operation, if supported.</p><p>Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard.</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextLaunchFailed" class="def">appLaunchContextLaunchFailed</a> <a href="src/System-GIO-File-AppInfo.html#appLaunchContextLaunchFailed" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> string</td><td class="doc"><p><code>startupNotifyId</code> the startup notification id that was returned by <code><a href="System-GIO-File-AppInfo.html#v:appLaunchContextGetStartupNotifyId">appLaunchContextGetStartupNotifyId</a></code>.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Called when an application has failed to launch, so that it can cancel the application startup
notification started in <code><a href="System-GIO-File-AppInfo.html#v:appLaunchContextGetStartupNotifyId">appLaunchContextGetStartupNotifyId</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:appLaunchContextNew" class="def">appLaunchContextNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a> <a href="src/System-GIO-File-AppInfo.html#appLaunchContextNew" class="link">Source</a></p><div class="doc"><p>Creates a new application launch context. This is not normally used, instead you instantiate a
subclass of this, such as <code><a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|