This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkrecentchooserdialog.html is in python-gtk2-doc 2.24.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.RecentChooserDialog</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><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-gtkrecentaction.html" title="gtk.RecentAction"><link rel="next" href="class-gtkrecentchoosermenu.html" title="gtk.RecentChooserMenu"></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.RecentChooserDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentaction.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrecentchoosermenu.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.RecentChooserDialog"><a name="class-gtkrecentchooserdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RecentChooserDialog</h2><p>gtk.RecentChooserDialog — Displays recently used files in a dialog (new in PyGTK
      2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3866043"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RecentChooserDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser">gtk.RecentChooser</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkrecentchooserdialog.html#constructor-gtkrecentchooserdialog" title="gtk.RecentChooserDialog">gtk.RecentChooserDialog</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>buttons</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3866159"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
        +-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
          +-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
            +-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
              +-- <a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog">gtk.RecentChooserDialog</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3866223"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>
			implements 
			<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
            <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>
		</p></div><div class="refsect1" title="gtk.RecentChooserDialog Properties"><a name="properties-gtkrecentchooserdialog"></a><h2>gtk.RecentChooserDialog 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-gtkwindow.html#properties-gtkwindow" title="gtk.Window Properties">gtk.Window Properties</a></p><p><a class="link" href="class-gtkdialog.html#properties-gtkdialog" title="gtk.Dialog Properties">gtk.Dialog Properties</a></p></div><div class="refsect1" title="gtk.RecentChooserDialog Style Properties"><a name="style-properties-gtkrecentchooserdialog"></a><h2>gtk.RecentChooserDialog 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-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p></div><div class="refsect1" title="gtk.RecentChooserDialog Signal Prototypes"><a name="signal-prototypes-gtkrecentchooserdialog"></a><h2>gtk.RecentChooserDialog 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-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog 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="id3866409"></a><h2>Description</h2><p><a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>
    is a dialog box suitable for displaying the recently used documents.
    This widgets works by putting a <a class="link" href="class-gtkrecentchooserwidget.html" title="gtk.RecentChooserWidget"><code class="classname">gtk.RecentChooserWidget</code></a>
    inside a <a class="link" href="class-gtkdialog.html" title="gtk.Dialog"><code class="classname">gtk.Dialog</code></a>.  It
    exposes the <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>
    interface, so you can use all the <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>
    methods on the recent chooser dialog as well as those for <a class="link" href="class-gtkdialog.html" title="gtk.Dialog"><code class="classname">gtk.Dialog</code></a>.</p><p>Note that <a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>
    does not have any methods of its own.  Instead, you should use the
    methods that work on a <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>.</p><div class="example"><a name="gtkrecentchooser-typical-usage"></a><p class="title"><b>Example 4. Typical usage</b></p><div class="example-contents"><p>In the simplest of cases, you can use the following code to use
      a <a class="link" href="class-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>
      to select a recently used file:</p><pre class="programlisting">
  dialog = gtk.RecentChooserDialog("Recent Documents", parent_window, None,
			           (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
				    gtk.STOCK_OPEN, gtk.RESPONSE_ACCEPT))
					
  if dialog.run() == gtk.RESPONSE_ACCEPT:
    info = dialog.get_current_item ()
    open_file(info.get_uri())
  dialog.destroy()
  </pre></div></div><br class="example-break"><p>Recently used files are supported since GTK+ 2.10.</p></div><div class="refsect1" title="Constructor"><a name="id3866528"></a><h2>Constructor</h2><div class="refsect2" title="gtk.RecentChooserDialog"><a name="constructor-gtkrecentchooserdialog"></a><h3>gtk.RecentChooserDialog</h3><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.RecentChooserDialog</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>manager</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>buttons</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>title</code></strong> :</span></p></td><td>Title of the dialog, or
          <code class="literal">None</code></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>Transient parent of the dialog, or
          <code class="literal">None</code>,</td></tr><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>,
          or <code class="literal">None</code>,</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>buttons</code></strong> :</span></p></td><td>a sequence of text-response
          pairs</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-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a></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-gtkrecentchooserdialog.html" title="gtk.RecentChooserDialog"><code class="classname">gtk.RecentChooserDialog</code></a>
      with the title text specified by <em class="parameter"><code>title</code></em> (or
      <code class="literal">None</code> for the default title; see <a class="link" href="class-gtkwindow.html#method-gtkwindow--set-title" title="gtk.Window.set_title"><code class="methodname">gtk.Window.set_title</code>()</a>)
      and transient parent window specified by <em class="parameter"><code>parent</code></em>
      (or <code class="literal">None</code> for none; see <a class="link" href="class-gtkwindow.html#method-gtkwindow--set-transient-for" title="gtk.Window.set_transient_for"><code class="methodname">gtk.Window.set_transient_for</code>()</a>).
      <em class="parameter"><code>manager</code></em> specifies a <a class="link" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><code class="classname">gtk.RecentManager</code></a>
      object (or <code class="literal">None</code>). <em class="parameter"><code>buttons</code></em> is
      a sequence of button text/response ID pairs should be listed, or
      <code class="literal">None</code> (the default value) if no buttons are
      needed. The button text can be either a stock ID such as
      <code class="literal">gtk.STOCK_OK</code>, or some arbitrary text.  A response
      ID can be any positive number, or one of the pre-defined <a class="xref" href="gtk-constants.html#gtk-response-type-constants" title="GTK Response Type Constants">GTK Response Type Constants</a>. This constructor
      is analogous to <a class="link" href="class-gtkdialog.html#constructor-gtkdialog" title="Constructor"><code class="methodname">gtk.Dialog</code></a>.</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-gtkrecentaction.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-gtkrecentchoosermenu.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RecentAction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.RecentChooserMenu</td></tr></table></div></body></html>