<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="class-gtkpagesetupunixdialog">

  <refnamediv>
    <refname>gtkunixprint.PageSetupUnixDialog</refname>
      <refpurpose>a dialog for setting up a printer page on Unix (new in
      PyGTK 2.10)</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>

    <classsynopsis language="python">
      <ooclass><classname>gtkunixprint.PageSetupUnixDialog</classname></ooclass>
      <ooclass><classname><link linkend="class-gtkdialog">gtk.Dialog</link></classname></ooclass>
      <constructorsynopsis language="python">
        <methodname><link linkend="constructor-gtkpagesetupunixdialog">gtkunixprint.PageSetupUnixDialog</link></methodname>
        <methodparam><parameter role="keyword">title</parameter><initializer>None</initializer></methodparam>
        <methodparam><parameter role="keyword">parent</parameter><initializer>None</initializer></methodparam>
      </constructorsynopsis>
      <methodsynopsis language="python">
        <methodname><link linkend="method-gtkpagesetupunixdialog--set-page-setup">set_page_setup</link></methodname>
        <methodparam><parameter role="keyword">page_setup</parameter></methodparam>
      </methodsynopsis>
      <methodsynopsis language="python">
        <methodname><link linkend="method-gtkpagesetupunixdialog--get-page-setup">get_page_setup</link></methodname>
        <methodparam></methodparam>
      </methodsynopsis>
      <methodsynopsis language="python">
        <methodname><link linkend="method-gtkpagesetupunixdialog--set-print-settings">set_print_settings</link></methodname>
        <methodparam><parameter role="keyword">print_settings</parameter></methodparam>
      </methodsynopsis>
      <methodsynopsis language="python">
        <methodname><link linkend="method-gtkpagesetupunixdialog--get-print-settings">get_print_settings</link></methodname>
        <methodparam></methodparam>
      </methodsynopsis>
</classsynopsis>

  </refsect1>

  <refsect1>
    <title>Ancestry</title>

<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
  +-- <link linkend="class-gtkobject">gtk.Object</link>
    +-- <link linkend="class-gtkwidget">gtk.Widget</link>
      +-- <link linkend="class-gtkcontainer">gtk.Container</link>
        +-- <link linkend="class-gtkbin">gtk.Bin</link>
          +-- <link linkend="class-gtkwindow">gtk.Window</link>
            +-- <link linkend="class-gtkdialog">gtk.Dialog</link>
              +-- <link linkend="class-gtkpagesetupunixdialog">gtkunixprint.PageSetupUnixDialog</link>
</synopsis>

  </refsect1>
  
  <refsect1>
		<title>Implemented Interfaces</title>
		<para>
			<link linkend="class-gtkpagesetupunixdialog"><classname>gtk.PageSetupUnixDialog</classname></link>
			implements 
			<link linkend="class-gtkbuildable"><classname>gtk.Buildable</classname></link>
		</para>
	</refsect1>

  <refsect1 id="properties-gtkpagesetupunixdialog">
    <title>gtkunixprint.PageSetupUnixDialog Properties</title>

    <para><link linkend="properties-gtkobject">gtk.Object Properties</link></para>
    <para><link linkend="properties-gtkwidget">gtk.Widget Properties</link></para>
    <para><link linkend="properties-gtkcontainer">gtk.Container Properties</link></para>
    <para><link linkend="properties-gtkwindow">gtk.Window Properties</link></para>
    <para><link linkend="properties-gtkdialog">gtk.Dialog Properties</link></para>

  </refsect1>

  <refsect1 id="style-properties-gtkpagesetupunixdialog">
    <title>gtkunixprint.PageSetupUnixDialog Style Properties</title>

    <para><link linkend="style-properties-gtkwidget">gtk.Widget Style Properties</link></para>
    <para><link linkend="style-properties-gtkdialog">gtk.Dialog Style Properties</link></para>

  </refsect1>

  <refsect1 id="signal-prototypes-gtkpagesetupunixdialog">
    <title>gtkunixprint.PageSetupUnixDialog Signal Prototypes</title>

    <para><link linkend="signal-prototypes-gobject">gobject.GObject Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkobject">gtk.Object Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkwidget">gtk.Widget Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkcontainer">gtk.Container Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkwindow">gtk.Window Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkdialog">gtk.Dialog Signal Prototypes</link></para>
  </refsect1>

  <refsect1>
    <title>Description</title>

    <note>
      <para>This class is available for Unix systems in PyGTK 2.10 and
      above.</para>
    </note>

    <para>The <link
    linkend="class-gtkpagesetupunixdialog"><classname>gtkunixprint.PageSetupUnixDialog</classname></link>
    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.</para>

  </refsect1>

  <refsect1>
    <title>Constructor</title>

    <refsect2 id="constructor-gtkpagesetupunixdialog">
      <title>gtkunixprint.PageSetupUnixDialog</title>

      <programlisting><constructorsynopsis language="python">
        <methodname>gtkunixprint.PageSetupUnixDialog</methodname>
        <methodparam><parameter role="keyword">title</parameter><initializer>None</initializer></methodparam>
        <methodparam><parameter role="keyword">parent</parameter><initializer>None</initializer></methodparam>
      </constructorsynopsis></programlisting>

      <variablelist>
        <varlistentry>
          <term><parameter role="keyword">title</parameter>&nbsp;:</term>
          <listitem><simpara>the title of the dialog, or
          <literal>None</literal></simpara></listitem>
        </varlistentry>
        <varlistentry>
          <term><parameter role="keyword">parent</parameter>&nbsp;:</term>
          <listitem><simpara>the transient parent of the dialog, or
          <literal>None</literal></simpara></listitem>
        </varlistentry>
        <varlistentry>
          <term><emphasis>Returns</emphasis>&nbsp;:</term>
          <listitem><simpara>the new <link
          linkend="class-gtkpagesetupunixdialog"><classname>gtkunixprint.PageSetupUnixDialog</classname></link></simpara></listitem>
        </varlistentry>
      </variablelist>

      <note>
        <para>This constructor is available in PyGTK 2.10 and above.</para>
      </note>

      <para>Creates a new page setup dialog with the optional title
      specified by <parameter>title</parameter> and optionally using the
      <link
      linkend="class-gtkwindow"><classname>gtk.Window</classname></link>
      specified by <parameter>parent</parameter>.</para>

    </refsect2>

  </refsect1>

  <refsect1>
    <title>Methods</title>

    <refsect2 id="method-gtkpagesetupunixdialog--set-page-setup">
      <title>gtkunixprint.PageSetupUnixDialog.set_page_setup</title>

      <programlisting><methodsynopsis language="python">
        <methodname>set_page_setup</methodname>
        <methodparam><parameter role="keyword">page_setup</parameter></methodparam>
      </methodsynopsis></programlisting>

      <variablelist>
        <varlistentry>
          <term><parameter role="keyword">page_setup</parameter>&nbsp;:</term>
          <listitem><simpara>a <link
          linkend="class-gtkpagesetup"><classname>gtk.PageSetup</classname></link></simpara></listitem>
        </varlistentry>
      </variablelist>

      <note>
        <para>This method is available in PyGTK 2.10 and above.</para>
      </note>

      <para>The <methodname>set_page_setup</methodname>() method uses the
      <link
      linkend="class-gtkpagesetup"><classname>gtk.PageSetup</classname></link>
      specified by <parameter>page_setup</parameter> to set the page setup
      values for the dialog.</para>

    </refsect2>

    <refsect2 id="method-gtkpagesetupunixdialog--get-page-setup">
      <title>gtkunixprint.PageSetupUnixDialog.get_page_setup</title>

      <programlisting><methodsynopsis language="python">
        <methodname>get_page_setup</methodname>
        <methodparam></methodparam>
      </methodsynopsis></programlisting>

      <variablelist>
        <varlistentry>
          <term><emphasis>Returns</emphasis>&nbsp;:</term>
          <listitem><simpara>the current page setup</simpara></listitem>
        </varlistentry>
      </variablelist>

      <note>
        <para>This method is available in PyGTK 2.10 and above.</para>
      </note>

      <para>The <methodname>get_page_setup</methodname>() method returns the
      current page setup values from the dialog as a <link
      linkend="class-gtkpagesetup"><classname>gtk.PageSetup</classname></link>.</para>

    </refsect2>

    <refsect2 id="method-gtkpagesetupunixdialog--set-print-settings">
      <title>gtkunixprint.PageSetupUnixDialog.set_print_settings</title>

      <programlisting><methodsynopsis language="python">
        <methodname>set_print_settings</methodname>
        <methodparam><parameter role="keyword">print_settings</parameter></methodparam>
      </methodsynopsis></programlisting>

      <variablelist>
        <varlistentry>
          <term><parameter role="keyword">print_settings</parameter>&nbsp;:</term>
          <listitem><simpara>a <link
          linkend="class-gtkprintsettings"><classname>gtk.PrintSettings</classname></link></simpara></listitem>
        </varlistentry>
      </variablelist>

      <note>
        <para>This method is available in PyGTK 2.10 and above.</para>
      </note>

      <para>The <methodname>set_print_settings</methodname>() method
      installs the <link
      linkend="class-gtkprintsettings"><classname>gtk.PrintSettings</classname></link>
      specified by print_settings as the print settings for the
      dialog.</para>

    </refsect2>

    <refsect2 id="method-gtkpagesetupunixdialog--get-print-settings">
      <title>gtkunixprint.PageSetupUnixDialog.get_print_settings</title>

      <programlisting><methodsynopsis language="python">
        <methodname>get_print_settings</methodname>
        <methodparam></methodparam>
      </methodsynopsis></programlisting>

      <variablelist>
        <varlistentry>
          <term><emphasis>Returns</emphasis>&nbsp;:</term>
          <listitem><simpara>the current print settings</simpara></listitem>
        </varlistentry>
      </variablelist>

      <note>
        <para>This method is available in PyGTK 2.10 and above.</para>
      </note>

      <para>The <methodname>get_print_settings</methodname>() method returns
      the current print settings from the dialog.</para>

    </refsect2>

  </refsect1>

</refentry>
