1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.RecentChooserWidget</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-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><link rel="next" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"></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.RecentChooserWidget</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentchoosermenu.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentchooser.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkrecentchooserwidget"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentChooserWidget</h2><p>gtk.RecentChooserWidget — Displays recently used files (new in PyGTK 2.10)</p></div><div class="refsect1" lang="en"><a name="id3626368"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentChooserWidget</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkvbox.html" title="gtk.VBox">gtk.VBox</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a></span></span>):
2
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkrecentchooserwidget.html#constructor-gtkrecentchooserwidget" title="gtk.RecentChooserWidget">gtk.RecentChooserWidget</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3626435"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.RecentChooserWidget</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-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><link rel="next" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"></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.RecentChooserWidget</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentchoosermenu.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentchooser.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkrecentchooserwidget"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentChooserWidget</h2><p>gtk.RecentChooserWidget — Displays recently used files (new in PyGTK 2.10)</p></div><div class="refsect1" lang="en"><a name="id3827174"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentChooserWidget</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkvbox.html" title="gtk.VBox">gtk.VBox</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a></span></span>):
2
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkrecentchooserwidget.html#constructor-gtkrecentchooserwidget" title="gtk.RecentChooserWidget">gtk.RecentChooserWidget</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3827241"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
3
3
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
4
4
+-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
5
5
+-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
6
6
+-- <a class="link" href="class-gtkbox.html" title="gtk.Box">gtk.Box</a>
7
7
+-- <a class="link" href="class-gtkvbox.html" title="gtk.VBox">gtk.VBox</a>
8
8
+-- <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget">gtk.RecentChooserWidget</a>
9
</pre></div><div class="refsect1" lang="en"><a name="id3626493"></a><h2>Implemented Interfaces</h2><p>
9
</pre></div><div class="refsect1" lang="en"><a name="id3827299"></a><h2>Implemented Interfaces</h2><p>
10
10
<a class="link" href="class-gtkbin.html" title="gtk.Bin"><code class="classname">gtk.Bin</code></a>
12
12
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
13
13
<a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a>
14
</p></div><div class="refsect1" lang="en"><a name="properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Properties</h2><p><a class="link" href="class-gtkrecentchooser.html#properties-gtkrecentchooser" title="gtk.RecentChooser Properties">gtk.RecentChooser Properties</a></p><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkbox.html#properties-gtkbox" title="gtk.Box Properties">gtk.Box Properties</a></p></div><div class="refsect1" lang="en"><a name="style-properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p></div><div class="refsect1" lang="en"><a name="child-properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Child Properties</h2><p><a class="link" href="class-gtkbox.html#child-properties-gtkbox" title="gtk.Box Child Properties">gtk.Box Child Properties</a></p></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkrecentchooser.html#signal-prototypes-gtkrecentchooser" title="gtk.RecentChooser Signal Prototypes">gtk.RecentChooser Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3626667"></a><h2>Description</h2><p><a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
14
</p></div><div class="refsect1" lang="en"><a name="properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Properties</h2><p><a class="link" href="class-gtkrecentchooser.html#properties-gtkrecentchooser" title="gtk.RecentChooser Properties">gtk.RecentChooser Properties</a></p><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkbox.html#properties-gtkbox" title="gtk.Box Properties">gtk.Box Properties</a></p></div><div class="refsect1" lang="en"><a name="style-properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p></div><div class="refsect1" lang="en"><a name="child-properties-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Child Properties</h2><p><a class="link" href="class-gtkbox.html#child-properties-gtkbox" title="gtk.Box Child Properties">gtk.Box Child Properties</a></p></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkrecentchooserwidget"></a><h2>gtk.RecentChooserWidget Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkrecentchooser.html#signal-prototypes-gtkrecentchooser" title="gtk.RecentChooser Signal Prototypes">gtk.RecentChooser Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3827473"></a><h2>Description</h2><p><a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
15
15
is a widget suitable for selecting recently used files. It is the main
16
16
building block of a <a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>.
17
17
Most applications will only need to use the latter; you can use <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
18
18
as part of a larger window if you have special needs.</p><p>Note that <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
19
19
does not have any methods of its own. Instead, you should use the
20
methods that work on a <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>.</p><p>Recently used files are supported since GTK+ 2.10.</p></div><div class="refsect1" lang="en"><a name="id3626728"></a><h2>Constructor</h2><div class="refsect2" lang="en"><a name="constructor-gtkrecentchooserwidget"></a><h3>gtk.RecentChooserWidget</h3><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.RecentChooserWidget</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</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>manager</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.10 and above.</p></div><p>Creates a new <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
20
methods that work on a <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>.</p><p>Recently used files are supported since GTK+ 2.10.</p></div><div class="refsect1" lang="en"><a name="id3827534"></a><h2>Constructor</h2><div class="refsect2" lang="en"><a name="constructor-gtkrecentchooserwidget"></a><h3>gtk.RecentChooserWidget</h3><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.RecentChooserWidget</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</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>manager</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.10 and above.</p></div><p>Creates a new <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
21
21
with an optional <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a>.</p><p>This is useful if you have implemented your own recent manager,
22
22
or if you have a customized instance of a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a>
23
23
object.</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-gtkrecentchoosermenu.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-gtkrecentchooser.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RecentChooserMenu </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.RecentChooser</td></tr></table></div></body></html>