329 lines
17 KiB
HTML
329 lines
17 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>GtkPageSetupUnixDialog: GTK+ 3 Reference Manual</title>
|
||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
||
<link rel="up" href="Printing.html" title="Printing">
|
||
<link rel="prev" href="GtkPrintUnixDialog.html" title="GtkPrintUnixDialog">
|
||
<link rel="next" href="ShortcutsOverview.html" title="Shortcuts Overview">
|
||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||
<link rel="stylesheet" href="style.css" type="text/css">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||
<td width="100%" align="left" class="shortcuts">
|
||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||
<a href="#GtkPageSetupUnixDialog.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
||
<a href="#GtkPageSetupUnixDialog.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
||
<a href="#GtkPageSetupUnixDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
|
||
</td>
|
||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||
<td><a accesskey="u" href="Printing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||
<td><a accesskey="p" href="GtkPrintUnixDialog.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||
<td><a accesskey="n" href="ShortcutsOverview.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||
</tr></table>
|
||
<div class="refentry">
|
||
<a name="GtkPageSetupUnixDialog"></a><div class="titlepage"></div>
|
||
<div class="refnamediv"><table width="100%"><tr>
|
||
<td valign="top">
|
||
<h2><span class="refentrytitle"><a name="GtkPageSetupUnixDialog.top_of_page"></a>GtkPageSetupUnixDialog</span></h2>
|
||
<p>GtkPageSetupUnixDialog — A page setup dialog</p>
|
||
</td>
|
||
<td class="gallery_image" valign="top" align="right"><img src="pagesetupdialog.png"></td>
|
||
</tr></table></div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.functions"></a><h2>Functions</h2>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="functions_return">
|
||
<col class="functions_name">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="function_type">
|
||
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||
</td>
|
||
<td class="function_name">
|
||
<a class="link" href="GtkPageSetupUnixDialog.html#gtk-page-setup-unix-dialog-new" title="gtk_page_setup_unix_dialog_new ()">gtk_page_setup_unix_dialog_new</a> <span class="c_punctuation">()</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="function_type">
|
||
<span class="returnvalue">void</span>
|
||
</td>
|
||
<td class="function_name">
|
||
<a class="link" href="GtkPageSetupUnixDialog.html#gtk-page-setup-unix-dialog-set-page-setup" title="gtk_page_setup_unix_dialog_set_page_setup ()">gtk_page_setup_unix_dialog_set_page_setup</a> <span class="c_punctuation">()</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="function_type">
|
||
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> *
|
||
</td>
|
||
<td class="function_name">
|
||
<a class="link" href="GtkPageSetupUnixDialog.html#gtk-page-setup-unix-dialog-get-page-setup" title="gtk_page_setup_unix_dialog_get_page_setup ()">gtk_page_setup_unix_dialog_get_page_setup</a> <span class="c_punctuation">()</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="function_type">
|
||
<span class="returnvalue">void</span>
|
||
</td>
|
||
<td class="function_name">
|
||
<a class="link" href="GtkPageSetupUnixDialog.html#gtk-page-setup-unix-dialog-set-print-settings" title="gtk_page_setup_unix_dialog_set_print_settings ()">gtk_page_setup_unix_dialog_set_print_settings</a> <span class="c_punctuation">()</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="function_type">
|
||
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="returnvalue">GtkPrintSettings</span></a> *
|
||
</td>
|
||
<td class="function_name">
|
||
<a class="link" href="GtkPageSetupUnixDialog.html#gtk-page-setup-unix-dialog-get-print-settings" title="gtk_page_setup_unix_dialog_get_print_settings ()">gtk_page_setup_unix_dialog_get_print_settings</a> <span class="c_punctuation">()</span>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.other"></a><h2>Types and Values</h2>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="name">
|
||
<col class="description">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="GtkPageSetupUnixDialog.html#GtkPageSetupUnixDialog-struct" title="struct GtkPageSetupUnixDialog">GtkPageSetupUnixDialog</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="GtkPageSetupUnixDialog.html#GtkPageSetupUnixDialogClass" title="struct GtkPageSetupUnixDialogClass">GtkPageSetupUnixDialogClass</a></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||
<span class="lineart">╰──</span> <a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
|
||
<span class="lineart">╰──</span> <a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
|
||
<span class="lineart">╰──</span> GtkPageSetupUnixDialog
|
||
</pre>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||
<p>
|
||
GtkPageSetupUnixDialog implements
|
||
AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.includes"></a><h2>Includes</h2>
|
||
<pre class="synopsis">#include <gtk/gtkunixprint.h>
|
||
</pre>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.description"></a><h2>Description</h2>
|
||
<p><a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a> 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
|
||
<a class="link" href="gtk3-High-level-Printing-API.html" title="GtkPrintOperation">high-level printing API</a></p>
|
||
<p>Printing support was added in GTK+ 2.10.</p>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.functions_details"></a><h2>Functions</h2>
|
||
<div class="refsect2">
|
||
<a name="gtk-page-setup-unix-dialog-new"></a><h3>gtk_page_setup_unix_dialog_new ()</h3>
|
||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||
gtk_page_setup_unix_dialog_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
|
||
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>);</pre>
|
||
<p>Creates a new page setup dialog.</p>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-new.parameters"></a><h4>Parameters</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="parameters_name">
|
||
<col class="parameters_description">
|
||
<col width="200px" class="parameters_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="parameter_name"><p>title</p></td>
|
||
<td class="parameter_description"><p> the title of the dialog, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="parameter_name"><p>parent</p></td>
|
||
<td class="parameter_description"><p> transient parent of the dialog, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-new.returns"></a><h4>Returns</h4>
|
||
<p> the new <a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a></p>
|
||
</div>
|
||
<p class="since">Since: 2.10</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="gtk-page-setup-unix-dialog-set-page-setup"></a><h3>gtk_page_setup_unix_dialog_set_page_setup ()</h3>
|
||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||
gtk_page_setup_unix_dialog_set_page_setup
|
||
(<em class="parameter"><code><a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a> *dialog</code></em>,
|
||
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>);</pre>
|
||
<p>Sets the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> from which the page setup
|
||
dialog takes its values.</p>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-set-page-setup.parameters"></a><h4>Parameters</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="parameters_name">
|
||
<col class="parameters_description">
|
||
<col width="200px" class="parameters_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="parameter_name"><p>dialog</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="parameter_name"><p>page_setup</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: 2.10</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="gtk-page-setup-unix-dialog-get-page-setup"></a><h3>gtk_page_setup_unix_dialog_get_page_setup ()</h3>
|
||
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> *
|
||
gtk_page_setup_unix_dialog_get_page_setup
|
||
(<em class="parameter"><code><a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a> *dialog</code></em>);</pre>
|
||
<p>Gets the currently selected page setup from the dialog.</p>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-get-page-setup.parameters"></a><h4>Parameters</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="parameters_name">
|
||
<col class="parameters_description">
|
||
<col width="200px" class="parameters_annotations">
|
||
</colgroup>
|
||
<tbody><tr>
|
||
<td class="parameter_name"><p>dialog</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr></tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-get-page-setup.returns"></a><h4>Returns</h4>
|
||
<p> the current page setup. </p>
|
||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||
</div>
|
||
<p class="since">Since: 2.10</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="gtk-page-setup-unix-dialog-set-print-settings"></a><h3>gtk_page_setup_unix_dialog_set_print_settings ()</h3>
|
||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||
gtk_page_setup_unix_dialog_set_print_settings
|
||
(<em class="parameter"><code><a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a> *dialog</code></em>,
|
||
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *print_settings</code></em>);</pre>
|
||
<p>Sets the <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> from which the page setup dialog
|
||
takes its values.</p>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-set-print-settings.parameters"></a><h4>Parameters</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="parameters_name">
|
||
<col class="parameters_description">
|
||
<col width="200px" class="parameters_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="parameter_name"><p>dialog</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="parameter_name"><p>print_settings</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: 2.10</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="gtk-page-setup-unix-dialog-get-print-settings"></a><h3>gtk_page_setup_unix_dialog_get_print_settings ()</h3>
|
||
<pre class="programlisting"><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="returnvalue">GtkPrintSettings</span></a> *
|
||
gtk_page_setup_unix_dialog_get_print_settings
|
||
(<em class="parameter"><code><a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a> *dialog</code></em>);</pre>
|
||
<p>Gets the current print settings from the dialog.</p>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-get-print-settings.parameters"></a><h4>Parameters</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="parameters_name">
|
||
<col class="parameters_description">
|
||
<col width="200px" class="parameters_annotations">
|
||
</colgroup>
|
||
<tbody><tr>
|
||
<td class="parameter_name"><p>dialog</p></td>
|
||
<td class="parameter_description"><p>a <a class="link" href="GtkPageSetupUnixDialog.html" title="GtkPageSetupUnixDialog"><span class="type">GtkPageSetupUnixDialog</span></a></p></td>
|
||
<td class="parameter_annotations"> </td>
|
||
</tr></tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect3">
|
||
<a name="gtk-page-setup-unix-dialog-get-print-settings.returns"></a><h4>Returns</h4>
|
||
<p> the current print settings. </p>
|
||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||
</div>
|
||
<p class="since">Since: 2.10</p>
|
||
</div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="GtkPageSetupUnixDialog.other_details"></a><h2>Types and Values</h2>
|
||
<div class="refsect2">
|
||
<a name="GtkPageSetupUnixDialog-struct"></a><h3>struct GtkPageSetupUnixDialog</h3>
|
||
<pre class="programlisting">struct GtkPageSetupUnixDialog;</pre>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GtkPageSetupUnixDialogClass"></a><h3>struct GtkPageSetupUnixDialogClass</h3>
|
||
<pre class="programlisting">struct GtkPageSetupUnixDialogClass {
|
||
GtkDialogClass parent_class;
|
||
};
|
||
</pre>
|
||
<div class="refsect3">
|
||
<a name="GtkPageSetupUnixDialogClass.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody></tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="footer">
|
||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||
</body>
|
||
</html> |