<!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/xhtml;charset=UTF-8"/> <title>gtkmm: Gtk::RecentInfo Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::RecentInfo Class Reference<div class="ingroups"><a class="el" href="group__RecentFiles.html">RecentFiles</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::RecentInfo" --> <p>Contains informations found when looking up an entry of the recently used files list. <a href="#_details">More...</a></p> <p><a href="classGtk_1_1RecentInfo-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#acf93d2d5bcdf29d3c668b2c8edfd6ab6">reference</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Increment the reference count for this object. <a href="#acf93d2d5bcdf29d3c668b2c8edfd6ab6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a62a3c68ccab74057eb4be1c75b2b1eef">unreference</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference count for this object. <a href="#a62a3c68ccab74057eb4be1c75b2b1eef"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ad851411db952b2041bcc1dec5c09037a">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ad851411db952b2041bcc1dec5c09037a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af42f9236d765e719935910b9dc118bff">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af42f9236d765e719935910b9dc118bff"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a4d0c33979f8e2b016943317c00ba38d8">gobj_copy</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a4d0c33979f8e2b016943317c00ba38d8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a84e62b097a18226a082970ff322dedb0">operator bool</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">RecentInfo</a> is valid. <a href="#a84e62b097a18226a082970ff322dedb0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af9dd0f3d9fbb4a5788b0260c4429ee3a">get_uri</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the URI of the resource. <a href="#af9dd0f3d9fbb4a5788b0260c4429ee3a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae8f88d8b7fe964f359ec195a7fc9a408">get_display_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the resource. <a href="#ae8f88d8b7fe964f359ec195a7fc9a408"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae7fa1a813557a0ce7ddb6103d4baf094">get_description</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the (short) description of the resource. <a href="#ae7fa1a813557a0ce7ddb6103d4baf094"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ac712350fd1af96290b7c81b61cd7b30f">get_mime_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the MIME type of the resource. <a href="#ac712350fd1af96290b7c81b61cd7b30f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a38dd9b85a2d7fa0c5b7eabf2f6681f84">get_added</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list. <a href="#a38dd9b85a2d7fa0c5b7eabf2f6681f84"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#afd9426a6e1205591bf5d37c971bf544a">get_modified</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was last modified. <a href="#afd9426a6e1205591bf5d37c971bf544a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af915596f880ccd9ca3f3c523bdef4cba">get_visited</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was last visited. <a href="#af915596f880ccd9ca3f3c523bdef4cba"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#aeed18c1b521d9eb323c522698c68e85e">get_private_hint</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of the "private" flag. <a href="#aeed18c1b521d9eb323c522698c68e85e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ace1cad7c51263996e47305c6a2f765c7">get_application_info</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& app_name, <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& app_exec, guint&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01182.html#ga81511cd7112567fa262b05bb22e69874">count</a>, time_t& time_) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the data regarding the application that has registered the resource pointed by <em>info</em>. <a href="#ace1cad7c51263996e47305c6a2f765c7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a16a8090d8cf43d6831423dd6911f1f8a">get_applications</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of applications that have registered this resource. <a href="#a16a8090d8cf43d6831423dd6911f1f8a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae9d878b4cc91eed65d989ccb16f7a34f">last_application</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the last application that have registered the recently used resource represented by <em>info</em>. <a href="#ae9d878b4cc91eed65d989ccb16f7a34f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#aedabc0699402a800689727b5736f4523">has_application</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& app_name) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether an application registered this resource using <em>app_name</em>. <a href="#aedabc0699402a800689727b5736f4523"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a0a0d68f57cf8eedfda60fe1ba7c332dc">get_groups</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns all groups registered for the recently used item <em>info</em>. <a href="#a0a0d68f57cf8eedfda60fe1ba7c332dc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ab3e6fad7aadca0b0ef6f1a11c571b1da">has_group</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& group) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether <em>group_name</em> appears inside the groups registered for the recently used item <em>info</em>. <a href="#ab3e6fad7aadca0b0ef6f1a11c571b1da"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ac3efc797a1ad7323f910493022212ec9">get_icon</a> (int <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the icon of size <em>size</em> associated to the resource MIME type. <a href="#ac3efc797a1ad7323f910493022212ec9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#aff943071d7b16c58943bf7c5c827cd1b">get_icon</a> (int <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#ga445a43f417432dd1b9aed90ef239c700">size</a>) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the icon of size <em>size</em> associated to the resource MIME type. <a href="#aff943071d7b16c58943bf7c5c827cd1b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ab34936aa07da5c7622c7c6774413c5bd">get_short_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. <a href="#ab34936aa07da5c7622c7c6774413c5bd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#acde7de7444b70c580d7e8e209902954f">get_uri_display</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a displayable version of the resource's URI. <a href="#acde7de7444b70c580d7e8e209902954f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a88a3cd6760ce4abff01cdaca46982f79">get_age</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of days elapsed since the last update of the resource pointed by <em>info</em>. <a href="#a88a3cd6760ce4abff01cdaca46982f79"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a7f6eef6546933f061f99043034b7d0cb">is_local</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the resource is local or not by looking at the scheme of its URI. <a href="#a7f6eef6546933f061f99043034b7d0cb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a9a1b7992f631a3b34918a145fff6e1e0">exists</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the resource pointed by <em>info</em> still exists. <a href="#a9a1b7992f631a3b34918a145fff6e1e0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#acf044926477e8ed616f9bffb0f8bf71c">equal</a> (const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& b) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> structures point to the same resource. <a href="#acf044926477e8ed616f9bffb0f8bf71c"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae53e7ff217d79472ab36c6b997e51b21">RecentInfo</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a3846ed74a573dc27ac033601f47d9988">operator delete</a> (void*, <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a>)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae4a4f24a3942a5893ec0a0dece7061d1">operator==</a> (const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& lhs, const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& rhs)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#afe6f2916a6106a6469a34ccee072088e">operator!=</a> (const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& lhs, const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& rhs)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1RecentInfo.html">Gtk::RecentInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ad1f3fa78ef465f24e2f1febd2b19cae6">wrap</a> (GtkRecentInfo* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ad1f3fa78ef465f24e2f1febd2b19cae6"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Contains informations found when looking up an entry of the recently used files list. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000258">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ae53e7ff217d79472ab36c6b997e51b21"></a><!-- doxytag: member="Gtk::RecentInfo::RecentInfo" ref="ae53e7ff217d79472ab36c6b997e51b21" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::RecentInfo::RecentInfo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="acf044926477e8ed616f9bffb0f8bf71c"></a><!-- doxytag: member="Gtk::RecentInfo::equal" ref="acf044926477e8ed616f9bffb0f8bf71c" args="(const RecentInfo &b) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::equal </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td> <td class="paramname"><em>b</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> structures point to the same resource. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000280">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">info_b</td><td>A <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a>. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if both <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> structures point to se same resource, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="a9a1b7992f631a3b34918a145fff6e1e0"></a><!-- doxytag: member="Gtk::RecentInfo::exists" ref="a9a1b7992f631a3b34918a145fff6e1e0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::exists </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether the resource pointed by <em>info</em> still exists. </p> <p>At the moment this check is done only on resources pointing to local files.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000279">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource exists. </dd></dl> </div> </div> <a class="anchor" id="a38dd9b85a2d7fa0c5b7eabf2f6681f84"></a><!-- doxytag: member="Gtk::RecentInfo::get_added" ref="a38dd9b85a2d7fa0c5b7eabf2f6681f84" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t Gtk::RecentInfo::get_added </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000263">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was added to the list, or -1 on failure. </dd></dl> </div> </div> <a class="anchor" id="a88a3cd6760ce4abff01cdaca46982f79"></a><!-- doxytag: member="Gtk::RecentInfo::get_age" ref="a88a3cd6760ce4abff01cdaca46982f79" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::RecentInfo::get_age </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the number of days elapsed since the last update of the resource pointed by <em>info</em>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000277">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A positive integer containing the number of days elapsed since the time this resource was last modified. </dd></dl> </div> </div> <a class="anchor" id="ace1cad7c51263996e47305c6a2f765c7"></a><!-- doxytag: member="Gtk::RecentInfo::get_application_info" ref="ace1cad7c51263996e47305c6a2f765c7" args="(const Glib::ustring &app_name, std::string &app_exec, guint &count, time_t &time_) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::get_application_info </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>app_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>app_exec</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint & </td> <td class="paramname"><em>count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">time_t & </td> <td class="paramname"><em>time_</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the data regarding the application that has registered the resource pointed by <em>info</em>. </p> <p>If the command line contains any escape characters defined inside the storage specification, they will be expanded.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000267">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">app_name</td><td>The name of the application that has registered this item. </td></tr> <tr><td class="paramname">app_exec</td><td>Return location for the string containing the command line. </td></tr> <tr><td class="paramname">count</td><td>Return location for the number of times this item was registered. </td></tr> <tr><td class="paramname">time</td><td>Return location for the timestamp this item was last registered for this application. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an application with <em>app_name</em> has registered this resource inside the recently used list, or <code>false</code> otherwise. The <em>app_exec</em> string is owned by the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> and should not be modified or freed. </dd></dl> </div> </div> <a class="anchor" id="a16a8090d8cf43d6831423dd6911f1f8a"></a><!-- doxytag: member="Gtk::RecentInfo::get_applications" ref="a16a8090d8cf43d6831423dd6911f1f8a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::RecentInfo::get_applications </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the list of applications that have registered this resource. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000268">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">length</td><td>Return location for the length of the returned list. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <code>0</code>-terminated array of strings. Use Glib::strfreev() to free it. </dd></dl> </div> </div> <a class="anchor" id="ae7fa1a813557a0ce7ddb6103d4baf094"></a><!-- doxytag: member="Gtk::RecentInfo::get_description" ref="ae7fa1a813557a0ce7ddb6103d4baf094" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_description </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the (short) description of the resource. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000261">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The description of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl> </div> </div> <a class="anchor" id="ae8f88d8b7fe964f359ec195a7fc9a408"></a><!-- doxytag: member="Gtk::RecentInfo::get_display_name" ref="ae8f88d8b7fe964f359ec195a7fc9a408" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_display_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the name of the resource. </p> <p>If none has been defined, the basename of the resource is obtained.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000260">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The display name of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl> </div> </div> <a class="anchor" id="a0a0d68f57cf8eedfda60fe1ba7c332dc"></a><!-- doxytag: member="Gtk::RecentInfo::get_groups" ref="a0a0d68f57cf8eedfda60fe1ba7c332dc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::RecentInfo::get_groups </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns all groups registered for the recently used item <em>info</em>. </p> <p>The array of returned group names will be <code>0</code> terminated, so length might optionally be <code>0</code>.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000271">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">length</td><td>Return location for the number of groups returned. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <code>0</code> terminated array of strings. Use Glib::strfreev() to free it. </dd></dl> </div> </div> <a class="anchor" id="aff943071d7b16c58943bf7c5c827cd1b"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="aff943071d7b16c58943bf7c5c827cd1b" args="(int size) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>size</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000274">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">size</td><td>The size of the icon in pixels. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing the icon, or <code>0</code>. Use Glib::object_unref() when finished using the icon. </dd></dl> </div> </div> <a class="anchor" id="ac3efc797a1ad7323f910493022212ec9"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="ac3efc797a1ad7323f910493022212ec9" args="(int size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>size</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000273">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">size</td><td>The size of the icon in pixels. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing the icon, or <code>0</code>. Use Glib::object_unref() when finished using the icon. </dd></dl> </div> </div> <a class="anchor" id="ac712350fd1af96290b7c81b61cd7b30f"></a><!-- doxytag: member="Gtk::RecentInfo::get_mime_type" ref="ac712350fd1af96290b7c81b61cd7b30f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_mime_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the MIME type of the resource. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000262">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The MIME type of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl> </div> </div> <a class="anchor" id="afd9426a6e1205591bf5d37c971bf544a"></a><!-- doxytag: member="Gtk::RecentInfo::get_modified" ref="afd9426a6e1205591bf5d37c971bf544a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t Gtk::RecentInfo::get_modified </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the timestamp (seconds from system's Epoch) when the resource was last modified. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000264">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was last modified, or -1 on failure. </dd></dl> </div> </div> <a class="anchor" id="aeed18c1b521d9eb323c522698c68e85e"></a><!-- doxytag: member="Gtk::RecentInfo::get_private_hint" ref="aeed18c1b521d9eb323c522698c68e85e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::get_private_hint </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the value of the "private" flag. </p> <p>Resources in the recently used list that have this flag set to <code>true</code> should only be displayed by the applications that have registered them.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000266">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the private flag was found, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="ab34936aa07da5c7622c7c6774413c5bd"></a><!-- doxytag: member="Gtk::RecentInfo::get_short_name" ref="ab34936aa07da5c7622c7c6774413c5bd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_short_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. </p> <p>For example, calling this function on an item that refers to "file:///foo/bar.txt" will yield "bar.txt".</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000275">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated string in UTF-8 encoding; free it with Glib::free(). </dd></dl> </div> </div> <a class="anchor" id="af9dd0f3d9fbb4a5788b0260c4429ee3a"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri" ref="af9dd0f3d9fbb4a5788b0260c4429ee3a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_uri </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the URI of the resource. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000259">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The URI of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl> </div> </div> <a class="anchor" id="acde7de7444b70c580d7e8e209902954f"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri_display" ref="acde7de7444b70c580d7e8e209902954f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_uri_display </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets a displayable version of the resource's URI. </p> <p>If the resource is local, it returns a local path; if the resource is not local, it returns the UTF-8 encoded content of <a class="el" href="classGtk_1_1RecentInfo.html#af9dd0f3d9fbb4a5788b0260c4429ee3a" title="Gets the URI of the resource.">get_uri()</a>.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000276">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated UTF-8 string containing the resource's URI or <code>0</code>. Use Glib::free() when done using it. </dd></dl> </div> </div> <a class="anchor" id="af915596f880ccd9ca3f3c523bdef4cba"></a><!-- doxytag: member="Gtk::RecentInfo::get_visited" ref="af915596f880ccd9ca3f3c523bdef4cba" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t Gtk::RecentInfo::get_visited </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the timestamp (seconds from system's Epoch) when the resource was last visited. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000265">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was last visited, or -1 on failure. </dd></dl> </div> </div> <a class="anchor" id="ad851411db952b2041bcc1dec5c09037a"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="ad851411db952b2041bcc1dec5c09037a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="af42f9236d765e719935910b9dc118bff"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="af42f9236d765e719935910b9dc118bff" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkRecentInfo* Gtk::RecentInfo::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="a4d0c33979f8e2b016943317c00ba38d8"></a><!-- doxytag: member="Gtk::RecentInfo::gobj_copy" ref="a4d0c33979f8e2b016943317c00ba38d8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="aedabc0699402a800689727b5736f4523"></a><!-- doxytag: member="Gtk::RecentInfo::has_application" ref="aedabc0699402a800689727b5736f4523" args="(const Glib::ustring &app_name) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::has_application </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>app_name</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether an application registered this resource using <em>app_name</em>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000270">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">app_name</td><td>A string containing an application name. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an application with name <em>app_name</em> was found, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="ab3e6fad7aadca0b0ef6f1a11c571b1da"></a><!-- doxytag: member="Gtk::RecentInfo::has_group" ref="ab3e6fad7aadca0b0ef6f1a11c571b1da" args="(const Glib::ustring &group) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::has_group </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>group</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether <em>group_name</em> appears inside the groups registered for the recently used item <em>info</em>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000272">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">group_name</td><td>Name of a group. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the group was found. </dd></dl> </div> </div> <a class="anchor" id="a7f6eef6546933f061f99043034b7d0cb"></a><!-- doxytag: member="Gtk::RecentInfo::is_local" ref="a7f6eef6546933f061f99043034b7d0cb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::RecentInfo::is_local </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether the resource is local or not by looking at the scheme of its URI. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000278">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource is local. </dd></dl> </div> </div> <a class="anchor" id="ae9d878b4cc91eed65d989ccb16f7a34f"></a><!-- doxytag: member="Gtk::RecentInfo::last_application" ref="ae9d878b4cc91eed65d989ccb16f7a34f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::last_application </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the name of the last application that have registered the recently used resource represented by <em>info</em>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000269">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An application name. Use Glib::free() to free it. </dd></dl> </div> </div> <a class="anchor" id="a84e62b097a18226a082970ff322dedb0"></a><!-- doxytag: member="Gtk::RecentInfo::operator bool" ref="a84e62b097a18226a082970ff322dedb0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::RecentInfo::operator bool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Tests whether the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list.">RecentInfo</a> is valid. </p> </div> </div> <a class="anchor" id="a3846ed74a573dc27ac033601f47d9988"></a><!-- doxytag: member="Gtk::RecentInfo::operator delete" ref="a3846ed74a573dc27ac033601f47d9988" args="(void *, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::RecentInfo::operator delete </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a> </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="acf93d2d5bcdf29d3c668b2c8edfd6ab6"></a><!-- doxytag: member="Gtk::RecentInfo::reference" ref="acf93d2d5bcdf29d3c668b2c8edfd6ab6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::RecentInfo::reference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Increment the reference count for this object. </p> <p>You should never need to do this manually - use the object via a RefPtr instead. </p> </div> </div> <a class="anchor" id="a62a3c68ccab74057eb4be1c75b2b1eef"></a><!-- doxytag: member="Gtk::RecentInfo::unreference" ref="a62a3c68ccab74057eb4be1c75b2b1eef" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::RecentInfo::unreference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Decrement the reference count for this object. </p> <p>You should never need to do this manually - use the object via a RefPtr instead. </p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="afe6f2916a6106a6469a34ccee072088e"></a><!-- doxytag: member="Gtk::RecentInfo::operator!=" ref="afe6f2916a6106a6469a34ccee072088e" args="(const RecentInfo &lhs, const RecentInfo &rhs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td> <td class="paramname"><em>lhs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td> <td class="paramname"><em>rhs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae4a4f24a3942a5893ec0a0dece7061d1"></a><!-- doxytag: member="Gtk::RecentInfo::operator==" ref="ae4a4f24a3942a5893ec0a0dece7061d1" args="(const RecentInfo &lhs, const RecentInfo &rhs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td> <td class="paramname"><em>lhs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td> <td class="paramname"><em>rhs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad1f3fa78ef465f24e2f1febd2b19cae6"></a><!-- doxytag: member="Gtk::RecentInfo::wrap" ref="ad1f3fa78ef465f24e2f1febd2b19cae6" args="(GtkRecentInfo *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1RecentInfo.html">Gtk::RecentInfo</a> > wrap </td> <td>(</td> <td class="paramtype">GtkRecentInfo * </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> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/recentinfo.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>