51
51
<a class="link" href="gtk-GtkPaperSize.html#GtkPaperSize" title="GtkPaperSize"><span class="returnvalue">GtkPaperSize</span></a> * <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-size" title="gtk_page_setup_get_paper_size ()">gtk_page_setup_get_paper_size</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>);
52
52
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-paper-size" title="gtk_page_setup_set_paper_size ()">gtk_page_setup_set_paper_size</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
53
53
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkPaperSize" title="GtkPaperSize"><span class="type">GtkPaperSize</span></a> *size</code></em>);
54
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-top-margin" title="gtk_page_setup_get_top_margin ()">gtk_page_setup_get_top_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-top-margin" title="gtk_page_setup_get_top_margin ()">gtk_page_setup_get_top_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
55
55
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-top-margin" title="gtk_page_setup_set_top_margin ()">gtk_page_setup_set_top_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
58
58
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
59
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-bottom-margin" title="gtk_page_setup_get_bottom_margin ()">gtk_page_setup_get_bottom_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-bottom-margin" title="gtk_page_setup_get_bottom_margin ()">gtk_page_setup_get_bottom_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
60
60
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-bottom-margin" title="gtk_page_setup_set_bottom_margin ()">gtk_page_setup_set_bottom_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
62
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
63
63
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
64
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-left-margin" title="gtk_page_setup_get_left_margin ()">gtk_page_setup_get_left_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-left-margin" title="gtk_page_setup_get_left_margin ()">gtk_page_setup_get_left_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
65
65
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
66
66
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-left-margin" title="gtk_page_setup_set_left_margin ()">gtk_page_setup_set_left_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
67
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
67
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
68
68
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
69
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-right-margin" title="gtk_page_setup_get_right_margin ()">gtk_page_setup_get_right_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-right-margin" title="gtk_page_setup_get_right_margin ()">gtk_page_setup_get_right_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
70
70
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
71
71
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-right-margin" title="gtk_page_setup_set_right_margin ()">gtk_page_setup_set_right_margin</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
72
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
73
73
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
74
74
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-set-paper-size-and-default-margins" title="gtk_page_setup_set_paper_size_and_default_margins ()">gtk_page_setup_set_paper_size_and_default_margins</a>
75
75
(<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
76
76
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkPaperSize" title="GtkPaperSize"><span class="type">GtkPaperSize</span></a> *size</code></em>);
77
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-width" title="gtk_page_setup_get_paper_width ()">gtk_page_setup_get_paper_width</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
78
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
79
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-height" title="gtk_page_setup_get_paper_height ()">gtk_page_setup_get_paper_height</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
80
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
81
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-width" title="gtk_page_setup_get_page_width ()">gtk_page_setup_get_page_width</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
82
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
83
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-height" title="gtk_page_setup_get_page_height ()">gtk_page_setup_get_page_height</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-width" title="gtk_page_setup_get_paper_width ()">gtk_page_setup_get_paper_width</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
78
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
79
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-height" title="gtk_page_setup_get_paper_height ()">gtk_page_setup_get_paper_height</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
80
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
81
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-width" title="gtk_page_setup_get_page_width ()">gtk_page_setup_get_page_width</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
82
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
83
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-height" title="gtk_page_setup_get_page_height ()">gtk_page_setup_get_page_height</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
84
84
<em class="parameter"><code><a class="link" href="gtk-GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
86
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="GtkPageSetup.html#gtk-page-setup-new-from-file" title="gtk_page_setup_new_from_file ()">gtk_page_setup_new_from_file</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
87
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
88
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="GtkPageSetup.html#gtk-page-setup-new-from-key-file" title="gtk_page_setup_new_from_key_file ()">gtk_page_setup_new_from_key_file</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
89
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
90
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
91
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-load-file" title="gtk_page_setup_load_file ()">gtk_page_setup_load_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
92
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
93
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
94
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-load-key-file" title="gtk_page_setup_load_key_file ()">gtk_page_setup_load_key_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
95
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
96
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
97
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
98
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()">gtk_page_setup_to_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
99
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
100
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
86
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="GtkPageSetup.html#gtk-page-setup-new-from-file" title="gtk_page_setup_new_from_file ()">gtk_page_setup_new_from_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
87
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
88
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="GtkPageSetup.html#gtk-page-setup-new-from-key-file" title="gtk_page_setup_new_from_key_file ()">gtk_page_setup_new_from_key_file</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
89
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
90
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
91
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-load-file" title="gtk_page_setup_load_file ()">gtk_page_setup_load_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
92
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
93
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-load-key-file" title="gtk_page_setup_load_key_file ()">gtk_page_setup_load_key_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
95
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
96
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
97
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
98
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()">gtk_page_setup_to_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
99
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
100
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
101
101
<span class="returnvalue">void</span> <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-key-file" title="gtk_page_setup_to_key_file ()">gtk_page_setup_to_key_file</a> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
102
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
103
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>);
102
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
103
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>);
106
106
<div class="refsect1" title="Object Hierarchy">
107
107
<a name="GtkPageSetup.object-hierarchy"></a><h2>Object Hierarchy</h2>
108
108
<pre class="synopsis">
109
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
109
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
110
110
+----GtkPageSetup
155
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="GtkPrintSettings.html">GtkPrintSettings</a> </span><span class="symbol">*</span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
156
<span class="keyword">static</span><span class="normal"> <a href="GtkPageSetup.html">GtkPageSetup</a> </span><span class="symbol">*</span><span class="normal">page_setup </span><span class="symbol">=</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
155
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GtkPrintSettings</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
156
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GtkPageSetup</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">page_setup </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
157
157
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
158
158
<span class="function">do_page_setup</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
159
159
<span class="cbracket">{</span>
160
<span class="normal"> <a href="GtkPageSetup.html">GtkPageSetup</a> </span><span class="symbol">*</span><span class="normal">new_page_setup</span><span class="symbol">;</span>
161
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">==</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
160
<span class="normal"> </span><span class="usertype">GtkPageSetup</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">new_page_setup</span><span class="symbol">;</span>
161
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
162
162
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkPrintSettings.html#gtk-print-settings-new">gtk_print_settings_new</a></span><span class="normal"> </span><span class="symbol">();</span>
163
163
<span class="normal"> new_page_setup </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog">gtk_print_run_page_setup_dialog</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_window</span><span class="symbol">),</span>
164
164
<span class="normal"> page_setup</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
165
165
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup</span><span class="symbol">)</span>
166
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup</span><span class="symbol">);</span>
166
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup</span><span class="symbol">);</span>
167
167
<span class="normal"> page_setup </span><span class="symbol">=</span><span class="normal"> new_page_setup</span><span class="symbol">;</span>
168
168
<span class="cbracket">}</span></pre></td>
785
785
<div class="refsect2" title="gtk_page_setup_new_from_key_file ()">
786
786
<a name="gtk-page-setup-new-from-key-file"></a><h3>gtk_page_setup_new_from_key_file ()</h3>
787
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * gtk_page_setup_new_from_key_file (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
788
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
789
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
787
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * gtk_page_setup_new_from_key_file (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
788
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
789
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
791
791
Reads the page setup from the group <em class="parameter"><code>group_name</code></em> in the key file
792
792
<em class="parameter"><code>key_file</code></em>. Returns a new <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> object with the restored
793
page setup, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.
793
page setup, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.
795
795
<div class="variablelist"><table border="0">
796
796
<col align="left" valign="top">
799
799
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
800
<td>the <a href="/usr/share/gtk-doc/html/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> to retrieve the page_setup from
800
<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> to retrieve the page_setup from
804
804
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
805
<td> the name of the group in the key_file to read, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
805
<td> the name of the group in the key_file to read, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
806
806
to use the default name "Page Setup". <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
810
810
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
811
<td> return location for an error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
811
<td> return location for an error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>