<?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="GtkPrintUnixDialog">
<refmeta>
<refentrytitle role="top_of_page" id="GtkPrintUnixDialog.top_of_page">GtkPrintUnixDialog</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkPrintUnixDialog</refname>
<refpurpose>A print dialog</refpurpose>
</refnamediv>

<refsect1 id="GtkPrintUnixDialog.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-print-unix-dialog-new">gtk_print_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-print-unix-dialog-set-page-setup">gtk_print_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-print-unix-dialog-get-page-setup">gtk_print_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-print-unix-dialog-set-current-page">gtk_print_unix_dialog_set_current_page</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-current-page">gtk_print_unix_dialog_get_current_page</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-print-unix-dialog-set-settings">gtk_print_unix_dialog_set_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-print-unix-dialog-get-settings">gtk_print_unix_dialog_get_settings</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkPrinter"><returnvalue>GtkPrinter</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-selected-printer">gtk_print_unix_dialog_get_selected_printer</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-print-unix-dialog-add-custom-tab">gtk_print_unix_dialog_add_custom_tab</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-print-unix-dialog-set-support-selection">gtk_print_unix_dialog_set_support_selection</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-support-selection">gtk_print_unix_dialog_get_support_selection</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-print-unix-dialog-set-has-selection">gtk_print_unix_dialog_set_has_selection</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-has-selection">gtk_print_unix_dialog_get_has_selection</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-print-unix-dialog-set-embed-page-setup">gtk_print_unix_dialog_set_embed_page_setup</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-embed-page-setup">gtk_print_unix_dialog_get_embed_page_setup</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-page-setup-set">gtk_print_unix_dialog_get_page_setup_set</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-print-unix-dialog-set-manual-capabilities">gtk_print_unix_dialog_set_manual_capabilities</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkPrintCapabilities"><returnvalue>GtkPrintCapabilities</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-print-unix-dialog-get-manual-capabilities">gtk_print_unix_dialog_get_manual_capabilities</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkPrintUnixDialog.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--current-page">current-page</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--embed-page-setup">embed-page-setup</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--has-selection">has-selection</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkPrintCapabilities"><type>GtkPrintCapabilities</type></link></entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--manual-capabilities">manual-capabilities</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkPageSetup"><type>GtkPageSetup</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--page-setup">page-setup</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--print-settings">print-settings</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkPrinter"><type>GtkPrinter</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--selected-printer">selected-printer</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkPrintUnixDialog--support-selection">support-selection</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkPrintUnixDialog.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="GtkPrintUnixDialog-struct">GtkPrintUnixDialog</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="GtkPrintCapabilities">GtkPrintCapabilities</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkPrintUnixDialog.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> GtkPrintUnixDialog
</screen>
</refsect1>
<refsect1 id="GtkPrintUnixDialog.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkPrintUnixDialog 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="GtkPrintUnixDialog.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtkunixprint.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkPrintUnixDialog.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkPrintUnixDialog implements a print dialog for platforms
which don’t provide a native print 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>In order to print something with <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>, you need
to use <link linkend="gtk-print-unix-dialog-get-selected-printer"><function>gtk_print_unix_dialog_get_selected_printer()</function></link> to obtain
a <link linkend="GtkPrinter"><type>GtkPrinter</type></link> object and use it to construct a <link linkend="GtkPrintJob"><type>GtkPrintJob</type></link> using
<link linkend="gtk-print-job-new"><function>gtk_print_job_new()</function></link>.</para>
<para><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> uses the following response values:</para>
<itemizedlist>
<listitem><para><link linkend="GTK-RESPONSE-OK:CAPS"><literal>GTK_RESPONSE_OK</literal></link>: for the “Print” button</para></listitem>
<listitem><para><link linkend="GTK-RESPONSE-APPLY:CAPS"><literal>GTK_RESPONSE_APPLY</literal></link>: for the “Preview” button</para></listitem>
<listitem>
<para><link linkend="GTK-RESPONSE-CANCEL:CAPS"><literal>GTK_RESPONSE_CANCEL</literal></link>: for the “Cancel” button</para>
</listitem>
</itemizedlist>
<para>Printing support was added in GTK+ 2.10.</para>
<refsect2><title>GtkPrintUnixDialog as GtkBuildable</title><para>The GtkPrintUnixDialog implementation of the GtkBuildable interface exposes its
<parameter>notebook</parameter>
 internal children with the name “notebook”.</para>
<para>An example of a <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> UI definition fragment:</para>
<informalexample><programlisting role="example"><![CDATA[
<object class="GtkPrintUnixDialog" id="dialog1">
  <child internal-child="notebook">
    <object class="GtkNotebook" id="notebook">
      <child>
        <object type="GtkNotebookPage">
          <property name="tab_expand">False</property>
          <property name="tab_fill">False</property>
          <property name="tab">
            <object class="GtkLabel" id="tablabel">
              <property name="label">Tab label</property>
            </object>
          </property>
          <property name="child">
            <object class="GtkLabel" id="tabcontent">
              <property name="label">Content on notebook tab</property>
            </object>
          </property>
        </object>
      </child>
    </object>
  </child>
</object>
]]></programlisting></informalexample>
<para></para>
</refsect2>
<refsect2><title>CSS nodes</title><para>GtkPrintUnixDialog has a single CSS node with name printdialog.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkPrintUnixDialog.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-print-unix-dialog-new" role="function">
<title>gtk_print_unix_dialog_new&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-new"><primary>gtk_print_unix_dialog_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_print_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 <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>.</para>
<refsect3 id="gtk-print-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>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-print-unix-dialog-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-page-setup" role="function">
<title>gtk_print_unix_dialog_set_page_setup&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-page-setup"><primary>gtk_print_unix_dialog_set_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_page_setup (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                      <parameter><link linkend="GtkPageSetup"><type>GtkPageSetup</type></link> *page_setup</parameter>);</programlisting>
<para>Sets the page setup of the <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>.</para>
<refsect3 id="gtk-print-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</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-print-unix-dialog-get-page-setup" role="function">
<title>gtk_print_unix_dialog_get_page_setup&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-page-setup"><primary>gtk_print_unix_dialog_get_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="GtkPageSetup"><returnvalue>GtkPageSetup</returnvalue></link>&#160;*
gtk_print_unix_dialog_get_page_setup (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the page setup that is used by the <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>.</para>
<refsect3 id="gtk-print-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-page-setup.returns" role="returns">
<title>Returns</title>
<para>the page setup of <parameter>dialog</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-current-page" role="function">
<title>gtk_print_unix_dialog_set_current_page&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-current-page"><primary>gtk_print_unix_dialog_set_current_page</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_current_page
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> current_page</parameter>);</programlisting>
<para>Sets the current page number. If <parameter>current_page</parameter>
 is not -1, this enables
the current page choice for the range of pages to print.</para>
<refsect3 id="gtk-print-unix-dialog-set-current-page.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>current_page</para></entry>
<entry role="parameter_description"><para>the current page number.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-current-page" role="function">
<title>gtk_print_unix_dialog_get_current_page&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-current-page"><primary>gtk_print_unix_dialog_get_current_page</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_print_unix_dialog_get_current_page
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the current page of the <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>.</para>
<refsect3 id="gtk-print-unix-dialog-get-current-page.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-current-page.returns" role="returns">
<title>Returns</title>
<para> the current page of <parameter>dialog</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-settings" role="function">
<title>gtk_print_unix_dialog_set_settings&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-settings"><primary>gtk_print_unix_dialog_set_settings</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_settings (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                    <parameter><link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> *settings</parameter>);</programlisting>
<para>Sets the <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> for the <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>. Typically,
this is used to restore saved print settings from a previous print
operation before the print dialog is shown.</para>
<refsect3 id="gtk-print-unix-dialog-set-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>settings</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link>, 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></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-settings" role="function">
<title>gtk_print_unix_dialog_get_settings&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-settings"><primary>gtk_print_unix_dialog_get_settings</primary></indexterm>
<programlisting language="C"><link linkend="GtkPrintSettings"><returnvalue>GtkPrintSettings</returnvalue></link>&#160;*
gtk_print_unix_dialog_get_settings (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets a new <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> object that represents the
current values in the print dialog. Note that this creates a
new object, and you need to unref it
if don’t want to keep it.</para>
<refsect3 id="gtk-print-unix-dialog-get-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-settings.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link> object with the values from <parameter>dialog</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-selected-printer" role="function">
<title>gtk_print_unix_dialog_get_selected_printer&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-selected-printer"><primary>gtk_print_unix_dialog_get_selected_printer</primary></indexterm>
<programlisting language="C"><link linkend="GtkPrinter"><returnvalue>GtkPrinter</returnvalue></link>&#160;*
gtk_print_unix_dialog_get_selected_printer
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the currently selected printer.</para>
<refsect3 id="gtk-print-unix-dialog-get-selected-printer.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-selected-printer.returns" role="returns">
<title>Returns</title>
<para>the currently selected printer. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-add-custom-tab" role="function">
<title>gtk_print_unix_dialog_add_custom_tab&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-add-custom-tab"><primary>gtk_print_unix_dialog_add_custom_tab</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_add_custom_tab (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                      <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>,
                                      <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *tab_label</parameter>);</programlisting>
<para>Adds a custom tab to the print dialog.</para>
<refsect3 id="gtk-print-unix-dialog-add-custom-tab.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the widget to put in the custom tab</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>tab_label</para></entry>
<entry role="parameter_description"><para>the widget to use as tab label</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-support-selection" role="function">
<title>gtk_print_unix_dialog_set_support_selection&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-support-selection"><primary>gtk_print_unix_dialog_set_support_selection</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_support_selection
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> support_selection</parameter>);</programlisting>
<para>Sets whether the print dialog allows user to print a selection.</para>
<refsect3 id="gtk-print-unix-dialog-set-support-selection.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>support_selection</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to allow print selection</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-support-selection" role="function">
<title>gtk_print_unix_dialog_get_support_selection&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-support-selection"><primary>gtk_print_unix_dialog_get_support_selection</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_print_unix_dialog_get_support_selection
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the value of <link linkend="GtkPrintUnixDialog--support-selection"><type>“support-selection”</type></link> property.</para>
<refsect3 id="gtk-print-unix-dialog-get-support-selection.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-support-selection.returns" role="returns">
<title>Returns</title>
<para> whether the application supports print of selection</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-has-selection" role="function">
<title>gtk_print_unix_dialog_set_has_selection&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-has-selection"><primary>gtk_print_unix_dialog_set_has_selection</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_has_selection
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> has_selection</parameter>);</programlisting>
<para>Sets whether a selection exists.</para>
<refsect3 id="gtk-print-unix-dialog-set-has-selection.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>has_selection</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> indicates that a selection exists</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-has-selection" role="function">
<title>gtk_print_unix_dialog_get_has_selection&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-has-selection"><primary>gtk_print_unix_dialog_get_has_selection</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_print_unix_dialog_get_has_selection
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the value of <link linkend="GtkPrintUnixDialog--has-selection"><type>“has-selection”</type></link> property.</para>
<refsect3 id="gtk-print-unix-dialog-get-has-selection.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-has-selection.returns" role="returns">
<title>Returns</title>
<para> whether there is a selection</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-embed-page-setup" role="function">
<title>gtk_print_unix_dialog_set_embed_page_setup&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-embed-page-setup"><primary>gtk_print_unix_dialog_set_embed_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_embed_page_setup
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> embed</parameter>);</programlisting>
<para>Embed page size combo box and orientation combo box into page setup page.</para>
<refsect3 id="gtk-print-unix-dialog-set-embed-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>embed</para></entry>
<entry role="parameter_description"><para>embed page setup selection</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-embed-page-setup" role="function">
<title>gtk_print_unix_dialog_get_embed_page_setup&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-embed-page-setup"><primary>gtk_print_unix_dialog_get_embed_page_setup</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_print_unix_dialog_get_embed_page_setup
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the value of <link linkend="GtkPrintUnixDialog--embed-page-setup"><type>“embed-page-setup”</type></link> property.</para>
<refsect3 id="gtk-print-unix-dialog-get-embed-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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-embed-page-setup.returns" role="returns">
<title>Returns</title>
<para> whether there is a selection</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-page-setup-set" role="function">
<title>gtk_print_unix_dialog_get_page_setup_set&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-page-setup-set"><primary>gtk_print_unix_dialog_get_page_setup_set</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_print_unix_dialog_get_page_setup_set
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the page setup that is used by the <link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link>.</para>
<refsect3 id="gtk-print-unix-dialog-get-page-setup-set.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-page-setup-set.returns" role="returns">
<title>Returns</title>
<para> whether a page setup was set by user.</para>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-set-manual-capabilities" role="function">
<title>gtk_print_unix_dialog_set_manual_capabilities&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-set-manual-capabilities"><primary>gtk_print_unix_dialog_set_manual_capabilities</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_print_unix_dialog_set_manual_capabilities
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>,
                                <parameter><link linkend="GtkPrintCapabilities"><type>GtkPrintCapabilities</type></link> capabilities</parameter>);</programlisting>
<para>This lets you specify the printing capabilities your application
supports. For instance, if you can handle scaling the output then
you pass <link linkend="GTK-PRINT-CAPABILITY-SCALE:CAPS"><type>GTK_PRINT_CAPABILITY_SCALE</type></link>. If you don’t pass that, then
the dialog will only let you select the scale if the printing
system automatically handles scaling.</para>
<refsect3 id="gtk-print-unix-dialog-set-manual-capabilities.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>capabilities</para></entry>
<entry role="parameter_description"><para>the printing capabilities of your application</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-print-unix-dialog-get-manual-capabilities" role="function">
<title>gtk_print_unix_dialog_get_manual_capabilities&#160;()</title>
<indexterm zone="gtk-print-unix-dialog-get-manual-capabilities"><primary>gtk_print_unix_dialog_get_manual_capabilities</primary></indexterm>
<programlisting language="C"><link linkend="GtkPrintCapabilities"><returnvalue>GtkPrintCapabilities</returnvalue></link>
gtk_print_unix_dialog_get_manual_capabilities
                               (<parameter><link linkend="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link> *dialog</parameter>);</programlisting>
<para>Gets the value of <link linkend="GtkPrintUnixDialog--manual-capabilities"><type>“manual-capabilities”</type></link> property.</para>
<refsect3 id="gtk-print-unix-dialog-get-manual-capabilities.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="GtkPrintUnixDialog"><type>GtkPrintUnixDialog</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-print-unix-dialog-get-manual-capabilities.returns" role="returns">
<title>Returns</title>
<para> the printing capabilities</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkPrintUnixDialog.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkPrintUnixDialog-struct" role="struct">
<title>GtkPrintUnixDialog</title>
<indexterm zone="GtkPrintUnixDialog-struct"><primary>GtkPrintUnixDialog</primary></indexterm>
<programlisting language="C">typedef struct _GtkPrintUnixDialog GtkPrintUnixDialog;</programlisting>
</refsect2>
<refsect2 id="GtkPrintCapabilities" role="enum">
<title>enum GtkPrintCapabilities</title>
<indexterm zone="GtkPrintCapabilities"><primary>GtkPrintCapabilities</primary></indexterm>
<para>An enum for specifying which features the print dialog should offer.
If neither <link linkend="GTK-PRINT-CAPABILITY-GENERATE-PDF:CAPS"><literal>GTK_PRINT_CAPABILITY_GENERATE_PDF</literal></link> nor
<link linkend="GTK-PRINT-CAPABILITY-GENERATE-PS:CAPS"><literal>GTK_PRINT_CAPABILITY_GENERATE_PS</literal></link> is specified, GTK+ assumes that all
formats are supported.</para>
<refsect3 id="GtkPrintCapabilities.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-PAGE-SET:CAPS">GTK_PRINT_CAPABILITY_PAGE_SET</para></entry>
<entry role="enum_member_description"><para>Print dialog will offer printing even/odd pages.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-COPIES:CAPS">GTK_PRINT_CAPABILITY_COPIES</para></entry>
<entry role="enum_member_description"><para>Print dialog will allow to print multiple copies.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-COLLATE:CAPS">GTK_PRINT_CAPABILITY_COLLATE</para></entry>
<entry role="enum_member_description"><para>Print dialog will allow to collate multiple copies.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-REVERSE:CAPS">GTK_PRINT_CAPABILITY_REVERSE</para></entry>
<entry role="enum_member_description"><para>Print dialog will allow to print pages in reverse order.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-SCALE:CAPS">GTK_PRINT_CAPABILITY_SCALE</para></entry>
<entry role="enum_member_description"><para>Print dialog will allow to scale the output.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-GENERATE-PDF:CAPS">GTK_PRINT_CAPABILITY_GENERATE_PDF</para></entry>
<entry role="enum_member_description"><para>The program will send the document to
the printer in PDF format</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-GENERATE-PS:CAPS">GTK_PRINT_CAPABILITY_GENERATE_PS</para></entry>
<entry role="enum_member_description"><para>The program will send the document to
the printer in Postscript format</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-PREVIEW:CAPS">GTK_PRINT_CAPABILITY_PREVIEW</para></entry>
<entry role="enum_member_description"><para>Print dialog will offer a preview</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-NUMBER-UP:CAPS">GTK_PRINT_CAPABILITY_NUMBER_UP</para></entry>
<entry role="enum_member_description"><para>Print dialog will offer printing multiple
pages per sheet</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-PRINT-CAPABILITY-NUMBER-UP-LAYOUT:CAPS">GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT</para></entry>
<entry role="enum_member_description"><para>Print dialog will allow to rearrange
pages when printing multiple pages per sheet</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkPrintUnixDialog.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkPrintUnixDialog--current-page" role="property"><title>The <literal>“current-page”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--current-page"><primary>GtkPrintUnixDialog:current-page</primary></indexterm>
<programlisting>  “current-page”             <link linkend="gint"><type>gint</type></link></programlisting>
<para>The current page in the document.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--embed-page-setup" role="property"><title>The <literal>“embed-page-setup”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--embed-page-setup"><primary>GtkPrintUnixDialog:embed-page-setup</primary></indexterm>
<programlisting>  “embed-page-setup”         <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>TRUE if page setup combos are embedded in GtkPrintUnixDialog.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--has-selection" role="property"><title>The <literal>“has-selection”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--has-selection"><primary>GtkPrintUnixDialog:has-selection</primary></indexterm>
<programlisting>  “has-selection”            <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether the application has a selection.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--manual-capabilities" role="property"><title>The <literal>“manual-capabilities”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--manual-capabilities"><primary>GtkPrintUnixDialog:manual-capabilities</primary></indexterm>
<programlisting>  “manual-capabilities”      <link linkend="GtkPrintCapabilities"><type>GtkPrintCapabilities</type></link></programlisting>
<para>Capabilities the application can handle.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--page-setup" role="property"><title>The <literal>“page-setup”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--page-setup"><primary>GtkPrintUnixDialog:page-setup</primary></indexterm>
<programlisting>  “page-setup”               <link linkend="GtkPageSetup"><type>GtkPageSetup</type></link>&#160;*</programlisting>
<para>The GtkPageSetup to use.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--print-settings" role="property"><title>The <literal>“print-settings”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--print-settings"><primary>GtkPrintUnixDialog:print-settings</primary></indexterm>
<programlisting>  “print-settings”           <link linkend="GtkPrintSettings"><type>GtkPrintSettings</type></link>&#160;*</programlisting>
<para>The GtkPrintSettings used for initializing the dialog.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--selected-printer" role="property"><title>The <literal>“selected-printer”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--selected-printer"><primary>GtkPrintUnixDialog:selected-printer</primary></indexterm>
<programlisting>  “selected-printer”         <link linkend="GtkPrinter"><type>GtkPrinter</type></link>&#160;*</programlisting>
<para>The GtkPrinter which is selected.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read</para>
</refsect2>
<refsect2 id="GtkPrintUnixDialog--support-selection" role="property"><title>The <literal>“support-selection”</literal> property</title>
<indexterm zone="GtkPrintUnixDialog--support-selection"><primary>GtkPrintUnixDialog:support-selection</primary></indexterm>
<programlisting>  “support-selection”        <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether the dialog supports selection.</para><para>Owner: GtkPrintUnixDialog</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>

</refsect1>
<refsect1 id="GtkPrintUnixDialog.see-also">
<title>See Also</title>
<para><link linkend="GtkPageSetupUnixDialog"><type>GtkPageSetupUnixDialog</type></link>, <link linkend="GtkPrinter"><type>GtkPrinter</type></link>, <link linkend="GtkPrintJob"><type>GtkPrintJob</type></link></para>

</refsect1>

</refentry>
