Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 529

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::PageSetup Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::PageSetup Class Reference<br/>
<small>
[<a class="el" href="group__Printing.html">Printing</a>]</small>
</h1><!-- doxytag: class="Gtk::PageSetup" --><!-- doxytag: inherits="Glib::Object" -->
<p>A <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> object stores the page size, orientation and margins. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::PageSetup:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1PageSetup__coll__graph.png" border="0" usemap="#Gtk_1_1PageSetup_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1PageSetup_coll__map" id="Gtk_1_1PageSetup_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1PageSetup-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a8ef9f3e149211c6235c38563c2a9607b">~PageSetup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkPageSetup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a33ab2ab02543d996e0f68df9013c3d96">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a33ab2ab02543d996e0f68df9013c3d96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkPageSetup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#adcde257086ea898bdfd9a8375ae4b74a">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#adcde257086ea898bdfd9a8375ae4b74a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkPageSetup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a9c0d228e27afbe4fe84495200ed77d94">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a9c0d228e27afbe4fe84495200ed77d94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a10ce336e902cb084a90d61eef9e42a57">copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#a10ce336e902cb084a90d61eef9e42a57"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a973544ad4cb6318ca6339d2937158340">load_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; file_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the file <em>file_name</em>. <a href="#a973544ad4cb6318ca6339d2937158340"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#acb896bc5126081dbd1eabf87b3a0fd85">load_from_key_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; group_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the group <em>group_name</em> in the key file <em>key_file</em>. <a href="#acb896bc5126081dbd1eabf87b3a0fd85"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a798ed5d9a28778dda3b4ed9184d30272">load_from_key_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the "Page Setup" group in the key file <em>key_file</em>. <a href="#a798ed5d9a28778dda3b4ed9184d30272"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga466045b8876a149482ab0034c53302bf">PageOrientation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a566083779219e44c0fddedb570fe3599">get_orientation</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the page orientation of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#a566083779219e44c0fddedb570fe3599"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#ab7932c9577ffa4cf479c09fb7a117072">set_orientation</a> (<a class="el" href="group__gtkmmEnums.html#ga466045b8876a149482ab0034c53302bf">PageOrientation</a> orientation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the page orientation of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#ab7932c9577ffa4cf479c09fb7a117072"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#ac9853f889e8cecfe62c3096f8b698cdf">get_paper_size</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#ac9853f889e8cecfe62c3096f8b698cdf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a6df813a9a82801ee417f466d05966394">get_paper_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#a6df813a9a82801ee417f466d05966394"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a6b640270afe9eac9e15b8c005c8e58cc">set_paper_size</a> (const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&amp; paper_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a> without changing the margins. <a href="#a6b640270afe9eac9e15b8c005c8e58cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#ad4751e16a645d028660331b5ddf1d480">get_top_margin</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the top margin in units of <em>unit</em>. <a href="#ad4751e16a645d028660331b5ddf1d480"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#acca55b5eb3a0a91f56b07b8b8b393e86">set_top_margin</a> (double margin, <a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the top margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#acca55b5eb3a0a91f56b07b8b8b393e86"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a172bcb7a4aded40a584cd563e5142aa8">get_bottom_margin</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bottom margin in units of <em>unit</em>. <a href="#a172bcb7a4aded40a584cd563e5142aa8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a65a74df621c6543b86d06f0d0bfffb9a">set_bottom_margin</a> (double margin, <a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the bottom margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#a65a74df621c6543b86d06f0d0bfffb9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a19a400f660c3237eb1655f690c77e667">get_left_margin</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the left margin in units of <em>unit</em>. <a href="#a19a400f660c3237eb1655f690c77e667"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a39f3559b024afcac8fd87d012f8193b4">set_left_margin</a> (double margin, <a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the left margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#a39f3559b024afcac8fd87d012f8193b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#aa387f65e245cbe705a3e03bd97d09522">get_right_margin</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the right margin in units of <em>unit</em>. <a href="#aa387f65e245cbe705a3e03bd97d09522"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#afc9ed77357080264a306f3397014b4ec">set_right_margin</a> (double margin, <a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the right margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. <a href="#afc9ed77357080264a306f3397014b4ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a0da59a751f8e112652ce10adbf5aabf4">set_paper_size_and_default_margins</a> (const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&amp; paper_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a> and modifies the margins according to the new paper size. <a href="#a0da59a751f8e112652ce10adbf5aabf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a40f44cb40dd1e3f5a2ba0fd91a36e7ee">get_paper_width</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the paper width in units of <em>unit</em>. <a href="#a40f44cb40dd1e3f5a2ba0fd91a36e7ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a1f6841746b99c82e5bb7135ec08236c1">get_paper_height</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the paper height in units of <em>unit</em>. <a href="#a1f6841746b99c82e5bb7135ec08236c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#af5cb8c1fabadb562bc78937fe0817802">get_page_width</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the page width in units of <em>unit</em>. <a href="#af5cb8c1fabadb562bc78937fe0817802"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a14078ba82c3a53a61b6c26df9e782a43">get_page_height</a> (<a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a> unit) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the page height in units of <em>unit</em>. <a href="#a14078ba82c3a53a61b6c26df9e782a43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a93a888c27e60e8f7707d79b2ee3e2ff1">save_to_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; file_name) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function saves the information from <em>setup</em> to <em>file_name</em>. <a href="#a93a888c27e60e8f7707d79b2ee3e2ff1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a2ee9cd31943c51cd62fe51c07e3f7af9">save_to_key_file</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; group_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds the page setup from <em>setup</em> to <em>key_file</em>. <a href="#a2ee9cd31943c51cd62fe51c07e3f7af9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a65a9fd8560f70e46b10d26988d0a73db">save_to_key_file</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; group_name) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds the page setup from <em>setup</em> to <em>key_file</em>. <a href="#a65a9fd8560f70e46b10d26988d0a73db"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a9b679ce0339a396e2e331493c9ea4bc0">save_to_key_file</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds the page setup from <em>setup</em> to <em>key_file</em>, in the group "Page Setup". <a href="#a9b679ce0339a396e2e331493c9ea4bc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a9b1fccba4fe46d3dbb2c2883cc72b92e">save_to_key_file</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds the page setup from <em>setup</em> to <em>key_file</em>, in the group "Page Setup". <a href="#a9b1fccba4fe46d3dbb2c2883cc72b92e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a3410299453609c9a7267ff4b99d85e76">create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a01ab81b124f8a340aa0d678216cc6532">create_from_key_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the "Page Setup" group in the key file <em>key_file</em>. <a href="#a01ab81b124f8a340aa0d678216cc6532"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a1407e75fbe7a50662fb5cbb17363625d">create_from_key_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a>&amp; key_file, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; group_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the group <em>group_name</em> in the key file <em>key_file</em>. <a href="#a1407e75fbe7a50662fb5cbb17363625d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#ab2579949eae9ea4c8f595d349fd56e4e">create_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; file_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the page setup from the file . <a href="#ab2579949eae9ea4c8f595d349fd56e4e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#af1265126802384735eeb4d261d51bf8b">PageSetup</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">Gtk::PageSetup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PageSetup.html#a23864bfe5e69d7d87ce9a369a21aa5cd">wrap</a> (GtkPageSetup* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a23864bfe5e69d7d87ce9a369a21aa5cd"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> object stores the page size, orientation and margins. </p>
<p>You can get one of these from the page setup dialog and then pass it to the <a class="el" href="classGtk_1_1PrintOperation.html" title="PrintOperation is the high-level, portable printing API.">PrintOperation</a> when printing. The benefit of splitting this out of the <a class="el" href="classGtk_1_1PrintSettings.html" title="A PrintSettings object represents the settings of a print dialog in a system-independent...">PrintSettings</a> is that these affect the actual layout of the page, and thus need to be set long before the user prints.</p>
<p>The margins specified in this object are the "print margins", i.e. the parts of the page that the printer cannot print on. These are different from the layout margins that a word processor uses; they are typically used to determine the minimal size for the layout margins.</p>
<p>To obtain a <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> use <a class="el" href="classGtk_1_1PageSetup.html#a3410299453609c9a7267ff4b99d85e76">PageSetup::create()</a> to get the defaults, or use <a class="el" href="namespaceGtk.html#acdc501a0e38df936b78003f61a4e37fd" title="Runs a page setup dialog, letting the user modify the values from page_setup.">run_page_setup_dialog()</a> to show the page setup dialog and receive the resulting page setup.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000076">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8ef9f3e149211c6235c38563c2a9607b"></a><!-- doxytag: member="Gtk::PageSetup::~PageSetup" ref="a8ef9f3e149211c6235c38563c2a9607b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::PageSetup::~PageSetup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af1265126802384735eeb4d261d51bf8b"></a><!-- doxytag: member="Gtk::PageSetup::PageSetup" ref="af1265126802384735eeb4d261d51bf8b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::PageSetup::PageSetup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a10ce336e902cb084a90d61eef9e42a57"></a><!-- doxytag: member="Gtk::PageSetup::copy" ref="a10ce336e902cb084a90d61eef9e42a57" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>&gt; Gtk::PageSetup::copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies a <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000077">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of <em>other</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a3410299453609c9a7267ff4b99d85e76"></a><!-- doxytag: member="Gtk::PageSetup::create" ref="a3410299453609c9a7267ff4b99d85e76" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>&gt; Gtk::PageSetup::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab2579949eae9ea4c8f595d349fd56e4e"></a><!-- doxytag: member="Gtk::PageSetup::create_from_file" ref="ab2579949eae9ea4c8f595d349fd56e4e" args="(const std::string &amp;file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>&gt; Gtk::PageSetup::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>file_name</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the file . </p>
<p>Returns a new <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> object with the restored page setup, or an empty RefPtr if an error occurred. See <a class="el" href="classGtk_1_1PageSetup.html#a93a888c27e60e8f7707d79b2ee3e2ff1" title="This function saves the information from setup to file_name.">save_to_file()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file_name</em>&#160;</td><td>The filename to read the page setup from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The restored <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a></dd></dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000105">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1407e75fbe7a50662fb5cbb17363625d"></a><!-- doxytag: member="Gtk::PageSetup::create_from_key_file" ref="a1407e75fbe7a50662fb5cbb17363625d" args="(const Glib::KeyFile &amp;key_file, const Glib::ustring &amp;group_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>&gt; Gtk::PageSetup::create_from_key_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>group_name</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the group <em>group_name</em> in the key file <em>key_file</em>. </p>
<p>Returns a new <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> object with the restored page setup, or an empty RefPtr if an error occurred.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The KeyFile to retrieve the page setup from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group_name</em>&#160;</td><td>The name of the group in the key_file to read. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The restored <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a></dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>KeyFileError</em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000104">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a01ab81b124f8a340aa0d678216cc6532"></a><!-- doxytag: member="Gtk::PageSetup::create_from_key_file" ref="a01ab81b124f8a340aa0d678216cc6532" args="(const Glib::KeyFile &amp;key_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>&gt; Gtk::PageSetup::create_from_key_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the "Page Setup" group in the key file <em>key_file</em>. </p>
<p>Returns a new <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a> object with the restored page setup, or an empty RefPtr if an error occurred.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The KeyFile to retrieve the page setup from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The restored <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">PageSetup</a></dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>KeyFileError</em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000103">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a172bcb7a4aded40a584cd563e5142aa8"></a><!-- doxytag: member="Gtk::PageSetup::get_bottom_margin" ref="a172bcb7a4aded40a584cd563e5142aa8" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_bottom_margin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the bottom margin in units of <em>unit</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000085">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bottom margin. </dd></dl>

</div>
</div>
<a class="anchor" id="a19a400f660c3237eb1655f690c77e667"></a><!-- doxytag: member="Gtk::PageSetup::get_left_margin" ref="a19a400f660c3237eb1655f690c77e667" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_left_margin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the left margin in units of <em>unit</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000087">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The left margin. </dd></dl>

</div>
</div>
<a class="anchor" id="a566083779219e44c0fddedb570fe3599"></a><!-- doxytag: member="Gtk::PageSetup::get_orientation" ref="a566083779219e44c0fddedb570fe3599" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga466045b8876a149482ab0034c53302bf">PageOrientation</a> Gtk::PageSetup::get_orientation </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the page orientation of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000078">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The page orientation. </dd></dl>

</div>
</div>
<a class="anchor" id="a14078ba82c3a53a61b6c26df9e782a43"></a><!-- doxytag: member="Gtk::PageSetup::get_page_height" ref="a14078ba82c3a53a61b6c26df9e782a43" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_page_height </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the page height in units of <em>unit</em>. </p>
<p>Note that this function takes orientation and margins into consideration. See <a class="el" href="classGtk_1_1PageSetup.html#a1f6841746b99c82e5bb7135ec08236c1" title="Returns the paper height in units of unit.">get_paper_height()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000095">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The page height. </dd></dl>

</div>
</div>
<a class="anchor" id="af5cb8c1fabadb562bc78937fe0817802"></a><!-- doxytag: member="Gtk::PageSetup::get_page_width" ref="af5cb8c1fabadb562bc78937fe0817802" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_page_width </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the page width in units of <em>unit</em>. </p>
<p>Note that this function takes orientation and margins into consideration. See <a class="el" href="classGtk_1_1PageSetup.html#a40f44cb40dd1e3f5a2ba0fd91a36e7ee" title="Returns the paper width in units of unit.">get_paper_width()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000094">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The page width. </dd></dl>

</div>
</div>
<a class="anchor" id="a1f6841746b99c82e5bb7135ec08236c1"></a><!-- doxytag: member="Gtk::PageSetup::get_paper_height" ref="a1f6841746b99c82e5bb7135ec08236c1" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_paper_height </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the paper height in units of <em>unit</em>. </p>
<p>Note that this function takes orientation, but not margins into consideration. See <a class="el" href="classGtk_1_1PageSetup.html#a14078ba82c3a53a61b6c26df9e782a43" title="Returns the page height in units of unit.">get_page_height()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000093">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paper height. </dd></dl>

</div>
</div>
<a class="anchor" id="a6df813a9a82801ee417f466d05966394"></a><!-- doxytag: member="Gtk::PageSetup::get_paper_size" ref="a6df813a9a82801ee417f466d05966394" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a> Gtk::PageSetup::get_paper_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000081">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paper size. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9853f889e8cecfe62c3096f8b698cdf"></a><!-- doxytag: member="Gtk::PageSetup::get_paper_size" ref="ac9853f889e8cecfe62c3096f8b698cdf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a> Gtk::PageSetup::get_paper_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000080">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paper size. </dd></dl>

</div>
</div>
<a class="anchor" id="a40f44cb40dd1e3f5a2ba0fd91a36e7ee"></a><!-- doxytag: member="Gtk::PageSetup::get_paper_width" ref="a40f44cb40dd1e3f5a2ba0fd91a36e7ee" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_paper_width </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the paper width in units of <em>unit</em>. </p>
<p>Note that this function takes orientation, but not margins into consideration. See <a class="el" href="classGtk_1_1PageSetup.html#af5cb8c1fabadb562bc78937fe0817802" title="Returns the page width in units of unit.">get_page_width()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000092">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paper width. </dd></dl>

</div>
</div>
<a class="anchor" id="aa387f65e245cbe705a3e03bd97d09522"></a><!-- doxytag: member="Gtk::PageSetup::get_right_margin" ref="aa387f65e245cbe705a3e03bd97d09522" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_right_margin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the right margin in units of <em>unit</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000089">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The right margin. </dd></dl>

</div>
</div>
<a class="anchor" id="ad4751e16a645d028660331b5ddf1d480"></a><!-- doxytag: member="Gtk::PageSetup::get_top_margin" ref="ad4751e16a645d028660331b5ddf1d480" args="(Unit unit) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::PageSetup::get_top_margin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the top margin in units of <em>unit</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000083">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The unit for the return value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The top margin. </dd></dl>

</div>
</div>
<a class="anchor" id="adcde257086ea898bdfd9a8375ae4b74a"></a><!-- doxytag: member="Gtk::PageSetup::gobj" ref="adcde257086ea898bdfd9a8375ae4b74a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkPageSetup* Gtk::PageSetup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a33ab2ab02543d996e0f68df9013c3d96"></a><!-- doxytag: member="Gtk::PageSetup::gobj" ref="a33ab2ab02543d996e0f68df9013c3d96" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkPageSetup* Gtk::PageSetup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a9c0d228e27afbe4fe84495200ed77d94"></a><!-- doxytag: member="Gtk::PageSetup::gobj_copy" ref="a9c0d228e27afbe4fe84495200ed77d94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkPageSetup* Gtk::PageSetup::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a973544ad4cb6318ca6339d2937158340"></a><!-- doxytag: member="Gtk::PageSetup::load_from_file" ref="a973544ad4cb6318ca6339d2937158340" args="(const std::string &amp;file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::PageSetup::load_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>file_name</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the file <em>file_name</em>. </p>
<p>See to_file().</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000106">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file_name</em>&#160;</td><td>The filename to read the page setup from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success. </dd></dl>

</div>
</div>
<a class="anchor" id="a798ed5d9a28778dda3b4ed9184d30272"></a><!-- doxytag: member="Gtk::PageSetup::load_from_key_file" ref="a798ed5d9a28778dda3b4ed9184d30272" args="(const Glib::KeyFile &amp;key_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::PageSetup::load_from_key_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the "Page Setup" group in the key file <em>key_file</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The KeyFile to retrieve the page setup from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>KeyFileError</em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000108">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="acb896bc5126081dbd1eabf87b3a0fd85"></a><!-- doxytag: member="Gtk::PageSetup::load_from_key_file" ref="acb896bc5126081dbd1eabf87b3a0fd85" args="(const Glib::KeyFile &amp;key_file, const Glib::ustring &amp;group_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::PageSetup::load_from_key_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>group_name</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the page setup from the group <em>group_name</em> in the key file <em>key_file</em>. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000107">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The KeyFile to retrieve the page_setup from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group_name</em>&#160;</td><td>The name of the group in the key_file to read, or <code>0</code> to use the default name "Page Setup". </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success. </dd></dl>

</div>
</div>
<a class="anchor" id="a93a888c27e60e8f7707d79b2ee3e2ff1"></a><!-- doxytag: member="Gtk::PageSetup::save_to_file" ref="a93a888c27e60e8f7707d79b2ee3e2ff1" args="(const std::string &amp;file_name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::PageSetup::save_to_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>file_name</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function saves the information from <em>setup</em> to <em>file_name</em>. </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file_name</em>&#160;</td><td>The file to save to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success</dd></dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000055">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a9b1fccba4fe46d3dbb2c2883cc72b92e"></a><!-- doxytag: member="Gtk::PageSetup::save_to_key_file" ref="a9b1fccba4fe46d3dbb2c2883cc72b92e" args="(Glib::KeyFile &amp;key_file) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::save_to_key_file </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function adds the page setup from <em>setup</em> to <em>key_file</em>, in the group "Page Setup". </p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000059">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The G::KeyFile to save the page setup to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9b679ce0339a396e2e331493c9ea4bc0"></a><!-- doxytag: member="Gtk::PageSetup::save_to_key_file" ref="a9b679ce0339a396e2e331493c9ea4bc0" args="(Glib::KeyFile &amp;key_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::save_to_key_file </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function adds the page setup from <em>setup</em> to <em>key_file</em>, in the group "Page Setup". </p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000058">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The G::KeyFile to save the page setup to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000046">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="a65a9fd8560f70e46b10d26988d0a73db"></a><!-- doxytag: member="Gtk::PageSetup::save_to_key_file" ref="a65a9fd8560f70e46b10d26988d0a73db" args="(Glib::KeyFile &amp;key_file, const Glib::ustring &amp;group_name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::save_to_key_file </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>group_name</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function adds the page setup from <em>setup</em> to <em>key_file</em>. </p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000057">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> to save the page setup to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group_name</em>&#160;</td><td>The group to add the settings to in <em>key_file</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2ee9cd31943c51cd62fe51c07e3f7af9"></a><!-- doxytag: member="Gtk::PageSetup::save_to_key_file" ref="a2ee9cd31943c51cd62fe51c07e3f7af9" args="(Glib::KeyFile &amp;key_file, const Glib::ustring &amp;group_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::save_to_key_file </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> &amp;&#160;</td>
          <td class="paramname"> <em>key_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>group_name</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function adds the page setup from <em>setup</em> to <em>key_file</em>. </p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000056">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000045">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key_file</em>&#160;</td><td>The <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1KeyFile.html">Glib::KeyFile</a> to save the page setup to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group_name</em>&#160;</td><td>The group to add the settings to in <em>key_file</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a65a74df621c6543b86d06f0d0bfffb9a"></a><!-- doxytag: member="Gtk::PageSetup::set_bottom_margin" ref="a65a74df621c6543b86d06f0d0bfffb9a" args="(double margin, Unit unit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_bottom_margin </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the bottom margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000086">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>margin</em>&#160;</td><td>The new bottom margin in units of <em>unit</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The units for <em>margin</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39f3559b024afcac8fd87d012f8193b4"></a><!-- doxytag: member="Gtk::PageSetup::set_left_margin" ref="a39f3559b024afcac8fd87d012f8193b4" args="(double margin, Unit unit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_left_margin </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the left margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000088">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>margin</em>&#160;</td><td>The new left margin in units of <em>unit</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The units for <em>margin</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab7932c9577ffa4cf479c09fb7a117072"></a><!-- doxytag: member="Gtk::PageSetup::set_orientation" ref="ab7932c9577ffa4cf479c09fb7a117072" args="(PageOrientation orientation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_orientation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga466045b8876a149482ab0034c53302bf">PageOrientation</a>&#160;</td>
          <td class="paramname"> <em>orientation</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the page orientation of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000079">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>orientation</em>&#160;</td><td>A <a class="el" href="group__gtkmmEnums.html#ga466045b8876a149482ab0034c53302bf">Gtk::PageOrientation</a> value. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6b640270afe9eac9e15b8c005c8e58cc"></a><!-- doxytag: member="Gtk::PageSetup::set_paper_size" ref="a6b640270afe9eac9e15b8c005c8e58cc" args="(const PaperSize &amp;paper_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_paper_size </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&amp;&#160;</td>
          <td class="paramname"> <em>paper_size</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a> without changing the margins. </p>
<p>See <a class="el" href="classGtk_1_1PageSetup.html#a0da59a751f8e112652ce10adbf5aabf4" title="Sets the paper size of the Gtk::PageSetup and modifies the margins according to the...">set_paper_size_and_default_margins()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000082">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>size</em>&#160;</td><td>A <a class="el" href="classGtk_1_1PaperSize.html" title="PaperSize handles paper sizes.">Gtk::PaperSize</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0da59a751f8e112652ce10adbf5aabf4"></a><!-- doxytag: member="Gtk::PageSetup::set_paper_size_and_default_margins" ref="a0da59a751f8e112652ce10adbf5aabf4" args="(const PaperSize &amp;paper_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_paper_size_and_default_margins </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1PaperSize.html">PaperSize</a>&amp;&#160;</td>
          <td class="paramname"> <em>paper_size</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the paper size of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a> and modifies the margins according to the new paper size. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000091">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>size</em>&#160;</td><td>A <a class="el" href="classGtk_1_1PaperSize.html" title="PaperSize handles paper sizes.">Gtk::PaperSize</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afc9ed77357080264a306f3397014b4ec"></a><!-- doxytag: member="Gtk::PageSetup::set_right_margin" ref="afc9ed77357080264a306f3397014b4ec" args="(double margin, Unit unit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_right_margin </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the right margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000090">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>margin</em>&#160;</td><td>The new right margin in units of <em>unit</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The units for <em>margin</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acca55b5eb3a0a91f56b07b8b8b393e86"></a><!-- doxytag: member="Gtk::PageSetup::set_top_margin" ref="acca55b5eb3a0a91f56b07b8b8b393e86" args="(double margin, Unit unit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::PageSetup::set_top_margin </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga9cdd3adb4017a5c706e205aa914ba6fb">Unit</a>&#160;</td>
          <td class="paramname"> <em>unit</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the top margin of the <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins.">Gtk::PageSetup</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000084">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>margin</em>&#160;</td><td>The new top margin in units of <em>unit</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&#160;</td><td>The units for <em>margin</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a23864bfe5e69d7d87ce9a369a21aa5cd"></a><!-- doxytag: member="Gtk::PageSetup::wrap" ref="a23864bfe5e69d7d87ce9a369a21aa5cd" args="(GtkPageSetup *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1PageSetup.html">Gtk::PageSetup</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkPageSetup *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/pagesetup.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:56 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>