/usr/share/gtk-doc/html/pygtk/class-gtkfilechooserdialog.html is in python-gtk2-doc 2.24.0-4.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.FileChooserDialog</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-gtkfilechooserbutton.html" title="gtk.FileChooserButton"><link rel="next" href="class-gtkfilechooserwidget.html" title="gtk.FileChooserWidget"></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.FileChooserDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkfilechooserbutton.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkfilechooserwidget.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.FileChooserDialog"><a name="class-gtkfilechooserdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.FileChooserDialog</h2><p>gtk.FileChooserDialog — a file chooser
dialog, suitable for "File/Open" or "File/Save" commands(new in PyGTK
2.4)</p></div><div class="refsect1" title="Synopsis"><a name="id3709760"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.FileChooserDialog</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-gtkfilechooser.html" title="gtk.FileChooser">gtk.FileChooser</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkfilechooserdialog.html#constructor-gtkfilechooserdialog" title="Constructor">gtk.FileChooserDialog</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>action</code></strong></span><span class="initializer">=gtk.FILE_CHOOSER_ACTION_OPEN</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>buttons</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>backend</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3709897"></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-gtkfilechooserdialog.html" title="gtk.FileChooserDialog">gtk.FileChooserDialog</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3709961"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-gtkfilechooserdialog.html" title="gtk.FileChooserDialog"><code class="classname">gtk.FileChooserDialog</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-gtkfilechooser.html" title="gtk.FileChooser">gtk.FileChooser</a>
</p></div><div class="refsect1" title="gtk.FileChooserDialog Properties"><a name="properties-gtkfilechooserdialog"></a><h2>gtk.FileChooserDialog Properties</h2><p><a class="link" href="class-gtkfilechooser.html#properties-gtkfilechooser" title="gtk.FileChooser Properties">gtk.FileChooser 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.FileChooserDialog Style Properties"><a name="style-properties-gtkfilechooserdialog"></a><h2>gtk.FileChooserDialog 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.FileChooserDialog Signal Prototypes"><a name="signal-prototypes-gtkfilechooserdialog"></a><h2>gtk.FileChooserDialog 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-gtkfilechooser.html#signal-prototypes-gtkfilechooser" title="gtk.FileChooser Signal Prototypes">gtk.FileChooser Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3710146"></a><h2>Description</h2><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This widget is available in PyGTK 2.4 and above.</p></div><p><a class="link" href="class-gtkfilechooserdialog.html" title="gtk.FileChooserDialog"><code class="classname">gtk.FileChooserDialog</code></a>
is a dialog box suitable for use with "File/Open" or "File/Save as"
commands. This widget works by putting a <a class="link" href="class-gtkfilechooserwidget.html" title="gtk.FileChooserWidget"><code class="classname">gtk.FileChooserWidget</code></a>
inside a <a class="link" href="class-gtkdialog.html" title="gtk.Dialog"><code class="classname">gtk.Dialog</code></a>. It
implements the <a class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></a>
interface, so you can use all of the <a class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></a>
methods, signals and properties on the file 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-gtkfilechooserdialog.html" title="gtk.FileChooserDialog"><code class="classname">gtk.FileChooserDialog</code></a>
does not have any methods of its own. Instead, you should use the
methods and signals that work on a <a class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></a>.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkfilechooserdialog"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.FileChooserDialog</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>action</code></strong></span><span class="initializer">=gtk.FILE_CHOOSER_ACTION_OPEN</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>buttons</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>backend</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>The title of the dialog</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>The transient parent of the dialog, or <code class="literal">None</code></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>action</code></strong> :</span></p></td><td>The open or save mode for the dialog - one of:
<code class="literal">gtk.FILE_CHOOSER_ACTION_OPEN</code>,
<code class="literal">gtk.FILE_CHOOSER_ACTION_SAVE</code>,
<code class="literal">gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER</code> or
<code class="literal">gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER</code>.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>buttons</code></strong> :</span></p></td><td>a tuple containing button label-response id pairs
or <code class="literal">None</code></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>backend</code></strong> :</span></p></td><td>The name of the specific filesystem backend to
use.</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-gtkfilechooserdialog.html" title="gtk.FileChooserDialog"><code class="classname">gtk.FileChooserDialog</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.4 and above.</p></div><p>Creates a new <a class="link" href="class-gtkfilechooserdialog.html" title="gtk.FileChooserDialog"><code class="classname">gtk.FileChooserDialog</code></a>. The
constructor can be invoked with the optional parameters:
<em class="parameter"><code>title</code></em>, <em class="parameter"><code>parent</code></em>,
<em class="parameter"><code>action</code></em>, <em class="parameter"><code>buttons</code></em> and
<em class="parameter"><code>backend</code></em>. This constructor is analogous to the
<a class="link" href="class-gtkdialog.html#constructor-gtkdialog" title="Constructor">gtk.Dialog</a>() constructor.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkfilechooserbutton.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-gtkfilechooserwidget.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.FileChooserButton </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.FileChooserWidget</td></tr></table></div></body></html>
|