/usr/share/doc/libmx-doc/html/mx/MxWindow.html is in libmx-doc 1.4.7-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MxWindow</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Mx Toolkit Reference Manual">
<link rel="up" href="ch01.html" title="Widgets">
<link rel="prev" href="MxWidget.html" title="MxWidget">
<link rel="next" href="MxButton.html" title="MxButton">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="MxWidget.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Mx Toolkit Reference Manual</th>
<td><a accesskey="n" href="MxButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#MxWindow.synopsis" class="shortcut">Top</a>
|
<a href="#MxWindow.description" class="shortcut">Description</a>
|
<a href="#MxWindow.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#MxWindow.properties" class="shortcut">Properties</a>
|
<a href="#MxWindow.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="MxWindow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="MxWindow.top_of_page"></a>MxWindow</span></h2>
<p>MxWindow — an object that represents a platform-specific window</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="MxWindow.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="MxWindow.html#MxWindow-struct" title="struct MxWindow">MxWindow</a>;
struct <a class="link" href="MxWindow.html#MxWindowClass" title="struct MxWindowClass">MxWindowClass</a>;
<a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * <a class="link" href="MxWindow.html#mx-window-new" title="mx_window_new ()">mx_window_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * <a class="link" href="MxWindow.html#mx-window-new-with-clutter-stage" title="mx_window_new_with_clutter_stage ()">mx_window_new_with_clutter_stage</a> (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);
<a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * <a class="link" href="MxWindow.html#mx-window-get-for-stage" title="mx_window_get_for_stage ()">mx_window_get_for_stage</a> (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="MxWindow.html#mx-window-get-child" title="mx_window_get_child ()">mx_window_get_child</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-child" title="mx_window_set_child ()">mx_window_set_child</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);
<a class="link" href="MxToolbar.html" title="MxToolbar"><span class="returnvalue">MxToolbar</span></a> * <a class="link" href="MxWindow.html#mx-window-get-toolbar" title="mx_window_get_toolbar ()">mx_window_get_toolbar</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-toolbar" title="mx_window_set_toolbar ()">mx_window_set_toolbar</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><a class="link" href="MxToolbar.html" title="MxToolbar"><span class="type">MxToolbar</span></a> *toolbar</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="MxWindow.html#mx-window-get-has-toolbar" title="mx_window_get_has_toolbar ()">mx_window_get_has_toolbar</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-has-toolbar" title="mx_window_set_has_toolbar ()">mx_window_set_has_toolbar</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> toolbar</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="MxWindow.html#mx-window-get-small-screen" title="mx_window_get_small_screen ()">mx_window_get_small_screen</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-small-screen" title="mx_window_set_small_screen ()">mx_window_set_small_screen</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> small_screen</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="MxWindow.html#mx-window-get-fullscreen" title="mx_window_get_fullscreen ()">mx_window_get_fullscreen</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-fullscreen" title="mx_window_set_fullscreen ()">mx_window_set_fullscreen</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> fullscreen</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-title" title="mx_window_set_title ()">mx_window_set_title</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="MxWindow.html#mx-window-get-title" title="mx_window_get_title ()">mx_window_get_title</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-icon-name" title="mx_window_set_icon_name ()">mx_window_set_icon_name</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="MxWindow.html#mx-window-get-icon-name" title="mx_window_get_icon_name ()">mx_window_get_icon_name</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-icon-from-cogl-texture" title="mx_window_set_icon_from_cogl_texture ()">mx_window_set_icon_from_cogl_texture</a>
(<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">CoglHandle</span> texture</code></em>);
<span class="returnvalue">ClutterStage</span> * <a class="link" href="MxWindow.html#mx-window-get-clutter-stage" title="mx_window_get_clutter_stage ()">mx_window_get_clutter_stage</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-get-window-position" title="mx_window_get_window_position ()">mx_window_get_window_position</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-window-position" title="mx_window_set_window_position ()">mx_window_set_window_position</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-get-window-size" title="mx_window_get_window_size ()">mx_window_get_window_size</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-window-size" title="mx_window_set_window_size ()">mx_window_set_window_size</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-present" title="mx_window_present ()">mx_window_present</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-set-window-rotation" title="mx_window_set_window_rotation ()">mx_window_set_window_rotation</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a> rotation</code></em>);
<a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="returnvalue">MxWindowRotation</span></a> <a class="link" href="MxWindow.html#mx-window-get-window-rotation" title="mx_window_get_window_rotation ()">mx_window_get_window_rotation</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-show" title="mx_window_show ()">mx_window_show</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="MxWindow.html#mx-window-hide" title="mx_window_hide ()">mx_window_hide</a> (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="MxWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----MxWindow
</pre>
</div>
<div class="refsect1">
<a name="MxWindow.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="MxWindow.html#MxWindow--child" title='The "child" property'>child</a>" <span class="type">ClutterActor</span>* : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--clutter-stage" title='The "clutter-stage" property'>clutter-stage</a>" <span class="type">ClutterStage</span>* : Read / Write / Construct Only
"<a class="link" href="MxWindow.html#MxWindow--fullscreen" title='The "fullscreen" property'>fullscreen</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--has-toolbar" title='The "has-toolbar" property'>has-toolbar</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--icon-cogl-texture" title='The "icon-cogl-texture" property'>icon-cogl-texture</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--icon-name" title='The "icon-name" property'>icon-name</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--small-screen" title='The "small-screen" property'>small-screen</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--toolbar" title='The "toolbar" property'>toolbar</a>" <a class="link" href="MxToolbar.html" title="MxToolbar"><span class="type">MxToolbar</span></a>* : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--window-rotation" title='The "window-rotation" property'>window-rotation</a>" <a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a> : Read / Write
"<a class="link" href="MxWindow.html#MxWindow--window-rotation-angle" title='The "window-rotation-angle" property'>window-rotation-angle</a>" <span class="type">gfloat</span> : Read
"<a class="link" href="MxWindow.html#MxWindow--window-rotation-timeline" title='The "window-rotation-timeline" property'>window-rotation-timeline</a>" <span class="type">ClutterTimeline</span>* : Read
</pre>
</div>
<div class="refsect1">
<a name="MxWindow.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="MxWindow.html#MxWindow-destroy" title='The "destroy" signal'>destroy</a>" : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="MxWindow.description"></a><h2>Description</h2>
<p>
<a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> is a platform-specific window, providing functions for moving,
resizing, icons and rotation. Every window has an associated <span class="type">ClutterStage</span>
in which its children are kept. This <span class="type">ClutterStage</span> can be used in the
normal way, but to take advantage of automatic resizing and rotation, the
<a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> functions should be used.
</p>
<p>
When the <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> loses its last reference, its contents are destroyed.
</p>
</div>
<div class="refsect1">
<a name="MxWindow.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="MxWindow-struct"></a><h3>struct MxWindow</h3>
<pre class="programlisting">struct MxWindow;</pre>
<p>
The contents of this structure is private and should only be accessed using
the provided API.
</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindowClass"></a><h3>struct MxWindowClass</h3>
<pre class="programlisting">struct MxWindowClass {
GObjectClass parent_class;
/* signals, not vfuncs */
void (*destroy) (MxWindow *window);
/* padding for future expansion */
void (*_padding_0) (void);
void (*_padding_1) (void);
void (*_padding_2) (void);
void (*_padding_3) (void);
void (*_padding_4) (void);
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-new"></a><h3>mx_window_new ()</h3>
<pre class="programlisting"><a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * mx_window_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-new-with-clutter-stage"></a><h3>mx_window_new_with_clutter_stage ()</h3>
<pre class="programlisting"><a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * mx_window_new_with_clutter_stage (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);</pre>
<p>
Creates a new <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>, using <em class="parameter"><code>stage</code></em> as the backing <span class="type">ClutterStage</span>. This
function is meant for use primarily for embedding a <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> into
a foreign stage when using a Clutter toolkit integration library.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
<td>A <span class="type">ClutterStage</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-for-stage"></a><h3>mx_window_get_for_stage ()</h3>
<pre class="programlisting"><a class="link" href="MxWindow.html" title="MxWindow"><span class="returnvalue">MxWindow</span></a> * mx_window_get_for_stage (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);</pre>
<p>
Gets the <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> parent of the <span class="type">ClutterStage</span>, if it exists.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
<td>A <span class="type">ClutterStage</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-child"></a><h3>mx_window_get_child ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * mx_window_get_child (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Get the primary child of the window. See <a class="link" href="MxWindow.html#mx-window-set-child" title="mx_window_set_child ()"><code class="function">mx_window_set_child()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">ClutterActor</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-child"></a><h3>mx_window_set_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_child (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);</pre>
<p>
Adds <em class="parameter"><code>actor</code></em> to the window and sets it as the primary child. When the
stage managed in the window changes size, the child will be resized
to match it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
<td>A <span class="type">ClutterActor</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-toolbar"></a><h3>mx_window_get_toolbar ()</h3>
<pre class="programlisting"><a class="link" href="MxToolbar.html" title="MxToolbar"><span class="returnvalue">MxToolbar</span></a> * mx_window_get_toolbar (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Retrieves the toolbar associated with the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="MxToolbar.html" title="MxToolbar"><span class="type">MxToolbar</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-toolbar"></a><h3>mx_window_set_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_toolbar (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><a class="link" href="MxToolbar.html" title="MxToolbar"><span class="type">MxToolbar</span></a> *toolbar</code></em>);</pre>
<p>
Sets the toolbar associated with the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-has-toolbar"></a><h3>mx_window_get_has_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> mx_window_get_has_toolbar (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Determines whether the window has a toolbar or not.
See <a class="link" href="MxWindow.html#mx-window-set-has-toolbar" title="mx_window_set_has_toolbar ()"><code class="function">mx_window_set_has_toolbar()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the window has a toolbar, otherwise <code class="literal">FALSE</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-has-toolbar"></a><h3>mx_window_set_has_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_has_toolbar (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> toolbar</code></em>);</pre>
<p>
Sets whether the window has a toolbar or not. If the window has a toolbar,
client-side window decorations will be enabled.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the toolbar should be displayed</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-small-screen"></a><h3>mx_window_get_small_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> mx_window_get_small_screen (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Determines if the window is in small-screen mode.
See <a class="link" href="MxWindow.html#mx-window-set-small-screen" title="mx_window_set_small_screen ()"><code class="function">mx_window_set_small_screen()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the window is in small-screen mode, otherwise <code class="literal">FALSE</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-small-screen"></a><h3>mx_window_set_small_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_small_screen (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> small_screen</code></em>);</pre>
<p>
Enables or disables small-screen mode. This mode is meant primarily
for platforms with limited screen-space, such as netbooks. When enabled,
the window will take up all available room and will disable moving and
resizing.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>small_screen</code></em> :</span></p></td>
<td>
<code class="literal">TRUE</code> if small-screen mode should be enabled</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-fullscreen"></a><h3>mx_window_get_fullscreen ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> mx_window_get_fullscreen (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Determines if the window has been set to be in fullscreen mode.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the window has been set to be in fullscreen mode,
otherwise <code class="literal">FALSE</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-fullscreen"></a><h3>mx_window_set_fullscreen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_fullscreen (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> fullscreen</code></em>);</pre>
<p>
Set the window to be in fullscreen mode or windowed mode.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
Setting fullscreen mode doesn't necessarily mean the window is actually
fullscreen. Setting this property is only a request to the underlying
window system.
</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fullscreen</code></em> :</span></p></td>
<td>
<code class="literal">TRUE</code> to request fullscreen mode, <code class="literal">FALSE</code> to disable</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-title"></a><h3>mx_window_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_title (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
<p>
Sets the title used for the window, the results of which are
window-system specific.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>A string to use for the window title name</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-title"></a><h3>mx_window_get_title ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * mx_window_get_title (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Retrieves the title used for the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The title used for the window</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-icon-name"></a><h3>mx_window_set_icon_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_icon_name (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
<p>
Set an icon-name to use for the window icon. The icon will be looked up
from the default theme.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td>An icon name, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-icon-name"></a><h3>mx_window_get_icon_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * mx_window_get_icon_name (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Gets the currently set window icon name. This will be <code class="literal">NULL</code> if there is none
set, or the icon was set with <a class="link" href="MxWindow.html#mx-window-set-icon-from-cogl-texture" title="mx_window_set_icon_from_cogl_texture ()"><code class="function">mx_window_set_icon_from_cogl_texture()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The window icon name, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-icon-from-cogl-texture"></a><h3>mx_window_set_icon_from_cogl_texture ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_icon_from_cogl_texture
(<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">CoglHandle</span> texture</code></em>);</pre>
<p>
Sets the window icon from a texture. This will take precedence over
any currently set icon-name.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>A <span class="type">CoglHandle</span> for a texture</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-clutter-stage"></a><h3>mx_window_get_clutter_stage ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterStage</span> * mx_window_get_clutter_stage (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Gets the <span class="type">ClutterStage</span> managed by the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">ClutterStage</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-window-position"></a><h3>mx_window_get_window_position ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_get_window_position (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
<p>
Retrieves the absolute position of the window on the screen.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>A pointer for the x-coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>A pointer for the y-coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-window-position"></a><h3>mx_window_set_window_position ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_window_position (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
<p>
Sets the absolute position of the window on the screen.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>An x-coordinate</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>A y-coordinate</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-window-size"></a><h3>mx_window_get_window_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_get_window_size (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
<p>
Retrieves the size of the display area of the window, taking into
account any window border. This includes the area occupied by the
window's toolbar, if it's enabled.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>A <span class="type">gint</span> pointer for the window's width. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>A <span class="type">gint</span> pointer for the window's height. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-window-size"></a><h3>mx_window_set_window_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_window_size (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
<p>
Sets the size of the window, taking into account any window border. This
corresponds to the window's available area for its child, minus the area
occupied by the window's toolbar, if it's enabled.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
Setting the window size may involve a request to the underlying windowing
system, and may not immediately be reflected.
</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>A width, in pixels</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>A height, in pixels</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-present"></a><h3>mx_window_present ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_present (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Present the window. The actual behaviour is specific to the window system.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-set-window-rotation"></a><h3>mx_window_set_window_rotation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_set_window_rotation (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>,
<em class="parameter"><code><a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a> rotation</code></em>);</pre>
<p>
Set the rotation of the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
<td>The <a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-get-window-rotation"></a><h3>mx_window_get_window_rotation ()</h3>
<pre class="programlisting"><a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="returnvalue">MxWindowRotation</span></a> mx_window_get_window_rotation (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Retrieve the rotation of the window.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>An <a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-show"></a><h3>mx_window_show ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_show (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Show the window
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="mx-window-hide"></a><h3>mx_window_hide ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> mx_window_hide (<em class="parameter"><code><a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window</code></em>);</pre>
<p>
Hide the window
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
</div>
<div class="refsect1">
<a name="MxWindow.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="MxWindow--child"></a><h3>The <code class="literal">"child"</code> property</h3>
<pre class="programlisting"> "child" <span class="type">ClutterActor</span>* : Read / Write</pre>
<p>ClutterActor used as the window child.</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--clutter-stage"></a><h3>The <code class="literal">"clutter-stage"</code> property</h3>
<pre class="programlisting"> "clutter-stage" <span class="type">ClutterStage</span>* : Read / Write / Construct Only</pre>
<p>ClutterStage to use as the window.</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--fullscreen"></a><h3>The <code class="literal">"fullscreen"</code> property</h3>
<pre class="programlisting"> "fullscreen" <span class="type">gboolean</span> : Read / Write</pre>
<p>Window should be set to full-screen mode.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--has-toolbar"></a><h3>The <code class="literal">"has-toolbar"</code> property</h3>
<pre class="programlisting"> "has-toolbar" <span class="type">gboolean</span> : Read / Write</pre>
<p>Window should have a toolbar.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--icon-cogl-texture"></a><h3>The <code class="literal">"icon-cogl-texture"</code> property</h3>
<pre class="programlisting"> "icon-cogl-texture" <span class="type">gchar</span>* : Read / Write</pre>
<p>CoglTexture to use for the window icon.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--icon-name"></a><h3>The <code class="literal">"icon-name"</code> property</h3>
<pre class="programlisting"> "icon-name" <span class="type">gchar</span>* : Read / Write</pre>
<p>Icon name to use for the window icon.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--small-screen"></a><h3>The <code class="literal">"small-screen"</code> property</h3>
<pre class="programlisting"> "small-screen" <span class="type">gboolean</span> : Read / Write</pre>
<p>Window should occupy the entire screen contents, without explicitly setting itself fullscreen.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting"> "title" <span class="type">gchar</span>* : Read / Write</pre>
<p>Title to use for the window.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--toolbar"></a><h3>The <code class="literal">"toolbar"</code> property</h3>
<pre class="programlisting"> "toolbar" <a class="link" href="MxToolbar.html" title="MxToolbar"><span class="type">MxToolbar</span></a>* : Read / Write</pre>
<p>The MxToolbar associated with the window.</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--window-rotation"></a><h3>The <code class="literal">"window-rotation"</code> property</h3>
<pre class="programlisting"> "window-rotation" <a class="link" href="mx-mx-types.html#MxWindowRotation" title="enum MxWindowRotation"><span class="type">MxWindowRotation</span></a> : Read / Write</pre>
<p>The window's rotation.</p>
<p>Default value: MX_WINDOW_ROTATION_0</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--window-rotation-angle"></a><h3>The <code class="literal">"window-rotation-angle"</code> property</h3>
<pre class="programlisting"> "window-rotation-angle" <span class="type">gfloat</span> : Read</pre>
<p>The current angle of rotation about the z-axis for the window.</p>
<p>Allowed values: [0,360]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="MxWindow--window-rotation-timeline"></a><h3>The <code class="literal">"window-rotation-timeline"</code> property</h3>
<pre class="programlisting"> "window-rotation-timeline" <span class="type">ClutterTimeline</span>* : Read</pre>
<p>The timeline used for the window rotation transition animation.</p>
</div>
</div>
<div class="refsect1">
<a name="MxWindow.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="MxWindow-destroy"></a><h3>The <code class="literal">"destroy"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="MxWindow.html" title="MxWindow"><span class="type">MxWindow</span></a> *window,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
Emitted when the stage managed by the window is destroyed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>the object that received the signal</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|