Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 623

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!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::RecentManager 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::RecentManager Class Reference<br/>
<small>
[<a class="el" href="group__RecentFiles.html">RecentFiles</a>]</small>
</h1><!-- doxytag: class="Gtk::RecentManager" --><!-- doxytag: inherits="Glib::Object" -->
<p><a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> provides a facility for adding, removing and looking up recently used files. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::RecentManager:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1RecentManager__coll__graph.png" border="0" usemap="#Gtk_1_1RecentManager_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1RecentManager_coll__map" id="Gtk_1_1RecentManager_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="31,160,121,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="16,83,136,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="23,5,129,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1RecentManager-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Meta-data passed to <a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36" title="Adds a new resource into the recently used resources list.">add_item()</a>. <a href="classGtk_1_1RecentManager_1_1Data.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>, RecentInfoTraits &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#acd4f16662431a3529023e2b5613ce6c0">ListHandle_RecentInfos</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a377901b12ae77569e78e58a338ffdf9b">SlotChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void <a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed()</a>;. <a href="#a377901b12ae77569e78e58a338ffdf9b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#addd2d3c11fc24fa92a8f0510f84698ab">~RecentManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aeb3fee7edcf9f2a35f9bba6a5c05bc29">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb3fee7edcf9f2a35f9bba6a5c05bc29"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a16ba98921b4d3eef7d6b93f052423112">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a16ba98921b4d3eef7d6b93f052423112"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a590150f439560f351bdbbe7e4e085327">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a590150f439560f351bdbbe7e4e085327"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ac92caed68ef92bb9b0a0fc60b0ec1d50">set_screen</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp; screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage. <a href="#ac92caed68ef92bb9b0a0fc60b0ec1d50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36">add_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new resource into the recently used resources list. <a href="#a40399f4843c5ab7ab83736a7be08eb36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a6ed8039a13e90ad09a36d7214798b87d">add_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri, const <a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a>&amp; recent_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new resource into the recently used resources list, taking meta data from the given <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">Data</a> instead of guessing it from the URI. <a href="#a6ed8039a13e90ad09a36d7214798b87d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a706bd39925f209dc38fcb5465348ca1c">remove_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a resource pointed by <em>uri</em> from the recently used resources list handled by a recent manager. <a href="#a706bd39925f209dc38fcb5465348ca1c"></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>&lt; <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a06657f84ccee0963bcff22db6be29d73">lookup_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. <a href="#a06657f84ccee0963bcff22db6be29d73"></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>&lt; const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ad0ae9435533efce8218989e01af76b61">lookup_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. <a href="#ad0ae9435533efce8218989e01af76b61"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ae05e919ccdd0221f5b0de334d3c5b751">has_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether there is a recently used resource registered with <em>uri</em> inside the recent manager. <a href="#ae05e919ccdd0221f5b0de334d3c5b751"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a37908dbe8d829d473e3399691c29ca1a">move_item</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; new_uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the location of a recently used resource from <em>uri</em> to <em>new_uri</em>. <a href="#a37908dbe8d829d473e3399691c29ca1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#add407400f426329a9ccfacb5a6518383">set_limit</a> (int limit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the maximum number of item that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. <a href="#add407400f426329a9ccfacb5a6518383"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a1bc17837548763d9c820034a81b5913d">get_limit</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum number of items that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. <a href="#a1bc17837548763d9c820034a81b5913d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_RecentInfos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273">get_items</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of recently used resources. <a href="#ac33997c893a94f2e914f940d2d223273"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aa393d1be0690fa74313a7e4f51fc3860">purge_items</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Purges every item from the recently used resources list. <a href="#aa393d1be0690fa74313a7e4f51fc3860"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ab46f1342bfecde9fbc4dca35d20f7e88">signal_changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The "changed" signal is emitted when an item in the recently used resources list is changed. <a href="#ab46f1342bfecde9fbc4dca35d20f7e88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aafd62f6093f71893ffa285acc8cbc691">property_filename</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The full path to the file to be used to store and read the list. <a href="#aafd62f6093f71893ffa285acc8cbc691"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#abd6cbdff1d2ff2cff356fc79ea40ec78">property_limit</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of items to be returned by gtk_recent_manager_get_items(). <a href="#abd6cbdff1d2ff2cff356fc79ea40ec78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a40e0b61d40b8e57e0adb3e1f8a373ad8">property_limit</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of items to be returned by gtk_recent_manager_get_items(). <a href="#a40e0b61d40b8e57e0adb3e1f8a373ad8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#adb4fbf5f5c25e2e84ba86d56dc2f4098">property_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of the recently used resources list. <a href="#adb4fbf5f5c25e2e84ba86d56dc2f4098"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a5fa470d8dc5f71d5a51faeba82ea8980">create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a6147eea0bc983c8f84cf9b0657280412">get_default</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a unique instance of <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>, that you can share in your application without caring about memory management. <a href="#a6147eea0bc983c8f84cf9b0657280412"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a81b039c87fce47b0420779173bba8758">get_for_screen</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp; screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the recent manager object associated with <em>screen</em>; if this function has not previously been called for the given screen, a new recent manager object will be created and associated with the screen. <a href="#a81b039c87fce47b0420779173bba8758"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ab43690a69bb1ba69c8ea9744a93d9065">RecentManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><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>&lt; <a class="el" href="classGtk_1_1RecentManager.html">Gtk::RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a5f2ae744f762ca72e98c45e981ae8584">wrap</a> (GtkRecentManager* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a5f2ae744f762ca72e98c45e981ae8584"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> provides a facility for adding, removing and looking up recently used files. </p>
<p>Each recently used file is identified by its URI, and has meta-data associated to it, like the names and command lines of the applications that have registered it, the number of time each application has registered the same file, the mime type of the file and whether the file should be displayed only by the applications that have registered it.</p>
<p>The <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> acts like a database of all the recently used files. You can create new <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> objects, but it is more efficient to use the standard recent manager for the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> so that informations about the recently used files is shared with other people using them. Normally, you retrieve the recent manager for a particular screen using <a class="el" href="classGtk_1_1RecentManager.html#a81b039c87fce47b0420779173bba8758" title="Gets the recent manager object associated with screen; if this function has not previously...">get_for_screen()</a> and it will contain information about current recent manager for that screen.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000281">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="acd4f16662431a3529023e2b5613ce6c0"></a><!-- doxytag: member="Gtk::RecentManager::ListHandle_RecentInfos" ref="acd4f16662431a3529023e2b5613ce6c0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>, RecentInfoTraits&gt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Gtk::RecentManager::ListHandle_RecentInfos</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a377901b12ae77569e78e58a338ffdf9b"></a><!-- doxytag: member="Gtk::RecentManager::SlotChanged" ref="a377901b12ae77569e78e58a338ffdf9b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::RecentManager::SlotChanged</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, void <a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed()</a>;. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="addd2d3c11fc24fa92a8f0510f84698ab"></a><!-- doxytag: member="Gtk::RecentManager::~RecentManager" ref="addd2d3c11fc24fa92a8f0510f84698ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::RecentManager::~RecentManager </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab43690a69bb1ba69c8ea9744a93d9065"></a><!-- doxytag: member="Gtk::RecentManager::RecentManager" ref="ab43690a69bb1ba69c8ea9744a93d9065" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::RecentManager::RecentManager </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6ed8039a13e90ad09a36d7214798b87d"></a><!-- doxytag: member="Gtk::RecentManager::add_item" ref="a6ed8039a13e90ad09a36d7214798b87d" args="(const Glib::ustring &amp;uri, const Data &amp;recent_data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::add_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a>&amp;&#160;</td>
          <td class="paramname"> <em>recent_data</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new resource into the recently used resources list, taking meta data from the given <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">Data</a> instead of guessing it from the URI. </p>

</div>
</div>
<a class="anchor" id="a40399f4843c5ab7ab83736a7be08eb36"></a><!-- doxytag: member="Gtk::RecentManager::add_item" ref="a40399f4843c5ab7ab83736a7be08eb36" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::add_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new resource into the recently used resources list. </p>
<p>This function will try and guess some of the meta-data associated to a URI. If you know some of meta-data about the document yourself, set the desired fields of a <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">RecentManager::Data</a> structure and pass it to <a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36" title="Adds a new resource into the recently used resources list.">add_item()</a>. </p>

</div>
</div>
<a class="anchor" id="a5fa470d8dc5f71d5a51faeba82ea8980"></a><!-- doxytag: member="Gtk::RecentManager::create" ref="a5fa470d8dc5f71d5a51faeba82ea8980" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6147eea0bc983c8f84cf9b0657280412"></a><!-- doxytag: member="Gtk::RecentManager::get_default" ref="a6147eea0bc983c8f84cf9b0657280412" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::get_default </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a unique instance of <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>, that you can share in your application without caring about memory management. </p>
<p>The returned instance will be freed when you application terminates.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000282">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A unique <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>. Do not ref or unref it. </dd></dl>

</div>
</div>
<a class="anchor" id="a81b039c87fce47b0420779173bba8758"></a><!-- doxytag: member="Gtk::RecentManager::get_for_screen" ref="a81b039c87fce47b0420779173bba8758" args="(const Glib::RefPtr&lt; Gdk::Screen &gt; &amp;screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::get_for_screen </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>screen</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the recent manager object associated with <em>screen</em>; if this function has not previously been called for the given screen, a new recent manager object will be created and associated with the screen. </p>
<p>Recent manager objects are fairly expensive to create, so using this function is usually a better choice than calling new() and setting the screen yourself; by using this function a single recent manager object will be shared between users.</p>
<p>Deprecated: 2.12: This function has been deprecated and should not be used in newly written code. Calling this function is equivalent to calling <a class="el" href="classGtk_1_1RecentManager.html#a6147eea0bc983c8f84cf9b0657280412" title="Gets a unique instance of Gtk::RecentManager, that you can share in your application...">get_default()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000283">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>screen</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A unique <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a> associated with the given screen. This recent manager is associated to the with the screen and can be used as long as the screen is open. Do not ref or unref it. </dd></dl>

</div>
</div>
<a class="anchor" id="ac33997c893a94f2e914f940d2d223273"></a><!-- doxytag: member="Gtk::RecentManager::get_items" ref="ac33997c893a94f2e914f940d2d223273" 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_1ListHandle.html">ListHandle_RecentInfos</a> Gtk::RecentManager::get_items </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the list of recently used resources. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000292">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of newly allocated <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> objects. Use Gtk::RecentInfo::unref() on each item inside the list, and then free the list itself using Glib::list_free(). </dd></dl>

</div>
</div>
<a class="anchor" id="a1bc17837548763d9c820034a81b5913d"></a><!-- doxytag: member="Gtk::RecentManager::get_limit" ref="a1bc17837548763d9c820034a81b5913d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::RecentManager::get_limit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the maximum number of items that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000291">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of items to return, or -1 for every item. </dd></dl>

</div>
</div>
<a class="anchor" id="a16ba98921b4d3eef7d6b93f052423112"></a><!-- doxytag: member="Gtk::RecentManager::gobj" ref="a16ba98921b4d3eef7d6b93f052423112" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkRecentManager* Gtk::RecentManager::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="aeb3fee7edcf9f2a35f9bba6a5c05bc29"></a><!-- doxytag: member="Gtk::RecentManager::gobj" ref="aeb3fee7edcf9f2a35f9bba6a5c05bc29" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkRecentManager* Gtk::RecentManager::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a590150f439560f351bdbbe7e4e085327"></a><!-- doxytag: member="Gtk::RecentManager::gobj_copy" ref="a590150f439560f351bdbbe7e4e085327" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkRecentManager* Gtk::RecentManager::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></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="ae05e919ccdd0221f5b0de334d3c5b751"></a><!-- doxytag: member="Gtk::RecentManager::has_item" ref="ae05e919ccdd0221f5b0de334d3c5b751" args="(const Glib::ustring &amp;uri) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::has_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks whether there is a recently used resource registered with <em>uri</em> inside the recent manager. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000288">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource was found, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0ae9435533efce8218989e01af76b61"></a><!-- doxytag: member="Gtk::RecentManager::lookup_item" ref="ad0ae9435533efce8218989e01af76b61" args="(const Glib::ustring &amp;uri) 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>&lt;const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>&gt; Gtk::RecentManager::lookup_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000287">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> structure containing information about the resource pointed by <em>uri</em>, or <code>0</code> if the URI was not registered in the recently used resources list. Free with Gtk::RecentInfo::unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a06657f84ccee0963bcff22db6be29d73"></a><!-- doxytag: member="Gtk::RecentManager::lookup_item" ref="a06657f84ccee0963bcff22db6be29d73" args="(const Glib::ustring &amp;uri)" -->
<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>&lt;<a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>&gt; Gtk::RecentManager::lookup_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000286">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> structure containing information about the resource pointed by <em>uri</em>, or <code>0</code> if the URI was not registered in the recently used resources list. Free with Gtk::RecentInfo::unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a37908dbe8d829d473e3399691c29ca1a"></a><!-- doxytag: member="Gtk::RecentManager::move_item" ref="a37908dbe8d829d473e3399691c29ca1a" args="(const Glib::ustring &amp;uri, const Glib::ustring &amp;new_uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::move_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>new_uri</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the location of a recently used resource from <em>uri</em> to <em>new_uri</em>. </p>
<p>Please note that this function will not affect the resource pointed by the URIs, but only the URI used in the recently used resources list.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000289">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>The URI of a recently used resource. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>new_uri</em>&#160;</td><td>The new URI of the recently used resource, or <code>0</code> to remove the item pointed by <em>uri</em> in the list. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success. </dd></dl>

</div>
</div>
<a class="anchor" id="aba88dad9d1c648b47c01954a23b887e7"></a><!-- doxytag: member="Gtk::RecentManager::on_changed" ref="aba88dad9d1c648b47c01954a23b887e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::RecentManager::on_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aafd62f6093f71893ffa285acc8cbc691"></a><!-- doxytag: member="Gtk::RecentManager::property_filename" ref="aafd62f6093f71893ffa285acc8cbc691" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::RecentManager::property_filename </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The full path to the file to be used to store and read the list. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a40e0b61d40b8e57e0adb3e1f8a373ad8"></a><!-- doxytag: member="Gtk::RecentManager::property_limit" ref="a40e0b61d40b8e57e0adb3e1f8a373ad8" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::RecentManager::property_limit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum number of items to be returned by gtk_recent_manager_get_items(). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="abd6cbdff1d2ff2cff356fc79ea40ec78"></a><!-- doxytag: member="Gtk::RecentManager::property_limit" ref="abd6cbdff1d2ff2cff356fc79ea40ec78" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::RecentManager::property_limit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum number of items to be returned by gtk_recent_manager_get_items(). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="adb4fbf5f5c25e2e84ba86d56dc2f4098"></a><!-- doxytag: member="Gtk::RecentManager::property_size" ref="adb4fbf5f5c25e2e84ba86d56dc2f4098" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::RecentManager::property_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The size of the recently used resources list. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aa393d1be0690fa74313a7e4f51fc3860"></a><!-- doxytag: member="Gtk::RecentManager::purge_items" ref="aa393d1be0690fa74313a7e4f51fc3860" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::RecentManager::purge_items </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Purges every item from the recently used resources list. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000293">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of items that have been removed from the recently used resources list. </dd></dl>

</div>
</div>
<a class="anchor" id="a706bd39925f209dc38fcb5465348ca1c"></a><!-- doxytag: member="Gtk::RecentManager::remove_item" ref="a706bd39925f209dc38fcb5465348ca1c" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::remove_item </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a resource pointed by <em>uri</em> from the recently used resources list handled by a recent manager. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000285">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>The URI of the item you wish to remove. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the item pointed by <em>uri</em> has been successfully removed by the recently used resources list, and <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="add407400f426329a9ccfacb5a6518383"></a><!-- doxytag: member="Gtk::RecentManager::set_limit" ref="add407400f426329a9ccfacb5a6518383" args="(int limit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::RecentManager::set_limit </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>limit</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the maximum number of item that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. </p>
<p>If <em>limit</em> is set to -1, then return all the items.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000290">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>limit</em>&#160;</td><td>The maximum number of items to return, or -1. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac92caed68ef92bb9b0a0fc60b0ec1d50"></a><!-- doxytag: member="Gtk::RecentManager::set_screen" ref="ac92caed68ef92bb9b0a0fc60b0ec1d50" args="(const Glib::RefPtr&lt; Gdk::Screen &gt; &amp;screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::RecentManager::set_screen </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>screen</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000284">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.12: This function has been deprecated and should not be used in newly written code. Calling this function has no effect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>screen</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab46f1342bfecde9fbc4dca35d20f7e88"></a><!-- doxytag: member="Gtk::RecentManager::signal_changed" ref="ab46f1342bfecde9fbc4dca35d20f7e88" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::RecentManager::signal_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The "changed" signal is emitted when an item in the recently used resources list is changed. </p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_changed()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5f2ae744f762ca72e98c45e981ae8584"></a><!-- doxytag: member="Gtk::RecentManager::wrap" ref="a5f2ae744f762ca72e98c45e981ae8584" args="(GtkRecentManager *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>&lt; <a class="el" href="classGtk_1_1RecentManager.html">Gtk::RecentManager</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkRecentManager *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/recentmanager.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:59 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>