1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>gtkmm: Gtk::RecentInfo Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.7.3 -->
13
<table cellspacing="0" cellpadding="0">
15
<tr style="height: 56px;">
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">gtkmm <span id="projectnumber">3.0.1</span></div>
23
<div id="navrow1" class="tabs">
25
<li><a href="index.html"><span>Main Page</span></a></li>
26
<li><a href="pages.html"><span>Related Pages</span></a></li>
27
<li><a href="modules.html"><span>Modules</span></a></li>
28
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
29
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
32
<div id="navrow2" class="tabs2">
34
<li><a href="annotated.html"><span>Class List</span></a></li>
35
<li><a href="classes.html"><span>Class Index</span></a></li>
36
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
37
<li><a href="functions.html"><span>Class Members</span></a></li>
40
<div id="nav-path" class="navpath">
42
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
43
<li class="navelem"><a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> </li>
49
<a href="#pub-methods">Public Member Functions</a> |
50
<a href="#pro-methods">Protected Member Functions</a> |
51
<a href="#related">Related Functions</a> </div>
52
<div class="headertitle">
53
<h1>Gtk::RecentInfo Class Reference<div class="ingroups"><a class="el" href="group__RecentFiles.html">RecentFiles</a></div></h1> </div>
55
<div class="contents">
56
<!-- doxytag: class="Gtk::RecentInfo" -->
57
<p>Contains information found when looking up an entry of the recently used files list. <a href="#_details">More...</a></p>
59
<p><a href="classGtk_1_1RecentInfo-members.html">List of all members.</a></p>
60
<table class="memberdecls">
61
<tr><td colspan="2"><h2><a name="pub-methods"></a>
62
Public Member Functions</h2></td></tr>
63
<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>
64
<tr><td class="mdescLeft"> </td><td class="mdescRight">Increment the reference count for this object. <a href="#acf93d2d5bcdf29d3c668b2c8edfd6ab6"></a><br/></td></tr>
65
<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>
66
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference count for this object. <a href="#a62a3c68ccab74057eb4be1c75b2b1eef"></a><br/></td></tr>
67
<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>
68
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ad851411db952b2041bcc1dec5c09037a"></a><br/></td></tr>
69
<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>
70
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af42f9236d765e719935910b9dc118bff"></a><br/></td></tr>
71
<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>
72
<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>
73
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
74
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the URI of the resource. <a href="#af9dd0f3d9fbb4a5788b0260c4429ee3a"></a><br/></td></tr>
75
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the resource. <a href="#ae8f88d8b7fe964f359ec195a7fc9a408"></a><br/></td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the (short) description of the resource. <a href="#ae7fa1a813557a0ce7ddb6103d4baf094"></a><br/></td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the MIME type of the resource. <a href="#ac712350fd1af96290b7c81b61cd7b30f"></a><br/></td></tr>
81
<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>
82
<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>
83
<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>
84
<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>
85
<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>
86
<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>
87
<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>
88
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of the "private" flag. <a href="#aeed18c1b521d9eb323c522698c68e85e"></a><br/></td></tr>
89
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1AppInfo.html">Gio::AppInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a8d28e829646ff9a12ab66047c6a2b8f4">create_app_info</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& app_name)</td></tr>
90
<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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& app_name, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& app_exec, guint&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01182.html#ga81511cd7112567fa262b05bb22e69874">count</a>, time_t& time_) const </td></tr>
91
<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>
92
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00738.html">std::vector</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a6c6a5435518040aa0aae32a53b93b894">get_applications</a> () const </td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of applications that have registered this resource. <a href="#a6c6a5435518040aa0aae32a53b93b894"></a><br/></td></tr>
94
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
95
<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>
96
<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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& app_name) const </td></tr>
97
<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>
98
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00738.html">std::vector</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#adbcf48b83829f83cd4a7ff2beb5c0b19">get_groups</a> () const </td></tr>
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns all groups registered for the recently used item <em>info</em>. <a href="#adbcf48b83829f83cd4a7ff2beb5c0b19"></a><br/></td></tr>
100
<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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& group) const </td></tr>
101
<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>
102
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
103
<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>
104
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#ga445a43f417432dd1b9aed90ef239c700">size</a>) const </td></tr>
105
<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>
106
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Icon.html">Gio::Icon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a9ec0523e28deb4e85247067e6316bf7e">get_gicon</a> ()</td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Icon.html">Gio::Icon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a6db73e96fe6bf5a739791df86cca179e">get_gicon</a> () const </td></tr>
108
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
109
<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>
110
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
111
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a displayable version of the resource's URI. <a href="#acde7de7444b70c580d7e8e209902954f"></a><br/></td></tr>
112
<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>
113
<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>
114
<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>
115
<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>
116
<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>
117
<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>
118
<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>
119
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains information 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>
120
<tr><td colspan="2"><h2><a name="pro-methods"></a>
121
Protected Member Functions</h2></td></tr>
122
<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>
123
<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" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a>)</td></tr>
124
<tr><td colspan="2"><h2><a name="related"></a>
125
Related Functions</h2></td></tr>
126
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
127
<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>
128
<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>
129
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>
130
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ad1f3fa78ef465f24e2f1febd2b19cae6"></a><br/></td></tr>
132
<hr/><a name="_details"></a><h2>Detailed Description</h2>
133
<div class="textblock"><p>Contains information found when looking up an entry of the recently used files list. </p>
134
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000256">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
135
</div><hr/><h2>Constructor & Destructor Documentation</h2>
136
<a class="anchor" id="ae53e7ff217d79472ab36c6b997e51b21"></a><!-- doxytag: member="Gtk::RecentInfo::RecentInfo" ref="ae53e7ff217d79472ab36c6b997e51b21" args="()" -->
137
<div class="memitem">
138
<div class="memproto">
139
<table class="memname">
141
<td class="memname">Gtk::RecentInfo::RecentInfo </td>
143
<td class="paramname"></td><td>)</td>
144
<td><code> [protected]</code></td>
152
<hr/><h2>Member Function Documentation</h2>
153
<a class="anchor" id="a8d28e829646ff9a12ab66047c6a2b8f4"></a><!-- doxytag: member="Gtk::RecentInfo::create_app_info" ref="a8d28e829646ff9a12ab66047c6a2b8f4" args="(const Glib::ustring &app_name)" -->
154
<div class="memitem">
155
<div class="memproto">
156
<table class="memname">
158
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1AppInfo.html">Gio::AppInfo</a>> Gtk::RecentInfo::create_app_info </td>
160
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
161
<td class="paramname"><em>app_name</em></td><td>)</td>
170
<a class="anchor" id="acf044926477e8ed616f9bffb0f8bf71c"></a><!-- doxytag: member="Gtk::RecentInfo::equal" ref="acf044926477e8ed616f9bffb0f8bf71c" args="(const RecentInfo &b) const " -->
171
<div class="memitem">
172
<div class="memproto">
173
<table class="memname">
175
<td class="memname">bool Gtk::RecentInfo::equal </td>
177
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
178
<td class="paramname"><em>b</em></td><td>)</td>
185
<p>Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains information found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> structures point to the same resource. </p>
186
<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>
187
<dl><dt><b>Parameters:</b></dt><dd>
188
<table class="params">
189
<tr><td class="paramname">info_b</td><td>A <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains information found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a>. </td></tr>
193
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if both <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains information 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>
197
<a class="anchor" id="a9a1b7992f631a3b34918a145fff6e1e0"></a><!-- doxytag: member="Gtk::RecentInfo::exists" ref="a9a1b7992f631a3b34918a145fff6e1e0" args="() const " -->
198
<div class="memitem">
199
<div class="memproto">
200
<table class="memname">
202
<td class="memname">bool Gtk::RecentInfo::exists </td>
204
<td class="paramname"></td><td>)</td>
211
<p>Checks whether the resource pointed by <em>info</em> still exists. </p>
212
<p>At the moment this check is done only on resources pointing to local files.</p>
213
<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>
214
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource exists. </dd></dl>
218
<a class="anchor" id="a38dd9b85a2d7fa0c5b7eabf2f6681f84"></a><!-- doxytag: member="Gtk::RecentInfo::get_added" ref="a38dd9b85a2d7fa0c5b7eabf2f6681f84" args="() const " -->
219
<div class="memitem">
220
<div class="memproto">
221
<table class="memname">
223
<td class="memname">time_t Gtk::RecentInfo::get_added </td>
225
<td class="paramname"></td><td>)</td>
232
<p>Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list. </p>
233
<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>
234
<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>
238
<a class="anchor" id="a88a3cd6760ce4abff01cdaca46982f79"></a><!-- doxytag: member="Gtk::RecentInfo::get_age" ref="a88a3cd6760ce4abff01cdaca46982f79" args="() const " -->
239
<div class="memitem">
240
<div class="memproto">
241
<table class="memname">
243
<td class="memname">int Gtk::RecentInfo::get_age </td>
245
<td class="paramname"></td><td>)</td>
252
<p>Gets the number of days elapsed since the last update of the resource pointed by <em>info</em>. </p>
253
<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>
254
<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>
258
<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 " -->
259
<div class="memitem">
260
<div class="memproto">
261
<table class="memname">
263
<td class="memname">bool Gtk::RecentInfo::get_application_info </td>
265
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
266
<td class="paramname"><em>app_name</em>, </td>
269
<td class="paramkey"></td>
271
<td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td>
272
<td class="paramname"><em>app_exec</em>, </td>
275
<td class="paramkey"></td>
277
<td class="paramtype">guint & </td>
278
<td class="paramname"><em>count</em>, </td>
281
<td class="paramkey"></td>
283
<td class="paramtype">time_t & </td>
284
<td class="paramname"><em>time_</em> </td>
289
<td></td><td> const</td>
295
<p>Gets the data regarding the application that has registered the resource pointed by <em>info</em>. </p>
296
<p>If the command line contains any escape characters defined inside the storage specification, they will be expanded.</p>
297
<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>
298
<dl><dt><b>Parameters:</b></dt><dd>
299
<table class="params">
300
<tr><td class="paramname">app_name</td><td>The name of the application that has registered this item. </td></tr>
301
<tr><td class="paramname">app_exec</td><td>Return location for the string containing the command line. </td></tr>
302
<tr><td class="paramname">count</td><td>Return location for the number of times this item was registered. </td></tr>
303
<tr><td class="paramname">time</td><td>Return location for the timestamp this item was last registered for this application. </td></tr>
307
<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 information found when looking up an entry of the recently used files list.">Gtk::RecentInfo</a> and should not be modified or freed. </dd></dl>
311
<a class="anchor" id="a6c6a5435518040aa0aae32a53b93b894"></a><!-- doxytag: member="Gtk::RecentInfo::get_applications" ref="a6c6a5435518040aa0aae32a53b93b894" args="() const " -->
312
<div class="memitem">
313
<div class="memproto">
314
<table class="memname">
316
<td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00738.html">std::vector</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::RecentInfo::get_applications </td>
318
<td class="paramname"></td><td>)</td>
325
<p>Retrieves the list of applications that have registered this resource. </p>
326
<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>
327
<dl><dt><b>Parameters:</b></dt><dd>
328
<table class="params">
329
<tr><td class="paramname">length</td><td>Return location for the length of the returned list. </td></tr>
333
<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>
337
<a class="anchor" id="ae7fa1a813557a0ce7ddb6103d4baf094"></a><!-- doxytag: member="Gtk::RecentInfo::get_description" ref="ae7fa1a813557a0ce7ddb6103d4baf094" args="() const " -->
338
<div class="memitem">
339
<div class="memproto">
340
<table class="memname">
342
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_description </td>
344
<td class="paramname"></td><td>)</td>
351
<p>Gets the (short) description of the resource. </p>
352
<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>
353
<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>
357
<a class="anchor" id="ae8f88d8b7fe964f359ec195a7fc9a408"></a><!-- doxytag: member="Gtk::RecentInfo::get_display_name" ref="ae8f88d8b7fe964f359ec195a7fc9a408" args="() const " -->
358
<div class="memitem">
359
<div class="memproto">
360
<table class="memname">
362
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_display_name </td>
364
<td class="paramname"></td><td>)</td>
371
<p>Gets the name of the resource. </p>
372
<p>If none has been defined, the basename of the resource is obtained.</p>
373
<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>
374
<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>
378
<a class="anchor" id="a9ec0523e28deb4e85247067e6316bf7e"></a><!-- doxytag: member="Gtk::RecentInfo::get_gicon" ref="a9ec0523e28deb4e85247067e6316bf7e" args="()" -->
379
<div class="memitem">
380
<div class="memproto">
381
<table class="memname">
383
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Icon.html">Gio::Icon</a>> Gtk::RecentInfo::get_gicon </td>
385
<td class="paramname"></td><td>)</td>
394
<a class="anchor" id="a6db73e96fe6bf5a739791df86cca179e"></a><!-- doxytag: member="Gtk::RecentInfo::get_gicon" ref="a6db73e96fe6bf5a739791df86cca179e" args="() const " -->
395
<div class="memitem">
396
<div class="memproto">
397
<table class="memname">
399
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Icon.html">Gio::Icon</a>> Gtk::RecentInfo::get_gicon </td>
401
<td class="paramname"></td><td>)</td>
410
<a class="anchor" id="adbcf48b83829f83cd4a7ff2beb5c0b19"></a><!-- doxytag: member="Gtk::RecentInfo::get_groups" ref="adbcf48b83829f83cd4a7ff2beb5c0b19" args="() const " -->
411
<div class="memitem">
412
<div class="memproto">
413
<table class="memname">
415
<td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00738.html">std::vector</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::RecentInfo::get_groups </td>
417
<td class="paramname"></td><td>)</td>
424
<p>Returns all groups registered for the recently used item <em>info</em>. </p>
425
<p>The array of returned group names will be <code>0</code> terminated, so length might optionally be <code>0</code>.</p>
426
<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>
427
<dl><dt><b>Parameters:</b></dt><dd>
428
<table class="params">
429
<tr><td class="paramname">length</td><td>Return location for the number of groups returned. </td></tr>
433
<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>
437
<a class="anchor" id="ac3efc797a1ad7323f910493022212ec9"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="ac3efc797a1ad7323f910493022212ec9" args="(int size)" -->
438
<div class="memitem">
439
<div class="memproto">
440
<table class="memname">
442
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td>
444
<td class="paramtype">int </td>
445
<td class="paramname"><em>size</em></td><td>)</td>
452
<p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p>
453
<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>
454
<dl><dt><b>Parameters:</b></dt><dd>
455
<table class="params">
456
<tr><td class="paramname">size</td><td>The size of the icon in pixels. </td></tr>
460
<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>
464
<a class="anchor" id="aff943071d7b16c58943bf7c5c827cd1b"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="aff943071d7b16c58943bf7c5c827cd1b" args="(int size) const " -->
465
<div class="memitem">
466
<div class="memproto">
467
<table class="memname">
469
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td>
471
<td class="paramtype">int </td>
472
<td class="paramname"><em>size</em></td><td>)</td>
479
<p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p>
480
<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>
481
<dl><dt><b>Parameters:</b></dt><dd>
482
<table class="params">
483
<tr><td class="paramname">size</td><td>The size of the icon in pixels. </td></tr>
487
<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>
491
<a class="anchor" id="ac712350fd1af96290b7c81b61cd7b30f"></a><!-- doxytag: member="Gtk::RecentInfo::get_mime_type" ref="ac712350fd1af96290b7c81b61cd7b30f" args="() const " -->
492
<div class="memitem">
493
<div class="memproto">
494
<table class="memname">
496
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_mime_type </td>
498
<td class="paramname"></td><td>)</td>
505
<p>Gets the MIME type of the resource. </p>
506
<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>
507
<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>
511
<a class="anchor" id="afd9426a6e1205591bf5d37c971bf544a"></a><!-- doxytag: member="Gtk::RecentInfo::get_modified" ref="afd9426a6e1205591bf5d37c971bf544a" args="() const " -->
512
<div class="memitem">
513
<div class="memproto">
514
<table class="memname">
516
<td class="memname">time_t Gtk::RecentInfo::get_modified </td>
518
<td class="paramname"></td><td>)</td>
525
<p>Gets the timestamp (seconds from system's Epoch) when the resource was last modified. </p>
526
<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>
527
<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>
531
<a class="anchor" id="aeed18c1b521d9eb323c522698c68e85e"></a><!-- doxytag: member="Gtk::RecentInfo::get_private_hint" ref="aeed18c1b521d9eb323c522698c68e85e" args="() const " -->
532
<div class="memitem">
533
<div class="memproto">
534
<table class="memname">
536
<td class="memname">bool Gtk::RecentInfo::get_private_hint </td>
538
<td class="paramname"></td><td>)</td>
545
<p>Gets the value of the "private" flag. </p>
546
<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>
547
<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>
548
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the private flag was found, <code>false</code> otherwise. </dd></dl>
552
<a class="anchor" id="ab34936aa07da5c7622c7c6774413c5bd"></a><!-- doxytag: member="Gtk::RecentInfo::get_short_name" ref="ab34936aa07da5c7622c7c6774413c5bd" args="() const " -->
553
<div class="memitem">
554
<div class="memproto">
555
<table class="memname">
557
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_short_name </td>
559
<td class="paramname"></td><td>)</td>
566
<p>Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. </p>
567
<p>For example, calling this function on an item that refers to "file:///foo/bar.txt" will yield "bar.txt".</p>
568
<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>
569
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated string in UTF-8 encoding; free it with Glib::free(). </dd></dl>
573
<a class="anchor" id="af9dd0f3d9fbb4a5788b0260c4429ee3a"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri" ref="af9dd0f3d9fbb4a5788b0260c4429ee3a" args="() const " -->
574
<div class="memitem">
575
<div class="memproto">
576
<table class="memname">
578
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_uri </td>
580
<td class="paramname"></td><td>)</td>
587
<p>Gets the URI of the resource. </p>
588
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000257">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
589
<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>
593
<a class="anchor" id="acde7de7444b70c580d7e8e209902954f"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri_display" ref="acde7de7444b70c580d7e8e209902954f" args="() const " -->
594
<div class="memitem">
595
<div class="memproto">
596
<table class="memname">
598
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::get_uri_display </td>
600
<td class="paramname"></td><td>)</td>
607
<p>Gets a displayable version of the resource's URI. </p>
608
<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>
609
<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>
610
<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>
614
<a class="anchor" id="af915596f880ccd9ca3f3c523bdef4cba"></a><!-- doxytag: member="Gtk::RecentInfo::get_visited" ref="af915596f880ccd9ca3f3c523bdef4cba" args="() const " -->
615
<div class="memitem">
616
<div class="memproto">
617
<table class="memname">
619
<td class="memname">time_t Gtk::RecentInfo::get_visited </td>
621
<td class="paramname"></td><td>)</td>
628
<p>Gets the timestamp (seconds from system's Epoch) when the resource was last visited. </p>
629
<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>
630
<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>
634
<a class="anchor" id="ad851411db952b2041bcc1dec5c09037a"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="ad851411db952b2041bcc1dec5c09037a" args="()" -->
635
<div class="memitem">
636
<div class="memproto">
637
<table class="memname">
639
<td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj </td>
641
<td class="paramname"></td><td>)</td>
648
<p>Provides access to the underlying C instance. </p>
652
<a class="anchor" id="af42f9236d765e719935910b9dc118bff"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="af42f9236d765e719935910b9dc118bff" args="() const " -->
653
<div class="memitem">
654
<div class="memproto">
655
<table class="memname">
657
<td class="memname">const GtkRecentInfo* Gtk::RecentInfo::gobj </td>
659
<td class="paramname"></td><td>)</td>
666
<p>Provides access to the underlying C instance. </p>
670
<a class="anchor" id="a4d0c33979f8e2b016943317c00ba38d8"></a><!-- doxytag: member="Gtk::RecentInfo::gobj_copy" ref="a4d0c33979f8e2b016943317c00ba38d8" args="() const " -->
671
<div class="memitem">
672
<div class="memproto">
673
<table class="memname">
675
<td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj_copy </td>
677
<td class="paramname"></td><td>)</td>
684
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
688
<a class="anchor" id="aedabc0699402a800689727b5736f4523"></a><!-- doxytag: member="Gtk::RecentInfo::has_application" ref="aedabc0699402a800689727b5736f4523" args="(const Glib::ustring &app_name) const " -->
689
<div class="memitem">
690
<div class="memproto">
691
<table class="memname">
693
<td class="memname">bool Gtk::RecentInfo::has_application </td>
695
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
696
<td class="paramname"><em>app_name</em></td><td>)</td>
703
<p>Checks whether an application registered this resource using <em>app_name</em>. </p>
704
<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>
705
<dl><dt><b>Parameters:</b></dt><dd>
706
<table class="params">
707
<tr><td class="paramname">app_name</td><td>A string containing an application name. </td></tr>
711
<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>
715
<a class="anchor" id="ab3e6fad7aadca0b0ef6f1a11c571b1da"></a><!-- doxytag: member="Gtk::RecentInfo::has_group" ref="ab3e6fad7aadca0b0ef6f1a11c571b1da" args="(const Glib::ustring &group) const " -->
716
<div class="memitem">
717
<div class="memproto">
718
<table class="memname">
720
<td class="memname">bool Gtk::RecentInfo::has_group </td>
722
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
723
<td class="paramname"><em>group</em></td><td>)</td>
730
<p>Checks whether <em>group_name</em> appears inside the groups registered for the recently used item <em>info</em>. </p>
731
<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>
732
<dl><dt><b>Parameters:</b></dt><dd>
733
<table class="params">
734
<tr><td class="paramname">group_name</td><td>Name of a group. </td></tr>
738
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the group was found. </dd></dl>
742
<a class="anchor" id="a7f6eef6546933f061f99043034b7d0cb"></a><!-- doxytag: member="Gtk::RecentInfo::is_local" ref="a7f6eef6546933f061f99043034b7d0cb" args="() const " -->
743
<div class="memitem">
744
<div class="memproto">
745
<table class="memname">
747
<td class="memname">bool Gtk::RecentInfo::is_local </td>
749
<td class="paramname"></td><td>)</td>
756
<p>Checks whether the resource is local or not by looking at the scheme of its URI. </p>
757
<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>
758
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource is local. </dd></dl>
762
<a class="anchor" id="ae9d878b4cc91eed65d989ccb16f7a34f"></a><!-- doxytag: member="Gtk::RecentInfo::last_application" ref="ae9d878b4cc91eed65d989ccb16f7a34f" args="() const " -->
763
<div class="memitem">
764
<div class="memproto">
765
<table class="memname">
767
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::RecentInfo::last_application </td>
769
<td class="paramname"></td><td>)</td>
776
<p>Gets the name of the last application that have registered the recently used resource represented by <em>info</em>. </p>
777
<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>
778
<dl class="return"><dt><b>Returns:</b></dt><dd>An application name. Use Glib::free() to free it. </dd></dl>
782
<a class="anchor" id="a3846ed74a573dc27ac033601f47d9988"></a><!-- doxytag: member="Gtk::RecentInfo::operator delete" ref="a3846ed74a573dc27ac033601f47d9988" args="(void *, size_t)" -->
783
<div class="memitem">
784
<div class="memproto">
785
<table class="memname">
787
<td class="memname">void Gtk::RecentInfo::operator delete </td>
789
<td class="paramtype">void * </td>
790
<td class="paramname">, </td>
793
<td class="paramkey"></td>
795
<td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a> </td>
796
<td class="paramname"> </td>
801
<td></td><td><code> [protected]</code></td>
809
<a class="anchor" id="acf93d2d5bcdf29d3c668b2c8edfd6ab6"></a><!-- doxytag: member="Gtk::RecentInfo::reference" ref="acf93d2d5bcdf29d3c668b2c8edfd6ab6" args="() const " -->
810
<div class="memitem">
811
<div class="memproto">
812
<table class="memname">
814
<td class="memname">void Gtk::RecentInfo::reference </td>
816
<td class="paramname"></td><td>)</td>
823
<p>Increment the reference count for this object. </p>
824
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>
828
<a class="anchor" id="a62a3c68ccab74057eb4be1c75b2b1eef"></a><!-- doxytag: member="Gtk::RecentInfo::unreference" ref="a62a3c68ccab74057eb4be1c75b2b1eef" args="() const " -->
829
<div class="memitem">
830
<div class="memproto">
831
<table class="memname">
833
<td class="memname">void Gtk::RecentInfo::unreference </td>
835
<td class="paramname"></td><td>)</td>
842
<p>Decrement the reference count for this object. </p>
843
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>
847
<hr/><h2>Friends And Related Function Documentation</h2>
848
<a class="anchor" id="afe6f2916a6106a6469a34ccee072088e"></a><!-- doxytag: member="Gtk::RecentInfo::operator!=" ref="afe6f2916a6106a6469a34ccee072088e" args="(const RecentInfo &lhs, const RecentInfo &rhs)" -->
849
<div class="memitem">
850
<div class="memproto">
851
<table class="memname">
853
<td class="memname">bool <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01176.html#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td>
855
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
856
<td class="paramname"><em>lhs</em>, </td>
859
<td class="paramkey"></td>
861
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
862
<td class="paramname"><em>rhs</em> </td>
867
<td></td><td><code> [related]</code></td>
875
<a class="anchor" id="ae4a4f24a3942a5893ec0a0dece7061d1"></a><!-- doxytag: member="Gtk::RecentInfo::operator==" ref="ae4a4f24a3942a5893ec0a0dece7061d1" args="(const RecentInfo &lhs, const RecentInfo &rhs)" -->
876
<div class="memitem">
877
<div class="memproto">
878
<table class="memname">
880
<td class="memname">bool operator== </td>
882
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
883
<td class="paramname"><em>lhs</em>, </td>
886
<td class="paramkey"></td>
888
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
889
<td class="paramname"><em>rhs</em> </td>
894
<td></td><td><code> [related]</code></td>
902
<a class="anchor" id="ad1f3fa78ef465f24e2f1febd2b19cae6"></a><!-- doxytag: member="Gtk::RecentInfo::wrap" ref="ad1f3fa78ef465f24e2f1febd2b19cae6" args="(GtkRecentInfo *object, bool take_copy=false)" -->
903
<div class="memitem">
904
<div class="memproto">
905
<table class="memname">
907
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1RecentInfo.html">Gtk::RecentInfo</a> > wrap </td>
909
<td class="paramtype">GtkRecentInfo * </td>
910
<td class="paramname"><em>object</em>, </td>
913
<td class="paramkey"></td>
915
<td class="paramtype">bool </td>
916
<td class="paramname"><em>take_copy</em> = <code>false</code> </td>
921
<td></td><td><code> [related]</code></td>
927
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
928
<dl><dt><b>Parameters:</b></dt><dd>
929
<table class="params">
930
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
931
<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>
935
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
939
<hr/>The documentation for this class was generated from the following file:<ul>
940
<li>gtkmm/recentinfo.h</li>
943
<hr class="footer"/><address class="footer"><small>Generated on Mon May 9 2011 10:20:10 for gtkmm by 
944
<a href="http://www.doxygen.org/index.html">
945
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>