1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::Printer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main 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 class="tabs">
<ul>
<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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Printer.html">Printer</a>
</div>
</div>
<div class="contents">
<h1>Gtk::Printer Class Reference<br/>
<small>
[<a class="el" href="group__Printing.html">Printing</a>]</small>
</h1><!-- doxytag: class="Gtk::Printer" --><!-- doxytag: inherits="Glib::Object" -->
<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="#_details">More...</a></p>
<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Printer:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Printer__coll__graph.png" border="0" usemap="#Gtk_1_1Printer_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Printer_coll__map" id="Gtk_1_1Printer_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGtk_1_1Printer-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Printer.html#abd88bcb054936b661aa86638a492bb31">~Printer</a> ()</td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2a5ac333f9d8c1ddd32ae7acfcc20a58"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a083c801ef36ba1b917e11811d100c34e"></a><br/></td></tr>
<tr><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><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"></a><br/></td></tr>
<tr><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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the printer. <a href="#aaa802be52d7202ce03605f97aecd1c6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Returns the state message describing the current state of the printer. <a href="#af14a5de59a7deacac90ffc956df23c12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Gets the description of the printer. <a href="#ad55614392469766798a2d311f38eaa16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Returns a description of the location of the printer. <a href="#a6fa810b764684500ba3142fd5451ccee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the icon to use for the printer. <a href="#a090b664054e0afe324e71f487cf92f79"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of jobs currently queued on the printer. <a href="#a06d1510be6576f69e9588d415f08b960"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is currently active (i.e. accepts new jobs). <a href="#ae918075cb8f34817c6238d4760d1d077"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is currently paused. <a href="#a8bb6df9b44e44dd937511c3cb49589fd"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is accepting jobs. <a href="#ac38d2cf2d22e66f9ec6371bc72d1415a"></a><br/></td></tr>
<tr><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><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"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer is the default printer. <a href="#a5824d9ea97128284a0bb3c3ccf2f8d7e"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer accepts input in PDF format. <a href="#aaae5331843f8227b7c25d309dff61255"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer accepts input in PostScript format. <a href="#a0deda052c78b9f0b1d07efcd2ac70922"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#af52ef34af23032a5d451bd77e5684d59">list_papers</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lists all the paper sizes <em>printer</em> supports. <a href="#af52ef34af23032a5d451bd77e5684d59"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">Returns default page size of <em>printer</em>. <a href="#a28c06db10103fc187d8e6ce403f2135c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#aae6f406c1bbb04d4eab3b188da1452c1">list_papers</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lists all the paper sizes <em>printer</em> supports. <a href="#aae6f406c1bbb04d4eab3b188da1452c1"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the printer details are available. <a href="#afb4c4bd6faf54a8408d3a7de9492d895"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Requests the printer details. <a href="#a995c814fb4dcb345a84b29bb81e1bdd0"></a><br/></td></tr>
<tr><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><td class="mdescLeft"> </td><td class="mdescRight">Returns the printer's capabilities. <a href="#a95c59d9dc902f0df0d8b5f01a1888224"></a><br/></td></tr>
<tr><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& left, double& right) const </td></tr>
<tr><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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#a98df4123288f7109b2617b73b12d56e3">property_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the printer. <a href="#a98df4123288f7109b2617b73b12d56e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#a2d2b9275a39b7dacc4a113add99e8a2b">property_is_virtual</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">FALSE if this represents a real hardware printer. <a href="#a2d2b9275a39b7dacc4a113add99e8a2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#acce1db578c1470d602b43e5e07681fda">property_state_message</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">String giving the current state of the printer. <a href="#acce1db578c1470d602b43e5e07681fda"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#adee7010d768a7a03e6343f7fdd5b4673">property_location</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The location of the printer. <a href="#adee7010d768a7a03e6343f7fdd5b4673"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#ad78e3e2f5dcc51d2f5bac0d6931f6147">property_icon_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The icon name to use for the printer. <a href="#ad78e3e2f5dcc51d2f5bac0d6931f6147"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#ac09a6e305b55954fb5eca83e4b9e38fd">property_job_count</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of jobs queued in the printer. <a href="#ac09a6e305b55954fb5eca83e4b9e38fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#a940c5dee5dcf27db6ed64a7997d2330a">property_accepts_pdf</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer can accept PDF. <a href="#a940c5dee5dcf27db6ed64a7997d2330a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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#a0d42c72b37ad72b3da121a3dad75fedc">property_accepts_ps</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">TRUE if this printer can accept PostScript. <a href="#a0d42c72b37ad72b3da121a3dad75fedc"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><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><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< bool, <br class="typebreak"/>
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">For example, bool on_enumerate_printers(const Glib::RefPtr<Printer>& printer);. <a href="#a8225038393eff8da288ae34e104ba9ad"></a><br/></td></tr>
<tr><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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><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="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotPrinterEnumerator</a>& slot, bool wait=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls a function for all Printers. <a href="#a0cd158313b69aed1879759aaf08e9150"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5b036651133f38d4ca86821630089103"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<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...">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_10000352">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="abd88bcb054936b661aa86638a492bb31"></a><!-- doxytag: member="Gtk::Printer::~Printer" ref="abd88bcb054936b661aa86638a492bb31" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::Printer::~Printer </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaae5331843f8227b7c25d309dff61255"></a><!-- doxytag: member="Gtk::Printer::accepts_pdf" ref="aaae5331843f8227b7c25d309dff61255" args="() const " -->
<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_10000362">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> accepts PDF. </dd></dl>
</div>
</div>
<a class="anchor" id="a0deda052c78b9f0b1d07efcd2ac70922"></a><!-- doxytag: member="Gtk::Printer::accepts_ps" ref="a0deda052c78b9f0b1d07efcd2ac70922" args="() const " -->
<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_10000363">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> accepts PostScript. </dd></dl>
</div>
</div>
<a class="anchor" id="a20ba73ea679f232e9adf75e3020d781e"></a><!-- doxytag: member="Gtk::Printer::equal" ref="a20ba73ea679f232e9adf75e3020d781e" args="(const Glib::RefPtr< Printer > &other) const " -->
<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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><!-- doxytag: member="Gtk::Printer::get_capabilities" ref="a95c59d9dc902f0df0d8b5f01a1888224" args="() const " -->
<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 <a class="el" href="classGtk_1_1PrintUnixDialog.html" title="PrintUnixDialog implements a print dialog for platforms which don't provide a...">Gtk::PrintUnixDialog</a>'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_12000140">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The printer's capabilities. </dd></dl>
</div>
</div>
<a class="anchor" id="a28c06db10103fc187d8e6ce403f2135c"></a><!-- doxytag: member="Gtk::Printer::get_default_page_size" ref="a28c06db10103fc187d8e6ce403f2135c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_14000159">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></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><!-- doxytag: member="Gtk::Printer::get_description" ref="ad55614392469766798a2d311f38eaa16" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_10000355">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The description of <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a1f7e13ab9cc05d9d6a503c8c52606207"></a><!-- doxytag: member="Gtk::Printer::get_hard_margins" ref="a1f7e13ab9cc05d9d6a503c8c52606207" args="(double &top, double &bottom, double &left, double &right) const " -->
<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><td> </td>
</tr>
<tr>
<td></td>
<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="note"><dt><b>Note:</b></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_20000095">Since gtkmm 2.20:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>top</em> </td><td>A location to store the top margin in. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bottom</em> </td><td>A location to store the bottom margin in. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>left</em> </td><td>A location to store the left margin in. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>right</em> </td><td>A location to store the right margin in. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> iff the hard margins were retrieved. </dd></dl>
</div>
</div>
<a class="anchor" id="a090b664054e0afe324e71f487cf92f79"></a><!-- doxytag: member="Gtk::Printer::get_icon_name" ref="a090b664054e0afe324e71f487cf92f79" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_10000357">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The icon name for <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a06d1510be6576f69e9588d415f08b960"></a><!-- doxytag: member="Gtk::Printer::get_job_count" ref="a06d1510be6576f69e9588d415f08b960" args="() const " -->
<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_10000358">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of jobs on <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a6fa810b764684500ba3142fd5451ccee"></a><!-- doxytag: member="Gtk::Printer::get_location" ref="a6fa810b764684500ba3142fd5451ccee" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_10000356">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The location of <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aaa802be52d7202ce03605f97aecd1c6e"></a><!-- doxytag: member="Gtk::Printer::get_name" ref="aaa802be52d7202ce03605f97aecd1c6e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_10000353">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The name of <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="af14a5de59a7deacac90ffc956df23c12"></a><!-- doxytag: member="Gtk::Printer::get_state_message" ref="af14a5de59a7deacac90ffc956df23c12" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_10000354">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The state message of <em>printer</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a083c801ef36ba1b917e11811d100c34e"></a><!-- doxytag: member="Gtk::Printer::gobj" ref="a083c801ef36ba1b917e11811d100c34e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkPrinter* Gtk::Printer::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>
</div>
</div>
<a class="anchor" id="a2a5ac333f9d8c1ddd32ae7acfcc20a58"></a><!-- doxytag: member="Gtk::Printer::gobj" ref="a2a5ac333f9d8c1ddd32ae7acfcc20a58" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkPrinter* Gtk::Printer::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>
</div>
</div>
<a class="anchor" id="adcd574dcd0dd93e3af8d564b03b5b52d"></a><!-- doxytag: member="Gtk::Printer::gobj_copy" ref="adcd574dcd0dd93e3af8d564b03b5b52d" args="()" -->
<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><!-- doxytag: member="Gtk::Printer::has_details" ref="afb4c4bd6faf54a8408d3a7de9492d895" args="() const " -->
<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_12000138">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> details are available. </dd></dl>
</div>
</div>
<a class="anchor" id="ac38d2cf2d22e66f9ec6371bc72d1415a"></a><!-- doxytag: member="Gtk::Printer::is_accepting_jobs" ref="ac38d2cf2d22e66f9ec6371bc72d1415a" args="() const " -->
<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_14000158">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> is accepting jobs. </dd></dl>
</div>
</div>
<a class="anchor" id="ae918075cb8f34817c6238d4760d1d077"></a><!-- doxytag: member="Gtk::Printer::is_active" ref="ae918075cb8f34817c6238d4760d1d077" args="() const " -->
<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_10000359">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> is active. </dd></dl>
</div>
</div>
<a class="anchor" id="a5824d9ea97128284a0bb3c3ccf2f8d7e"></a><!-- doxytag: member="Gtk::Printer::is_default" ref="a5824d9ea97128284a0bb3c3ccf2f8d7e" args="() const " -->
<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_10000361">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> is the default. </dd></dl>
</div>
</div>
<a class="anchor" id="a8bb6df9b44e44dd937511c3cb49589fd"></a><!-- doxytag: member="Gtk::Printer::is_paused" ref="a8bb6df9b44e44dd937511c3cb49589fd" args="() const " -->
<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_14000157">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> is paused. </dd></dl>
</div>
</div>
<a class="anchor" id="a3cb88f7e8fc916737003d2d43200847b"></a><!-- doxytag: member="Gtk::Printer::is_virtual" ref="a3cb88f7e8fc916737003d2d43200847b" args="() const " -->
<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_10000360">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>printer</em> is virtual. </dd></dl>
</div>
</div>
<a class="anchor" id="aae6f406c1bbb04d4eab3b188da1452c1"></a><!-- doxytag: member="Gtk::Printer::list_papers" ref="aae6f406c1bbb04d4eab3b188da1452c1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_12000137">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></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="af52ef34af23032a5d451bd77e5684d59"></a><!-- doxytag: member="Gtk::Printer::list_papers" ref="af52ef34af23032a5d451bd77e5684d59" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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_12000136">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></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><!-- doxytag: member="Gtk::Printer::on_details_acquired" ref="a96f36702cc3876c17ca82efadb1d49aa" args="(bool success)" -->
<div class="memitem">
<div class="memproto">
<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><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a940c5dee5dcf27db6ed64a7997d2330a"></a><!-- doxytag: member="Gtk::Printer::property_accepts_pdf" ref="a940c5dee5dcf27db6ed64a7997d2330a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="a0d42c72b37ad72b3da121a3dad75fedc"></a><!-- doxytag: member="Gtk::Printer::property_accepts_ps" ref="a0d42c72b37ad72b3da121a3dad75fedc" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="ad78e3e2f5dcc51d2f5bac0d6931f6147"></a><!-- doxytag: member="Gtk::Printer::property_icon_name" ref="ad78e3e2f5dcc51d2f5bac0d6931f6147" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="a2d2b9275a39b7dacc4a113add99e8a2b"></a><!-- doxytag: member="Gtk::Printer::property_is_virtual" ref="a2d2b9275a39b7dacc4a113add99e8a2b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="ac09a6e305b55954fb5eca83e4b9e38fd"></a><!-- doxytag: member="Gtk::Printer::property_job_count" ref="ac09a6e305b55954fb5eca83e4b9e38fd" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="adee7010d768a7a03e6343f7fdd5b4673"></a><!-- doxytag: member="Gtk::Printer::property_location" ref="adee7010d768a7a03e6343f7fdd5b4673" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="a98df4123288f7109b2617b73b12d56e3"></a><!-- doxytag: member="Gtk::Printer::property_name" ref="a98df4123288f7109b2617b73b12d56e3" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="acce1db578c1470d602b43e5e07681fda"></a><!-- doxytag: member="Gtk::Printer::property_state_message" ref="acce1db578c1470d602b43e5e07681fda" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="return"><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>
<a class="anchor" id="a995c814fb4dcb345a84b29bb81e1bdd0"></a><!-- doxytag: member="Gtk::Printer::request_details" ref="a995c814fb4dcb345a84b29bb81e1bdd0" args="()" -->
<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_12000139">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a4616cc9d24bf7d015a339566fe36b670"></a><!-- doxytag: member="Gtk::Printer::signal_details_acquired" ref="a4616cc9d24bf7d015a339566fe36b670" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_details_acquired(bool success)</code> </dd></dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a0cd158313b69aed1879759aaf08e9150"></a><!-- doxytag: member="Gtk::Printer::enumerate_printers" ref="a0cd158313b69aed1879759aaf08e9150" args="(const SlotPrinterEnumerator &slot, bool wait=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void enumerate_printers </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></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. A function to call for each printer wait If true, wait in a recursive mainloop until all printers are enumerated; otherwise return early. </p>
</div>
</div>
<a class="anchor" id="acc09fd460d0737fc77f7a35e8d972af0"></a><!-- doxytag: member="Gtk::Printer::operator!=" ref="acc09fd460d0737fc77f7a35e8d972af0" args="(const Glib::RefPtr< Printer > &lhs, const Glib::RefPtr< Printer > &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af2c0b05a37f73118b72fe603e5b97cbd"></a><!-- doxytag: member="Gtk::Printer::operator==" ref="af2c0b05a37f73118b72fe603e5b97cbd" args="(const Glib::RefPtr< Printer > &lhs, const Glib::RefPtr< Printer > &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8225038393eff8da288ae34e104ba9ad"></a><!-- doxytag: member="Gtk::Printer::SlotPrinterEnumerator" ref="a8225038393eff8da288ae34e104ba9ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< bool, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotPrinterEnumerator</a><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>For example, bool on_enumerate_printers(const Glib::RefPtr<Printer>& printer);. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>printer</em> </td><td>A printer. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>true to stop the enumeration, false to continue. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a5b036651133f38d4ca86821630089103"></a><!-- doxytag: member="Gtk::Printer::wrap" ref="a5b036651133f38d4ca86821630089103" args="(GtkPrinter *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" 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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </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>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/printer.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:09 2010 for gtkmm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|