<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>gtkmm: Gtk::Printer Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.14.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1Printer.html">Printer</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtk_1_1Printer-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::Printer Class Reference<div class="ingroups"><a class="el" href="group__Printing.html">Printing</a></div></div> </div> </div><!--header--> <div class="contents"> <p>A <a class="el" href="classGtk_1_1Printer.html" title="A Printer object represents a printer. ">Printer</a> object represents a printer. <a href="classGtk_1_1Printer.html#details">More...</a></p> <p><code>#include <gtkmm/printer.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::Printer:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Printer__inherit__graph.png" border="0" usemap="#Gtk_1_1Printer_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Printer_inherit__map" id="Gtk_1_1Printer_inherit__map"> <area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:abd88bcb054936b661aa86638a492bb31"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#abd88bcb054936b661aa86638a492bb31">~Printer</a> ()</td></tr> <tr class="separator:abd88bcb054936b661aa86638a492bb31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a5ac333f9d8c1ddd32ae7acfcc20a58"><td class="memItemLeft" align="right" valign="top">GtkPrinter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a2a5ac333f9d8c1ddd32ae7acfcc20a58">gobj</a> ()</td></tr> <tr class="memdesc:a2a5ac333f9d8c1ddd32ae7acfcc20a58"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2a5ac333f9d8c1ddd32ae7acfcc20a58">More...</a><br /></td></tr> <tr class="separator:a2a5ac333f9d8c1ddd32ae7acfcc20a58"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a083c801ef36ba1b917e11811d100c34e"><td class="memItemLeft" align="right" valign="top">const GtkPrinter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a083c801ef36ba1b917e11811d100c34e">gobj</a> () const </td></tr> <tr class="memdesc:a083c801ef36ba1b917e11811d100c34e"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a083c801ef36ba1b917e11811d100c34e">More...</a><br /></td></tr> <tr class="separator:a083c801ef36ba1b917e11811d100c34e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcd574dcd0dd93e3af8d564b03b5b52d"><td class="memItemLeft" align="right" valign="top">GtkPrinter* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#adcd574dcd0dd93e3af8d564b03b5b52d">gobj_copy</a> ()</td></tr> <tr class="memdesc:adcd574dcd0dd93e3af8d564b03b5b52d"><td class="mdescLeft"> </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="#adcd574dcd0dd93e3af8d564b03b5b52d">More...</a><br /></td></tr> <tr class="separator:adcd574dcd0dd93e3af8d564b03b5b52d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a20ba73ea679f232e9adf75e3020d781e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a20ba73ea679f232e9adf75e3020d781e">equal</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& other) const </td></tr> <tr class="separator:a20ba73ea679f232e9adf75e3020d781e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa802be52d7202ce03605f97aecd1c6e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aaa802be52d7202ce03605f97aecd1c6e">get_name</a> () const </td></tr> <tr class="memdesc:aaa802be52d7202ce03605f97aecd1c6e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the printer. <a href="#aaa802be52d7202ce03605f97aecd1c6e">More...</a><br /></td></tr> <tr class="separator:aaa802be52d7202ce03605f97aecd1c6e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af14a5de59a7deacac90ffc956df23c12"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#af14a5de59a7deacac90ffc956df23c12">get_state_message</a> () const </td></tr> <tr class="memdesc:af14a5de59a7deacac90ffc956df23c12"><td class="mdescLeft"> </td><td class="mdescRight">Returns the state message describing the current state of the printer. <a href="#af14a5de59a7deacac90ffc956df23c12">More...</a><br /></td></tr> <tr class="separator:af14a5de59a7deacac90ffc956df23c12"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad55614392469766798a2d311f38eaa16"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#ad55614392469766798a2d311f38eaa16">get_description</a> () const </td></tr> <tr class="memdesc:ad55614392469766798a2d311f38eaa16"><td class="mdescLeft"> </td><td class="mdescRight">Gets the description of the printer. <a href="#ad55614392469766798a2d311f38eaa16">More...</a><br /></td></tr> <tr class="separator:ad55614392469766798a2d311f38eaa16"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6fa810b764684500ba3142fd5451ccee"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a6fa810b764684500ba3142fd5451ccee">get_location</a> () const </td></tr> <tr class="memdesc:a6fa810b764684500ba3142fd5451ccee"><td class="mdescLeft"> </td><td class="mdescRight">Returns a description of the location of the printer. <a href="#a6fa810b764684500ba3142fd5451ccee">More...</a><br /></td></tr> <tr class="separator:a6fa810b764684500ba3142fd5451ccee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a090b664054e0afe324e71f487cf92f79"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a090b664054e0afe324e71f487cf92f79">get_icon_name</a> () const </td></tr> <tr class="memdesc:a090b664054e0afe324e71f487cf92f79"><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the icon to use for the printer. <a href="#a090b664054e0afe324e71f487cf92f79">More...</a><br /></td></tr> <tr class="separator:a090b664054e0afe324e71f487cf92f79"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06d1510be6576f69e9588d415f08b960"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a06d1510be6576f69e9588d415f08b960">get_job_count</a> () const </td></tr> <tr class="memdesc:a06d1510be6576f69e9588d415f08b960"><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of jobs currently queued on the printer. <a href="#a06d1510be6576f69e9588d415f08b960">More...</a><br /></td></tr> <tr class="separator:a06d1510be6576f69e9588d415f08b960"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae918075cb8f34817c6238d4760d1d077"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#ae918075cb8f34817c6238d4760d1d077">is_active</a> () const </td></tr> <tr class="memdesc:ae918075cb8f34817c6238d4760d1d077"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is currently active (i.e. accepts new jobs). <a href="#ae918075cb8f34817c6238d4760d1d077">More...</a><br /></td></tr> <tr class="separator:ae918075cb8f34817c6238d4760d1d077"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8bb6df9b44e44dd937511c3cb49589fd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a8bb6df9b44e44dd937511c3cb49589fd">is_paused</a> () const </td></tr> <tr class="memdesc:a8bb6df9b44e44dd937511c3cb49589fd"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is currently paused. <a href="#a8bb6df9b44e44dd937511c3cb49589fd">More...</a><br /></td></tr> <tr class="separator:a8bb6df9b44e44dd937511c3cb49589fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac38d2cf2d22e66f9ec6371bc72d1415a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#ac38d2cf2d22e66f9ec6371bc72d1415a">is_accepting_jobs</a> () const </td></tr> <tr class="memdesc:ac38d2cf2d22e66f9ec6371bc72d1415a"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is accepting jobs. <a href="#ac38d2cf2d22e66f9ec6371bc72d1415a">More...</a><br /></td></tr> <tr class="separator:ac38d2cf2d22e66f9ec6371bc72d1415a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3cb88f7e8fc916737003d2d43200847b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a3cb88f7e8fc916737003d2d43200847b">is_virtual</a> () const </td></tr> <tr class="memdesc:a3cb88f7e8fc916737003d2d43200847b"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is virtual (i.e. does not represent actual printer hardware, but something like a CUPS class). <a href="#a3cb88f7e8fc916737003d2d43200847b">More...</a><br /></td></tr> <tr class="separator:a3cb88f7e8fc916737003d2d43200847b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5824d9ea97128284a0bb3c3ccf2f8d7e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a5824d9ea97128284a0bb3c3ccf2f8d7e">is_default</a> () const </td></tr> <tr class="memdesc:a5824d9ea97128284a0bb3c3ccf2f8d7e"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is the default printer. <a href="#a5824d9ea97128284a0bb3c3ccf2f8d7e">More...</a><br /></td></tr> <tr class="separator:a5824d9ea97128284a0bb3c3ccf2f8d7e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaae5331843f8227b7c25d309dff61255"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aaae5331843f8227b7c25d309dff61255">accepts_pdf</a> () const </td></tr> <tr class="memdesc:aaae5331843f8227b7c25d309dff61255"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer accepts input in PDF format. <a href="#aaae5331843f8227b7c25d309dff61255">More...</a><br /></td></tr> <tr class="separator:aaae5331843f8227b7c25d309dff61255"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0deda052c78b9f0b1d07efcd2ac70922"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a0deda052c78b9f0b1d07efcd2ac70922">accepts_ps</a> () const </td></tr> <tr class="memdesc:a0deda052c78b9f0b1d07efcd2ac70922"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer accepts input in PostScript format. <a href="#a0deda052c78b9f0b1d07efcd2ac70922">More...</a><br /></td></tr> <tr class="separator:a0deda052c78b9f0b1d07efcd2ac70922"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec26730b9a6c59fcae88566c36c54d97"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" /> < <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aec26730b9a6c59fcae88566c36c54d97">list_papers</a> ()</td></tr> <tr class="memdesc:aec26730b9a6c59fcae88566c36c54d97"><td class="mdescLeft"> </td><td class="mdescRight">Lists all the paper sizes <em>printer</em> supports. <a href="#aec26730b9a6c59fcae88566c36c54d97">More...</a><br /></td></tr> <tr class="separator:aec26730b9a6c59fcae88566c36c54d97"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28c06db10103fc187d8e6ce403f2135c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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_1Printer.html#a28c06db10103fc187d8e6ce403f2135c">get_default_page_size</a> () const </td></tr> <tr class="memdesc:a28c06db10103fc187d8e6ce403f2135c"><td class="mdescLeft"> </td><td class="mdescRight">Returns default page size of <em>printer</em>. <a href="#a28c06db10103fc187d8e6ce403f2135c">More...</a><br /></td></tr> <tr class="separator:a28c06db10103fc187d8e6ce403f2135c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae62d9b814c3a055acc9889ee2e1b9b4f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" /> < const <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#ae62d9b814c3a055acc9889ee2e1b9b4f">list_papers</a> () const </td></tr> <tr class="memdesc:ae62d9b814c3a055acc9889ee2e1b9b4f"><td class="mdescLeft"> </td><td class="mdescRight">Lists all the paper sizes <em>printer</em> supports. <a href="#ae62d9b814c3a055acc9889ee2e1b9b4f">More...</a><br /></td></tr> <tr class="separator:ae62d9b814c3a055acc9889ee2e1b9b4f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb4c4bd6faf54a8408d3a7de9492d895"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#afb4c4bd6faf54a8408d3a7de9492d895">has_details</a> () const </td></tr> <tr class="memdesc:afb4c4bd6faf54a8408d3a7de9492d895"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer details are available. <a href="#afb4c4bd6faf54a8408d3a7de9492d895">More...</a><br /></td></tr> <tr class="separator:afb4c4bd6faf54a8408d3a7de9492d895"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a995c814fb4dcb345a84b29bb81e1bdd0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a995c814fb4dcb345a84b29bb81e1bdd0">request_details</a> ()</td></tr> <tr class="memdesc:a995c814fb4dcb345a84b29bb81e1bdd0"><td class="mdescLeft"> </td><td class="mdescRight">Requests the printer details. <a href="#a995c814fb4dcb345a84b29bb81e1bdd0">More...</a><br /></td></tr> <tr class="separator:a995c814fb4dcb345a84b29bb81e1bdd0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a95c59d9dc902f0df0d8b5f01a1888224"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaba4fee25db9350d20b61ec5c3f468bcb">PrintCapabilities</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a95c59d9dc902f0df0d8b5f01a1888224">get_capabilities</a> () const </td></tr> <tr class="memdesc:a95c59d9dc902f0df0d8b5f01a1888224"><td class="mdescLeft"> </td><td class="mdescRight">Returns the printer’s capabilities. <a href="#a95c59d9dc902f0df0d8b5f01a1888224">More...</a><br /></td></tr> <tr class="separator:a95c59d9dc902f0df0d8b5f01a1888224"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f7e13ab9cc05d9d6a503c8c52606207"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a1f7e13ab9cc05d9d6a503c8c52606207">get_hard_margins</a> (double& top, double& bottom, double&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01616.html#a96d1c2cab30f14f4e34ccb460f1ad1c9">left</a>, double&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01616.html#a1a23b13efe06ee9b3cd9324af25ab538">right</a>) const </td></tr> <tr class="memdesc:a1f7e13ab9cc05d9d6a503c8c52606207"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the hard margins of <em>printer</em>, i.e. the margins that define the area at the borders of the paper that the printer cannot print to. <a href="#a1f7e13ab9cc05d9d6a503c8c52606207">More...</a><br /></td></tr> <tr class="separator:a1f7e13ab9cc05d9d6a503c8c52606207"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4616cc9d24bf7d015a339566fe36b670"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a4616cc9d24bf7d015a339566fe36b670">signal_details_acquired</a> ()</td></tr> <tr class="separator:a4616cc9d24bf7d015a339566fe36b670"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa2ee911d6f50043964a55722a87b2eda"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aa2ee911d6f50043964a55722a87b2eda">property_name</a> () const </td></tr> <tr class="memdesc:aa2ee911d6f50043964a55722a87b2eda"><td class="mdescLeft"> </td><td class="mdescRight">Name of the printer. <a href="#aa2ee911d6f50043964a55722a87b2eda">More...</a><br /></td></tr> <tr class="separator:aa2ee911d6f50043964a55722a87b2eda"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a48fb64dfbc9d3003ac5be45008b2a126"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a48fb64dfbc9d3003ac5be45008b2a126">property_is_virtual</a> () const </td></tr> <tr class="memdesc:a48fb64dfbc9d3003ac5be45008b2a126"><td class="mdescLeft"> </td><td class="mdescRight">FALSE if this represents a real hardware printer. <a href="#a48fb64dfbc9d3003ac5be45008b2a126">More...</a><br /></td></tr> <tr class="separator:a48fb64dfbc9d3003ac5be45008b2a126"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a416e5298a6caebe000ff2c2a3e29e3d4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a416e5298a6caebe000ff2c2a3e29e3d4">property_state_message</a> () const </td></tr> <tr class="memdesc:a416e5298a6caebe000ff2c2a3e29e3d4"><td class="mdescLeft"> </td><td class="mdescRight">String giving the current state of the printer. <a href="#a416e5298a6caebe000ff2c2a3e29e3d4">More...</a><br /></td></tr> <tr class="separator:a416e5298a6caebe000ff2c2a3e29e3d4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab5ad7602d1ec5ef344c8473dc8082b6d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#ab5ad7602d1ec5ef344c8473dc8082b6d">property_location</a> () const </td></tr> <tr class="memdesc:ab5ad7602d1ec5ef344c8473dc8082b6d"><td class="mdescLeft"> </td><td class="mdescRight">The location of the printer. <a href="#ab5ad7602d1ec5ef344c8473dc8082b6d">More...</a><br /></td></tr> <tr class="separator:ab5ad7602d1ec5ef344c8473dc8082b6d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b781fa982010daf8924e48ae3ac7a67"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a0b781fa982010daf8924e48ae3ac7a67">property_icon_name</a> () const </td></tr> <tr class="memdesc:a0b781fa982010daf8924e48ae3ac7a67"><td class="mdescLeft"> </td><td class="mdescRight">The icon name to use for the printer. <a href="#a0b781fa982010daf8924e48ae3ac7a67">More...</a><br /></td></tr> <tr class="separator:a0b781fa982010daf8924e48ae3ac7a67"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a173212fd199e3ad5a52e670acd16b991"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a173212fd199e3ad5a52e670acd16b991">property_job_count</a> () const </td></tr> <tr class="memdesc:a173212fd199e3ad5a52e670acd16b991"><td class="mdescLeft"> </td><td class="mdescRight">Number of jobs queued in the printer. <a href="#a173212fd199e3ad5a52e670acd16b991">More...</a><br /></td></tr> <tr class="separator:a173212fd199e3ad5a52e670acd16b991"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a61e08261e80ea181e8814bc739d6413b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a61e08261e80ea181e8814bc739d6413b">property_accepts_pdf</a> () const </td></tr> <tr class="memdesc:a61e08261e80ea181e8814bc739d6413b"><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer can accept PDF. <a href="#a61e08261e80ea181e8814bc739d6413b">More...</a><br /></td></tr> <tr class="separator:a61e08261e80ea181e8814bc739d6413b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e5e974079f6b4e37d2edd1a8c35ceb8"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a8e5e974079f6b4e37d2edd1a8c35ceb8">property_accepts_ps</a> () const </td></tr> <tr class="memdesc:a8e5e974079f6b4e37d2edd1a8c35ceb8"><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer can accept PostScript. <a href="#a8e5e974079f6b4e37d2edd1a8c35ceb8">More...</a><br /></td></tr> <tr class="separator:a8e5e974079f6b4e37d2edd1a8c35ceb8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa6368a17bbf58451233408a18f66fb61"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aa6368a17bbf58451233408a18f66fb61">property_paused</a> () const </td></tr> <tr class="memdesc:aa6368a17bbf58451233408a18f66fb61"><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer is paused. <a href="#aa6368a17bbf58451233408a18f66fb61">More...</a><br /></td></tr> <tr class="separator:aa6368a17bbf58451233408a18f66fb61"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa281b134a77ba4c3d67f46e1d1a58242"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#aa281b134a77ba4c3d67f46e1d1a58242">property_accepting_jobs</a> () const </td></tr> <tr class="memdesc:aa281b134a77ba4c3d67f46e1d1a58242"><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer is accepting new jobs. <a href="#aa281b134a77ba4c3d67f46e1d1a58242">More...</a><br /></td></tr> <tr class="separator:aa281b134a77ba4c3d67f46e1d1a58242"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:add7dc0f6cc9953c015ef5e3bdc23c793"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#add7dc0f6cc9953c015ef5e3bdc23c793">get_type</a> ()</td></tr> <tr class="memdesc:add7dc0f6cc9953c015ef5e3bdc23c793"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#add7dc0f6cc9953c015ef5e3bdc23c793">More...</a><br /></td></tr> <tr class="separator:add7dc0f6cc9953c015ef5e3bdc23c793"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a96f36702cc3876c17ca82efadb1d49aa"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a96f36702cc3876c17ca82efadb1d49aa">on_details_acquired</a> (bool success)</td></tr> <tr class="memdesc:a96f36702cc3876c17ca82efadb1d49aa"><td class="mdescLeft"> </td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGtk_1_1Printer.html#a4616cc9d24bf7d015a339566fe36b670">signal_details_acquired()</a>. <a href="#a96f36702cc3876c17ca82efadb1d49aa">More...</a><br /></td></tr> <tr class="separator:a96f36702cc3876c17ca82efadb1d49aa"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a8225038393eff8da288ae34e104ba9ad"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< bool, <br class="typebreak" /> const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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_1Printer.html#a8225038393eff8da288ae34e104ba9ad">SlotPrinterEnumerator</a></td></tr> <tr class="memdesc:a8225038393eff8da288ae34e104ba9ad"><td class="mdescLeft"> </td><td class="mdescRight">For example, bool on_enumerate_printers(const Glib::RefPtr<Printer>& printer);. <a href="#a8225038393eff8da288ae34e104ba9ad">More...</a><br /></td></tr> <tr class="separator:a8225038393eff8da288ae34e104ba9ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af2c0b05a37f73118b72fe603e5b97cbd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#af2c0b05a37f73118b72fe603e5b97cbd">operator==</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& lhs, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& rhs)</td></tr> <tr class="separator:af2c0b05a37f73118b72fe603e5b97cbd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc09fd460d0737fc77f7a35e8d972af0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#acc09fd460d0737fc77f7a35e8d972af0">operator!=</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& lhs, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& rhs)</td></tr> <tr class="separator:acc09fd460d0737fc77f7a35e8d972af0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0cd158313b69aed1879759aaf08e9150"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a0cd158313b69aed1879759aaf08e9150">enumerate_printers</a> (const <a class="el" href="classGtk_1_1Printer.html#a8225038393eff8da288ae34e104ba9ad">SlotPrinterEnumerator</a>& slot, bool wait=true)</td></tr> <tr class="memdesc:a0cd158313b69aed1879759aaf08e9150"><td class="mdescLeft"> </td><td class="mdescRight">Calls a function for all Printers. <a href="#a0cd158313b69aed1879759aaf08e9150">More...</a><br /></td></tr> <tr class="separator:a0cd158313b69aed1879759aaf08e9150"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b036651133f38d4ca86821630089103"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Gtk::Printer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#a5b036651133f38d4ca86821630089103">wrap</a> (GtkPrinter* object, bool take_copy=false)</td></tr> <tr class="memdesc:a5b036651133f38d4ca86821630089103"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5b036651133f38d4ca86821630089103">More...</a><br /></td></tr> <tr class="separator:a5b036651133f38d4ca86821630089103"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A <a class="el" href="classGtk_1_1Printer.html" title="A Printer object represents a printer. ">Printer</a> object represents a printer. </p> <p>You only need to deal directly with printers if you use the non-portable <a class="el" href="classGtk_1_1PrintUnixDialog.html" title="PrintUnixDialog implements a print dialog for platforms which don't provide a native print dialog...">PrintUnixDialog</a> API.</p> <p>A <a class="el" href="classGtk_1_1Printer.html" title="A Printer object represents a printer. ">Printer</a> object allows to get status information about the printer, such as its description, its location, the number of queued jobs, etc. Most importantly, a <a class="el" href="classGtk_1_1Printer.html" title="A Printer object represents a printer. ">Printer</a> object can be used to create a <a class="el" href="classGtk_1_1PrintJob.html" title="A PrintJob object represents a job that is sent to a printer. ">PrintJob</a> object, which lets you print to the printer.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000351">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="abd88bcb054936b661aa86638a492bb31"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Printer::~Printer </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aaae5331843f8227b7c25d309dff61255"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::accepts_pdf </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer accepts input in PDF format. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000361">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> accepts PDF. </dd></dl> </div> </div> <a class="anchor" id="a0deda052c78b9f0b1d07efcd2ac70922"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::accepts_ps </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer accepts input in PostScript format. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000362">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> accepts PostScript. </dd></dl> </div> </div> <a class="anchor" id="a20ba73ea679f232e9adf75e3020d781e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::equal </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a95c59d9dc902f0df0d8b5f01a1888224"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaba4fee25db9350d20b61ec5c3f468bcb">PrintCapabilities</a> Gtk::Printer::get_capabilities </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the printer’s capabilities. </p> <p>This is useful when you’re using Gtk::PrintUnixDialog’s manual-capabilities setting and need to know which settings the printer can handle and which you must handle yourself.</p> <p>This will return 0 unless the printer’s details are available, see <a class="el" href="classGtk_1_1Printer.html#afb4c4bd6faf54a8408d3a7de9492d895" title="Returns whether the printer details are available. ">has_details()</a> and <a class="el" href="classGtk_1_1Printer.html#a995c814fb4dcb345a84b29bb81e1bdd0" title="Requests the printer details. ">request_details()</a>.</p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000127">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The printer’s capabilities. </dd></dl> </div> </div> <a class="anchor" id="a28c06db10103fc187d8e6ce403f2135c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> Gtk::Printer::get_default_page_size </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns default page size of <em>printer</em>. </p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000131">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A newly allocated <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins. ">Gtk::PageSetup</a> with default page size of the printer. </dd></dl> </div> </div> <a class="anchor" id="ad55614392469766798a2d311f38eaa16"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Printer::get_description </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the description of the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000354">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The description of <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="a1f7e13ab9cc05d9d6a503c8c52606207"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::get_hard_margins </td> <td>(</td> <td class="paramtype">double & </td> <td class="paramname"><em>top</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>bottom</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>left</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>right</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Retrieve the hard margins of <em>printer</em>, i.e. the margins that define the area at the borders of the paper that the printer cannot print to. </p> <dl class="section note"><dt>Note</dt><dd>This will not succeed unless the printer’s details are available, see <a class="el" href="classGtk_1_1Printer.html#afb4c4bd6faf54a8408d3a7de9492d895" title="Returns whether the printer details are available. ">has_details()</a> and <a class="el" href="classGtk_1_1Printer.html#a995c814fb4dcb345a84b29bb81e1bdd0" title="Requests the printer details. ">request_details()</a>.</dd></dl> <dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000098">Since gtkmm 2.20:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">top</td><td>A location to store the top margin in. </td></tr> <tr><td class="paramname">bottom</td><td>A location to store the bottom margin in. </td></tr> <tr><td class="paramname">left</td><td>A location to store the left margin in. </td></tr> <tr><td class="paramname">right</td><td>A location to store the right margin in. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> iff the hard margins were retrieved. </dd></dl> </div> </div> <a class="anchor" id="a090b664054e0afe324e71f487cf92f79"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Printer::get_icon_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the name of the icon to use for the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000356">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The icon name for <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="a06d1510be6576f69e9588d415f08b960"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::Printer::get_job_count </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the number of jobs currently queued on the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000357">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The number of jobs on <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="a6fa810b764684500ba3142fd5451ccee"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Printer::get_location </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns a description of the location of the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000355">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The location of <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="aaa802be52d7202ce03605f97aecd1c6e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Printer::get_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the name of the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000352">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The name of <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="af14a5de59a7deacac90ffc956df23c12"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Printer::get_state_message </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the state message describing the current state of the printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000353">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The state message of <em>printer</em>. </dd></dl> </div> </div> <a class="anchor" id="add7dc0f6cc9953c015ef5e3bdc23c793"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gtk::Printer::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="a2a5ac333f9d8c1ddd32ae7acfcc20a58"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkPrinter* Gtk::Printer::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a083c801ef36ba1b917e11811d100c34e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkPrinter* Gtk::Printer::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="adcd574dcd0dd93e3af8d564b03b5b52d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkPrinter* Gtk::Printer::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</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="afb4c4bd6faf54a8408d3a7de9492d895"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::has_details </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer details are available. </p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000125">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> details are available. </dd></dl> </div> </div> <a class="anchor" id="ac38d2cf2d22e66f9ec6371bc72d1415a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::is_accepting_jobs </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer is accepting jobs. </p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000130">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> is accepting jobs. </dd></dl> </div> </div> <a class="anchor" id="ae918075cb8f34817c6238d4760d1d077"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::is_active </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer is currently active (i.e. accepts new jobs). </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000358">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> is active. </dd></dl> </div> </div> <a class="anchor" id="a5824d9ea97128284a0bb3c3ccf2f8d7e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::is_default </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer is the default printer. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000360">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> is the default. </dd></dl> </div> </div> <a class="anchor" id="a8bb6df9b44e44dd937511c3cb49589fd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::is_paused </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer is currently paused. </p> <p>A paused printer still accepts jobs, but it is not printing them.</p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000129">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> is paused. </dd></dl> </div> </div> <a class="anchor" id="a3cb88f7e8fc916737003d2d43200847b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Printer::is_virtual </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the printer is virtual (i.e. does not represent actual printer hardware, but something like a CUPS class). </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000359">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>printer</em> is virtual. </dd></dl> </div> </div> <a class="anchor" id="aec26730b9a6c59fcae88566c36c54d97"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> > Gtk::Printer::list_papers </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Lists all the paper sizes <em>printer</em> supports. </p> <p>This will return and empty list unless the printer’s details are available, see <a class="el" href="classGtk_1_1Printer.html#afb4c4bd6faf54a8408d3a7de9492d895" title="Returns whether the printer details are available. ">has_details()</a> and <a class="el" href="classGtk_1_1Printer.html#a995c814fb4dcb345a84b29bb81e1bdd0" title="Requests the printer details. ">request_details()</a>.</p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000123">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A newly allocated list of newly allocated <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins. ">Gtk::PageSetup</a> s. </dd></dl> </div> </div> <a class="anchor" id="ae62d9b814c3a055acc9889ee2e1b9b4f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGtk_1_1PageSetup.html">PageSetup</a>> > Gtk::Printer::list_papers </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Lists all the paper sizes <em>printer</em> supports. </p> <p>This will return and empty list unless the printer’s details are available, see <a class="el" href="classGtk_1_1Printer.html#afb4c4bd6faf54a8408d3a7de9492d895" title="Returns whether the printer details are available. ">has_details()</a> and <a class="el" href="classGtk_1_1Printer.html#a995c814fb4dcb345a84b29bb81e1bdd0" title="Requests the printer details. ">request_details()</a>.</p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000124">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A newly allocated list of newly allocated <a class="el" href="classGtk_1_1PageSetup.html" title="A PageSetup object stores the page size, orientation and margins. ">Gtk::PageSetup</a> s. </dd></dl> </div> </div> <a class="anchor" id="a96f36702cc3876c17ca82efadb1d49aa"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Printer::on_details_acquired </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>success</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is a default handler for the signal <a class="el" href="classGtk_1_1Printer.html#a4616cc9d24bf7d015a339566fe36b670">signal_details_acquired()</a>. </p> </div> </div> <a class="anchor" id="aa281b134a77ba4c3d67f46e1d1a58242"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::Printer::property_accepting_jobs </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>TRUE if this printer is accepting new jobs. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a61e08261e80ea181e8814bc739d6413b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::Printer::property_accepts_pdf </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>TRUE if this printer can accept PDF. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a8e5e974079f6b4e37d2edd1a8c35ceb8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::Printer::property_accepts_ps </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>TRUE if this printer can accept PostScript. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a0b781fa982010daf8924e48ae3ac7a67"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Printer::property_icon_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The icon name to use for the printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a48fb64dfbc9d3003ac5be45008b2a126"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::Printer::property_is_virtual </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>FALSE if this represents a real hardware printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a173212fd199e3ad5a52e670acd16b991"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< int > Gtk::Printer::property_job_count </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Number of jobs queued in the printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ab5ad7602d1ec5ef344c8473dc8082b6d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Printer::property_location </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The location of the printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aa2ee911d6f50043964a55722a87b2eda"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Printer::property_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Name of the printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aa6368a17bbf58451233408a18f66fb61"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::Printer::property_paused </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>TRUE if this printer is paused. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a416e5298a6caebe000ff2c2a3e29e3d4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Printer::property_state_message </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>String giving the current state of the printer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a995c814fb4dcb345a84b29bb81e1bdd0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Printer::request_details </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Requests the printer details. </p> <p>When the details are available, the details_acquired signal will be emitted.</p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000126">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a4616cc9d24bf7d015a339566fe36b670"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void,bool > Gtk::Printer::signal_details_acquired </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_details_acquired(bool success)</code></dd></dl> <p>Gets emitted in response to a request for detailed information about a printer from the print backend. The <em>success</em> parameter indicates if the information was actually obtained.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000363">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">success</td><td><code>true</code> if the details were successfully acquired. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a0cd158313b69aed1879759aaf08e9150"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void enumerate_printers </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1Printer.html#a8225038393eff8da288ae34e104ba9ad">SlotPrinterEnumerator</a>& </td> <td class="paramname"><em>slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>wait</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Calls a function for all Printers. </p> <p>If the callback returns true, the enumeration is stopped. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">slot</td><td>A function to call for each printer </td></tr> <tr><td class="paramname">wait</td><td>If true, wait in a recursive mainloop until all printers are enumerated; otherwise return early. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="acc09fd460d0737fc77f7a35e8d972af0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& </td> <td class="paramname"><em>lhs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& </td> <td class="paramname"><em>rhs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="af2c0b05a37f73118b72fe603e5b97cbd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool operator== </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& </td> <td class="paramname"><em>lhs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Printer</a> >& </td> <td class="paramname"><em>rhs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a8225038393eff8da288ae34e104ba9ad"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< bool, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Printer.html">Printer</a>>& > <a class="el" href="classGtk_1_1Printer.html#a8225038393eff8da288ae34e104ba9ad">SlotPrinterEnumerator</a></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>For example, bool on_enumerate_printers(const Glib::RefPtr<Printer>& printer);. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">printer</td><td>A printer. </td></tr> <tr><td class="paramname">result</td><td>true to stop the enumeration, false to continue. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a5b036651133f38d4ca86821630089103"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Printer.html">Gtk::Printer</a> > wrap </td> <td>(</td> <td class="paramtype">GtkPrinter * </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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 23 2014 12:59:24 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>