15
15
<tr style="height: 56px;">
16
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">glibmm <span id="projectnumber">2.31.16</span></div>
17
<div id="projectname">glibmm <span id="projectnumber">2.31.18</span></div>
138
138
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of all of the applications currently registered on this system. <a href="#a21c3fa9bf0f708f3cf52ec38eb837c2e"></a><br/></td></tr>
139
139
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><br class="typebreak"/>
140
140
< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1AppInfo.html">AppInfo</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#a05bb9f05067d8469f2de981794a31302">get_all_for_type</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& content_type)</td></tr>
141
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of all AppInfos for a given content type. <a href="#a05bb9f05067d8469f2de981794a31302"></a><br/></td></tr>
141
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of all AppInfos for a given content type, including the recommended and fallback AppInfos. <a href="#a05bb9f05067d8469f2de981794a31302"></a><br/></td></tr>
142
142
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1AppInfo.html">AppInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#a42907d07abfa7e35e2f220436d3fcb72">get_default_for_type</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& content_type, bool must_support_uris=true)</td></tr>
143
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> that corresponds to a given content type. <a href="#a42907d07abfa7e35e2f220436d3fcb72"></a><br/></td></tr>
143
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> for a given content type. <a href="#a42907d07abfa7e35e2f220436d3fcb72"></a><br/></td></tr>
144
144
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1AppInfo.html">AppInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#ac278c0e445faed4288c6a719e059e0da">get_default_for_uri_scheme</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& uri_scheme)</td></tr>
145
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default application for launching applications using this URI scheme. <a href="#ac278c0e445faed4288c6a719e059e0da"></a><br/></td></tr>
145
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default application for handling URIs with the given URI scheme. <a href="#ac278c0e445faed4288c6a719e059e0da"></a><br/></td></tr>
146
146
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#a01913be6448947643c9de26bddd0659c">reset_type_associations</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& content_type)</td></tr>
147
147
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all changes to the type associations done by g_app_info_set_as_default_for_type(), g_app_info_set_as_default_for_extension(), g_app_info_add_supports_type() or g_app_info_remove_supports_type(). <a href="#a01913be6448947643c9de26bddd0659c"></a><br/></td></tr>
148
148
<tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#acf9d831fcddbf5626b1e1b9ff70c8598">launch_default_for_uri</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& uri, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1AppLaunchContext.html">AppLaunchContext</a> >& context)</td></tr>
377
377
<div class="memdoc">
379
<p>Gets a list of all AppInfos for a given content type. </p>
379
<p>Gets a list of all AppInfos for a given content type, including the recommended and fallback AppInfos. </p>
380
<p>See g_app_info_get_recommended_for_type() and g_app_info_get_fallback_for_type(). </p>
380
381
<dl><dt><b>Parameters:</b></dt><dd>
381
382
<table class="params">
382
383
<tr><td class="paramname">content_type</td><td>The content type to find a <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> for. </td></tr>
433
434
<div class="memdoc">
435
<p>Gets the <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> that corresponds to a given content type. </p>
436
<p>Gets the default <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> for a given content type. </p>
436
437
<dl><dt><b>Parameters:</b></dt><dd>
437
438
<table class="params">
438
439
<tr><td class="paramname">content_type</td><td>The content type to find a <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch them...">AppInfo</a> for. </td></tr>
460
461
<div class="memdoc">
462
<p>Gets the default application for launching applications using this URI scheme. </p>
463
<p>Gets the default application for handling URIs with the given URI scheme. </p>
463
464
<p>A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip". </p>
464
465
<dl><dt><b>Parameters:</b></dt><dd>
465
466
<table class="params">
524
525
<div class="memdoc">
526
527
<p>Gets the icon for the application. </p>
527
<dl class="return"><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for <em>appinfo</em>. </dd></dl>
528
<dl class="return"><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for <em>appinfo</em> or <code>0</code> if there is no default icon. </dd></dl>
543
544
<div class="memdoc">
545
546
<p>Gets the icon for the application. </p>
546
<dl class="return"><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for <em>appinfo</em>. </dd></dl>
547
<dl class="return"><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for <em>appinfo</em> or <code>0</code> if there is no default icon. </dd></dl>
752
753
<p>Passes <em>files</em> to the launched application as arguments, using the optional <em>launch_context</em> to get information about the details of the launcher (like what screen it is on). On error, <em>error</em> will be set accordingly.</p>
753
754
<p>To launch the application without arguments pass a <code>0</code> <em>files</em> list.</p>
754
755
<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>
755
<p>Some URIs can be changed when passed through a GFile (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 g_app_info_launch_uris() instead.</p>
756
<p>Some URIs can be changed when passed through a GFile (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 g_app_info_launch_uris() instead.</p>
757
<p>The launched application inherits the environment of the launching process, but it can be modified with g_app_launch_context_setenv() and g_app_launch_context_unsetenv().</p>
756
758
<p>On UNIX, this function sets the <envar>GIO_LAUNCHED_DESKTOP_FILE</envar> environment variable with the path of the launched desktop file and <envar>GIO_LAUNCHED_DESKTOP_FILE_PID</envar> to the process id of the launched process. This can be used to ignore <envar>GIO_LAUNCHED_DESKTOP_FILE</envar>, should it be inherited by further processes. The <envar>DISPLAY</envar> and <envar>DESKTOP_STARTUP_ID</envar> environment variables are also set, based on information provided in <em>launch_context</em>. </p>
757
759
<dl><dt><b>Parameters:</b></dt><dd>
758
760
<table class="params">
906
908
<div class="memdoc">
908
910
<p>Launches the application. </p>
909
<p>Passes <em>uris</em> to the launched application as arguments, using the optional <em>launch_context</em> to get information about the details of the launcher (like what screen it is on). On error, <em>error</em> will be set accordingly.</p>
910
<p>To lauch the application without arguments pass a <code>0</code> <em>uris</em> list.</p>
911
<p>This passes the <em>uris</em> to the launched application as arguments, using the optional <em>launch_context</em> to get information about the details of the launcher (like what screen it is on). On error, <em>error</em> will be set accordingly.</p>
912
<p>To launch the application without arguments pass a <code>0</code> <em>uris</em> list.</p>
911
913
<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>
912
914
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000033">Deprecated:</a></b></dt><dd>Use the method that takes an <a class="el" href="classGio_1_1AppLaunchContext.html" title="This is used to handle, for instance, startup notification and launching of the new application on th...">AppLaunchContext</a> </dd></dl>
913
915
<dl><dt><b>Parameters:</b></dt><dd>
966
968
<div class="memdoc">
968
970
<p>Launches the application. </p>
969
<p>Passes <em>uris</em> to the launched application as arguments, using the optional <em>launch_context</em> to get information about the details of the launcher (like what screen it is on). On error, <em>error</em> will be set accordingly.</p>
970
<p>To lauch the application without arguments pass a <code>0</code> <em>uris</em> list.</p>
971
<p>This passes the <em>uris</em> to the launched application as arguments, using the optional <em>launch_context</em> to get information about the details of the launcher (like what screen it is on). On error, <em>error</em> will be set accordingly.</p>
972
<p>To launch the application without arguments pass a <code>0</code> <em>uris</em> list.</p>
971
973
<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>
972
974
<dl><dt><b>Parameters:</b></dt><dd>
973
975
<table class="params">
1183
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 7 2012 10:24:14 for glibmm by 
1185
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 21 2012 15:17:58 for glibmm by 
1184
1186
<a href="http://www.doxygen.org/index.html">
1185
1187
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>