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
|
<!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::IconSource 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_1IconSource.html">IconSource</a>
</div>
</div>
<div class="contents">
<h1>Gtk::IconSource Class Reference</h1><!-- doxytag: class="Gtk::IconSource" -->
<p><a href="classGtk_1_1IconSource-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad116d11a5d857ce6221a70262a84a3a4">IconSource</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a44c4b41ece9f9bda5d196f757e7c5c8f">IconSource</a> (GtkIconSource* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#aa34725e2b0a2e09f7ae6d5130eaaf4df">IconSource</a> (const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a803ad30e1544d4983fa5039a92f987f7">operator=</a> (const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad2d814961527f3755647b670621f19ed">~IconSource</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a381e885c252afbf3a647a8561ebc2a74">swap</a> (<a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a7c14ee01bb90968b2c930b873524e6e4">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a7c14ee01bb90968b2c930b873524e6e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkIconSource* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a58cf0bd123403dbee4ec19725a596ebd">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a58cf0bd123403dbee4ec19725a596ebd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#abe204445677aaafac76225abe5a42db1">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#abe204445677aaafac76225abe5a42db1"></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_1IconSource.html#a41801a184775c47e6c2e65fee0e4cec2">set_filename</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_1ustring.html">Glib::ustring</a>& filename)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of an image file to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. <a href="#a41801a184775c47e6c2e65fee0e4cec2"></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_1IconSource.html#a8e569cec71141a8ecebacf225d22729a">set_pixbuf</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="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& pixbuf)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a pixbuf to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. <a href="#a8e569cec71141a8ecebacf225d22729a"></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_1IconSource.html#abe7763cb46297ef0930d433357a66a09">get_filename</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the source filename, or <code>0</code> if none is set. <a href="#abe7763cb46297ef0930d433357a66a09"></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="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a95f73a9793d6af134dcbf41e57e51cff">get_pixbuf</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the source pixbuf, or <code>0</code> if none is set. <a href="#a95f73a9793d6af134dcbf41e57e51cff"></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>< const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#aa8f0e245c3cc1a099d958b3beed28f43">get_pixbuf</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the source pixbuf, or <code>0</code> if none is set. <a href="#aa8f0e245c3cc1a099d958b3beed28f43"></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_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f">set_direction_wildcarded</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the text direction is wildcarded, this source can be used as the base image for an icon in any <a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">Gtk::TextDirection</a>. <a href="#a1c306fcf2ac4d3e3f491c43921a3265f"></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_1IconSource.html#a799e9c455e5f78bb54c6214062535241">set_state_wildcarded</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the widget state is wildcarded, this source can be used as the base image for an icon in any <a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a>. <a href="#a799e9c455e5f78bb54c6214062535241"></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_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1">set_size_wildcarded</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the icon size is wildcarded, this source can be used as the base image for an icon of any size. <a href="#a91a2063bfae7b6ad614dc15147b6d3b1"></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_1IconSource.html#a4c799234fee629dcf1821ff75499eff4">get_size_wildcarded</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an...">set_size_wildcarded()</a>. <a href="#a4c799234fee629dcf1821ff75499eff4"></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_1IconSource.html#a3374f27ba60030fc82d2798c643ffbd5">get_state_wildcarded</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for...">set_state_wildcarded()</a>. <a href="#a3374f27ba60030fc82d2798c643ffbd5"></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_1IconSource.html#aa65e7296aadff66f2dccc5aa19fc1519">get_direction_wildcarded</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for...">set_direction_wildcarded()</a>. <a href="#aa65e7296aadff66f2dccc5aa19fc1519"></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_1IconSource.html#a3153f215a855ac1dbc93782692a3a9db">set_direction</a> (<a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> direction)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the text direction this icon source is intended to be used with. <a href="#a3153f215a855ac1dbc93782692a3a9db"></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_1IconSource.html#a9cc65cff2d2574fb90b62fee4284af99">set_state</a> (<a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> state)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the widget state this icon source is intended to be used with. <a href="#a9cc65cff2d2574fb90b62fee4284af99"></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_1IconSource.html#ae0b88adc6bbb4ff3b0b6a0279555efcf">set_size</a> (<a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <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#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the icon size this icon source is intended to be used with. <a href="#ae0b88adc6bbb4ff3b0b6a0279555efcf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ac1c4a2fa081bf50df1f0938b35353837">get_direction</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtains the text direction this icon source applies to. <a href="#ac1c4a2fa081bf50df1f0938b35353837"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad8d7c3932eb7d56d56598b223ce44c0d">get_state</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtains the widget state this icon source applies to. <a href="#ad8d7c3932eb7d56d56598b223ce44c0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a690b0f0e7c34a49093869068674c7ff7">get_size</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtains the icon size this source applies to. <a href="#a690b0f0e7c34a49093869068674c7ff7"></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_1IconSource.html#ae0ea072ab57ae724e5957218a2f195b7">set_icon_name</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_1ustring.html">Glib::ustring</a>& icon_name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. <a href="#ae0ea072ab57ae724e5957218a2f195b7"></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_1IconSource.html#a9c99baebe10e598d977fe08dcb6c93e8">get_icon_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the source icon name, or <code>0</code> if none is set. <a href="#a9c99baebe10e598d977fe08dcb6c93e8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a76826db186409af0f30676002a5734ae">gobject_</a></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a7d7a29bf9665ec2ca3eb03c6ff4ff841">wrap</a> (GtkIconSource* 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="#a7d7a29bf9665ec2ca3eb03c6ff4ff841"></a><br/></td></tr>
</table>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ad116d11a5d857ce6221a70262a84a3a4"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="ad116d11a5d857ce6221a70262a84a3a4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::IconSource::IconSource </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a44c4b41ece9f9bda5d196f757e7c5c8f"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="a44c4b41ece9f9bda5d196f757e7c5c8f" args="(GtkIconSource *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::IconSource::IconSource </td>
<td>(</td>
<td class="paramtype">GtkIconSource * </td>
<td class="paramname"> <em>gobject</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa34725e2b0a2e09f7ae6d5130eaaf4df"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="aa34725e2b0a2e09f7ae6d5130eaaf4df" args="(const IconSource &other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::IconSource::IconSource </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& </td>
<td class="paramname"> <em>other</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad2d814961527f3755647b670621f19ed"></a><!-- doxytag: member="Gtk::IconSource::~IconSource" ref="ad2d814961527f3755647b670621f19ed" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::IconSource::~IconSource </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac1c4a2fa081bf50df1f0938b35353837"></a><!-- doxytag: member="Gtk::IconSource::get_direction" ref="ac1c4a2fa081bf50df1f0938b35353837" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> Gtk::IconSource::get_direction </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Obtains the text direction this icon source applies to. </p>
<p>The return value is only useful/meaningful if the text direction is <emphasis>not</emphasis> wildcarded. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Text direction this source matches. </dd></dl>
</div>
</div>
<a class="anchor" id="aa65e7296aadff66f2dccc5aa19fc1519"></a><!-- doxytag: member="Gtk::IconSource::get_direction_wildcarded" ref="aa65e7296aadff66f2dccc5aa19fc1519" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::IconSource::get_direction_wildcarded </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for...">set_direction_wildcarded()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any text direction variant. </dd></dl>
</div>
</div>
<a class="anchor" id="abe7763cb46297ef0930d433357a66a09"></a><!-- doxytag: member="Gtk::IconSource::get_filename" ref="abe7763cb46297ef0930d433357a66a09" 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::IconSource::get_filename </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the source filename, or <code>0</code> if none is set. </p>
<p>The filename is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGtk_1_1Image.html" title="A widget displaying an image.">Image</a> filename. This string must not be modified or freed. </dd></dl>
</div>
</div>
<a class="anchor" id="a9c99baebe10e598d977fe08dcb6c93e8"></a><!-- doxytag: member="Gtk::IconSource::get_icon_name" ref="a9c99baebe10e598d977fe08dcb6c93e8" 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::IconSource::get_icon_name </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the source icon name, or <code>0</code> if none is set. </p>
<p>The icon_name is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Icon name. This string must not be modified or freed. </dd></dl>
</div>
</div>
<a class="anchor" id="aa8f0e245c3cc1a099d958b3beed28f43"></a><!-- doxytag: member="Gtk::IconSource::get_pixbuf" ref="aa8f0e245c3cc1a099d958b3beed28f43" 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><const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::IconSource::get_pixbuf </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the source pixbuf, or <code>0</code> if none is set. </p>
<p>In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle::render_icon() virtual function. The reference count on the pixbuf is not incremented. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Source pixbuf. </dd></dl>
</div>
</div>
<a class="anchor" id="a95f73a9793d6af134dcbf41e57e51cff"></a><!-- doxytag: member="Gtk::IconSource::get_pixbuf" ref="a95f73a9793d6af134dcbf41e57e51cff" 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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::IconSource::get_pixbuf </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the source pixbuf, or <code>0</code> if none is set. </p>
<p>In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle::render_icon() virtual function. The reference count on the pixbuf is not incremented. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Source pixbuf. </dd></dl>
</div>
</div>
<a class="anchor" id="a690b0f0e7c34a49093869068674c7ff7"></a><!-- doxytag: member="Gtk::IconSource::get_size" ref="a690b0f0e7c34a49093869068674c7ff7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> Gtk::IconSource::get_size </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Obtains the icon size this source applies to. </p>
<p>The return value is only useful/meaningful if the icon size is <emphasis>not</emphasis> wildcarded. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Icon size this source matches. </dd></dl>
</div>
</div>
<a class="anchor" id="a4c799234fee629dcf1821ff75499eff4"></a><!-- doxytag: member="Gtk::IconSource::get_size_wildcarded" ref="a4c799234fee629dcf1821ff75499eff4" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::IconSource::get_size_wildcarded </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an...">set_size_wildcarded()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any icon size variant. </dd></dl>
</div>
</div>
<a class="anchor" id="ad8d7c3932eb7d56d56598b223ce44c0d"></a><!-- doxytag: member="Gtk::IconSource::get_state" ref="ad8d7c3932eb7d56d56598b223ce44c0d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> Gtk::IconSource::get_state </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Obtains the widget state this icon source applies to. </p>
<p>The return value is only useful/meaningful if the widget state is <emphasis>not</emphasis> wildcarded. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> state this source matches. </dd></dl>
</div>
</div>
<a class="anchor" id="a3374f27ba60030fc82d2798c643ffbd5"></a><!-- doxytag: member="Gtk::IconSource::get_state_wildcarded" ref="a3374f27ba60030fc82d2798c643ffbd5" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::IconSource::get_state_wildcarded </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for...">set_state_wildcarded()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any widget state variant. </dd></dl>
</div>
</div>
<a class="anchor" id="a58cf0bd123403dbee4ec19725a596ebd"></a><!-- doxytag: member="Gtk::IconSource::gobj" ref="a58cf0bd123403dbee4ec19725a596ebd" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkIconSource* Gtk::IconSource::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 instance. </p>
</div>
</div>
<a class="anchor" id="a7c14ee01bb90968b2c930b873524e6e4"></a><!-- doxytag: member="Gtk::IconSource::gobj" ref="a7c14ee01bb90968b2c930b873524e6e4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkIconSource* Gtk::IconSource::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 instance. </p>
</div>
</div>
<a class="anchor" id="abe204445677aaafac76225abe5a42db1"></a><!-- doxytag: member="Gtk::IconSource::gobj_copy" ref="abe204445677aaafac76225abe5a42db1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkIconSource* Gtk::IconSource::gobj_copy </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>
</div>
</div>
<a class="anchor" id="a803ad30e1544d4983fa5039a92f987f7"></a><!-- doxytag: member="Gtk::IconSource::operator=" ref="a803ad30e1544d4983fa5039a92f987f7" args="(const IconSource &other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& Gtk::IconSource::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& </td>
<td class="paramname"> <em>other</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a3153f215a855ac1dbc93782692a3a9db"></a><!-- doxytag: member="Gtk::IconSource::set_direction" ref="a3153f215a855ac1dbc93782692a3a9db" args="(TextDirection direction)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_direction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> </td>
<td class="paramname"> <em>direction</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the text direction this icon source is intended to be used with. </p>
<p>Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for...">set_direction_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>direction</em> </td><td>Text direction this source applies to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1c306fcf2ac4d3e3f491c43921a3265f"></a><!-- doxytag: member="Gtk::IconSource::set_direction_wildcarded" ref="a1c306fcf2ac4d3e3f491c43921a3265f" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_direction_wildcarded </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>setting</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If the text direction is wildcarded, this source can be used as the base image for an icon in any <a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">Gtk::TextDirection</a>. </p>
<p>If the text direction is not wildcarded, then the text direction the icon source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#a3153f215a855ac1dbc93782692a3a9db" title="Sets the text direction this icon source is intended to be used with.">set_direction()</a>, and the icon source will only be used with that text direction.</p>
<p><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>setting</em> </td><td><code>true</code> to wildcard the text direction. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a41801a184775c47e6c2e65fee0e4cec2"></a><!-- doxytag: member="Gtk::IconSource::set_filename" ref="a41801a184775c47e6c2e65fee0e4cec2" args="(const Glib::ustring &filename)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_filename </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_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>filename</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the name of an image file to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. </p>
<p>The filename must be absolute. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td><a class="el" href="classGtk_1_1Image.html" title="A widget displaying an image.">Image</a> file to use. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae0ea072ab57ae724e5957218a2f195b7"></a><!-- doxytag: member="Gtk::IconSource::set_icon_name" ref="ae0ea072ab57ae724e5957218a2f195b7" args="(const Glib::ustring &icon_name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_icon_name </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_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>icon_name</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>icon_name</em> </td><td>Name of icon to use. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8e569cec71141a8ecebacf225d22729a"></a><!-- doxytag: member="Gtk::IconSource::set_pixbuf" ref="a8e569cec71141a8ecebacf225d22729a" args="(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_pixbuf </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="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& </td>
<td class="paramname"> <em>pixbuf</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets a pixbuf to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pixbuf</em> </td><td>Pixbuf to use as a source. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae0b88adc6bbb4ff3b0b6a0279555efcf"></a><!-- doxytag: member="Gtk::IconSource::set_size" ref="ae0b88adc6bbb4ff3b0b6a0279555efcf" args="(IconSize size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_size </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td>
<td class="paramname"> <em>size</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the icon size this icon source is intended to be used with. </p>
<p>Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an...">set_size_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>Icon size this source applies to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a91a2063bfae7b6ad614dc15147b6d3b1"></a><!-- doxytag: member="Gtk::IconSource::set_size_wildcarded" ref="a91a2063bfae7b6ad614dc15147b6d3b1" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_size_wildcarded </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>setting</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If the icon size is wildcarded, this source can be used as the base image for an icon of any size. </p>
<p>If the size is not wildcarded, then the size the source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#ae0b88adc6bbb4ff3b0b6a0279555efcf" title="Sets the icon size this icon source is intended to be used with.">set_size()</a> and the icon source will only be used with that specific size.</p>
<p><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.</p>
<p><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>setting</em> </td><td><code>true</code> to wildcard the widget state. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9cc65cff2d2574fb90b62fee4284af99"></a><!-- doxytag: member="Gtk::IconSource::set_state" ref="a9cc65cff2d2574fb90b62fee4284af99" args="(Gtk::StateType state)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_state </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> </td>
<td class="paramname"> <em>state</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the widget state this icon source is intended to be used with. </p>
<p>Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for...">set_state_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>state</em> </td><td><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> state this source applies to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a799e9c455e5f78bb54c6214062535241"></a><!-- doxytag: member="Gtk::IconSource::set_state_wildcarded" ref="a799e9c455e5f78bb54c6214062535241" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::set_state_wildcarded </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>setting</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If the widget state is wildcarded, this source can be used as the base image for an icon in any <a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a>. </p>
<p>If the widget state is not wildcarded, then the state the source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#a9cc65cff2d2574fb90b62fee4284af99" title="Sets the widget state this icon source is intended to be used with.">set_state()</a> and the icon source will only be used with that specific state.</p>
<p><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.</p>
<p><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>setting</em> </td><td><code>true</code> to wildcard the widget state. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a381e885c252afbf3a647a8561ebc2a74"></a><!-- doxytag: member="Gtk::IconSource::swap" ref="a381e885c252afbf3a647a8561ebc2a74" args="(IconSource &other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::IconSource::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>& </td>
<td class="paramname"> <em>other</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a7d7a29bf9665ec2ca3eb03c6ff4ff841"></a><!-- doxytag: member="Gtk::IconSource::wrap" ref="a7d7a29bf9665ec2ca3eb03c6ff4ff841" args="(GtkIconSource *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a> wrap </td>
<td>(</td>
<td class="paramtype">GtkIconSource * </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/><h2>Member Data Documentation</h2>
<a class="anchor" id="a76826db186409af0f30676002a5734ae"></a><!-- doxytag: member="Gtk::IconSource::gobject_" ref="a76826db186409af0f30676002a5734ae" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkIconSource* <a class="el" href="classGtk_1_1IconSource.html#a76826db186409af0f30676002a5734ae">Gtk::IconSource::gobject_</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/iconsource.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:53 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>
|