New upstream version 3.22.28

This commit is contained in:
Jeremy Bicha
2018-02-15 04:41:25 -05:00
652 changed files with 498643 additions and 49781 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="Printing.html" title="Printing">
<link rel="prev" href="GtkPrintSettings.html" title="GtkPrintSettings">
<link rel="next" href="GtkPaperSize.html" title="GtkPaperSize">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -90,7 +90,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -106,7 +106,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -122,7 +122,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -138,7 +138,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -162,7 +162,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -170,7 +170,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -178,7 +178,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -186,7 +186,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -218,7 +218,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkPageSetup.html#gtk-page-setup-load-file" title="gtk_page_setup_load_file ()">gtk_page_setup_load_file</a> <span class="c_punctuation">()</span>
@ -226,7 +226,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
@ -234,7 +234,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()">gtk_page_setup_to_file</a> <span class="c_punctuation">()</span>
@ -250,7 +250,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
<span class="returnvalue">GVariant</span> *
</td>
<td class="function_name">
<a class="link" href="GtkPageSetup.html#gtk-page-setup-to-gvariant" title="gtk_page_setup_to_gvariant ()">gtk_page_setup_to_gvariant</a> <span class="c_punctuation">()</span>
@ -274,13 +274,13 @@
</div>
<div class="refsect1">
<a name="GtkPageSetup.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<pre class="screen"> GObject
<span class="lineart">╰──</span> GtkPageSetup
</pre>
</div>
<div class="refsect1">
<a name="GtkPageSetup.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtk/gtk.h&gt;
<pre class="synopsis">#include &lt;gtk/gtkunixprint.h&gt;
</pre>
</div>
<div class="refsect1">
@ -327,25 +327,25 @@ and receive the resulting page setup.</p>
17
18
19</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> GtkPrintSettings <span class="gtkdoc opt">*</span>settings <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
<span class="gtkdoc kwb">static</span> GtkPageSetup <span class="gtkdoc opt">*</span>page_setup <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
<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"> NULL</span><span class="symbol">;</span>
<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"> NULL</span><span class="symbol">;</span>
<span class="gtkdoc kwb">static void</span>
<span class="function">do_page_setup</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">{</span>
GtkPageSetup <span class="gtkdoc opt">*</span>new_page_setup<span class="gtkdoc opt">;</span>
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
<span class="function">do_page_setup</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
<span class="cbracket">{</span>
<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>
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>settings <span class="gtkdoc opt">==</span> NULL<span class="gtkdoc opt">)</span>
settings <span class="gtkdoc opt">=</span> <span class="function"><a href="GtkPrintSettings.html#gtk-print-settings-new">gtk_print_settings_new</a></span> <span class="gtkdoc opt">();</span>
<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"> NULL</span><span class="symbol">)</span>
<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>
new_page_setup <span class="gtkdoc opt">=</span> <span class="function"><a href="gtk3-High-level-Printing-API.html#gtk-print-run-page-setup-dialog">gtk_print_run_page_setup_dialog</a></span> <span class="gtkdoc opt">(</span><span class="function">GTK_WINDOW</span> <span class="gtkdoc opt">(</span>main_window<span class="gtkdoc opt">),</span>
page_setup<span class="gtkdoc opt">,</span> settings<span class="gtkdoc opt">);</span>
<span class="normal"> new_page_setup </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk3-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>
<span class="normal"> page_setup</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>page_setup<span class="gtkdoc opt">)</span>
<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>page_setup<span class="gtkdoc opt">);</span>
<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>
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup</span><span class="symbol">);</span>
page_setup <span class="gtkdoc opt">=</span> new_page_setup<span class="gtkdoc opt">;</span>
<span class="gtkdoc opt">}</span></pre></td>
<span class="normal"> page_setup </span><span class="symbol">=</span><span class="normal"> new_page_setup</span><span class="symbol">;</span>
<span class="cbracket">}</span></pre></td>
</tr>
</tbody>
</table>
@ -391,7 +391,7 @@ gtk_page_setup_copy (<em class="parameter"><code><a class="link" href="GtkPageSe
</div>
<div class="refsect3">
<a name="gtk-page-setup-copy.returns"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>other</code></em>
<p>a copy of <em class="parameter"><code>other</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
@ -478,7 +478,7 @@ gtk_page_setup_get_paper_size (<em class="parameter"><code><a class="link" href=
</div>
<div class="refsect3">
<a name="gtk-page-setup-get-paper-size.returns"></a><h4>Returns</h4>
<p> the paper size. </p>
<p>the paper size. </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>
@ -519,7 +519,7 @@ changing the margins. See
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-top-margin"></a><h3>gtk_page_setup_get_top_margin ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_top_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Gets the top margin in units of <em class="parameter"><code>unit</code></em>
@ -557,7 +557,7 @@ gtk_page_setup_get_top_margin (<em class="parameter"><code><a class="link" href=
<a name="gtk-page-setup-set-top-margin"></a><h3>gtk_page_setup_set_top_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_page_setup_set_top_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Sets the top margin of the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
<div class="refsect3">
@ -594,7 +594,7 @@ gtk_page_setup_set_top_margin (<em class="parameter"><code><a class="link" href=
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-bottom-margin"></a><h3>gtk_page_setup_get_bottom_margin ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_bottom_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>
@ -632,7 +632,7 @@ gtk_page_setup_get_bottom_margin (<em class="parameter"><code><a class="link" hr
<a name="gtk-page-setup-set-bottom-margin"></a><h3>gtk_page_setup_set_bottom_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_page_setup_set_bottom_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Sets the bottom margin of the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
<div class="refsect3">
@ -669,7 +669,7 @@ gtk_page_setup_set_bottom_margin (<em class="parameter"><code><a class="link" hr
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-left-margin"></a><h3>gtk_page_setup_get_left_margin ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_left_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Gets the left margin in units of <em class="parameter"><code>unit</code></em>
@ -707,7 +707,7 @@ gtk_page_setup_get_left_margin (<em class="parameter"><code><a class="link" href
<a name="gtk-page-setup-set-left-margin"></a><h3>gtk_page_setup_set_left_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_page_setup_set_left_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Sets the left margin of the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
<div class="refsect3">
@ -744,7 +744,7 @@ gtk_page_setup_set_left_margin (<em class="parameter"><code><a class="link" href
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-right-margin"></a><h3>gtk_page_setup_get_right_margin ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_right_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Gets the right margin in units of <em class="parameter"><code>unit</code></em>
@ -782,7 +782,7 @@ gtk_page_setup_get_right_margin (<em class="parameter"><code><a class="link" hre
<a name="gtk-page-setup-set-right-margin"></a><h3>gtk_page_setup_set_right_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_page_setup_set_right_margin (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Sets the right margin of the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>.</p>
<div class="refsect3">
@ -852,7 +852,7 @@ the margins according to the new paper size.</p>
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-paper-width"></a><h3>gtk_page_setup_get_paper_width ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_paper_width (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Returns the paper width in units of <em class="parameter"><code>unit</code></em>
@ -891,7 +891,7 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-width" title
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-paper-height"></a><h3>gtk_page_setup_get_paper_height ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_paper_height (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Returns the paper height in units of <em class="parameter"><code>unit</code></em>
@ -930,7 +930,7 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-page-height" titl
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-page-width"></a><h3>gtk_page_setup_get_page_width ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_page_width (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Returns the page width in units of <em class="parameter"><code>unit</code></em>
@ -969,7 +969,7 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-width" titl
<hr>
<div class="refsect2">
<a name="gtk-page-setup-get-page-height"></a><h3>gtk_page_setup_get_page_height ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
gtk_page_setup_get_page_height (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
<p>Returns the page height in units of <em class="parameter"><code>unit</code></em>
@ -1009,12 +1009,12 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-get-paper-height" tit
<div class="refsect2">
<a name="gtk-page-setup-new-from-file"></a><h3>gtk_page_setup_new_from_file ()</h3>
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> *
gtk_page_setup_new_from_file (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
gtk_page_setup_new_from_file (<em class="parameter"><code>const <span class="type">gchar</span> *file_name</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Reads the page setup from the file <em class="parameter"><code>file_name</code></em>
. Returns a
new <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> object with the restored page setup,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. See <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()"><code class="function">gtk_page_setup_to_file()</code></a>.</p>
or <code class="literal">NULL</code> if an error occurred. See <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()"><code class="function">gtk_page_setup_to_file()</code></a>.</p>
<div class="refsect3">
<a name="gtk-page-setup-new-from-file.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@ -1026,12 +1026,12 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
<tbody>
<tr>
<td class="parameter_name"><p>file_name</p></td>
<td class="parameter_description"><p> the filename to read the page setup from. </p></td>
<td class="parameter_description"><p>the filename to read the page setup from. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_description"><p>return location for an error, or <code class="literal">NULL</code>. </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>
@ -1047,14 +1047,14 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
<div class="refsect2">
<a name="gtk-page-setup-new-from-key-file"></a><h3>gtk_page_setup_new_from_key_file ()</h3>
<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="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
gtk_page_setup_new_from_key_file (<em class="parameter"><code><span class="type">GKeyFile</span> *key_file</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *group_name</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Reads the page setup from the group <em class="parameter"><code>group_name</code></em>
in the key file
<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
page setup, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.</p>
page setup, or <code class="literal">NULL</code> if an error occurred.</p>
<div class="refsect3">
<a name="gtk-page-setup-new-from-key-file.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@ -1066,18 +1066,18 @@ page setup, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class
<tbody>
<tr>
<td class="parameter_name"><p>key_file</p></td>
<td class="parameter_description"><p>the <a href="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> to retrieve the page_setup from</p></td>
<td class="parameter_description"><p>the <span class="type">GKeyFile</span> to retrieve the page_setup from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>group_name</p></td>
<td class="parameter_description"><p> the name of the group in the key_file to read, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
<td class="parameter_description"><p>the name of the group in the key_file to read, or <code class="literal">NULL</code>
to use the default name “Page Setup”. </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>error</p></td>
<td class="parameter_description"><p> return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_description"><p>return location for an error, or <code class="literal">NULL</code>. </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>
@ -1093,7 +1093,7 @@ to use the default name “Page Setup”. </p></td>
<div class="refsect2">
<a name="gtk-page-setup-new-from-gvariant"></a><h3>gtk_page_setup_new_from_gvariant ()</h3>
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> *
gtk_page_setup_new_from_gvariant (<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
gtk_page_setup_new_from_gvariant (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
<p>Desrialize a page setup from an a{sv} variant in
the format produced by <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-gvariant" title="gtk_page_setup_to_gvariant ()"><code class="function">gtk_page_setup_to_gvariant()</code></a>.</p>
<div class="refsect3">
@ -1106,14 +1106,14 @@ the format produced by <a class="link" href="GtkPageSetup.html#gtk-page-setup-to
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>variant</p></td>
<td class="parameter_description"><p>an a{sv} <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a></p></td>
<td class="parameter_description"><p>an a{sv} <span class="type">GVariant</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-page-setup-new-from-gvariant.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> object. </p>
<p>a new <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> object. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
@ -1121,10 +1121,10 @@ the format produced by <a class="link" href="GtkPageSetup.html#gtk-page-setup-to
<hr>
<div class="refsect2">
<a name="gtk-page-setup-load-file"></a><h3>gtk_page_setup_load_file ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_page_setup_load_file (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Reads the page setup from the file <em class="parameter"><code>file_name</code></em>
.
See <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_page_setup_to_file ()"><code class="function">gtk_page_setup_to_file()</code></a>.</p>
@ -1144,12 +1144,12 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_p
</tr>
<tr>
<td class="parameter_name"><p>file_name</p></td>
<td class="parameter_description"><p> the filename to read the page setup from. </p></td>
<td class="parameter_description"><p>the filename to read the page setup from. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_description"><p>return location for an error, or <code class="literal">NULL</code>. </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>
@ -1157,18 +1157,18 @@ See <a class="link" href="GtkPageSetup.html#gtk-page-setup-to-file" title="gtk_p
</div>
<div class="refsect3">
<a name="gtk-page-setup-load-file.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-page-setup-load-key-file"></a><h3>gtk_page_setup_load_key_file ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_page_setup_load_key_file (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<em class="parameter"><code><span class="type">GKeyFile</span> *key_file</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *group_name</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Reads the page setup from the group <em class="parameter"><code>group_name</code></em>
in the key file
<em class="parameter"><code>key_file</code></em>
@ -1189,18 +1189,18 @@ gtk_page_setup_load_key_file (<em class="parameter"><code><a class="link" href="
</tr>
<tr>
<td class="parameter_name"><p>key_file</p></td>
<td class="parameter_description"><p>the <a href="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> to retrieve the page_setup from</p></td>
<td class="parameter_description"><p>the <span class="type">GKeyFile</span> to retrieve the page_setup from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>group_name</p></td>
<td class="parameter_description"><p> the name of the group in the key_file to read, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
<td class="parameter_description"><p>the name of the group in the key_file to read, or <code class="literal">NULL</code>
to use the default name “Page Setup”. </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>error</p></td>
<td class="parameter_description"><p> return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_description"><p>return location for an error, or <code class="literal">NULL</code>. </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>
@ -1208,17 +1208,17 @@ to use the default name “Page Setup”. </p></td>
</div>
<div class="refsect3">
<a name="gtk-page-setup-load-key-file.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-page-setup-to-file"></a><h3>gtk_page_setup_to_file ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_page_setup_to_file (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *file_name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>This function saves the information from <em class="parameter"><code>setup</code></em>
to <em class="parameter"><code>file_name</code></em>
.</p>
@ -1238,12 +1238,12 @@ gtk_page_setup_to_file (<em class="parameter"><code><a class="link" href="GtkPag
</tr>
<tr>
<td class="parameter_name"><p>file_name</p></td>
<td class="parameter_description"><p> the file to save to. </p></td>
<td class="parameter_description"><p>the file to save to. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> return location for errors, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_description"><p>return location for errors, or <code class="literal">NULL</code>. </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>
@ -1251,7 +1251,7 @@ gtk_page_setup_to_file (<em class="parameter"><code><a class="link" href="GtkPag
</div>
<div class="refsect3">
<a name="gtk-page-setup-to-file.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: 2.12</p>
</div>
@ -1260,8 +1260,8 @@ gtk_page_setup_to_file (<em class="parameter"><code><a class="link" href="GtkPag
<a name="gtk-page-setup-to-key-file"></a><h3>gtk_page_setup_to_key_file ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_page_setup_to_key_file (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>,
<em class="parameter"><code><a href="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group_name</code></em>);</pre>
<em class="parameter"><code><span class="type">GKeyFile</span> *key_file</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *group_name</code></em>);</pre>
<p>This function adds the page setup from <em class="parameter"><code>setup</code></em>
to <em class="parameter"><code>key_file</code></em>
.</p>
@ -1281,14 +1281,14 @@ gtk_page_setup_to_key_file (<em class="parameter"><code><a class="link" href="Gt
</tr>
<tr>
<td class="parameter_name"><p>key_file</p></td>
<td class="parameter_description"><p>the <a href="../glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a> to save the page setup to</p></td>
<td class="parameter_description"><p>the <span class="type">GKeyFile</span> to save the page setup to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>group_name</p></td>
<td class="parameter_description"><p>the group to add the settings to in <em class="parameter"><code>key_file</code></em>
,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default name “Page Setup”</p></td>
or <code class="literal">NULL</code> to use the default name “Page Setup”</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -1299,10 +1299,10 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
<hr>
<div class="refsect2">
<a name="gtk-page-setup-to-gvariant"></a><h3>gtk_page_setup_to_gvariant ()</h3>
<pre class="programlisting"><a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
gtk_page_setup_to_gvariant (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup</code></em>);</pre>
<p>Serialize page setup to an a{sv} variant.</p>
<p>Return: (transfer none): a new, floating, <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a></p>
<p>Return: (transfer none): a new, floating, <span class="type">GVariant</span></p>
<div class="refsect3">
<a name="gtk-page-setup-to-gvariant.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@ -1330,6 +1330,6 @@ gtk_page_setup_to_gvariant (<em class="parameter"><code><a class="link" href="Gt
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>