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

« back to all changes in this revision

Viewing changes to docs/html/class-gtkrecentchoosermenu.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.RecentChooserMenu</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-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><link rel="next" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"></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.RecentChooserMenu</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentchooserdialog.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentchooserwidget.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkrecentchoosermenu"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentChooserMenu</h2><p>gtk.RecentChooserMenu — Displays recently used files in a menu (new in PyGTK
2
 
      2.10)</p></div><div class="refsect1" lang="en"><a name="id3651283"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentChooserMenu</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkmenu.html" title="gtk.Menu">gtk.Menu</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a></span></span>):
3
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#constructor-gtkrecentchoosermenu" title="gtk.RecentChooserMenu">gtk.RecentChooserMenu</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--get-show-numbers" title="gtk.RecentChooserMenu.get_show_numbers">get_show_numbers</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--set-show-numbers" title="gtk.RecentChooserMenu.set_show_numbers">set_show_numbers</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>show_numbers</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3651397"></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.RecentChooserMenu</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-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><link rel="next" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"></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.RecentChooserMenu</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentchooserdialog.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentchooserwidget.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.RecentChooserMenu"><a name="class-gtkrecentchoosermenu"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentChooserMenu</h2><p>gtk.RecentChooserMenu — Displays recently used files in a menu (new in PyGTK
 
2
      2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3961232"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentChooserMenu</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkmenu.html" title="gtk.Menu">gtk.Menu</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a></span></span>):
 
3
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#constructor-gtkrecentchoosermenu" title="gtk.RecentChooserMenu">gtk.RecentChooserMenu</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--get-show-numbers" title="gtk.RecentChooserMenu.get_show_numbers">get_show_numbers</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--set-show-numbers" title="gtk.RecentChooserMenu.set_show_numbers">set_show_numbers</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>show_numbers</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3961346"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
4
4
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
5
5
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
6
6
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
7
7
        +-- <a class="link" href="class-gtkmenushell.html" title="gtk.MenuShell">gtk.MenuShell</a>
8
8
          +-- <a class="link" href="class-gtkmenu.html" title="gtk.Menu">gtk.Menu</a>
9
9
            +-- <a class="link" href="class-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu">gtk.RecentChooserMenu</a> (implements <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>)
10
 
</pre></div><div class="refsect1" lang="en"><a name="id3651462"></a><h2>Implemented Interfaces</h2><p>
 
10
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3961411"></a><h2>Implemented Interfaces</h2><p>
11
11
                        <a class="link" href="class-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a>
12
12
                        implements 
13
13
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
14
 
                </p></div><div class="refsect1" lang="en"><a name="properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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-gtkmenushell.html#properties-gtkmenushell" title="gtk.MenuShell Properties">gtk.MenuShell Properties</a></p><p><a class="link" href="class-gtkmenu.html#properties-gtkmenu" title="gtk.Menu Properties">gtk.Menu Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col><col><col></colgroup><tbody><tr valign="top"><td valign="top">"show-numbers"</td><td valign="top">Read-Write</td><td valign="top">Whether the first ten items in the menu should be prepended by
 
14
                </p></div><div class="refsect1" title="gtk.RecentChooserMenu Properties"><a name="properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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-gtkmenushell.html#properties-gtkmenushell" title="gtk.MenuShell Properties">gtk.MenuShell Properties</a></p><p><a class="link" href="class-gtkmenu.html#properties-gtkmenu" title="gtk.Menu Properties">gtk.Menu Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"show-numbers"</td><td valign="top">Read-Write</td><td valign="top">Whether the first ten items in the menu should be prepended by
15
15
a number acting as a unique mnemonic.
16
 
This property is available in GTK+ 2.10 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="style-properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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><p><a class="link" href="class-gtkmenu.html#style-properties-gtkmenu" title="gtk.Menu Style Properties">gtk.Menu Style Properties</a></p></div><div class="refsect1" lang="en"><a name="child-properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu Child Properties</h2><p><a class="link" href="class-gtkmenu.html#child-properties-gtkmenu" title="gtk.Menu Child Properties">gtk.Menu Child Properties</a></p></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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-gtkmenushell.html#signal-prototypes-gtkmenushell" title="gtk.MenuShell Signal Prototypes">gtk.MenuShell Signal Prototypes</a></p><p><a class="link" href="class-gtkmenu.html#signal-prototypes-gtkmenu" title="gtk.Menu Signal Prototypes">gtk.Menu 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="id3651725"></a><h2>Description</h2><p>
 
16
This property is available in GTK+ 2.10 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.RecentChooserMenu Style Properties"><a name="style-properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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><p><a class="link" href="class-gtkmenu.html#style-properties-gtkmenu" title="gtk.Menu Style Properties">gtk.Menu Style Properties</a></p></div><div class="refsect1" title="gtk.RecentChooserMenu Child Properties"><a name="child-properties-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu Child Properties</h2><p><a class="link" href="class-gtkmenu.html#child-properties-gtkmenu" title="gtk.Menu Child Properties">gtk.Menu Child Properties</a></p></div><div class="refsect1" title="gtk.RecentChooserMenu Signal Prototypes"><a name="signal-prototypes-gtkrecentchoosermenu"></a><h2>gtk.RecentChooserMenu 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-gtkmenushell.html#signal-prototypes-gtkmenushell" title="gtk.MenuShell Signal Prototypes">gtk.MenuShell Signal Prototypes</a></p><p><a class="link" href="class-gtkmenu.html#signal-prototypes-gtkmenu" title="gtk.Menu Signal Prototypes">gtk.Menu 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" title="Description"><a name="id3961674"></a><h2>Description</h2><p>
17
17
<a class="link" href="class-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a> is a widget suitable for displaying recently used files
18
18
inside a menu.  It can be used to set a sub-menu of a <a class="link" href="class-gtkmenuitem.html" title="gtk.MenuItem"><code class="classname">gtk.MenuItem</code></a> using
19
19
<a class="link" href="class-gtkmenuitem.html#method-gtkmenuitem--set-submenu" title="gtk.MenuItem.set_submenu"><code class="methodname">gtk.MenuItem.set_submenu()</code></a>, or as the menu of a <a class="link" href="class-gtkmenutoolbutton.html" title="gtk.MenuToolButton"><code class="classname">gtk.MenuToolButton</code></a>.
22
22
you should use the functions that work on a <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>.
23
23
</p><p>
24
24
Recently used files are supported since GTK+ 2.10.
25
 
</p></div><div class="refsect1" lang="en"><a name="id3651793"></a><h2>Constructor</h2><div class="refsect2" lang="en"><a name="constructor-gtkrecentchoosermenu"></a><h3>gtk.RecentChooserMenu</h3><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.RecentChooserMenu</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</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>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-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a>, bound to <em class="parameter"><code>manager</code></em>.</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-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a> widget using <em class="parameter"><code>manager</code></em> as
 
25
</p></div><div class="refsect1" title="Constructor"><a name="id3961742"></a><h2>Constructor</h2><div class="refsect2" title="gtk.RecentChooserMenu"><a name="constructor-gtkrecentchoosermenu"></a><h3>gtk.RecentChooserMenu</h3><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.RecentChooserMenu</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</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>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-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a>, bound to <em class="parameter"><code>manager</code></em>.</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 constructor is available in PyGTK 2.10 and above.</p></div><p>Creates a new <a class="link" href="class-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"><code class="classname">gtk.RecentChooserMenu</code></a> widget using <em class="parameter"><code>manager</code></em> as
26
26
      the underlying recently used resources manager.</p><p>This is useful if you have implemented your own recent manager,
27
27
      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>
28
28
      object or if you wish to share a common <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a> object
29
 
      among multiple <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a> widgets.</p></div></div><div class="refsect1" lang="en"><a name="id3651954"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkrecentchoosermenu--get-show-numbers"></a><h3>gtk.RecentChooserMenu.get_show_numbers</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_show_numbers</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 numbers should be shown.</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 set by <a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--set-show-numbers" title="gtk.RecentChooserMenu.set_show_numbers"><code class="methodname">gtk.RecentChooserMenu.set_show_numbers()</code></a>.</p></div><div class="refsect2" lang="en"><a name="method-gtkrecentchoosermenu--set-show-numbers"></a><h3>gtk.RecentChooserMenu.set_show_numbers</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_show_numbers</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>show_numbers</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>show_numbers</code></strong> :</span></p></td><td>whether to show numbers</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>Sets whether a number should be added to the items of <em class="parameter"><code>menu</code></em>.  The
 
29
      among multiple <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a> widgets.</p></div></div><div class="refsect1" title="Methods"><a name="id3961902"></a><h2>Methods</h2><div class="refsect2" title="gtk.RecentChooserMenu.get_show_numbers"><a name="method-gtkrecentchoosermenu--get-show-numbers"></a><h3>gtk.RecentChooserMenu.get_show_numbers</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_show_numbers</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 numbers should be shown.</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 set by <a class="link" href="class-gtkrecentchoosermenu.html#method-gtkrecentchoosermenu--set-show-numbers" title="gtk.RecentChooserMenu.set_show_numbers"><code class="methodname">gtk.RecentChooserMenu.set_show_numbers()</code></a>.</p></div><div class="refsect2" title="gtk.RecentChooserMenu.set_show_numbers"><a name="method-gtkrecentchoosermenu--set-show-numbers"></a><h3>gtk.RecentChooserMenu.set_show_numbers</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_show_numbers</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>show_numbers</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>show_numbers</code></strong> :</span></p></td><td>whether to show numbers</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>Sets whether a number should be added to the items of <em class="parameter"><code>menu</code></em>.  The
30
30
      numbers are shown to provide a unique character for a mnemonic to
31
31
      be used inside the menu item's label.  Only the first the items
32
32
      get a number to avoid clashes.</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-gtkrecentchooserdialog.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-gtkrecentchooserwidget.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RecentChooserDialog </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.RecentChooserWidget</td></tr></table></div></body></html>