<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkPageSetupUnixDialog">
<refmeta>
<refentrytitle role="top_of_page" id="GtkPageSetupUnixDialog.top_of_page">GtkPageSetupUnixDialog</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkPageSetupUnixDialog</refname>
<refpurpose>A page setup dialog</refpurpose>
</refnamediv>

<refsect1 id="GtkPageSetupUnixDialog.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-page-setup-unix-dialog-new">gtk_page_setup_unix_dialog_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-page-setup-unix-dialog-set-page-setup">gtk_page_setup_unix_dialog_set_page_setup</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkPageSetup"><returnvalue>GtkPageSetup</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-page-setup-unix-dialog-get-page-setup">gtk_page_setup_unix_dialog_get_page_setup</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-page-setup-unix-dialog-set-print-settings">gtk_page_setup_unix_dialog_set_print_settings</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkPrintSettings"><returnvalue>GtkPrintSettings</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-page-setup-unix-dialog-get-print-settings">gtk_page_setup_unix_dialog_get_print_settings</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkPageSetupUnixDialog.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkPageSetupUnixDialog-struct">GtkPageSetupUnixDialog</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkPageSetupUnixDialog.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWindow">GtkWindow</link>
                <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkDialog">GtkDialog</link>
                    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkPageSetupUnixDialog
</screen>
</refsect1>
<refsect1 id="GtkPageSetupUnixDialog.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkPageSetupUnixDialog implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link>,  <link linkend="GtkNative">GtkNative</link>,  <link linkend="GtkShortcutManager">GtkShortcutManager</link> and  <link linkend="GtkRoot">GtkRoot</link>.</para>

</refsect1>

<refsect1 id="GtkPageSetupUnixDialog.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtkunixprint.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkPageSetupUnixDialog.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link> implements a page setup dialog for platforms
which don’t provide a native page setup dialog, like Unix. It can
be used very much like any other GTK+ dialog, at the cost of
the portability offered by the
<link linkend="gtk3-High-level-Printing-API">high-level printing API</link></para>
<para>Printing support was added in GTK+ 2.10.</para>

</refsect1>
<refsect1 id="GtkPageSetupUnixDialog.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-page-setup-unix-dialog-new" role="function">
<title>gtk_page_setup_unix_dialog_new&#160;()</title>
<indexterm zone="gtk-page-setup-unix-dialog-new"><primary>gtk_page_setup_unix_dialog_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_page_setup_unix_dialog_new (<parameter>const <link linkend="gchar"><type>gchar</type></link> *title</parameter>,
                                <parameter><link linkend="GtkWindow"><type>GtkWindow</type></link> *parent</parameter>);</programlisting>
<para>Creates a new page setup dialog.</para>
<refsect3 id="gtk-page-setup-unix-dialog-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>title</para></entry>
<entry role="parameter_description"><para>the title of the dialog, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>parent</para></entry>
<entry role="parameter_description"><para>transient parent of the dialog, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-page-setup-unix-dialog-new.returns" role="returns">
<title>Returns</title>
<para> the new <link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-page-setup-unix-dialog-set-page-setup" role="function">
<title>gtk_page_setup_unix_dialog_set_page_setup&#160;()</title>
<indexterm zone="gtk-page-setup-unix-dialog-set-page-setup"><primary>gtk_page_setup_unix_dialog_set_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_page_setup_unix_dialog_set_page_setup
                               (<parameter><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="GtkPageSetup"><type>GtkPageSetup</type></link> *page_setup</parameter>);</programlisting>
<para>Sets the <link linkend="GtkPageSetup"><type>GtkPageSetup</type></link> from which the page setup
dialog takes its values.</para>
<refsect3 id="gtk-page-setup-unix-dialog-set-page-setup.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>dialog</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>page_setup</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPageSetup"><type>GtkPageSetup</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-page-setup-unix-dialog-get-page-setup" role="function">
<title>gtk_page_setup_unix_dialog_get_page_setup&#160;()</title>
<indexterm zone="gtk-page-setup-unix-dialog-get-page-setup"><primary>gtk_page_setup_unix_dialog_get_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="GtkPageSetup"><returnvalue>GtkPageSetup</returnvalue></link>&#160;*
gtk_page_setup_unix_dialog_get_page_setup
                               (<parameter><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the currently selected page setup from the dialog.</para>
<refsect3 id="gtk-page-setup-unix-dialog-get-page-setup.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>dialog</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-page-setup-unix-dialog-get-page-setup.returns" role="returns">
<title>Returns</title>
<para>the current page setup. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-page-setup-unix-dialog-set-print-settings" role="function">
<title>gtk_page_setup_unix_dialog_set_print_settings&#160;()</title>
<indexterm zone="gtk-page-setup-unix-dialog-set-print-settings"><primary>gtk_page_setup_unix_dialog_set_print_settings</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_page_setup_unix_dialog_set_print_settings
                               (<parameter><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> *print_settings</parameter>);</programlisting>
<para>Sets the <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> from which the page setup dialog
takes its values.</para>
<refsect3 id="gtk-page-setup-unix-dialog-set-print-settings.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>dialog</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>print_settings</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-page-setup-unix-dialog-get-print-settings" role="function">
<title>gtk_page_setup_unix_dialog_get_print_settings&#160;()</title>
<indexterm zone="gtk-page-setup-unix-dialog-get-print-settings"><primary>gtk_page_setup_unix_dialog_get_print_settings</primary></indexterm>
<programlisting language="C"><link linkend="GtkPrintSettings"><returnvalue>GtkPrintSettings</returnvalue></link>&#160;*
gtk_page_setup_unix_dialog_get_print_settings
                               (<parameter><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the current print settings from the dialog.</para>
<refsect3 id="gtk-page-setup-unix-dialog-get-print-settings.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>dialog</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-page-setup-unix-dialog-get-print-settings.returns" role="returns">
<title>Returns</title>
<para>the current print settings. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkPageSetupUnixDialog.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkPageSetupUnixDialog-struct" role="struct">
<title>GtkPageSetupUnixDialog</title>
<indexterm zone="GtkPageSetupUnixDialog-struct"><primary>GtkPageSetupUnixDialog</primary></indexterm>
<programlisting language="C">typedef struct _GtkPageSetupUnixDialog GtkPageSetupUnixDialog;</programlisting>
</refsect2>

</refsect1>

</refentry>
