<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>glibmm 2.4: Gio::AppInfo Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html">glibmm Namespaces</a> <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="nav"> <a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a></div> <h1>Gio::AppInfo Class Reference</h1><!-- doxytag: class="Gio::AppInfo" --><!-- doxytag: inherits="Glib::Interface" -->Application information, to describe applications installed on the system, and launch them. <a href="#_details">More...</a> <p> <div class="dynheader"> Inheritance diagram for Gio::AppInfo:</div> <div class="dynsection"> <p><center><img src="classGio_1_1AppInfo__inherit__graph.png" border="0" usemap="#Gio_1_1AppInfo__inherit__map" alt="Inheritance graph"></center> <map name="Gio_1_1AppInfo__inherit__map"> <area shape="rect" href="classGio_1_1DesktopAppInfo.html" title="DesktopAppInfo is an implementation of AppInfo based on desktop files." alt="" coords="5,316,160,343"><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="27,161,139,188"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="20,84,145,111"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="27,7,139,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classGio_1_1AppInfo-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#cf86d510216c430be4735d1f7b13113e">~AppInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GAppInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#b31e9bca0208159f0be42227397b8a94">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#b31e9bca0208159f0be42227397b8a94"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GAppInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#5e52c62432a61c5380bd5dc553898251">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#5e52c62432a61c5380bd5dc553898251"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#1803e87dccb051f4fe69cb10277c6c2e">equal</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>>& other) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if two AppInfos are equal. <a href="#1803e87dccb051f4fe69cb10277c6c2e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#3d929d82e4d7ae91f4d8904f91e7a1c4">get_id</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the ID of an application. <a href="#3d929d82e4d7ae91f4d8904f91e7a1c4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#450c7e5a59919a66f73133749c318987">get_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the installed name of the application. <a href="#450c7e5a59919a66f73133749c318987"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#f7d89372dcf32cc6c25a9545a4ccffa0">get_description</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a human-readable description of an installed application. <a href="#f7d89372dcf32cc6c25a9545a4ccffa0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#06a665d4d812adb2eeb5c05d4c91c266">get_executable</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the executable's name for the installed application. <a href="#06a665d4d812adb2eeb5c05d4c91c266"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Icon.html">Icon</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#35a0c2c10ee787cc5d1d4ac7773bab0d">get_icon</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the icon for the application. <a href="#35a0c2c10ee787cc5d1d4ac7773bab0d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <const <a class="el" href="classGio_1_1Icon.html">Icon</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#16fe789da6c7f5c8c023255b2faff226">get_icon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the icon for the application. <a href="#16fe789da6c7f5c8c023255b2faff226"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#4d5096988eea54e06832325276a78f2a">launch</a> (const <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>>& files, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppLaunchContext.html">AppLaunchContext</a>>& launch_context)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Launches the application. <a href="#4d5096988eea54e06832325276a78f2a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#8bb534c3834b17ff80edb046ba78250e">supports_uris</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the application supports reading files and directories from URIs. <a href="#8bb534c3834b17ff80edb046ba78250e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#6ba8d06c3f3d99f907ae1aadbd8b24da">supports_files</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the application accepts files as arguments. <a href="#6ba8d06c3f3d99f907ae1aadbd8b24da"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#23a6ee89635a2b24468c73f137ad8de4">launch_uris</a> (const <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>>& uris, GAppLaunchContext* launch_context)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Launches the application. <a href="#23a6ee89635a2b24468c73f137ad8de4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#7b374a9120926615fc7454afab6452e4">should_show</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the application info should be shown in menus that list available applications. <a href="#7b374a9120926615fc7454afab6452e4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#59cefa47ef35940d5c0b74a396728808">set_as_default_for_type</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& content_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the application as the default handler for a given type. <a href="#59cefa47ef35940d5c0b74a396728808"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#33b6e19f73a30f1dde7913282aa20aeb">set_as_default_for_extension</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& extension)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the application as the default handler for the given file extention. <a href="#33b6e19f73a30f1dde7913282aa20aeb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#0dedbcba19457176114948c80efdfbe4">add_supports_type</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& content_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a content type to the application information to indicate the application is capable of opening files with the given content type. <a href="#0dedbcba19457176114948c80efdfbe4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#150146aaba23bfa208d5c7100d986ee9">can_remove_supports_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a supported content type can be removed from an application. <a href="#150146aaba23bfa208d5c7100d986ee9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#a1e9856c39e12c5ad1770299e391b6c0">remove_supports_type</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& content_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a supported type from an application, if possible. <a href="#a1e9856c39e12c5ad1770299e391b6c0"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#12bbf2ad90f8915f46c3a49b6354e8ec">add_interface</a> (GType gtype_implementer)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#c77db461b3142c9459c8c1a211672bf9">create_from_commandline</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& commandline, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& application_name, <a class="el" href="group__giommEnums.html#ge39c1e25f40a070e1720470758a55344">AppInfoCreateFlags</a> flags)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <br> <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><br> < <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a> >> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#1514d0ba69ae7efa789d0b4e49c79d6d">get_all</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <br> <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><br> < <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a> >> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#9dc9be6b557eef6aafa4b1ae428c3d0e">get_all_for_type</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& content_type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#42907d07abfa7e35e2f220436d3fcb72">get_default_for_type</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& content_type, bool must_support_uris=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#c278c0e445faed4288c6a719e059e0da">get_default_for_uri_scheme</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& uri_scheme)</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1AppInfo.html">Gio::AppInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1AppInfo.html#074ab0526fd01e5ee2daf2c81c17f552">wrap</a> (GAppInfo* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#074ab0526fd01e5ee2daf2c81c17f552"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Application information, to describe applications installed on the system, and launch them. <p> See also <a class="el" href="classGio_1_1AppLaunchContext.html" title="This is used to handle, for instance, startup notification and launching of the new...">AppLaunchContext</a>.<p> <dl compact><dt><b><a class="el" href="newin2p16s.html#_newin2p16s000010">Since glibmm 2.16:</a></b></dt><dd></dd></dl> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="cf86d510216c430be4735d1f7b13113e"></a><!-- doxytag: member="Gio::AppInfo::~AppInfo" ref="cf86d510216c430be4735d1f7b13113e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gio::AppInfo::~AppInfo </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="12bbf2ad90f8915f46c3a49b6354e8ec"></a><!-- doxytag: member="Gio::AppInfo::add_interface" ref="12bbf2ad90f8915f46c3a49b6354e8ec" args="(GType gtype_implementer)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void Gio::AppInfo::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"> <em>gtype_implementer</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b31e9bca0208159f0be42227397b8a94"></a><!-- doxytag: member="Gio::AppInfo::gobj" ref="b31e9bca0208159f0be42227397b8a94" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GAppInfo* Gio::AppInfo::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p> <p>Reimplemented in <a class="el" href="classGio_1_1DesktopAppInfo.html#3098e225a5b79ac496941ae2ab804c0c">Gio::DesktopAppInfo</a>.</p> </div> </div><p> <a class="anchor" name="5e52c62432a61c5380bd5dc553898251"></a><!-- doxytag: member="Gio::AppInfo::gobj" ref="5e52c62432a61c5380bd5dc553898251" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GAppInfo* Gio::AppInfo::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p> <p>Reimplemented in <a class="el" href="classGio_1_1DesktopAppInfo.html#f6f5698a7fd78187bac77556ac54622f">Gio::DesktopAppInfo</a>.</p> </div> </div><p> <a class="anchor" name="c77db461b3142c9459c8c1a211672bf9"></a><!-- doxytag: member="Gio::AppInfo::create_from_commandline" ref="c77db461b3142c9459c8c1a211672bf9" args="(const std::string &commandline, const std::string &application_name, AppInfoCreateFlags flags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> Gio::AppInfo::create_from_commandline </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>commandline</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>application_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__giommEnums.html#ge39c1e25f40a070e1720470758a55344">AppInfoCreateFlags</a> </td> <td class="paramname"> <em>flags</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1803e87dccb051f4fe69cb10277c6c2e"></a><!-- doxytag: member="Gio::AppInfo::equal" ref="1803e87dccb051f4fe69cb10277c6c2e" args="(const Glib::RefPtr< AppInfo > &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::equal </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>>& </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if two AppInfos are equal. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>appinfo2</em> </td><td>The second <a class="el" href="classGio_1_1AppInfo.html" title="Application information, to describe applications installed on the system, and launch...">AppInfo</a>. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>appinfo1</em> is equal to <em>appinfo2</em>. <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="3d929d82e4d7ae91f4d8904f91e7a1c4"></a><!-- doxytag: member="Gio::AppInfo::get_id" ref="3d929d82e4d7ae91f4d8904f91e7a1c4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> Gio::AppInfo::get_id </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the ID of an application. <p> 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> Note that the returned ID may be <code>0</code>, depending on how the <em>appinfo</em> has been constructed. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the application's ID. </dd></dl> </div> </div><p> <a class="anchor" name="450c7e5a59919a66f73133749c318987"></a><!-- doxytag: member="Gio::AppInfo::get_name" ref="450c7e5a59919a66f73133749c318987" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> Gio::AppInfo::get_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the installed name of the application. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The name of the application for <em>appinfo</em>. </dd></dl> </div> </div><p> <a class="anchor" name="f7d89372dcf32cc6c25a9545a4ccffa0"></a><!-- doxytag: member="Gio::AppInfo::get_description" ref="f7d89372dcf32cc6c25a9545a4ccffa0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> Gio::AppInfo::get_description </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a human-readable description of an installed application. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing a description of the application <em>appinfo</em>, or <code>0</code> if none. </dd></dl> </div> </div><p> <a class="anchor" name="06a665d4d812adb2eeb5c05d4c91c266"></a><!-- doxytag: member="Gio::AppInfo::get_executable" ref="06a665d4d812adb2eeb5c05d4c91c266" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> Gio::AppInfo::get_executable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the executable's name for the installed application. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the <em>appinfo's</em> application binary's name. </dd></dl> </div> </div><p> <a class="anchor" name="35a0c2c10ee787cc5d1d4ac7773bab0d"></a><!-- doxytag: member="Gio::AppInfo::get_icon" ref="35a0c2c10ee787cc5d1d4ac7773bab0d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Icon.html">Icon</a>> Gio::AppInfo::get_icon </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the icon for the application. <p> <dl class="return" compact><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> </div> </div><p> <a class="anchor" name="16fe789da6c7f5c8c023255b2faff226"></a><!-- doxytag: member="Gio::AppInfo::get_icon" ref="16fe789da6c7f5c8c023255b2faff226" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGio_1_1Icon.html">Icon</a>> Gio::AppInfo::get_icon </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the icon for the application. <p> <dl class="return" compact><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> </div> </div><p> <a class="anchor" name="4d5096988eea54e06832325276a78f2a"></a><!-- doxytag: member="Gio::AppInfo::launch" ref="4d5096988eea54e06832325276a78f2a" args="(const Glib::ListHandle< std::string > &files, const Glib::RefPtr< AppLaunchContext > &launch_context)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::launch </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>>& </td> <td class="paramname"> <em>files</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppLaunchContext.html">AppLaunchContext</a>>& </td> <td class="paramname"> <em>launch_context</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Launches the application. <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> To lauch the application without arguments pass a <code>0</code> <em>files</em> list.<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> 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. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>files</em> </td><td>A List of <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a> objects. </td></tr> <tr><td valign="top"></td><td valign="top"><em>launch_context</em> </td><td>A <a class="el" href="classGio_1_1AppLaunchContext.html" title="This is used to handle, for instance, startup notification and launching of the new...">AppLaunchContext</a>. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on successful launch, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="8bb534c3834b17ff80edb046ba78250e"></a><!-- doxytag: member="Gio::AppInfo::supports_uris" ref="8bb534c3834b17ff80edb046ba78250e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::supports_uris </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if the application supports reading files and directories from URIs. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>appinfo</em> supports URIs. </dd></dl> </div> </div><p> <a class="anchor" name="6ba8d06c3f3d99f907ae1aadbd8b24da"></a><!-- doxytag: member="Gio::AppInfo::supports_files" ref="6ba8d06c3f3d99f907ae1aadbd8b24da" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::supports_files </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if the application accepts files as arguments. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>appinfo</em> supports files. </dd></dl> </div> </div><p> <a class="anchor" name="23a6ee89635a2b24468c73f137ad8de4"></a><!-- doxytag: member="Gio::AppInfo::launch_uris" ref="23a6ee89635a2b24468c73f137ad8de4" args="(const Glib::ListHandle< std::string > &uris, GAppLaunchContext *launch_context)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::launch_uris </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>>& </td> <td class="paramname"> <em>uris</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">GAppLaunchContext * </td> <td class="paramname"> <em>launch_context</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Launches the application. <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> To lauch the application without arguments pass a <code>0</code> <em>uris</em> list.<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. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>uris</em> </td><td>A List containing URIs to launch. </td></tr> <tr><td valign="top"></td><td valign="top"><em>launch_context</em> </td><td>A <a class="el" href="classGio_1_1AppLaunchContext.html" title="This is used to handle, for instance, startup notification and launching of the new...">AppLaunchContext</a>. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on successful launch, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="7b374a9120926615fc7454afab6452e4"></a><!-- doxytag: member="Gio::AppInfo::should_show" ref="7b374a9120926615fc7454afab6452e4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::should_show </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if the application info should be shown in menus that list available applications. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>appinfo</em> should be shown, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="59cefa47ef35940d5c0b74a396728808"></a><!-- doxytag: member="Gio::AppInfo::set_as_default_for_type" ref="59cefa47ef35940d5c0b74a396728808" args="(const std::string &content_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::set_as_default_for_type </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>content_type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the application as the default handler for a given type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>content_type</em> </td><td>The content type. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> on error. </dd></dl> </div> </div><p> <a class="anchor" name="33b6e19f73a30f1dde7913282aa20aeb"></a><!-- doxytag: member="Gio::AppInfo::set_as_default_for_extension" ref="33b6e19f73a30f1dde7913282aa20aeb" args="(const std::string &extension)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::set_as_default_for_extension </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>extension</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the application as the default handler for the given file extention. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>extension</em> </td><td>A string containing the file extension (without the dot). </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> on error. </dd></dl> </div> </div><p> <a class="anchor" name="0dedbcba19457176114948c80efdfbe4"></a><!-- doxytag: member="Gio::AppInfo::add_supports_type" ref="0dedbcba19457176114948c80efdfbe4" args="(const std::string &content_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::add_supports_type </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>content_type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a content type to the application information to indicate the application is capable of opening files with the given content type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>content_type</em> </td><td>A string. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> on error. </dd></dl> </div> </div><p> <a class="anchor" name="150146aaba23bfa208d5c7100d986ee9"></a><!-- doxytag: member="Gio::AppInfo::can_remove_supports_type" ref="150146aaba23bfa208d5c7100d986ee9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::can_remove_supports_type </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if a supported content type can be removed from an application. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if it is possible to remove supported content types from a given <em>appinfo</em>, <code>false</code> if not. </dd></dl> </div> </div><p> <a class="anchor" name="a1e9856c39e12c5ad1770299e391b6c0"></a><!-- doxytag: member="Gio::AppInfo::remove_supports_type" ref="a1e9856c39e12c5ad1770299e391b6c0" args="(const std::string &content_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::AppInfo::remove_supports_type </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>content_type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes a supported type from an application, if possible. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>content_type</em> </td><td>A string. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> on error. </dd></dl> </div> </div><p> <a class="anchor" name="1514d0ba69ae7efa789d0b4e49c79d6d"></a><!-- doxytag: member="Gio::AppInfo::get_all" ref="1514d0ba69ae7efa789d0b4e49c79d6d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>>> Gio::AppInfo::get_all </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9dc9be6b557eef6aafa4b1ae428c3d0e"></a><!-- doxytag: member="Gio::AppInfo::get_all_for_type" ref="9dc9be6b557eef6aafa4b1ae428c3d0e" args="(const std::string &content_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>>> Gio::AppInfo::get_all_for_type </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>content_type</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="42907d07abfa7e35e2f220436d3fcb72"></a><!-- doxytag: member="Gio::AppInfo::get_default_for_type" ref="42907d07abfa7e35e2f220436d3fcb72" args="(const std::string &content_type, bool must_support_uris=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> Gio::AppInfo::get_default_for_type </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>content_type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>must_support_uris</em> = <code>true</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="c278c0e445faed4288c6a719e059e0da"></a><!-- doxytag: member="Gio::AppInfo::get_default_for_uri_scheme" ref="c278c0e445faed4288c6a719e059e0da" args="(const std::string &uri_scheme)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">AppInfo</a>> Gio::AppInfo::get_default_for_uri_scheme </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>uri_scheme</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="074ab0526fd01e5ee2daf2c81c17f552"></a><!-- doxytag: member="Gio::AppInfo::wrap" ref="074ab0526fd01e5ee2daf2c81c17f552" args="(GAppInfo *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AppInfo.html">Gio::AppInfo</a>> wrap </td> <td>(</td> <td class="paramtype">GAppInfo * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="appinfo_8h.html">appinfo.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.3 © 1997-2001</small></address> </body> </html>