<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Gtk::PrintUnixDialog Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1PrintUnixDialog.html">PrintUnixDialog</a></div> <h1>Gtk::PrintUnixDialog Class Reference<br> <small> [<a class="el" href="group__Printing.html">Printing</a>]</small> </h1><!-- doxytag: class="Gtk::PrintUnixDialog" --><!-- doxytag: inherits="Gtk::Dialog" -->Inheritance diagram for Gtk::PrintUnixDialog:<p><center><img src="classGtk_1_1PrintUnixDialog__inherit__graph.png" border="0" usemap="#Gtk_1_1PrintUnixDialog__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1PrintUnixDialog__inherit__map"> <area href="classGtk_1_1Dialog.html" shape="rect" coords="72,625,163,652" alt=""> <area href="classGtk_1_1Window.html" shape="rect" coords="68,548,167,575" alt=""> <area href="classGtk_1_1Bin.html" shape="rect" coords="81,471,153,497" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="61,393,173,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,265" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="7,161,100,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="53,84,179,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="128,161,237,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="60,7,172,33" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,265" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1PrintUnixDialog-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classGtk_1_1PrintUnixDialog.html">PrintUnixDialog</a> implements a print dialog for platforms which don't provide a native print dialog, like Unix. <p> It can be used very much like any other GTK+ dialog, at the cost of the portability offered by the high-level printing API exposed through <a class="el" href="classGtk_1_1PrintOperation.html">PrintOperation</a>.<p> In order to print something with <a class="el" href="classGtk_1_1PrintUnixDialog.html">PrintUnixDialog</a>, you need to use <a class="el" href="classGtk_1_1PrintUnixDialog.html#24801b20bbf270f3d2d2ee3fc12cc9eb">get_selected_printer()</a> to obtain a <a class="el" href="classGtk_1_1Printer.html">Printer</a> object and use it to construct a <a class="el" href="classGtk_1_1PrintJob.html">PrintJob</a> using <a class="el" href="classGtk_1_1PrintJob.html#dce1562d1e27158f6ac4968a66756320">PrintJob::create()</a>.<p> <a class="el" href="classGtk_1_1PrintUnixDialog.html">PrintUnixDialog</a> uses the following response values:<ul> <li>RESPONSE_OK for the "Print" button</li><li>RESPONSE_APPLY for the "Preview" button</li><li>RESPONSE_CANCEL for the "Cancel" button</li></ul> <p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000237">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#248574fcfb34dab7148bb13efa9b6232">add_custom_tab</a> (const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& tab_label)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a custom tab to the print dialog. <a href="#248574fcfb34dab7148bb13efa9b6232"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#e57463cf1f82fc1ac14d8d976d24c823">add_custom_tab</a> (const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& tab_label)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#004bb7a299ad2eed065febe1173dc4c8">get_current_page</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current page of the Gtk::PrintDialog. <a href="#004bb7a299ad2eed065febe1173dc4c8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#45b1588393f7cdb1b82d1f6b42834fc6">get_page_setup</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the page setup that is used by the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <a href="#45b1588393f7cdb1b82d1f6b42834fc6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#fca868ff3ebcb4b2f7859660ee762e12">get_page_setup</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the page setup that is used by the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <a href="#fca868ff3ebcb4b2f7859660ee762e12"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1Printer.html">Printer</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#8a02284c8945fcd666056386a023db9d">get_selected_printer</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the currently selected printer. <a href="#8a02284c8945fcd666056386a023db9d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Printer.html">Printer</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#24801b20bbf270f3d2d2ee3fc12cc9eb">get_selected_printer</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the currently selected printer. <a href="#24801b20bbf270f3d2d2ee3fc12cc9eb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#259c8af5d6bac85320684b9c7f032d26">get_settings</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object that represents the current values in the print dialog. <a href="#259c8af5d6bac85320684b9c7f032d26"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#6bf4518e034887a06494cbed2c8624f1">get_settings</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object that represents the current values in the print dialog. <a href="#6bf4518e034887a06494cbed2c8624f1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkPrintUnixDialog* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#55d69c442642a62635687146d861bb49">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#55d69c442642a62635687146d861bb49"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkPrintUnixDialog* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#e8d543407e309cd6e7e67cd0aa2f82b0">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#e8d543407e309cd6e7e67cd0aa2f82b0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#a8efdf7580e4b7504d4c944e090fe2b6">PrintUnixDialog</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#cc62334cf969975437cbe307d0ce1cdd">PrintUnixDialog</a> (<a class="el" href="classGtk_1_1Window.html">Gtk::Window</a>& parent, const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#8a3148e632055c7c2db9f606e5e1e542">property_current_page</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current page in the document. <a href="#8a3148e632055c7c2db9f606e5e1e542"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#d3222d06c336f03dbea2b8efd29d7c75">property_current_page</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current page in the document. <a href="#d3222d06c336f03dbea2b8efd29d7c75"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> >> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#fcfbe42d87ffc17dc480477dfed34826">property_page_setup</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkPageSetup to use. <a href="#fcfbe42d87ffc17dc480477dfed34826"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#ee7203527e9e460d2ef6db08264c9615">property_page_setup</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkPageSetup to use. <a href="#ee7203527e9e460d2ef6db08264c9615"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a> >> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#22bbe041034a257b36763776c169386e">property_print_settings</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkPrintSettings used for initializing the dialog. <a href="#22bbe041034a257b36763776c169386e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#3be9322ce01bd123d6b48f96e399e488">property_print_settings</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkPrintSettings used for initializing the dialog. <a href="#3be9322ce01bd123d6b48f96e399e488"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Printer.html">Printer</a> >> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#bd5745ecda260698192402001dfc1918">property_selected_printer</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkPrinter which is selected. <a href="#bd5745ecda260698192402001dfc1918"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#f45f45a14bc6905f58dd96bee9436c91">set_current_page</a> (int current_page)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current page number. <a href="#f45f45a14bc6905f58dd96bee9436c91"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#75bf92d2e5c722e1d0eda310e22f29ae">set_manual_capabilities</a> (<a class="el" href="group__gtkmmEnums.html#gba4fee25db9350d20b61ec5c3f468bcb">PrintCapabilities</a> capabilities)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This lets you specify the printing capabilities your application supports. <a href="#75bf92d2e5c722e1d0eda310e22f29ae"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#ccaeece085ddce6ac7921eda20c67d80">set_page_setup</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>>& page_setup)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the page setup of the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <a href="#ccaeece085ddce6ac7921eda20c67d80"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#02c34f602c42bdc1bc861ca5dffc05ed">set_settings</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>>& print_settings)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> for the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <a href="#02c34f602c42bdc1bc861ca5dffc05ed"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#897c824aaf3332b417d6157672ba996a">~PrintUnixDialog</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1PrintUnixDialog.html#426925f0ed9e6a45e83372397d29d4bb">wrap</a> (GtkPrintUnixDialog* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#426925f0ed9e6a45e83372397d29d4bb"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="897c824aaf3332b417d6157672ba996a"></a><!-- doxytag: member="Gtk::PrintUnixDialog::~PrintUnixDialog" ref="897c824aaf3332b417d6157672ba996a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::PrintUnixDialog::~PrintUnixDialog </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="cc62334cf969975437cbe307d0ce1cdd"></a><!-- doxytag: member="Gtk::PrintUnixDialog::PrintUnixDialog" ref="cc62334cf969975437cbe307d0ce1cdd" args="(Gtk::Window &parent, const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::PrintUnixDialog::PrintUnixDialog </td> <td>(</td> <td class="paramtype"><a class="el" href="classGtk_1_1Window.html">Gtk::Window</a>& </td> <td class="paramname"> <em>parent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>title</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="a8efdf7580e4b7504d4c944e090fe2b6"></a><!-- doxytag: member="Gtk::PrintUnixDialog::PrintUnixDialog" ref="a8efdf7580e4b7504d4c944e090fe2b6" args="(const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::PrintUnixDialog::PrintUnixDialog </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>title</em> </td> <td> ) </td> <td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="248574fcfb34dab7148bb13efa9b6232"></a><!-- doxytag: member="Gtk::PrintUnixDialog::add_custom_tab" ref="248574fcfb34dab7148bb13efa9b6232" args="(const Widget &child, const Widget &tab_label)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::add_custom_tab </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td> <td class="paramname"> <em>child</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td> <td class="paramname"> <em>tab_label</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a custom tab to the print dialog. <p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000248">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>The widget to put in the custom tab. </td></tr> <tr><td valign="top"></td><td valign="top"><em>tab_label</em> </td><td>The widget to use as tab label. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="e57463cf1f82fc1ac14d8d976d24c823"></a><!-- doxytag: member="Gtk::PrintUnixDialog::add_custom_tab" ref="e57463cf1f82fc1ac14d8d976d24c823" args="(const Widget &child, const Glib::ustring &tab_label)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::add_custom_tab </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td> <td class="paramname"> <em>child</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>tab_label</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="004bb7a299ad2eed065febe1173dc4c8"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_current_page" ref="004bb7a299ad2eed065febe1173dc4c8" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::PrintUnixDialog::get_current_page </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the current page of the Gtk::PrintDialog. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The current page of <em>dialog</em> </dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000242">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="45b1588393f7cdb1b82d1f6b42834fc6"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_page_setup" ref="45b1588393f7cdb1b82d1f6b42834fc6" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> Gtk::PrintUnixDialog::get_page_setup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the page setup that is used by the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The page setup of <em>dialog</em> .</dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000240">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="fca868ff3ebcb4b2f7859660ee762e12"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_page_setup" ref="fca868ff3ebcb4b2f7859660ee762e12" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> Gtk::PrintUnixDialog::get_page_setup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the page setup that is used by the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The page setup of <em>dialog</em> .</dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000239">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="8a02284c8945fcd666056386a023db9d"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_selected_printer" ref="8a02284c8945fcd666056386a023db9d" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1Printer.html">Printer</a>> Gtk::PrintUnixDialog::get_selected_printer </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the currently selected printer. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The currently selected printer</dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000247">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="24801b20bbf270f3d2d2ee3fc12cc9eb"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_selected_printer" ref="24801b20bbf270f3d2d2ee3fc12cc9eb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Printer.html">Printer</a>> Gtk::PrintUnixDialog::get_selected_printer </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the currently selected printer. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The currently selected printer</dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000246">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="259c8af5d6bac85320684b9c7f032d26"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_settings" ref="259c8af5d6bac85320684b9c7f032d26" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>> Gtk::PrintUnixDialog::get_settings </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object that represents the current values in the print dialog. <p> Note that this creates a <em>new object</em>, and you need to unref it if don't want to keep it. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object with the values from <em>dialog</em> </dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000245">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="6bf4518e034887a06494cbed2c8624f1"></a><!-- doxytag: member="Gtk::PrintUnixDialog::get_settings" ref="6bf4518e034887a06494cbed2c8624f1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>> Gtk::PrintUnixDialog::get_settings </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets a new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object that represents the current values in the print dialog. <p> Note that this creates a <em>new object</em>, and you need to unref it if don't want to keep it. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> object with the values from <em>dialog</em> </dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000244">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <p> Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a2f8ed32453af89b2c322ac466b30c2c">Gtk::Widget</a>. </div> </div><p> <a class="anchor" name="55d69c442642a62635687146d861bb49"></a><!-- doxytag: member="Gtk::PrintUnixDialog::gobj" ref="55d69c442642a62635687146d861bb49" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkPrintUnixDialog* Gtk::PrintUnixDialog::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#788feeedb8034b6582a914bfe81deb6d">Gtk::Dialog</a>. </div> </div><p> <a class="anchor" name="e8d543407e309cd6e7e67cd0aa2f82b0"></a><!-- doxytag: member="Gtk::PrintUnixDialog::gobj" ref="e8d543407e309cd6e7e67cd0aa2f82b0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkPrintUnixDialog* Gtk::PrintUnixDialog::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#a3e8f3bdac15fac61128dc47c22ba4cd">Gtk::Dialog</a>. </div> </div><p> <a class="anchor" name="8a3148e632055c7c2db9f606e5e1e542"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_current_page" ref="8a3148e632055c7c2db9f606e5e1e542" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::PrintUnixDialog::property_current_page </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The current page in the document. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="d3222d06c336f03dbea2b8efd29d7c75"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_current_page" ref="d3222d06c336f03dbea2b8efd29d7c75" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::PrintUnixDialog::property_current_page </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The current page in the document. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="fcfbe42d87ffc17dc480477dfed34826"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_page_setup" ref="fcfbe42d87ffc17dc480477dfed34826" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>>> Gtk::PrintUnixDialog::property_page_setup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The GtkPageSetup to use. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="ee7203527e9e460d2ef6db08264c9615"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_page_setup" ref="ee7203527e9e460d2ef6db08264c9615" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>>> Gtk::PrintUnixDialog::property_page_setup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The GtkPageSetup to use. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="22bbe041034a257b36763776c169386e"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_print_settings" ref="22bbe041034a257b36763776c169386e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>>> Gtk::PrintUnixDialog::property_print_settings </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The GtkPrintSettings used for initializing the dialog. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="3be9322ce01bd123d6b48f96e399e488"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_print_settings" ref="3be9322ce01bd123d6b48f96e399e488" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>>> Gtk::PrintUnixDialog::property_print_settings </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The GtkPrintSettings used for initializing the dialog. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="bd5745ecda260698192402001dfc1918"></a><!-- doxytag: member="Gtk::PrintUnixDialog::property_selected_printer" ref="bd5745ecda260698192402001dfc1918" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Printer.html">Printer</a>>> Gtk::PrintUnixDialog::property_selected_printer </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The GtkPrinter which is selected. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="f45f45a14bc6905f58dd96bee9436c91"></a><!-- doxytag: member="Gtk::PrintUnixDialog::set_current_page" ref="f45f45a14bc6905f58dd96bee9436c91" args="(int current_page)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::set_current_page </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>current_page</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the current page number. <p> If <em>current_page</em> is not -1, this enables the current page choice for the range of pages to print.<p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000241">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>current_page</em> </td><td>The current page number. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="75bf92d2e5c722e1d0eda310e22f29ae"></a><!-- doxytag: member="Gtk::PrintUnixDialog::set_manual_capabilities" ref="75bf92d2e5c722e1d0eda310e22f29ae" args="(PrintCapabilities capabilities)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::set_manual_capabilities </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gba4fee25db9350d20b61ec5c3f468bcb">PrintCapabilities</a> </td> <td class="paramname"> <em>capabilities</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> This lets you specify the printing capabilities your application supports. <p> For instance, if you can handle scaling the output then you pass <a class="el" href="group__gtkmmEnums.html#ggba4fee25db9350d20b61ec5c3f468bcb5b9c18ec448ac4444ce5a9ce0d52efdc">Gtk::PRINT_CAPABILITY_SCALE</a>. If you don't pass that, then the dialog will only let you select the scale if the printing system automatically handles scaling.<p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000249">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>capabilities</em> </td><td>The printing capabilities of your application. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="ccaeece085ddce6ac7921eda20c67d80"></a><!-- doxytag: member="Gtk::PrintUnixDialog::set_page_setup" ref="ccaeece085ddce6ac7921eda20c67d80" args="(const Glib::RefPtr< PageSetup > &page_setup)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::set_page_setup </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>>& </td> <td class="paramname"> <em>page_setup</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the page setup of the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000238">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>page_setup</em> </td><td>A <a class="el" href="classGtk_1_1PageSetup.html">Gtk::PageSetup</a>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="02c34f602c42bdc1bc861ca5dffc05ed"></a><!-- doxytag: member="Gtk::PrintUnixDialog::set_settings" ref="02c34f602c42bdc1bc861ca5dffc05ed" args="(const Glib::RefPtr< PrintSettings > &print_settings)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::PrintUnixDialog::set_settings </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PrintSettings.html">PrintSettings</a>>& </td> <td class="paramname"> <em>print_settings</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a> for the <a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>. <p> Typically, this is used to restore saved print settings from a previous print operation before the print dialog is shown.<p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000243">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>settings</em> </td><td>A <a class="el" href="classGtk_1_1PrintSettings.html">Gtk::PrintSettings</a>, or <code>0</code>. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="426925f0ed9e6a45e83372397d29d4bb"></a><!-- doxytag: member="Gtk::PrintUnixDialog::wrap" ref="426925f0ed9e6a45e83372397d29d4bb" args="(GtkPrintUnixDialog *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1PrintUnixDialog.html">Gtk::PrintUnixDialog</a>* wrap </td> <td>(</td> <td class="paramtype">GtkPrintUnixDialog * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="printunixdialog_8h.html">printunixdialog.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>