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

« back to all changes in this revision

Viewing changes to docs/html/class-gtkpagesetupunixdialog.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>gtkunixprint.PageSetupUnixDialog</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="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" lang="en"><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
2
 
      PyGTK 2.10)</p></div><div class="refsect1" lang="en"><a name="id3116376"></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>):
3
 
<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" lang="en"><a name="id2870641"></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>gtkunixprint.PageSetupUnixDialog</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="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
 
2
      PyGTK 2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3383942"></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>):
 
3
<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="id3240549"></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>
8
8
          +-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
9
9
            +-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
10
10
              +-- <a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog">gtkunixprint.PageSetupUnixDialog</a>
11
 
</pre></div><div class="refsect1" lang="en"><a name="id3138399"></a><h2>Implemented Interfaces</h2><p>
 
11
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3491027"></a><h2>Implemented Interfaces</h2><p>
12
12
                        <a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog"><code class="classname">gtk.PageSetupUnixDialog</code></a>
13
13
                        implements 
14
14
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
15
 
                </p></div><div class="refsect1" lang="en"><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" lang="en"><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" lang="en"><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" lang="en"><a name="id2951011"></a><h2>Description</h2><div class="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
 
15
                </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="id3051358"></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
16
16
      above.</p></div><p>The <a class="link" href="class-gtkpagesetupunixdialog.html" title="gtkunixprint.PageSetupUnixDialog"><code class="classname">gtkunixprint.PageSetupUnixDialog</code></a>
17
17
    object implements a page setup dialog for platforms, like Unix, that
18
18
    don't provide a native page setup dialog. It can be used very much like
19
19
    any other PyGTK dialog, at the cost of the portability offered by the
20
 
    high-level printing API.</p></div><div class="refsect1" lang="en"><a name="id2930767"></a><h2>Constructor</h2><div class="refsect2" lang="en"><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
 
20
    high-level printing API.</p></div><div class="refsect1" title="Constructor"><a name="id3314699"></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
21
21
          <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
22
 
          <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" 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
 
22
          <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
23
23
      specified by <em class="parameter"><code>title</code></em> and optionally using the
24
24
      <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>
25
 
      specified by <em class="parameter"><code>parent</code></em>.</p></div></div><div class="refsect1" lang="en"><a name="id3161351"></a><h2>Methods</h2><div class="refsect2" lang="en"><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" 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
 
25
      specified by <em class="parameter"><code>parent</code></em>.</p></div></div><div class="refsect1" title="Methods"><a name="id3227637"></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
26
26
      <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>
27
27
      specified by <em class="parameter"><code>page_setup</code></em> to set the page setup
28
 
      values for the dialog.</p></div><div class="refsect2" lang="en"><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" 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
29
 
      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" lang="en"><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" 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
 
28
      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
 
29
      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
30
30
      installs the <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
31
31
      specified by print_settings as the print settings for the
32
 
      dialog.</p></div><div class="refsect2" lang="en"><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" 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
 
32
      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
33
33
      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>