This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkpagesetupunixdialog.html is in python-gtk2-doc 2.24.0-4ubuntu1.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtkunixprint.PageSetupUnixDialog</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="unixprint-class-reference.html" title="The gtkunixprint Class Reference"><link rel="prev" href="unixprint-class-reference.html" title="The gtkunixprint Class Reference"><link rel="next" href="class-gtkprinter.html" title="gtkunixprint.Printer"></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">gtkunixprint.PageSetupUnixDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unixprint-class-reference.html">Prev</a> </td><th width="60%" align="center">The gtkunixprint Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkprinter.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtkunixprint.PageSetupUnixDialog"><a name="class-gtkpagesetupunixdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtkunixprint.PageSetupUnixDialog</h2><p>gtkunixprint.PageSetupUnixDialog — a dialog for setting up a printer page on Unix (new in
      PyGTK 2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3314024"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtkunixprint.PageSetupUnixDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkpagesetupunixdialog.html#constructor-gtkpagesetupunixdialog" title="gtkunixprint.PageSetupUnixDialog">gtkunixprint.PageSetupUnixDialog</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>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkpagesetupunixdialog.html#method-gtkpagesetupunixdialog--set-page-setup" title="gtkunixprint.PageSetupUnixDialog.set_page_setup">set_page_setup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_setup</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkpagesetupunixdialog.html#method-gtkpagesetupunixdialog--get-page-setup" title="gtkunixprint.PageSetupUnixDialog.get_page_setup">get_page_setup</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkpagesetupunixdialog.html#method-gtkpagesetupunixdialog--set-print-settings" title="gtkunixprint.PageSetupUnixDialog.set_print_settings">set_print_settings</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>print_settings</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkpagesetupunixdialog.html#method-gtkpagesetupunixdialog--get-print-settings" title="gtkunixprint.PageSetupUnixDialog.get_print_settings">get_print_settings</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3062965"></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-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog">gtkunixprint.PageSetupUnixDialog</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3362687"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog"><code class="classname">gtk.PageSetupUnixDialog</code></a>
			implements 
			<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
		</p></div><div class="refsect1" title="gtkunixprint.PageSetupUnixDialog Properties"><a name="properties-gtkpagesetupunixdialog"></a><h2>gtkunixprint.PageSetupUnixDialog Properties</h2><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="gtkunixprint.PageSetupUnixDialog Style Properties"><a name="style-properties-gtkpagesetupunixdialog"></a><h2>gtkunixprint.PageSetupUnixDialog 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="gtkunixprint.PageSetupUnixDialog Signal Prototypes"><a name="signal-prototypes-gtkpagesetupunixdialog"></a><h2>gtkunixprint.PageSetupUnixDialog 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></div><div class="refsect1" title="Description"><a name="id3026772"></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 class is available for Unix systems in PyGTK 2.10 and
      above.</p></div><p>The <a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog"><code class="classname">gtkunixprint.PageSetupUnixDialog</code></a>
    object implements a page setup dialog for platforms, like Unix, that
    don't provide a native page setup dialog. It can be used very much like
    any other PyGTK dialog, at the cost of the portability offered by the
    high-level printing API.</p></div><div class="refsect1" title="Constructor"><a name="id3026421"></a><h2>Constructor</h2><div class="refsect2" title="gtkunixprint.PageSetupUnixDialog"><a name="constructor-gtkpagesetupunixdialog"></a><h3>gtkunixprint.PageSetupUnixDialog</h3><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtkunixprint.PageSetupUnixDialog</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>)</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, 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>the transient parent of the dialog, or
          <code class="literal">None</code></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new <a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog"><code class="classname">gtkunixprint.PageSetupUnixDialog</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 page setup dialog with the optional title
      specified by <em class="parameter"><code>title</code></em> and optionally using the
      <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>
      specified by <em class="parameter"><code>parent</code></em>.</p></div></div><div class="refsect1" title="Methods"><a name="id3079010"></a><h2>Methods</h2><div class="refsect2" title="gtkunixprint.PageSetupUnixDialog.set_page_setup"><a name="method-gtkpagesetupunixdialog--set-page-setup"></a><h3>gtkunixprint.PageSetupUnixDialog.set_page_setup</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_page_setup</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_setup</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>page_setup</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</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 method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_page_setup</code>() method uses the
      <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>
      specified by <em class="parameter"><code>page_setup</code></em> to set the page setup
      values for the dialog.</p></div><div class="refsect2" title="gtkunixprint.PageSetupUnixDialog.get_page_setup"><a name="method-gtkpagesetupunixdialog--get-page-setup"></a><h3>gtkunixprint.PageSetupUnixDialog.get_page_setup</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_page_setup</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 current page setup</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>The <code class="methodname">get_page_setup</code>() method returns the
      current page setup values from the dialog as a <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>.</p></div><div class="refsect2" title="gtkunixprint.PageSetupUnixDialog.set_print_settings"><a name="method-gtkpagesetupunixdialog--set-print-settings"></a><h3>gtkunixprint.PageSetupUnixDialog.set_print_settings</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_print_settings</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>print_settings</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>print_settings</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</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 method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_print_settings</code>() method
      installs the <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
      specified by print_settings as the print settings for the
      dialog.</p></div><div class="refsect2" title="gtkunixprint.PageSetupUnixDialog.get_print_settings"><a name="method-gtkpagesetupunixdialog--get-print-settings"></a><h3>gtkunixprint.PageSetupUnixDialog.get_print_settings</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_print_settings</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 current print settings</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>The <code class="methodname">get_print_settings</code>() method returns
      the current print settings from the dialog.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="unixprint-class-reference.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="unixprint-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkprinter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">The gtkunixprint Class Reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtkunixprint.Printer</td></tr></table></div></body></html>