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
|
<!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>Crazy Eddies GUI System: CEGUI::WindowManager 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.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <span id="projectnumber">0.7.6</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceCEGUI.html">CEGUI</a> </li>
<li class="navelem"><a class="el" href="classCEGUI_1_1WindowManager.html">WindowManager</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> </div>
<div class="headertitle">
<div class="title">CEGUI::WindowManager Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::WindowManager" --><!-- doxytag: inherits="Singleton< WindowManager >,CEGUI::EventSet" -->
<p>The <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> class describes an object that manages creation and lifetime of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects.
<a href="classCEGUI_1_1WindowManager.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for CEGUI::WindowManager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1WindowManager__inherit__graph.gif" border="0" usemap="#CEGUI_1_1WindowManager_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1WindowManager_inherit__map" id="CEGUI_1_1WindowManager_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Singleton.html" title="CEGUI::Singleton\< WindowManager \>" alt="" coords="5,5,253,35"/><area shape="rect" id="node4" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects." alt="" coords="277,5,403,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for CEGUI::WindowManager:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1WindowManager__coll__graph.gif" border="0" usemap="#CEGUI_1_1WindowManager_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1WindowManager_coll__map" id="CEGUI_1_1WindowManager_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Singleton.html" title="CEGUI::Singleton\< WindowManager \>" alt="" coords="13,267,261,296"/><area shape="rect" id="node5" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects." alt="" coords="5,5,131,35"/><area shape="rect" id="node7" href="classCEGUI_1_1String.html" title="String class used within the GUI system." alt="" coords="155,5,261,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCEGUI_1_1WindowManager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a56843dd35f982777f97ae72975b6b3c0">PropertyCallback</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window, <a class="el" href="classCEGUI_1_1String.html">String</a> &propname, <a class="el" href="classCEGUI_1_1String.html">String</a> &propvalue, void *userdata)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Function type that is used as a callback when loading layouts from XML; the function is called for each <a class="el" href="classCEGUI_1_1Property.html" title="An abstract class that defines the interface to access object properties by name.">Property</a> element encountered. <a href="#a56843dd35f982777f97ae72975b6b3c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af534c037e0c3f0d7b7ccb0f195f887d3"></a><!-- doxytag: member="CEGUI::WindowManager::WindowIterator" ref="af534c037e0c3f0d7b7ccb0f195f887d3" args="" -->
typedef <a class="el" href="classCEGUI_1_1ConstBaseIterator.html">ConstBaseIterator</a><br class="typebreak"/>
< WindowRegistry > </td><td class="memItemRight" valign="bottom"><b>WindowIterator</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a8b44d20ef2f32d5021d164adfdc6ddb0">WindowManager</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> object. <a href="#a8b44d20ef2f32d5021d164adfdc6ddb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a462ffacaf51ac8b8964f039e709643f6">~WindowManager</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> objects. <a href="#a462ffacaf51ac8b8964f039e709643f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a4cbf9d34edb1829f7a1b7cce9b42eab1">createWindow</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &type, const <a class="el" href="classCEGUI_1_1String.html">String</a> &name="")</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object of the specified type, and gives it the specified unique name. <a href="#a4cbf9d34edb1829f7a1b7cce9b42eab1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ab2e19b4c615ef85313312aad1cd0a1d0">destroyWindow</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. <a href="#ab2e19b4c615ef85313312aad1cd0a1d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#aa7e188cf837e9c5ff5b86dd299248d56">destroyWindow</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &window)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. <a href="#aa7e188cf837e9c5ff5b86dd299248d56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a5d94f10e308cb6c16161f5caf3c8155e">getWindow</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &name) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. <a href="#a5d94f10e308cb6c16161f5caf3c8155e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ababe5d0243c32cfb2a889f955966e335">isWindowPresent</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &name) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Examines the list of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects to see if one exists with the given name. <a href="#ababe5d0243c32cfb2a889f955966e335"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a1436ff236c9bb8141b5baf7b63dca351">destroyAllWindows</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroys all <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects within the system. <a href="#a1436ff236c9bb8141b5baf7b63dca351"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ac2b32e08e317fdd5455944dbe75cf253">loadWindowLayout</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &filename, const <a class="el" href="classCEGUI_1_1String.html">String</a> &name_prefix="", const <a class="el" href="classCEGUI_1_1String.html">String</a> &resourceGroup="", <a class="el" href="classCEGUI_1_1WindowManager.html#a56843dd35f982777f97ae72975b6b3c0">PropertyCallback</a> *callback=0, void *userdata=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a set of windows (a Gui layout) from the information in the specified XML file. <a href="#ac2b32e08e317fdd5455944dbe75cf253"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a65aca88b9b54bafe23af19dc5a756c05">isDeadPoolEmpty</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether the window dead pool is empty. <a href="#a65aca88b9b54bafe23af19dc5a756c05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a0718255f4d1a747414ac3d1676948449">cleanDeadPool</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Permanently destroys any windows placed in the dead pool. <a href="#a0718255f4d1a747414ac3d1676948449"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#afab6e5cf149a75c0a07fa0d085c59494">writeWindowLayoutToStream</a> (const <a class="el" href="classCEGUI_1_1Window.html">Window</a> &window, <a class="el" href="namespaceCEGUI.html#ac2f7aaf6a0965b83cb35e0b1298c70b9">OutStream</a> &out_stream, bool writeParent=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Writes a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> to the given OutStream. <a href="#afab6e5cf149a75c0a07fa0d085c59494"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#abd4363dcbde35c4a865d53d0ed1abc7f">writeWindowLayoutToStream</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &window, <a class="el" href="namespaceCEGUI.html#ac2f7aaf6a0965b83cb35e0b1298c70b9">OutStream</a> &out_stream, bool writeParent=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Writes a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> to the given OutStream. <a href="#abd4363dcbde35c4a865d53d0ed1abc7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ae7c8519d66e1988aaceaf281965fcd77">saveWindowLayout</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &window, const <a class="el" href="classCEGUI_1_1String.html">String</a> &filename, const bool writeParent=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>, to a file with the given file name. <a href="#ae7c8519d66e1988aaceaf281965fcd77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#aed649cf382145db938e13122b3bd445c">saveWindowLayout</a> (const <a class="el" href="classCEGUI_1_1Window.html">Window</a> &window, const <a class="el" href="classCEGUI_1_1String.html">String</a> &filename, const bool writeParent=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>, to a file with the given file name. <a href="#aed649cf382145db938e13122b3bd445c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a06a4604df11d54c07e24e4ec2603e7cc">renameWindow</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &window, const <a class="el" href="classCEGUI_1_1String.html">String</a> &new_name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rename a window. <a href="#a06a4604df11d54c07e24e4ec2603e7cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a3440d17f924ea1139e80e69ad79b12b5">renameWindow</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window, const <a class="el" href="classCEGUI_1_1String.html">String</a> &new_name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rename a window. <a href="#a3440d17f924ea1139e80e69ad79b12b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a769adaea280068b661fef0a8ca0adee6">lock</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> into the locked state. <a href="#a769adaea280068b661fef0a8ca0adee6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a61fecdfdfff06dae1123e4e31a98214e">unlock</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> into the unlocked state. <a href="#a61fecdfdfff06dae1123e4e31a98214e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a3261a2d5210fc0754790b1041c64f51a">isLocked</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is currently in the locked state. <a href="#a3261a2d5210fc0754790b1041c64f51a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38e59be3a7620a8a01451a3927dba5b5"></a><!-- doxytag: member="CEGUI::WindowManager::getIterator" ref="a38e59be3a7620a8a01451a3927dba5b5" args="(void) const " -->
<a class="el" href="classCEGUI_1_1ConstBaseIterator.html">WindowIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a38e59be3a7620a8a01451a3927dba5b5">getIterator</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a WindowManager::WindowIterator object to iterate over the currently defined Windows. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ae4727e99cac0d366dfd5bd7b4ea37280">DEBUG_dumpWindowNames</a> (<a class="el" href="classCEGUI_1_1String.html">String</a> zone)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Outputs the names of ALL existing windows to log (DEBUG function). <a href="#ae4727e99cac0d366dfd5bd7b4ea37280"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a8bae00ccb0f01d31a7976c9d03fc047b">getDefaultResourceGroup</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default resource group currently set for layouts. <a href="#a8bae00ccb0f01d31a7976c9d03fc047b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#af5acad18ec7a601e2d40db253a0111d9">setDefaultResourceGroup</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &resourceGroup)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default resource group to be used when loading layouts. <a href="#af5acad18ec7a601e2d40db253a0111d9"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a7d5f28901cc384dc63235ba9edf234c9">GeneratedWindowNameBase</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58e4acbfe5da469b05c04c488c95f420"></a><!-- doxytag: member="CEGUI::WindowManager::EventNamespace" ref="a58e4acbfe5da469b05c04c488c95f420" args="" -->
static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a58e4acbfe5da469b05c04c488c95f420">EventNamespace</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Namespace for global events. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#ab61b2ff253cb00e288c19a7142905190">EventWindowCreated</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1WindowManager.html#a6efb8e75cf0fd3d40a1e16f969167cc6">EventWindowDestroyed</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> class describes an object that manages creation and lifetime of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects. </p>
<p>The <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is the means by which <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects are created and destroyed. For each sub-class of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> that is to be created, there must exist a <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> object which is registered with the <a class="el" href="classCEGUI_1_1WindowFactoryManager.html" title="Class that manages WindowFactory objects.">WindowFactoryManager</a>. Additionally, the <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> tracks every <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object created, and can be used to access those <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects by name. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a56843dd35f982777f97ae72975b6b3c0"></a><!-- doxytag: member="CEGUI::WindowManager::PropertyCallback" ref="a56843dd35f982777f97ae72975b6b3c0" args="(Window *window, String &propname, String &propvalue, void *userdata)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef bool <a class="el" href="classCEGUI_1_1WindowManager.html#a56843dd35f982777f97ae72975b6b3c0">CEGUI::WindowManager::PropertyCallback</a>(<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window, <a class="el" href="classCEGUI_1_1String.html">String</a> &propname, <a class="el" href="classCEGUI_1_1String.html">String</a> &propvalue, void *userdata)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Function type that is used as a callback when loading layouts from XML; the function is called for each <a class="el" href="classCEGUI_1_1Property.html" title="An abstract class that defines the interface to access object properties by name.">Property</a> element encountered. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object that the property is to be applied to.</td></tr>
<tr><td class="paramname">propname</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the property that is being set.</td></tr>
<tr><td class="paramname">propvalue</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the new value that will be applied to the property specified by /a propname.</td></tr>
<tr><td class="paramname">userdata</td><td>Some client code supplied data.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
<li>true if the property should be set.</li>
<li>false if the property should not be set, </li>
</ul>
</dd></dl>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a8b44d20ef2f32d5021d164adfdc6ddb0"></a><!-- doxytag: member="CEGUI::WindowManager::WindowManager" ref="a8b44d20ef2f32d5021d164adfdc6ddb0" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CEGUI::WindowManager::WindowManager </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> object. </p>
<p>NB: Client code should not create <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> objects - they are of limited use to you! The intended pattern of access is to get a pointer to the GUI system's <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> via the <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">System</a> object, and use that. </p>
</div>
</div>
<a class="anchor" id="a462ffacaf51ac8b8964f039e709643f6"></a><!-- doxytag: member="CEGUI::WindowManager::~WindowManager" ref="a462ffacaf51ac8b8964f039e709643f6" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CEGUI::WindowManager::~WindowManager </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destructor for <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> objects. </p>
<p>This will properly destry all remaining <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects. Note that <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> objects will not be destroyed (since they are owned by whoever created them). </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0718255f4d1a747414ac3d1676948449"></a><!-- doxytag: member="CEGUI::WindowManager::cleanDeadPool" ref="a0718255f4d1a747414ac3d1676948449" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::cleanDeadPool </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Permanently destroys any windows placed in the dead pool. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>It is probably not a good idea to call this from a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> based event handler if the specific window has been or is being destroyed.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a4cbf9d34edb1829f7a1b7cce9b42eab1"></a><!-- doxytag: member="CEGUI::WindowManager::createWindow" ref="a4cbf9d34edb1829f7a1b7cce9b42eab1" args="(const String &type, const String &name="")" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCEGUI_1_1Window.html">Window</a>* CEGUI::WindowManager::createWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>name</em> = <code>""</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object of the specified type, and gives it the specified unique name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> that describes the type of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> to be created. A valid <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> for the specified type must be registered.</td></tr>
<tr><td class="paramname">name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> that holds a unique name that is to be given to the new window. If this string is empty (""), a name will be generated for the window.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the newly created <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td><a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is locked and no Windows may be created. </td></tr>
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1AlreadyExistsException.html" title="Exception class used when an attempt is made create a named object of a particular type when an objec...">AlreadyExistsException</a></td><td>A <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object with the name <em>name</em> already exists. </td></tr>
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1UnknownObjectException.html" title="Exception class used when a request was made for an unknown object.">UnknownObjectException</a></td><td>No <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> is registered for <em>type</em> <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects. </td></tr>
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1GenericException.html" title="Exception class used when none of the other classes are applicable.">GenericException</a></td><td>Some other error occurred (<a class="el" href="classCEGUI_1_1Exception.html" title="Root exception class used within the GUI system.">Exception</a> message has details). </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae4727e99cac0d366dfd5bd7b4ea37280"></a><!-- doxytag: member="CEGUI::WindowManager::DEBUG_dumpWindowNames" ref="ae4727e99cac0d366dfd5bd7b4ea37280" args="(String zone)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::DEBUG_dumpWindowNames </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1String.html">String</a> </td>
<td class="paramname"><em>zone</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Outputs the names of ALL existing windows to log (DEBUG function). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">zone</td><td>Helper string that can specify where the name dump was made (e.g. "BEFORE FRAME DELETION").</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a1436ff236c9bb8141b5baf7b63dca351"></a><!-- doxytag: member="CEGUI::WindowManager::destroyAllWindows" ref="a1436ff236c9bb8141b5baf7b63dca351" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::destroyAllWindows </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroys all <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects within the system. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td>Thrown if the <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> for any <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object type has been removed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab2e19b4c615ef85313312aad1cd0a1d0"></a><!-- doxytag: member="CEGUI::WindowManager::destroyWindow" ref="ab2e19b4c615ef85313312aad1cd0a1d0" args="(Window *window)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::destroyWindow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td>Pointer to the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to be destroyed. If the <em>window</em> is null, or is not recognised, nothing happens.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td>Can be thrown if the <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> for <em>window's</em> object type was removed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa7e188cf837e9c5ff5b86dd299248d56"></a><!-- doxytag: member="CEGUI::WindowManager::destroyWindow" ref="aa7e188cf837e9c5ff5b86dd299248d56" args="(const String &window)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::destroyWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> containing the name of the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to be destroyed. If <em>window</em> is not recognised, nothing happens.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td>Can be thrown if the <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a> for <em>window's</em> object type was removed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8bae00ccb0f01d31a7976c9d03fc047b"></a><!-- doxytag: member="CEGUI::WindowManager::getDefaultResourceGroup" ref="a8bae00ccb0f01d31a7976c9d03fc047b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static const <a class="el" href="classCEGUI_1_1String.html">String</a>& CEGUI::WindowManager::getDefaultResourceGroup </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the default resource group currently set for layouts. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> describing the default resource group identifier that will be used when loading layouts. </dd></dl>
</div>
</div>
<a class="anchor" id="a5d94f10e308cb6c16161f5caf3c8155e"></a><!-- doxytag: member="CEGUI::WindowManager::getWindow" ref="a5d94f10e308cb6c16161f5caf3c8155e" args="(const String &name) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCEGUI_1_1Window.html">Window</a>* CEGUI::WindowManager::getWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return a pointer to the specified <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object with the name <em>name</em>.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1UnknownObjectException.html" title="Exception class used when a request was made for an unknown object.">UnknownObjectException</a></td><td>No <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object with a name matching <em>name</em> was found. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a65aca88b9b54bafe23af19dc5a756c05"></a><!-- doxytag: member="CEGUI::WindowManager::isDeadPoolEmpty" ref="a65aca88b9b54bafe23af19dc5a756c05" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::WindowManager::isDeadPoolEmpty </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return whether the window dead pool is empty. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
<li>true if there are no windows in the dead pool.</li>
<li>false if the dead pool contains >=1 window awaiting destruction. </li>
</ul>
</dd></dl>
</div>
</div>
<a class="anchor" id="a3261a2d5210fc0754790b1041c64f51a"></a><!-- doxytag: member="CEGUI::WindowManager::isLocked" ref="a3261a2d5210fc0754790b1041c64f51a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::WindowManager::isLocked </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is currently in the locked state. </p>
<p>While <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is in the locked state all attempts to create a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> of any type will fail with an <a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a> being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is only unlocked after a matching number of calls to unlock.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
<li>true to indicate <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is locked and that any attempt to create <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects will fail.</li>
<li>false to indicate <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is unlocked and that <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects may be created as normal. </li>
</ul>
</dd></dl>
</div>
</div>
<a class="anchor" id="ababe5d0243c32cfb2a889f955966e335"></a><!-- doxytag: member="CEGUI::WindowManager::isWindowPresent" ref="ababe5d0243c32cfb2a889f955966e335" args="(const String &name) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::WindowManager::isWindowPresent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Examines the list of <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> objects to see if one exists with the given name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to look for.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object was found with a name matching <em>name</em>. false if no matching <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object was found. </dd></dl>
</div>
</div>
<a class="anchor" id="ac2b32e08e317fdd5455944dbe75cf253"></a><!-- doxytag: member="CEGUI::WindowManager::loadWindowLayout" ref="ac2b32e08e317fdd5455944dbe75cf253" args="(const String &filename, const String &name_prefix="", const String &resourceGroup="", PropertyCallback *callback=0, void *userdata=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCEGUI_1_1Window.html">Window</a>* CEGUI::WindowManager::loadWindowLayout </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>name_prefix</em> = <code>""</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>resourceGroup</em> = <code>""</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1WindowManager.html#a56843dd35f982777f97ae72975b6b3c0">PropertyCallback</a> * </td>
<td class="paramname"><em>callback</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>userdata</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a set of windows (a Gui layout) from the information in the specified XML file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding the filename of the XML file to be processed.</td></tr>
<tr><td class="paramname">name_prefix</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding the prefix that is to be used when creating the windows in the layout file, this function allows a layout to be loaded multiple times without having name clashes. Note that if you use this facility, then all windows defined within the layout must have names assigned; you currently can not use this feature in combination with automatically generated window names.</td></tr>
<tr><td class="paramname">resourceGroup</td><td>Resource group identifier to be passed to the resource provider when loading the layout file.</td></tr>
<tr><td class="paramname">callback</td><td>PropertyCallback function to be called for each <a class="el" href="classCEGUI_1_1Property.html" title="An abstract class that defines the interface to access object properties by name.">Property</a> element loaded from the layout. This is called prior to the property value being applied to the window enabling client code manipulation of properties.</td></tr>
<tr><td class="paramname">userdata</td><td>Client code data pointer passed to the PropertyCallback function.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the root <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object defined in the layout.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1FileIOException.html" title="Exception class used when a file handling problem occurs.">FileIOException</a></td><td>thrown if something goes wrong while processing the file <em>filename</em>. </td></tr>
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td>thrown if <em>filename</em> appears to be invalid. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a769adaea280068b661fef0a8ca0adee6"></a><!-- doxytag: member="CEGUI::WindowManager::lock" ref="a769adaea280068b661fef0a8ca0adee6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::lock </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Put <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> into the locked state. </p>
<p>While <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is in the locked state all attempts to create a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> of any type will fail with an <a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a> being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is only unlocked after a matching number of calls to unlock.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This is primarily intended for internal use within the system. </dd></dl>
</div>
</div>
<a class="anchor" id="a3440d17f924ea1139e80e69ad79b12b5"></a><!-- doxytag: member="CEGUI::WindowManager::renameWindow" ref="a3440d17f924ea1139e80e69ad79b12b5" args="(Window *window, const String &new_name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::renameWindow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>new_name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Rename a window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td>Pointer to the window to be renamed.</td></tr>
<tr><td class="paramname">new_name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the new name for the window</td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1AlreadyExistsException.html" title="Exception class used when an attempt is made create a named object of a particular type when an objec...">AlreadyExistsException</a></td><td>thrown if a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> named <em>new_name</em> already exists. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a06a4604df11d54c07e24e4ec2603e7cc"></a><!-- doxytag: member="CEGUI::WindowManager::renameWindow" ref="a06a4604df11d54c07e24e4ec2603e7cc" args="(const String &window, const String &new_name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::renameWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>new_name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Rename a window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the current name of the window to be renamed.</td></tr>
<tr><td class="paramname">new_name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the new name for the window</td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1UnknownObjectException.html" title="Exception class used when a request was made for an unknown object.">UnknownObjectException</a></td><td>thrown if <em>window</em> is not known in the system.</td></tr>
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1AlreadyExistsException.html" title="Exception class used when an attempt is made create a named object of a particular type when an objec...">AlreadyExistsException</a></td><td>thrown if a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> named <em>new_name</em> already exists. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aed649cf382145db938e13122b3bd445c"></a><!-- doxytag: member="CEGUI::WindowManager::saveWindowLayout" ref="aed649cf382145db938e13122b3bd445c" args="(const Window &window, const String &filename, const bool writeParent=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::saveWindowLayout </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Window.html">Window</a> & </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"><em>writeParent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Save a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>, to a file with the given file name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to become the root of the layout.</td></tr>
<tr><td class="paramname">filename</td><td>The name of the file to which the XML will be written. Note that this does not use any part of the <a class="el" href="classCEGUI_1_1ResourceProvider.html" title="Abstract class that defines the required interface for all resource provider sub-classes.">ResourceProvider</a> system, but rather will write directly to disk. If this is not desirable, you should prefer the OutStream based writeWindowLayoutToStream functions.</td></tr>
<tr><td class="paramname">writeParent</td><td>If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae7c8519d66e1988aaceaf281965fcd77"></a><!-- doxytag: member="CEGUI::WindowManager::saveWindowLayout" ref="ae7c8519d66e1988aaceaf281965fcd77" args="(const String &window, const String &filename, const bool writeParent=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::saveWindowLayout </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"><em>writeParent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Save a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>, to a file with the given file name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to become the root of the layout.</td></tr>
<tr><td class="paramname">filename</td><td>The name of the file to which the XML will be written. Note that this does not use any part of the <a class="el" href="classCEGUI_1_1ResourceProvider.html" title="Abstract class that defines the required interface for all resource provider sub-classes.">ResourceProvider</a> system, but rather will write directly to disk. If this is not desirable, you should prefer the OutStream based writeWindowLayoutToStream functions.</td></tr>
<tr><td class="paramname">writeParent</td><td>If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af5acad18ec7a601e2d40db253a0111d9"></a><!-- doxytag: member="CEGUI::WindowManager::setDefaultResourceGroup" ref="af5acad18ec7a601e2d40db253a0111d9" args="(const String &resourceGroup)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void CEGUI::WindowManager::setDefaultResourceGroup </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>resourceGroup</em></td><td>)</td>
<td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the default resource group to be used when loading layouts. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">resourceGroup</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> describing the default resource group identifier to be used.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a61fecdfdfff06dae1123e4e31a98214e"></a><!-- doxytag: member="CEGUI::WindowManager::unlock" ref="a61fecdfdfff06dae1123e4e31a98214e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::unlock </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Put <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> into the unlocked state. </p>
<p>While <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is in the locked state all attempts to create a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> of any type will fail with an <a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a> being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, <a class="el" href="classCEGUI_1_1WindowManager.html" title="The WindowManager class describes an object that manages creation and lifetime of Window objects...">WindowManager</a> is only unlocked after a matching number of calls to unlock.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This is primarily intended for internal use within the system. </dd></dl>
</div>
</div>
<a class="anchor" id="afab6e5cf149a75c0a07fa0d085c59494"></a><!-- doxytag: member="CEGUI::WindowManager::writeWindowLayoutToStream" ref="afab6e5cf149a75c0a07fa0d085c59494" args="(const Window &window, OutStream &out_stream, bool writeParent=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::writeWindowLayoutToStream </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Window.html">Window</a> & </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceCEGUI.html#ac2f7aaf6a0965b83cb35e0b1298c70b9">OutStream</a> & </td>
<td class="paramname"><em>out_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>writeParent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Writes a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> to the given OutStream. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to become the root of the layout.</td></tr>
<tr><td class="paramname">out_stream</td><td>OutStream (std::ostream based) object where data is to be sent.</td></tr>
<tr><td class="paramname">writeParent</td><td>If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="abd4363dcbde35c4a865d53d0ed1abc7f"></a><!-- doxytag: member="CEGUI::WindowManager::writeWindowLayoutToStream" ref="abd4363dcbde35c4a865d53d0ed1abc7f" args="(const String &window, OutStream &out_stream, bool writeParent=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::WindowManager::writeWindowLayoutToStream </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceCEGUI.html#ac2f7aaf6a0965b83cb35e0b1298c70b9">OutStream</a> & </td>
<td class="paramname"><em>out_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>writeParent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Writes a full XML window layout, starting at the given <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> to the given OutStream. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object to become the root of the layout.</td></tr>
<tr><td class="paramname">out_stream</td><td>OutStream (std::ostream based) object where data is to be sent.</td></tr>
<tr><td class="paramname">writeParent</td><td>If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ab61b2ff253cb00e288c19a7142905190"></a><!-- doxytag: member="CEGUI::WindowManager::EventWindowCreated" ref="ab61b2ff253cb00e288c19a7142905190" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a> <a class="el" href="classCEGUI_1_1WindowManager.html#ab61b2ff253cb00e288c19a7142905190">CEGUI::WindowManager::EventWindowCreated</a><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classCEGUI_1_1Event.html" title="Defines an 'event' which can be subscribed to by interested parties.">Event</a> fired when a new <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object is created. Handlers are passed a const <a class="el" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a> reference with <a class="el" href="classCEGUI_1_1WindowEventArgs.html#a5817b522882b9648d445a20b8c354966" title="pointer to a Window object of relevance to the event.">WindowEventArgs::window</a> set to the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> that has just been created. </p>
</div>
</div>
<a class="anchor" id="a6efb8e75cf0fd3d40a1e16f969167cc6"></a><!-- doxytag: member="CEGUI::WindowManager::EventWindowDestroyed" ref="a6efb8e75cf0fd3d40a1e16f969167cc6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a> <a class="el" href="classCEGUI_1_1WindowManager.html#a6efb8e75cf0fd3d40a1e16f969167cc6">CEGUI::WindowManager::EventWindowDestroyed</a><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classCEGUI_1_1Event.html" title="Defines an 'event' which can be subscribed to by interested parties.">Event</a> fired when a <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> object is destroyed. Handlers are passed a const <a class="el" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a> reference with <a class="el" href="classCEGUI_1_1WindowEventArgs.html#a5817b522882b9648d445a20b8c354966" title="pointer to a Window object of relevance to the event.">WindowEventArgs::window</a> set to the <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> that has been destroyed. </p>
</div>
</div>
<a class="anchor" id="a7d5f28901cc384dc63235ba9edf234c9"></a><!-- doxytag: member="CEGUI::WindowManager::GeneratedWindowNameBase" ref="a7d5f28901cc384dc63235ba9edf234c9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a> <a class="el" href="classCEGUI_1_1WindowManager.html#a7d5f28901cc384dc63235ba9edf234c9">CEGUI::WindowManager::GeneratedWindowNameBase</a><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Base name to use for generated window names. </p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:41 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|