~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkPageSetup.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
5
<title>GtkPageSetup</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
7
<link rel="start" href="index.html" title="GTK+ Reference Manual">
 
8
<link rel="up" href="Printing.html" title="Printing">
 
9
<link rel="prev" href="GtkPrintSettings.html" title="GtkPrintSettings">
 
10
<link rel="next" href="gtk-GtkPaperSize.html" title="GtkPaperSize">
 
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="part" href="gtk.html" title="Part&#160;I.&#160;GTK+ Overview">
 
14
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
 
15
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;GTK+ Widgets and Objects">
 
16
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
 
17
<link rel="chapter" href="ch02.html" title="Widget Gallery">
 
18
<link rel="chapter" href="WindowWidgets.html" title="Windows">
 
19
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
 
20
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
 
21
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
 
22
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
 
23
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
 
24
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
 
25
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
 
26
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
 
27
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
 
28
<link rel="chapter" href="Ornaments.html" title="Ornaments">
 
29
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
 
30
<link rel="chapter" href="Printing.html" title="Printing">
 
31
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
 
32
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
 
33
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
 
34
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
 
35
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
 
36
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
 
37
<link rel="part" href="migrating.html" title="Part&#160;IV.&#160;Migrating from Previous Versions of GTK+">
 
38
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
 
39
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
 
40
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
 
41
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
 
42
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
 
43
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
 
44
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
 
45
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
 
46
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
 
47
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
 
48
<link rel="part" href="pt05.html" title="Part&#160;V.&#160;GTK+ Tools">
 
49
<link rel="glossary" href="glossary.html" title="Glossary">
 
50
<link rel="index" href="ix01.html" title="Index">
 
51
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
 
52
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
 
53
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
 
54
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
 
55
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
 
56
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
 
57
</head>
 
58
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
59
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
60
<tr valign="middle">
 
61
<td><a accesskey="p" href="GtkPrintSettings.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
62
<td><a accesskey="u" href="Printing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
63
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
64
<th width="100%" align="center">GTK+ Reference Manual</th>
 
65
<td><a accesskey="n" href="gtk-GtkPaperSize.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
66
</tr>
 
67
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3621843" class="shortcut">Top</a>
 
68
                  &#160;|&#160;
 
69
                  <a href="#id3622482" class="shortcut">Description</a>
 
70
                  &#160;|&#160;
 
71
                  <a href="#id3622458" class="shortcut">Object Hierarchy</a></nobr></td></tr>
 
72
</table>
 
73
<div class="refentry" lang="en">
 
74
<a name="GtkPageSetup"></a><div class="titlepage"></div>
 
75
<div class="refnamediv"><table width="100%"><tr>
 
76
<td valign="top">
 
77
<h2>
 
78
<a name="id3621843"></a><span class="refentrytitle">GtkPageSetup</span>
 
79
</h2>
 
80
<p>GtkPageSetup &#8212; Stores page setup information</p>
 
81
</td>
 
82
<td valign="top" align="right"></td>
 
83
</tr></table></div>
 
84
<div class="refsynopsisdiv">
 
85
<h2>Synopsis</h2>
 
86
<pre class="synopsis">
 
87
 
 
88
#include &lt;gtk/gtk.h&gt;
 
89
 
 
90
 
 
91
                    <a href="GtkPageSetup.html#GtkPageSetup-struct">GtkPageSetup</a>;
 
92
<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>*       <a href="GtkPageSetup.html#gtk-page-setup-new">gtk_page_setup_new</a>                  (void);
 
93
<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>*       <a href="GtkPageSetup.html#gtk-page-setup-copy">gtk_page_setup_copy</a>                 (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *other);
 
94
<a href="GtkPrintSettings.html#GtkPageOrientation">GtkPageOrientation</a>  <a href="GtkPageSetup.html#gtk-page-setup-get-orientation">gtk_page_setup_get_orientation</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup);
 
95
void                <a href="GtkPageSetup.html#gtk-page-setup-set-orientation">gtk_page_setup_set_orientation</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
96
                                                         <a href="GtkPrintSettings.html#GtkPageOrientation">GtkPageOrientation</a> orientation);
 
97
<a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a>*       <a href="GtkPageSetup.html#gtk-page-setup-get-paper-size">gtk_page_setup_get_paper_size</a>       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup);
 
98
void                <a href="GtkPageSetup.html#gtk-page-setup-set-paper-size">gtk_page_setup_set_paper_size</a>       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
99
                                                         <a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a> *size);
 
100
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-top-margin">gtk_page_setup_get_top_margin</a>       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
101
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
102
void                <a href="GtkPageSetup.html#gtk-page-setup-set-top-margin">gtk_page_setup_set_top_margin</a>       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
103
                                                         gdouble margin,
 
104
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
105
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-bottom-margin">gtk_page_setup_get_bottom_margin</a>    (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
106
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
107
void                <a href="GtkPageSetup.html#gtk-page-setup-set-bottom-margin">gtk_page_setup_set_bottom_margin</a>    (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
108
                                                         gdouble margin,
 
109
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
110
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-left-margin">gtk_page_setup_get_left_margin</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
111
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
112
void                <a href="GtkPageSetup.html#gtk-page-setup-set-left-margin">gtk_page_setup_set_left_margin</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
113
                                                         gdouble margin,
 
114
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
115
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-right-margin">gtk_page_setup_get_right_margin</a>     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
116
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
117
void                <a href="GtkPageSetup.html#gtk-page-setup-set-right-margin">gtk_page_setup_set_right_margin</a>     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
118
                                                         gdouble margin,
 
119
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
120
void                <a href="GtkPageSetup.html#gtk-page-setup-set-paper-size-and-default-margins">gtk_page_setup_set_paper_size_and_default_margins</a>
 
121
                                                        (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
122
                                                         <a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a> *size);
 
123
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-paper-width">gtk_page_setup_get_paper_width</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
124
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
125
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-paper-height">gtk_page_setup_get_paper_height</a>     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
126
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
127
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-page-width">gtk_page_setup_get_page_width</a>       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
128
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
129
gdouble             <a href="GtkPageSetup.html#gtk-page-setup-get-page-height">gtk_page_setup_get_page_height</a>      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
130
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);
 
131
 
 
132
 
 
133
</pre>
 
134
</div>
 
135
<div class="refsect1" lang="en">
 
136
<a name="id3622458"></a><h2>Object Hierarchy</h2>
 
137
<pre class="synopsis">
 
138
 
 
139
  GObject
 
140
   +----GtkPageSetup
 
141
</pre>
 
142
</div>
 
143
<div class="refsect1" lang="en">
 
144
<a name="id3622482"></a><h2>Description</h2>
 
145
<p>
 
146
A GtkPageSetup object stores the page size, orientation and margins. 
 
147
The idea is that you can get one of these from the page setup dialog 
 
148
and then pass it to the <a href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> when printing. 
 
149
The benefit of splitting this out of the <a href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> is that 
 
150
these affect the actual layout of the page, and thus need to be set 
 
151
long before user prints. 
 
152
</p>
 
153
<p><a name="print-margins"></a>
 
154
The margins specified in this object are the "print margins", i.e. the 
 
155
parts of the page that the printer cannot print on. These are different
 
156
from the layout margins that a word processor uses; they are typically
 
157
used to determine the <span class="emphasis"><em>minimal</em></span> size for the layout 
 
158
margins.
 
159
</p>
 
160
<p>
 
161
To obtain a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> use <a href="GtkPageSetup.html#gtk-page-setup-new"><code class="function">gtk_page_setup_new()</code></a>
 
162
to get the defaults, or use <a href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog"><code class="function">gtk_print_run_page_setup_dialog()</code></a> to show 
 
163
the page setup dialog and receive the resulting page setup.
 
164
</p>
 
165
<div class="example">
 
166
<a name="id3622569"></a><p class="title"><b>Example&#160;32.&#160;A page setup dialog</b></p>
 
167
<div class="example-contents"><pre class="programlisting">
 
168
static GtkPrintSettings *settings = NULL;
 
169
static GtkPageSetup *page_setup = NULL;
 
170
 
 
171
static void
 
172
do_page_setup (void)
 
173
{
 
174
  GtkPageSetup *new_page_setup;
 
175
 
 
176
  if (settings == NULL)
 
177
    settings = gtk_print_settings_new ();
 
178
 
 
179
  new_page_setup = gtk_print_run_page_setup_dialog (GTK_WINDOW (main_window),
 
180
                                                    page_setup, settings);
 
181
 
 
182
  if (page_setup)
 
183
    g_object_unref (page_setup);
 
184
 
 
185
  page_setup = new_page_setup;
 
186
}
 
187
</pre></div>
 
188
</div>
 
189
<br class="example-break"><p>
 
190
Printing support was added in GTK+ 2.10.
 
191
</p>
 
192
</div>
 
193
<div class="refsect1" lang="en">
 
194
<a name="id3622597"></a><h2>Details</h2>
 
195
<div class="refsect2" lang="en">
 
196
<a name="id3622607"></a><h3>
 
197
<a name="GtkPageSetup-struct"></a>GtkPageSetup</h3>
 
198
<a class="indexterm" name="id3622620"></a><pre class="programlisting">typedef struct _GtkPageSetup GtkPageSetup;</pre>
 
199
<p>
 
200
 
 
201
</p>
 
202
</div>
 
203
<hr>
 
204
<div class="refsect2" lang="en">
 
205
<a name="id3622636"></a><h3>
 
206
<a name="gtk-page-setup-new"></a>gtk_page_setup_new ()</h3>
 
207
<a class="indexterm" name="id3622652"></a><pre class="programlisting"><a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>*       gtk_page_setup_new                  (void);</pre>
 
208
<p>
 
209
Creates a new <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
210
<p>
 
211
 
 
212
</p>
 
213
<div class="variablelist"><table border="0">
 
214
<col align="left" valign="top">
 
215
<tbody><tr>
 
216
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
217
<td> a new <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.
 
218
 
 
219
</td>
 
220
</tr></tbody>
 
221
</table></div>
 
222
<p class="since">Since  2.10
 
223
</p>
 
224
</div>
 
225
<hr>
 
226
<div class="refsect2" lang="en">
 
227
<a name="id3622714"></a><h3>
 
228
<a name="gtk-page-setup-copy"></a>gtk_page_setup_copy ()</h3>
 
229
<a class="indexterm" name="id3622730"></a><pre class="programlisting"><a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>*       gtk_page_setup_copy                 (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *other);</pre>
 
230
<p>
 
231
Copies a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
232
<p>
 
233
 
 
234
</p>
 
235
<div class="variablelist"><table border="0">
 
236
<col align="left" valign="top">
 
237
<tbody>
 
238
<tr>
 
239
<td><span class="term"><em class="parameter"><code>other</code></em>&#160;:</span></td>
 
240
<td> the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> to copy
 
241
</td>
 
242
</tr>
 
243
<tr>
 
244
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
245
<td> a copy of <em class="parameter"><code>other</code></em>
 
246
 
 
247
</td>
 
248
</tr>
 
249
</tbody>
 
250
</table></div>
 
251
<p class="since">Since  2.10
 
252
</p>
 
253
</div>
 
254
<hr>
 
255
<div class="refsect2" lang="en">
 
256
<a name="id3622820"></a><h3>
 
257
<a name="gtk-page-setup-get-orientation"></a>gtk_page_setup_get_orientation ()</h3>
 
258
<a class="indexterm" name="id3622836"></a><pre class="programlisting"><a href="GtkPrintSettings.html#GtkPageOrientation">GtkPageOrientation</a>  gtk_page_setup_get_orientation      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup);</pre>
 
259
<p>
 
260
Gets the page orientation of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
261
<p>
 
262
 
 
263
</p>
 
264
<div class="variablelist"><table border="0">
 
265
<col align="left" valign="top">
 
266
<tbody>
 
267
<tr>
 
268
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
269
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
270
</td>
 
271
</tr>
 
272
<tr>
 
273
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
274
<td> the page orientation
 
275
 
 
276
</td>
 
277
</tr>
 
278
</tbody>
 
279
</table></div>
 
280
<p class="since">Since  2.10
 
281
</p>
 
282
</div>
 
283
<hr>
 
284
<div class="refsect2" lang="en">
 
285
<a name="id3622921"></a><h3>
 
286
<a name="gtk-page-setup-set-orientation"></a>gtk_page_setup_set_orientation ()</h3>
 
287
<a class="indexterm" name="id3622937"></a><pre class="programlisting">void                gtk_page_setup_set_orientation      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
288
                                                         <a href="GtkPrintSettings.html#GtkPageOrientation">GtkPageOrientation</a> orientation);</pre>
 
289
<p>
 
290
Sets the page orientation of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
291
<p>
 
292
 
 
293
</p>
 
294
<div class="variablelist"><table border="0">
 
295
<col align="left" valign="top">
 
296
<tbody>
 
297
<tr>
 
298
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
299
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
300
</td>
 
301
</tr>
 
302
<tr>
 
303
<td><span class="term"><em class="parameter"><code>orientation</code></em>&#160;:</span></td>
 
304
<td> a <a href="GtkPrintSettings.html#GtkPageOrientation"><span class="type">GtkPageOrientation</span></a> value
 
305
</td>
 
306
</tr>
 
307
</tbody>
 
308
</table></div>
 
309
<p class="since">Since  2.10
 
310
</p>
 
311
</div>
 
312
<hr>
 
313
<div class="refsect2" lang="en">
 
314
<a name="id3623041"></a><h3>
 
315
<a name="gtk-page-setup-get-paper-size"></a>gtk_page_setup_get_paper_size ()</h3>
 
316
<a class="indexterm" name="id3623057"></a><pre class="programlisting"><a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a>*       gtk_page_setup_get_paper_size       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup);</pre>
 
317
<p>
 
318
Gets the paper size of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
319
<p>
 
320
 
 
321
</p>
 
322
<div class="variablelist"><table border="0">
 
323
<col align="left" valign="top">
 
324
<tbody>
 
325
<tr>
 
326
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
327
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
328
</td>
 
329
</tr>
 
330
<tr>
 
331
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
332
<td> the paper size
 
333
 
 
334
</td>
 
335
</tr>
 
336
</tbody>
 
337
</table></div>
 
338
<p class="since">Since  2.10
 
339
</p>
 
340
</div>
 
341
<hr>
 
342
<div class="refsect2" lang="en">
 
343
<a name="id3623141"></a><h3>
 
344
<a name="gtk-page-setup-set-paper-size"></a>gtk_page_setup_set_paper_size ()</h3>
 
345
<a class="indexterm" name="id3623157"></a><pre class="programlisting">void                gtk_page_setup_set_paper_size       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
346
                                                         <a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a> *size);</pre>
 
347
<p>
 
348
Sets the paper size of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> without
 
349
changing the margins. See 
 
350
<a href="GtkPageSetup.html#gtk-page-setup-set-paper-size-and-default-margins"><code class="function">gtk_page_setup_set_paper_size_and_default_margins()</code></a>.</p>
 
351
<p>
 
352
 
 
353
</p>
 
354
<div class="variablelist"><table border="0">
 
355
<col align="left" valign="top">
 
356
<tbody>
 
357
<tr>
 
358
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
359
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
360
</td>
 
361
</tr>
 
362
<tr>
 
363
<td><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></td>
 
364
<td> a <a href="gtk-GtkPaperSize.html#GtkPaperSize"><span class="type">GtkPaperSize</span></a> 
 
365
</td>
 
366
</tr>
 
367
</tbody>
 
368
</table></div>
 
369
<p class="since">Since  2.10
 
370
</p>
 
371
</div>
 
372
<hr>
 
373
<div class="refsect2" lang="en">
 
374
<a name="id3623274"></a><h3>
 
375
<a name="gtk-page-setup-get-top-margin"></a>gtk_page_setup_get_top_margin ()</h3>
 
376
<a class="indexterm" name="id3623290"></a><pre class="programlisting">gdouble             gtk_page_setup_get_top_margin       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
377
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
378
<p>
 
379
Gets the top margin in units of <em class="parameter"><code>unit</code></em>.</p>
 
380
<p>
 
381
 
 
382
</p>
 
383
<div class="variablelist"><table border="0">
 
384
<col align="left" valign="top">
 
385
<tbody>
 
386
<tr>
 
387
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
388
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
389
</td>
 
390
</tr>
 
391
<tr>
 
392
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
393
<td> the unit for the return value
 
394
</td>
 
395
</tr>
 
396
<tr>
 
397
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
398
<td> the top margin
 
399
 
 
400
</td>
 
401
</tr>
 
402
</tbody>
 
403
</table></div>
 
404
<p class="since">Since  2.10
 
405
</p>
 
406
</div>
 
407
<hr>
 
408
<div class="refsect2" lang="en">
 
409
<a name="id3623394"></a><h3>
 
410
<a name="gtk-page-setup-set-top-margin"></a>gtk_page_setup_set_top_margin ()</h3>
 
411
<a class="indexterm" name="id3623410"></a><pre class="programlisting">void                gtk_page_setup_set_top_margin       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
412
                                                         gdouble margin,
 
413
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
414
<p>
 
415
Sets the top margin of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
416
<p>
 
417
 
 
418
</p>
 
419
<div class="variablelist"><table border="0">
 
420
<col align="left" valign="top">
 
421
<tbody>
 
422
<tr>
 
423
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
424
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
425
</td>
 
426
</tr>
 
427
<tr>
 
428
<td><span class="term"><em class="parameter"><code>margin</code></em>&#160;:</span></td>
 
429
<td> the new top margin in units of <em class="parameter"><code>unit</code></em>
 
430
</td>
 
431
</tr>
 
432
<tr>
 
433
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
434
<td> the units for <em class="parameter"><code>margin</code></em>
 
435
</td>
 
436
</tr>
 
437
</tbody>
 
438
</table></div>
 
439
<p class="since">Since  2.10
 
440
</p>
 
441
</div>
 
442
<hr>
 
443
<div class="refsect2" lang="en">
 
444
<a name="id3623539"></a><h3>
 
445
<a name="gtk-page-setup-get-bottom-margin"></a>gtk_page_setup_get_bottom_margin ()</h3>
 
446
<a class="indexterm" name="id3623555"></a><pre class="programlisting">gdouble             gtk_page_setup_get_bottom_margin    (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
447
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
448
<p>
 
449
Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>.</p>
 
450
<p>
 
451
 
 
452
</p>
 
453
<div class="variablelist"><table border="0">
 
454
<col align="left" valign="top">
 
455
<tbody>
 
456
<tr>
 
457
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
458
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
459
</td>
 
460
</tr>
 
461
<tr>
 
462
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
463
<td> the unit for the return value
 
464
</td>
 
465
</tr>
 
466
<tr>
 
467
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
468
<td> the bottom margin
 
469
 
 
470
</td>
 
471
</tr>
 
472
</tbody>
 
473
</table></div>
 
474
<p class="since">Since  2.10
 
475
</p>
 
476
</div>
 
477
<hr>
 
478
<div class="refsect2" lang="en">
 
479
<a name="id3623659"></a><h3>
 
480
<a name="gtk-page-setup-set-bottom-margin"></a>gtk_page_setup_set_bottom_margin ()</h3>
 
481
<a class="indexterm" name="id3623675"></a><pre class="programlisting">void                gtk_page_setup_set_bottom_margin    (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
482
                                                         gdouble margin,
 
483
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
484
<p>
 
485
Sets the bottom margin of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
486
<p>
 
487
 
 
488
</p>
 
489
<div class="variablelist"><table border="0">
 
490
<col align="left" valign="top">
 
491
<tbody>
 
492
<tr>
 
493
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
494
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
495
</td>
 
496
</tr>
 
497
<tr>
 
498
<td><span class="term"><em class="parameter"><code>margin</code></em>&#160;:</span></td>
 
499
<td> the new bottom margin in units of <em class="parameter"><code>unit</code></em>
 
500
</td>
 
501
</tr>
 
502
<tr>
 
503
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
504
<td> the units for <em class="parameter"><code>margin</code></em>
 
505
</td>
 
506
</tr>
 
507
</tbody>
 
508
</table></div>
 
509
<p class="since">Since  2.10
 
510
</p>
 
511
</div>
 
512
<hr>
 
513
<div class="refsect2" lang="en">
 
514
<a name="id3623804"></a><h3>
 
515
<a name="gtk-page-setup-get-left-margin"></a>gtk_page_setup_get_left_margin ()</h3>
 
516
<a class="indexterm" name="id3623820"></a><pre class="programlisting">gdouble             gtk_page_setup_get_left_margin      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
517
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
518
<p>
 
519
Gets the left margin in units of <em class="parameter"><code>unit</code></em>.</p>
 
520
<p>
 
521
 
 
522
</p>
 
523
<div class="variablelist"><table border="0">
 
524
<col align="left" valign="top">
 
525
<tbody>
 
526
<tr>
 
527
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
528
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
529
</td>
 
530
</tr>
 
531
<tr>
 
532
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
533
<td> the unit for the return value
 
534
</td>
 
535
</tr>
 
536
<tr>
 
537
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
538
<td> the left margin
 
539
 
 
540
</td>
 
541
</tr>
 
542
</tbody>
 
543
</table></div>
 
544
<p class="since">Since  2.10
 
545
</p>
 
546
</div>
 
547
<hr>
 
548
<div class="refsect2" lang="en">
 
549
<a name="id3623924"></a><h3>
 
550
<a name="gtk-page-setup-set-left-margin"></a>gtk_page_setup_set_left_margin ()</h3>
 
551
<a class="indexterm" name="id3623940"></a><pre class="programlisting">void                gtk_page_setup_set_left_margin      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
552
                                                         gdouble margin,
 
553
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
554
<p>
 
555
Sets the left margin of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
556
<p>
 
557
 
 
558
</p>
 
559
<div class="variablelist"><table border="0">
 
560
<col align="left" valign="top">
 
561
<tbody>
 
562
<tr>
 
563
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
564
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
565
</td>
 
566
</tr>
 
567
<tr>
 
568
<td><span class="term"><em class="parameter"><code>margin</code></em>&#160;:</span></td>
 
569
<td> the new left margin in units of <em class="parameter"><code>unit</code></em>
 
570
</td>
 
571
</tr>
 
572
<tr>
 
573
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
574
<td> the units for <em class="parameter"><code>margin</code></em>
 
575
</td>
 
576
</tr>
 
577
</tbody>
 
578
</table></div>
 
579
<p class="since">Since  2.10
 
580
</p>
 
581
</div>
 
582
<hr>
 
583
<div class="refsect2" lang="en">
 
584
<a name="id3624069"></a><h3>
 
585
<a name="gtk-page-setup-get-right-margin"></a>gtk_page_setup_get_right_margin ()</h3>
 
586
<a class="indexterm" name="id3624085"></a><pre class="programlisting">gdouble             gtk_page_setup_get_right_margin     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
587
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
588
<p>
 
589
Gets the right margin in units of <em class="parameter"><code>unit</code></em>.</p>
 
590
<p>
 
591
 
 
592
</p>
 
593
<div class="variablelist"><table border="0">
 
594
<col align="left" valign="top">
 
595
<tbody>
 
596
<tr>
 
597
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
598
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
599
</td>
 
600
</tr>
 
601
<tr>
 
602
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
603
<td> the unit for the return value
 
604
</td>
 
605
</tr>
 
606
<tr>
 
607
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
608
<td> the right margin
 
609
 
 
610
</td>
 
611
</tr>
 
612
</tbody>
 
613
</table></div>
 
614
<p class="since">Since  2.10
 
615
</p>
 
616
</div>
 
617
<hr>
 
618
<div class="refsect2" lang="en">
 
619
<a name="id3624189"></a><h3>
 
620
<a name="gtk-page-setup-set-right-margin"></a>gtk_page_setup_set_right_margin ()</h3>
 
621
<a class="indexterm" name="id3624205"></a><pre class="programlisting">void                gtk_page_setup_set_right_margin     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
622
                                                         gdouble margin,
 
623
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
624
<p>
 
625
Sets the right margin of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
 
626
<p>
 
627
 
 
628
</p>
 
629
<div class="variablelist"><table border="0">
 
630
<col align="left" valign="top">
 
631
<tbody>
 
632
<tr>
 
633
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
634
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
635
</td>
 
636
</tr>
 
637
<tr>
 
638
<td><span class="term"><em class="parameter"><code>margin</code></em>&#160;:</span></td>
 
639
<td> the new right margin in units of <em class="parameter"><code>unit</code></em>
 
640
</td>
 
641
</tr>
 
642
<tr>
 
643
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
644
<td> the units for <em class="parameter"><code>margin</code></em>
 
645
</td>
 
646
</tr>
 
647
</tbody>
 
648
</table></div>
 
649
<p class="since">Since  2.10
 
650
</p>
 
651
</div>
 
652
<hr>
 
653
<div class="refsect2" lang="en">
 
654
<a name="id3624335"></a><h3>
 
655
<a name="gtk-page-setup-set-paper-size-and-default-margins"></a>gtk_page_setup_set_paper_size_and_default_margins ()</h3>
 
656
<a class="indexterm" name="id3624352"></a><pre class="programlisting">void                gtk_page_setup_set_paper_size_and_default_margins
 
657
                                                        (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
658
                                                         <a href="gtk-GtkPaperSize.html#GtkPaperSize">GtkPaperSize</a> *size);</pre>
 
659
<p>
 
660
Sets the paper size of the <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> and modifies
 
661
the margins according to the new paper size.</p>
 
662
<p>
 
663
 
 
664
</p>
 
665
<div class="variablelist"><table border="0">
 
666
<col align="left" valign="top">
 
667
<tbody>
 
668
<tr>
 
669
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
670
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
671
</td>
 
672
</tr>
 
673
<tr>
 
674
<td><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></td>
 
675
<td> a <a href="gtk-GtkPaperSize.html#GtkPaperSize"><span class="type">GtkPaperSize</span></a> 
 
676
</td>
 
677
</tr>
 
678
</tbody>
 
679
</table></div>
 
680
<p class="since">Since  2.10
 
681
</p>
 
682
</div>
 
683
<hr>
 
684
<div class="refsect2" lang="en">
 
685
<a name="id3624458"></a><h3>
 
686
<a name="gtk-page-setup-get-paper-width"></a>gtk_page_setup_get_paper_width ()</h3>
 
687
<a class="indexterm" name="id3624474"></a><pre class="programlisting">gdouble             gtk_page_setup_get_paper_width      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
688
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
689
<p>
 
690
Returns the paper width in units of <em class="parameter"><code>unit</code></em>.
 
691
</p>
 
692
<p>
 
693
Note that this function takes orientation, but 
 
694
not margins into consideration. 
 
695
See <a href="GtkPageSetup.html#gtk-page-setup-get-page-width"><code class="function">gtk_page_setup_get_page_width()</code></a>.</p>
 
696
<p>
 
697
 
 
698
</p>
 
699
<div class="variablelist"><table border="0">
 
700
<col align="left" valign="top">
 
701
<tbody>
 
702
<tr>
 
703
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
704
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
705
</td>
 
706
</tr>
 
707
<tr>
 
708
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
709
<td> the unit for the return value
 
710
</td>
 
711
</tr>
 
712
<tr>
 
713
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
714
<td> the paper width.
 
715
 
 
716
</td>
 
717
</tr>
 
718
</tbody>
 
719
</table></div>
 
720
<p class="since">Since  2.10
 
721
</p>
 
722
</div>
 
723
<hr>
 
724
<div class="refsect2" lang="en">
 
725
<a name="id3624594"></a><h3>
 
726
<a name="gtk-page-setup-get-paper-height"></a>gtk_page_setup_get_paper_height ()</h3>
 
727
<a class="indexterm" name="id3624610"></a><pre class="programlisting">gdouble             gtk_page_setup_get_paper_height     (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
728
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
729
<p>
 
730
Returns the paper height in units of <em class="parameter"><code>unit</code></em>.
 
731
</p>
 
732
<p>
 
733
Note that this function takes orientation, but 
 
734
not margins into consideration.
 
735
See <a href="GtkPageSetup.html#gtk-page-setup-get-page-height"><code class="function">gtk_page_setup_get_page_height()</code></a>.</p>
 
736
<p>
 
737
 
 
738
</p>
 
739
<div class="variablelist"><table border="0">
 
740
<col align="left" valign="top">
 
741
<tbody>
 
742
<tr>
 
743
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
744
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
745
</td>
 
746
</tr>
 
747
<tr>
 
748
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
749
<td> the unit for the return value
 
750
</td>
 
751
</tr>
 
752
<tr>
 
753
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
754
<td> the paper height.
 
755
 
 
756
</td>
 
757
</tr>
 
758
</tbody>
 
759
</table></div>
 
760
<p class="since">Since  2.10
 
761
</p>
 
762
</div>
 
763
<hr>
 
764
<div class="refsect2" lang="en">
 
765
<a name="id3624730"></a><h3>
 
766
<a name="gtk-page-setup-get-page-width"></a>gtk_page_setup_get_page_width ()</h3>
 
767
<a class="indexterm" name="id3624746"></a><pre class="programlisting">gdouble             gtk_page_setup_get_page_width       (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
768
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
769
<p>
 
770
Returns the page width in units of <em class="parameter"><code>unit</code></em>.
 
771
</p>
 
772
<p>
 
773
Note that this function takes orientation and
 
774
margins into consideration. 
 
775
See <a href="GtkPageSetup.html#gtk-page-setup-get-paper-width"><code class="function">gtk_page_setup_get_paper_width()</code></a>.</p>
 
776
<p>
 
777
 
 
778
</p>
 
779
<div class="variablelist"><table border="0">
 
780
<col align="left" valign="top">
 
781
<tbody>
 
782
<tr>
 
783
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
784
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
785
</td>
 
786
</tr>
 
787
<tr>
 
788
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
789
<td> the unit for the return value
 
790
</td>
 
791
</tr>
 
792
<tr>
 
793
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
794
<td> the page width.
 
795
 
 
796
</td>
 
797
</tr>
 
798
</tbody>
 
799
</table></div>
 
800
<p class="since">Since  2.10
 
801
</p>
 
802
</div>
 
803
<hr>
 
804
<div class="refsect2" lang="en">
 
805
<a name="id3624866"></a><h3>
 
806
<a name="gtk-page-setup-get-page-height"></a>gtk_page_setup_get_page_height ()</h3>
 
807
<a class="indexterm" name="id3624882"></a><pre class="programlisting">gdouble             gtk_page_setup_get_page_height      (<a href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a> *setup,
 
808
                                                         <a href="gtk-GtkPaperSize.html#GtkUnit">GtkUnit</a> unit);</pre>
 
809
<p>
 
810
Returns the page height in units of <em class="parameter"><code>unit</code></em>.
 
811
</p>
 
812
<p>
 
813
Note that this function takes orientation and
 
814
margins into consideration. 
 
815
See <a href="GtkPageSetup.html#gtk-page-setup-get-paper-height"><code class="function">gtk_page_setup_get_paper_height()</code></a>.</p>
 
816
<p>
 
817
 
 
818
</p>
 
819
<div class="variablelist"><table border="0">
 
820
<col align="left" valign="top">
 
821
<tbody>
 
822
<tr>
 
823
<td><span class="term"><em class="parameter"><code>setup</code></em>&#160;:</span></td>
 
824
<td> a <a href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
 
825
</td>
 
826
</tr>
 
827
<tr>
 
828
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
829
<td> the unit for the return value
 
830
</td>
 
831
</tr>
 
832
<tr>
 
833
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
834
<td> the page height.
 
835
 
 
836
</td>
 
837
</tr>
 
838
</tbody>
 
839
</table></div>
 
840
<p class="since">Since  2.10
 
841
</p>
 
842
</div>
 
843
</div>
 
844
</div>
 
845
</body>
 
846
</html>