~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gtkrecentinfo.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.RecentInfo</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkrecentfilter.html" title="gtk.RecentFilter"><link rel="next" href="class-gtkrecentmanager.html" title="gtk.RecentManager"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.RecentInfo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentfilter.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentmanager.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkrecentinfo"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentInfo</h2><p>gtk.RecentInfo — information found when looking up an entry of the recently
2
 
      used files list. (new in PyGTK 2.10)</p></div><div class="refsect1" lang="en"><a name="id3659011"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentInfo</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
3
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-uri" title="gtk.RecentInfo.get_uri">get_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-display-name" title="gtk.RecentInfo.get_display_name">get_display_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-description" title="gtk.RecentInfo.get_description">get_description</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-mime-type" title="gtk.RecentInfo.get_mime_type">get_mime_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-added" title="gtk.RecentInfo.get_added">get_added</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-modified" title="gtk.RecentInfo.get_modified">get_modified</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-visited" title="gtk.RecentInfo.get_visited">get_visited</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-private-hint" title="gtk.RecentInfo.get_private_hint">get_private_hint</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-application-info" title="gtk.RecentInfo.get_application_info">get_application_info</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-applications" title="gtk.RecentInfo.get_applications">get_applications</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--last-application" title="gtk.RecentInfo.last_application">last_application</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--has-application" title="gtk.RecentInfo.has_application">has_application</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-groups" title="gtk.RecentInfo.get_groups">get_groups</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--has-group" title="gtk.RecentInfo.has_group">has_group</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-icon" title="gtk.RecentInfo.get_icon">get_icon</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>size</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-short-name" title="gtk.RecentInfo.get_short_name">get_short_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-uri-display" title="gtk.RecentInfo.get_uri_display">get_uri_display</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-age" title="gtk.RecentInfo.get_age">get_age</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--is-local" title="gtk.RecentInfo.is_local">is_local</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--exists" title="gtk.RecentInfo.exists">exists</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--match" title="gtk.RecentInfo.match">match</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>info_b</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3659489"></a><h2>Description</h2><p>A <a class="link" href="class-gtkrecentinfo.html" title="gtk.RecentInfo"><code class="classname">gtk.RecentInfo</code></a>
4
 
    contains the information about an entry in a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a>.</p></div><div class="refsect1" lang="en"><a name="id3659516"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-uri"></a><h3>gtk.RecentInfo.get_uri</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_uri</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the URI of the resource.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the URI of the resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-display-name"></a><h3>gtk.RecentInfo.get_display_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_display_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the display name of the
5
 
          resource.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the name of the resource. If none has been defined, the
6
 
      basename of the resource is obtained.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-description"></a><h3>gtk.RecentInfo.get_description</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_description</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the description of the
7
 
          resource.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the (short) description of the resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-mime-type"></a><h3>gtk.RecentInfo.get_mime_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_mime_type</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the MIME type of the
8
 
          resource.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the MIME type of the resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-added"></a><h3>gtk.RecentInfo.get_added</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_added</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.RecentInfo</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkrecentfilter.html" title="gtk.RecentFilter"><link rel="next" href="class-gtkrecentmanager.html" title="gtk.RecentManager"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.RecentInfo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentfilter.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentmanager.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.RecentInfo"><a name="class-gtkrecentinfo"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentInfo</h2><p>gtk.RecentInfo — information found when looking up an entry of the recently
 
2
      used files list. (new in PyGTK 2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3968971"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentInfo</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
 
3
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-uri" title="gtk.RecentInfo.get_uri">get_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-display-name" title="gtk.RecentInfo.get_display_name">get_display_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-description" title="gtk.RecentInfo.get_description">get_description</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-mime-type" title="gtk.RecentInfo.get_mime_type">get_mime_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-added" title="gtk.RecentInfo.get_added">get_added</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-modified" title="gtk.RecentInfo.get_modified">get_modified</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-visited" title="gtk.RecentInfo.get_visited">get_visited</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-private-hint" title="gtk.RecentInfo.get_private_hint">get_private_hint</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-application-info" title="gtk.RecentInfo.get_application_info">get_application_info</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-applications" title="gtk.RecentInfo.get_applications">get_applications</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--last-application" title="gtk.RecentInfo.last_application">last_application</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--has-application" title="gtk.RecentInfo.has_application">has_application</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-groups" title="gtk.RecentInfo.get_groups">get_groups</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--has-group" title="gtk.RecentInfo.has_group">has_group</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-icon" title="gtk.RecentInfo.get_icon">get_icon</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>size</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-short-name" title="gtk.RecentInfo.get_short_name">get_short_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-uri-display" title="gtk.RecentInfo.get_uri_display">get_uri_display</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--get-age" title="gtk.RecentInfo.get_age">get_age</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--is-local" title="gtk.RecentInfo.is_local">is_local</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--exists" title="gtk.RecentInfo.exists">exists</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentinfo.html#method-gtkrecentinfo--match" title="gtk.RecentInfo.match">match</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>info_b</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="id3969448"></a><h2>Description</h2><p>A <a class="link" href="class-gtkrecentinfo.html" title="gtk.RecentInfo"><code class="classname">gtk.RecentInfo</code></a>
 
4
    contains the information about an entry in a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a>.</p></div><div class="refsect1" title="Methods"><a name="id3969475"></a><h2>Methods</h2><div class="refsect2" title="gtk.RecentInfo.get_uri"><a name="method-gtkrecentinfo--get-uri"></a><h3>gtk.RecentInfo.get_uri</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_uri</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the URI of the resource.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the URI of the resource.</p></div><div class="refsect2" title="gtk.RecentInfo.get_display_name"><a name="method-gtkrecentinfo--get-display-name"></a><h3>gtk.RecentInfo.get_display_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_display_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the display name of the
 
5
          resource.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the name of the resource. If none has been defined, the
 
6
      basename of the resource is obtained.</p></div><div class="refsect2" title="gtk.RecentInfo.get_description"><a name="method-gtkrecentinfo--get-description"></a><h3>gtk.RecentInfo.get_description</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_description</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the description of the
 
7
          resource.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the (short) description of the resource.</p></div><div class="refsect2" title="gtk.RecentInfo.get_mime_type"><a name="method-gtkrecentinfo--get-mime-type"></a><h3>gtk.RecentInfo.get_mime_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_mime_type</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the MIME type of the
 
8
          resource.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the MIME type of the resource.</p></div><div class="refsect2" title="gtk.RecentInfo.get_added"><a name="method-gtkrecentinfo--get-added"></a><h3>gtk.RecentInfo.get_added</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_added</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
9
9
          Epoch when the resource was added to the list, or -1 on
10
 
          failure.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
11
 
      resource was added to the recently used resources list.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-modified"></a><h3>gtk.RecentInfo.get_modified</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_modified</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
 
10
          failure.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
 
11
      resource was added to the recently used resources list.</p></div><div class="refsect2" title="gtk.RecentInfo.get_modified"><a name="method-gtkrecentinfo--get-modified"></a><h3>gtk.RecentInfo.get_modified</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_modified</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
12
12
          Epoch when the resource was last modified, or -1 on
13
 
          failure.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
14
 
      resource was last modified.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-visited"></a><h3>gtk.RecentInfo.get_visited</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_visited</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
 
13
          failure.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
 
14
      resource was last modified.</p></div><div class="refsect2" title="gtk.RecentInfo.get_visited"><a name="method-gtkrecentinfo--get-visited"></a><h3>gtk.RecentInfo.get_visited</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_visited</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the number of seconds elapsed from system's
15
15
          Epoch when the resource was last visited, or -1 on
16
 
          failure.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
17
 
      resource was last visited.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-private-hint"></a><h3>gtk.RecentInfo.get_private_hint</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_private_hint</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the private flag was
18
 
          found.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the value of the "private" flag.  Resources in the
 
16
          failure.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the timestamp (seconds from system's Epoch) when the
 
17
      resource was last visited.</p></div><div class="refsect2" title="gtk.RecentInfo.get_private_hint"><a name="method-gtkrecentinfo--get-private-hint"></a><h3>gtk.RecentInfo.get_private_hint</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_private_hint</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the private flag was
 
18
          found.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the value of the "private" flag.  Resources in the
19
19
      recently used list that have this flag set to <code class="literal">True</code>
20
20
      should only be displayed by the applications that have registered
21
 
      them.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-application-info"></a><h3>gtk.RecentInfo.get_application_info</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_application_info</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>app_name</code></strong> :</span></p></td><td>the name of the application that has registered
 
21
      them.</p></div><div class="refsect2" title="gtk.RecentInfo.get_application_info"><a name="method-gtkrecentinfo--get-application-info"></a><h3>gtk.RecentInfo.get_application_info</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_application_info</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>app_name</code></strong> :</span></p></td><td>the name of the application that has registered
22
22
          this item</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a 3-tuple (containing the command line, the
23
23
          number of times this item was registered and the timestamp this
24
24
          item was last registered for this application) if an application
25
25
          named <em class="parameter"><code>app_name</code></em> has registered this resource
26
26
          inside the recently used list, or <code class="literal">None</code>
27
 
          otherwise.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns a 3-tuple containg the data regarding the application
 
27
          otherwise.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns a 3-tuple containg the data regarding the application
28
28
      that has registered this resource. The 3-tuple contains the command
29
29
      line, the number of times this item was registered and the timestamp
30
30
      this item was last registered for this application</p><p>If the command line contains any escape characters defined
31
 
      inside the storage specification, they will be expanded.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-applications"></a><h3>gtk.RecentInfo.get_applications</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_applications</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of application name
32
 
          strings.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the list of applications that have registered this
33
 
      resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--last-application"></a><h3>gtk.RecentInfo.last_application</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">last_application</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>an application name.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the name of the last application that has registered the
34
 
      recently used resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--has-application"></a><h3>gtk.RecentInfo.has_application</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">has_application</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>app_name</code></strong> :</span></p></td><td>a string containing an application
 
31
      inside the storage specification, they will be expanded.</p></div><div class="refsect2" title="gtk.RecentInfo.get_applications"><a name="method-gtkrecentinfo--get-applications"></a><h3>gtk.RecentInfo.get_applications</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_applications</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of application name
 
32
          strings.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the list of applications that have registered this
 
33
      resource.</p></div><div class="refsect2" title="gtk.RecentInfo.last_application"><a name="method-gtkrecentinfo--last-application"></a><h3>gtk.RecentInfo.last_application</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">last_application</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>an application name.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the name of the last application that has registered the
 
34
      recently used resource.</p></div><div class="refsect2" title="gtk.RecentInfo.has_application"><a name="method-gtkrecentinfo--has-application"></a><h3>gtk.RecentInfo.has_application</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">has_application</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>app_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>app_name</code></strong> :</span></p></td><td>a string containing an application
35
35
          name</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if an application with
36
36
          the name <em class="parameter"><code>app_name</code></em> was found,
37
 
          <code class="literal">False</code> otherwise.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether an application registered this resource using
38
 
      <em class="parameter"><code>app_name</code></em>.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-groups"></a><h3>gtk.RecentInfo.get_groups</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_groups</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of group names.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns a list containing the names of all groups registered
39
 
      for the recently used item.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--has-group"></a><h3>gtk.RecentInfo.has_group</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">has_group</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>group_name</code></strong> :</span></p></td><td>the name of a group</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the group was
40
 
          found.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether <em class="parameter"><code>group_name</code></em> appears inside
41
 
      the groups registered for the recently used item.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-icon"></a><h3>gtk.RecentInfo.get_icon</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>size</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>size</code></strong> :</span></p></td><td>the size of the icon in
 
37
          <code class="literal">False</code> otherwise.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether an application registered this resource using
 
38
      <em class="parameter"><code>app_name</code></em>.</p></div><div class="refsect2" title="gtk.RecentInfo.get_groups"><a name="method-gtkrecentinfo--get-groups"></a><h3>gtk.RecentInfo.get_groups</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_groups</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of group names.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns a list containing the names of all groups registered
 
39
      for the recently used item.</p></div><div class="refsect2" title="gtk.RecentInfo.has_group"><a name="method-gtkrecentinfo--has-group"></a><h3>gtk.RecentInfo.has_group</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">has_group</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>group_name</code></strong> :</span></p></td><td>the name of a group</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the group was
 
40
          found.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether <em class="parameter"><code>group_name</code></em> appears inside
 
41
      the groups registered for the recently used item.</p></div><div class="refsect2" title="gtk.RecentInfo.get_icon"><a name="method-gtkrecentinfo--get-icon"></a><h3>gtk.RecentInfo.get_icon</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>size</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>size</code></strong> :</span></p></td><td>the size of the icon in
42
42
          pixels</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><code class="classname">gtk.gdk.Pixbuf</code></a>
43
43
          containing the icon, or
44
 
          <code class="literal">None</code>.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Retrieves the icon of size <em class="parameter"><code>size</code></em>
45
 
      associated to the resource MIME type.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-short-name"></a><h3>gtk.RecentInfo.get_short_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_short_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the short name as a UTF-8 string</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Computes a valid UTF-8 string that can be used as the name of
 
44
          <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Retrieves the icon of size <em class="parameter"><code>size</code></em>
 
45
      associated to the resource MIME type.</p></div><div class="refsect2" title="gtk.RecentInfo.get_short_name"><a name="method-gtkrecentinfo--get-short-name"></a><h3>gtk.RecentInfo.get_short_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_short_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the short name as a UTF-8 string</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Computes a valid UTF-8 string that can be used as the name of
46
46
      the item in a menu or list.  For example, calling this function on an
47
 
      item that refers to "file:///foo/bar.txt" will yield "bar.txt".</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-uri-display"></a><h3>gtk.RecentInfo.get_uri_display</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_uri_display</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a UTF-8 string containing the resource's URI or
48
 
          <code class="literal">None</code></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Gets a displayable version of the resource's URI.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--get-age"></a><h3>gtk.RecentInfo.get_age</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_age</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a positive integer containing the number of
 
47
      item that refers to "file:///foo/bar.txt" will yield "bar.txt".</p></div><div class="refsect2" title="gtk.RecentInfo.get_uri_display"><a name="method-gtkrecentinfo--get-uri-display"></a><h3>gtk.RecentInfo.get_uri_display</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_uri_display</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a UTF-8 string containing the resource's URI or
 
48
          <code class="literal">None</code></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Gets a displayable version of the resource's URI.</p></div><div class="refsect2" title="gtk.RecentInfo.get_age"><a name="method-gtkrecentinfo--get-age"></a><h3>gtk.RecentInfo.get_age</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_age</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a positive integer containing the number of
49
49
          days elapsed since the time this resource was last
50
 
          modified.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the number of days elapsed since the last update of the
51
 
      resource.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--is-local"></a><h3>gtk.RecentInfo.is_local</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_local</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the resource is
52
 
          local.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether the resource is local or not by looking at the
53
 
      scheme of its URI.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--exists"></a><h3>gtk.RecentInfo.exists</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">exists</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the resource
54
 
          exists</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether the resource still exists. At the moment this
55
 
      check is done only on resources pointing to local files.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentinfo--match"></a><h3>gtk.RecentInfo.match</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">match</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>info_b</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>info_b</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkrecentinfo.html" title="gtk.RecentInfo"><code class="classname">gtk.RecentInfo</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if
 
50
          modified.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Returns the number of days elapsed since the last update of the
 
51
      resource.</p></div><div class="refsect2" title="gtk.RecentInfo.is_local"><a name="method-gtkrecentinfo--is-local"></a><h3>gtk.RecentInfo.is_local</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_local</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the resource is
 
52
          local.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether the resource is local or not by looking at the
 
53
      scheme of its URI.</p></div><div class="refsect2" title="gtk.RecentInfo.exists"><a name="method-gtkrecentinfo--exists"></a><h3>gtk.RecentInfo.exists</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">exists</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the resource
 
54
          exists</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks whether the resource still exists. At the moment this
 
55
      check is done only on resources pointing to local files.</p></div><div class="refsect2" title="gtk.RecentInfo.match"><a name="method-gtkrecentinfo--match"></a><h3>gtk.RecentInfo.match</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">match</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>info_b</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>info_b</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkrecentinfo.html" title="gtk.RecentInfo"><code class="classname">gtk.RecentInfo</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if
56
56
          <em class="parameter"><code>info_b</code></em> matches this recent
57
 
          info.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks if <em class="parameter"><code>info_b</code></em> matches this recent
 
57
          info.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>Checks if <em class="parameter"><code>info_b</code></em> matches this recent
58
58
      info.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkrecentfilter.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkrecentmanager.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RecentFilter </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.RecentManager</td></tr></table></div></body></html>