/usr/share/GNUstep/Documentation/Developer/Gui/Additions/GSDisplayServer.html is in gnustep-gui-doc 0.24.0-3.
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 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>GSDisplayServer</title>
</head>
<body>
<font face="serif">
<a href="GuiAdditions.html">Up</a>
<br />
<h1><a name="title$GSDisplayServer">GSDisplayServer</a></h1>
<h3>Authors</h3>
<dl>
<dt>Adam Fedor (<a href="mailto:fedor@gnu.org"><code>fedor@gnu.org</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
Abstract display server class.
</blockquote>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation, Inc.</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">GSDisplayServer</a>
</li>
<li>
<a href="#002000000000">Software documentation for the
GSDisplayServer(EventOps) category</a>
</li>
<li>
<a href="#003000000000">Software documentation for the
GSDisplayServer(WindowOps) category</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">GSDisplayServer</a></h1>
<p>
This is an abstract class which provides a framework for a
device independant window server. A window server
handles the very basic control of the computer display
and input. This includes basic window creation and
handling, event handling, cursors, and providing
miscellaneous information about the display.
</p>
<p>
Typically a backend library will provide a concrete
subclass which implements the device specific methods
described below.
</p>
<p>
In almost all cases, you should not call these methods
directly in an application. You should use the
equivalent methods available elsewhere in the
library (e.g. NSWindow, NSScreen, etc).
</p>
<h2><a name="class$GSDisplayServer">GSDisplayServer</a> : NSObject</h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>GNUstepGUI/GSDisplayServer.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="50%" align="left" />
<a href="#_GSDisplayServer_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-_printEventQueue">-_printEventQueue</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">-discardEventsMatchingMask:beforeEvent:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-postEvent$atStart$">-postEvent:atStart:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">-_setWindowOwnedByServer:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">-appOwnsMiniwindow</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-capturemouse$">-capturemouse:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-docedited$$">-docedited::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-flushwindowrect$$">-flushwindowrect::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-freecursor$">-freecursor:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-hidecursor">-hidecursor</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-imagecursor$$$">-imagecursor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-miniwindow$">-miniwindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">-mouseLocationOnScreen:window:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouselocation">-mouselocation</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-movewindow$$">-movewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">-nativeWindow:::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-orderwindow$$$">-orderwindow:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-placewindow$$">-placewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-recolorcursor$$$">-recolorcursor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-releasemouse">-releasemouse</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">-setIgnoreMouse::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">-setMouseLocation:onScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">-setParentWindow:forChildWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setShadow$$">-setShadow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">-setWindowdevice:forContext:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setalpha$$">-setalpha::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursor$">-setcursor:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursorcolor$$$">-setcursorcolor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputfocus$">-setinputfocus:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputstate$$">-setinputstate::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setmaxsize$$">-setmaxsize::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setminsize$$">-setminsize::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setresizeincrements$$">-setresizeincrements::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setwindowlevel$$">-setwindowlevel::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-showcursor">-showcursor</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-standardcursor$$">-standardcursor::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">-styleoffsets:::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-stylewindow$$">-stylewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-termwindow$">-termwindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-titlewindow$$">-titlewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$">-window:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$$">-window::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbacking$$">-windowbacking::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbounds$">-windowbounds:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdepth$">-windowdepth:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdevice$">-windowdevice:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlevel$">-windowlevel:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlist">-windowlist</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+addDragTypes$toWindow$">+addDragTypes:toWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+dragTypesForWindow$">+dragTypesForWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+removeDragTypes$fromWindow$">+removeDragTypes:fromWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+serverWithAttributes$">+serverWithAttributes:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setCurrentServer$">+setCurrentServer:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setDefaultServerClass$">+setDefaultServerClass:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-addDragTypes$toWindow$">-addDragTypes:toWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-attributes">-attributes</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-availableDepthsForScreen$">-availableDepthsForScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-beep">-beep</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-boundsForScreen$">-boundsForScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-closeServer">-closeServer</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-contentsOfScreen$inRect$">-contentsOfScreen:inRect:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragInfo">-dragInfo</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragTypesForWindow$">-dragTypesForWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-findWindowAt$windowRef$excluding$">-findWindowAt:windowRef:excluding:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-glContextClass">-glContextClass</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-glPixelFormatClass">-glPixelFormatClass</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-handlesWindowDecorations">-handlesWindowDecorations</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-iconSize">-iconSize</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-iconTileImage">-iconTileImage</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-initWithAttributes$">-initWithAttributes:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-removeDragTypes$fromWindow$">-removeDragTypes:fromWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-resolutionForScreen$">-resolutionForScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-restrictWindow$toImage$">-restrictWindow:toImage:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-screenList">-screenList</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-serverDevice">-serverDevice</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-slideImage$from$to$">-slideImage:from:to:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDepthForScreen$">-windowDepthForScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDevice$">-windowDevice:</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$GSDisplayServer+addDragTypes$toWindow$">addDragTypes: toWindow: </a></h3>
+ (BOOL) <b>addDragTypes:</b> (NSArray*)types<b> toWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Convienience method that calls
<a rel="gsdoc" href="#method$GSDisplayServer-addDragTypes$toWindow$">
-addDragTypes:toWindow:
</a>
using the server that controls <var>win</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer+dragTypesForWindow$">dragTypesForWindow: </a></h3>
+ (NSCountedSet*) <b>dragTypesForWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Convienience method that calls
<a rel="gsdoc" href="#method$GSDisplayServer-dragTypesForWindow$">
-dragTypesForWindow:
</a>
using the server that controls <var>win</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer+removeDragTypes$fromWindow$">removeDragTypes: fromWindow: </a></h3>
+ (BOOL) <b>removeDragTypes:</b> (NSArray*)types<b> fromWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Convienience method that calls
<a rel="gsdoc" href="#method$GSDisplayServer-removeDragTypes$fromWindow$">
-removeDragTypes:fromWindow:
</a>
using the server that controls <var>win</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer+serverWithAttributes$">serverWithAttributes: </a></h3>
+ (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*) <b>serverWithAttributes:</b> (NSDictionary*)attributes;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
</p>
<p>
Create a window server with <var>attributes</var>,
which contains key/value pairs which describe the
specifics of how the window server is to be
initialized. Typically these values are
specific to the concrete implementation. The
current set of <var>attributes</var> that can be
used with GSDisplayServer is.
</p>
<p>
<ul>
<li>
GSDisplayName
</li>
<li>
GSDisplayNumber
</li>
<li>
GSScreenNumber
</li>
</ul>
</p>
<p>
GSDisplayName is window server specific and
shouldn't be used when creating a
GSDisplayServer (although you can
retrieve the value with the
<a rel="gsdoc" href="#method$GSDisplayServer-attributes">
-attributes
</a>
method). On X-Windows the value might be set to
something like "host:d.s" where host is the
host name, d is the display number and s is the
screen number. GSDisplayNumber indicates the
number of the display to open. GSScreenNumber
indicates the number of the screen to display
on. If not explicitly set, these
<var>attributes</var> may be taked from environment
variables or from other operating specific
information.
</p>
<p>
</p>
<p>
In almost all applications one would only create a
single instance of a window server. Although it is
possible, it is unlikely that you would need
more than one window server (and you would have to
be very careful how you handled window creation and
events in this case).
</p>
<p>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer+setCurrentServer$">setCurrentServer: </a></h3>
+ (void) <b>setCurrentServer:</b> (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*)server;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the current <var>server</var> that will be
handling windows, events, etc. This method must be
called after a window <var>server</var> is created
in order to make it available to the rest of the GUI
library
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer+setDefaultServerClass$">setDefaultServerClass: </a></h3>
+ (void) <b>setDefaultServerClass:</b> (Class)aClass;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the concrete subclass that will provide the device
dependant implementation.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-addDragTypes$toWindow$">addDragTypes: toWindow: </a></h3>
- (BOOL) <b>addDragTypes:</b> (NSArray*)types<b> toWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Add (increment count by 1) each drag type to those
registered for the window. If this results in a
change to the <var>types</var> registered in the
counted set, return <code>YES</code>, otherwise
return <code>NO</code>. Subclasses should override
this method, call 'super' and take appropriate action
if the method returns 'YES'.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-attributes">attributes </a></h3>
- (NSDictionary*) <b>attributes</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Return information used to create the server
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-availableDepthsForScreen$">availableDepthsForScreen: </a></h3>
- (const NSWindowDepth*) <b>availableDepthsForScreen:</b> (int)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a null terminated list of possible window
depths for <var>screen</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-beep">beep </a></h3>
- (void) <b>beep</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Play the System Beep
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-boundsForScreen$">boundsForScreen: </a></h3>
- (NSRect) <b>boundsForScreen:</b> (int)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the bounds, in pixels, for the indicated
<var>screen</var> of the display.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-closeServer">closeServer </a></h3>
- (void) <b>closeServer</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Causes the server to disconnect from the display. If
the receiver is the current server, it removes itself
and sets the current server to <code>nil</code>.
Sending any more messages to the receiver after
this is likely to cause severe problems and probably
crash the application.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-contentsOfScreen$inRect$">contentsOfScreen: inRect: </a></h3>
- (NSImage*) <b>contentsOfScreen:</b> (int)screen<b> inRect:</b> (NSRect)rect;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a screenshot of the specified rectangle of
the specified <var>screen</var>. The mouse cursor
should be ommitted from the returned image.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-dragInfo">dragInfo </a></h3>
- (id<NSDraggingInfo>) <b>dragInfo</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns an instance of a class which implements the
NSDraggingInfo protocol.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-dragTypesForWindow$">dragTypesForWindow: </a></h3>
- (NSCountedSet*) <b>dragTypesForWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the drag types set for the window
<var>win</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-findWindowAt$windowRef$excluding$">findWindowAt: windowRef: excluding: </a></h3>
- (int) <b>findWindowAt:</b> (NSPoint)screenLocation<b> windowRef:</b> (int*)windowRef<b> excluding:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-glContextClass">glContextClass </a></h3>
- (id) <b>glContextClass</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-glPixelFormatClass">glPixelFormatClass </a></h3>
- (id) <b>glPixelFormatClass</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-handlesWindowDecorations">handlesWindowDecorations </a></h3>
- (BOOL) <b>handlesWindowDecorations</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns <code>YES</code> if the backend handles
window decorations and <code>NO</code> if the gui
library must do that instead.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-iconSize">iconSize </a></h3>
- (NSSize) <b>iconSize</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the size of icons and miniwindows for
screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-iconTileImage">iconTileImage </a></h3>
- (NSImage*) <b>iconTileImage</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a display dependent NSImage which will be
used as the background image for AppIcons and
MiniWindows. Under Windowmaker, for example
this could be a user specified gradient.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-initWithAttributes$">initWithAttributes: </a></h3>
- (id) <b>initWithAttributes:</b> (NSDictionary*)attributes;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
This is a designated initialiser for the class.<br />
<div class="desc">
Initializes the server. This typically causes
the receiver to <em>connect</em> to the display (e.g.
XOpenDisplay () on an X-Windows server).
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-removeDragTypes$fromWindow$">removeDragTypes: fromWindow: </a></h3>
- (BOOL) <b>removeDragTypes:</b> (NSArray*)types<b> fromWindow:</b> (NSWindow*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Remove (decrement count by 1) each drag type from
those registered for the window. If this results in a
change to the <var>types</var> registered in the
counted set, return <code>YES</code>, otherwise
return <code>NO</code>. If given 'nil' as the array
of <var>types</var>, remove ALL. Subclasses should
override this method, call 'super' and take
appropriate action if the method returns 'YES'.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-resolutionForScreen$">resolutionForScreen: </a></h3>
- (NSSize) <b>resolutionForScreen:</b> (int)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the resolution, in points, for the
indicated <var>screen</var> of the display.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-restrictWindow$toImage$">restrictWindow: toImage: </a></h3>
- (void) <b>restrictWindow:</b> (int)win<b> toImage:</b> (NSImage*)image;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-screenList">screenList </a></h3>
- (NSArray*) <b>screenList</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns an array of NSNumbers, where each number
describes a screen that is available on this
display. The default screen is listed first.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-serverDevice">serverDevice </a></h3>
- (void*) <b>serverDevice</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a display dependant pointer that describes
the internal connection to the display. On X-Windows,
for example, this is a pointer to the
<code>Display</code> variable.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-slideImage$from$to$">slideImage: from: to: </a></h3>
- (BOOL) <b>slideImage:</b> (NSImage*)image<b> from:</b> (NSPoint)from<b> to:</b> (NSPoint)to;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-windowDepthForScreen$">windowDepthForScreen: </a></h3>
- (NSWindowDepth) <b>windowDepthForScreen:</b> (int)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the default depth of windows that are
created on <var>screen</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer-windowDevice$">windowDevice: </a></h3>
- (void*) <b>windowDevice:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a display dependant pointer that describes
the internal window representation for <var>win</var>.
On X-Windows, for example, this is a pointer to the
<code>Window</code> variable.
</div>
<hr width="25%" align="left" />
</div>
<a name="_GSDisplayServer_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for GSDisplayServer Class</h2>
<h3><a name="ivariable$GSDisplayServer*drag_types">drag_types</a></h3>
@protected NSMapTable* <b>drag_types</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
<h3><a name="ivariable$GSDisplayServer*event_queue">event_queue</a></h3>
@protected NSMutableArray* <b>event_queue</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
<h3><a name="ivariable$GSDisplayServer*server_info">server_info</a></h3>
@protected NSMutableDictionary* <b>server_info</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<h1><a name="002000000000">
Software documentation for the
GSDisplayServer(EventOps) category
</a></h1>
<h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(EventOps)">EventOps</a>)</h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>GNUstepGUI/GSDisplayServer.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-_printEventQueue">-_printEventQueue</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">-discardEventsMatchingMask:beforeEvent:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(EventOps)-postEvent$atStart$">-postEvent:atStart:</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$GSDisplayServer(EventOps)-_printEventQueue">_printEventQueue </a></h3>
- (void) <b>_printEventQueue</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(EventOps)-discardEventsMatchingMask$beforeEvent$">discardEventsMatchingMask: beforeEvent: </a></h3>
- (void) <b>discardEventsMatchingMask:</b> (unsigned)mask<b> beforeEvent:</b> (NSEvent*)limit;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Steps through the event queue and removes all events
whose timestamp is earlier than that of
<var>limit</var> wand which match the supplied
<var>mask</var> of event types.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(EventOps)-getEventMatchingMask$beforeDate$inMode$dequeue$">getEventMatchingMask: beforeDate: inMode: dequeue: </a></h3>
- (NSEvent*) <b>getEventMatchingMask:</b> (unsigned)mask<b> beforeDate:</b> (NSDate*)limit<b> inMode:</b> (NSString*)mode<b> dequeue:</b> (BOOL)flag;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Scans through the event queue to find the first event
whose type matches <var>mask</var>. If no event is
found, then the current run loop is run in the
specified <var>mode</var> to allow more events to
arrive. <br /> If a matching event is found, it is
returned and either removed from or left in the
queue according to <var>flag</var>. <br /> If no
matching event is found and the <var>limit</var>
date is reached, this method returns <code>nil</code>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(EventOps)-postEvent$atStart$">postEvent: atStart: </a></h3>
- (void) <b>postEvent:</b> (NSEvent*)anEvent<b> atStart:</b> (BOOL)flag;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Posts an event to the event queue. The value of
<var>flag</var> determines whether the event is
inserted at the start of the queue or appended at
the end.
</div>
<hr width="25%" align="left" />
</div>
<h1><a name="003000000000">
Software documentation for the
GSDisplayServer(WindowOps) category
</a></h1>
<h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(WindowOps)">WindowOps</a>)</h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>GNUstepGUI/GSDisplayServer.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">-_setWindowOwnedByServer:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">-appOwnsMiniwindow</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-capturemouse$">-capturemouse:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-docedited$$">-docedited::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-flushwindowrect$$">-flushwindowrect::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-freecursor$">-freecursor:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-hidecursor">-hidecursor</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-imagecursor$$$">-imagecursor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-miniwindow$">-miniwindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">-mouseLocationOnScreen:window:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-mouselocation">-mouselocation</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-movewindow$$">-movewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">-nativeWindow:::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-orderwindow$$$">-orderwindow:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-placewindow$$">-placewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-recolorcursor$$$">-recolorcursor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-releasemouse">-releasemouse</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">-setIgnoreMouse::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">-setMouseLocation:onScreen:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">-setParentWindow:forChildWindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setShadow$$">-setShadow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">-setWindowdevice:forContext:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setalpha$$">-setalpha::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursor$">-setcursor:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setcursorcolor$$$">-setcursorcolor:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputfocus$">-setinputfocus:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setinputstate$$">-setinputstate::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setmaxsize$$">-setmaxsize::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setminsize$$">-setminsize::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setresizeincrements$$">-setresizeincrements::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-setwindowlevel$$">-setwindowlevel::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-showcursor">-showcursor</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-standardcursor$$">-standardcursor::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">-styleoffsets:::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-stylewindow$$">-stylewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-termwindow$">-termwindow:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-titlewindow$$">-titlewindow::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$">-window:::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-window$$$$">-window::::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbacking$$">-windowbacking::</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowbounds$">-windowbounds:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdepth$">-windowdepth:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowdevice$">-windowdevice:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlevel$">-windowlevel:</a></li>
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer(WindowOps)-windowlist">-windowlist</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-_setWindowOwnedByServer$">_setWindowOwnedByServer: </a></h3>
- (void) <b>_setWindowOwnedByServer:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code. <br /> Tells the receiver that
it owns the window described by <var>win</var>. Concrete
subclasses must call this function when creating
a window. Do not call this method in any other case,
particularly for a window that has already
been created
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-appOwnsMiniwindow">appOwnsMiniwindow </a></h3>
- (BOOL) <b>appOwnsMiniwindow</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns <code>YES</code> if the application should
create the miniwindow counterpart to the full size
window and own it. Some display systems handle the
miniwindow themselves. In this case the backend
subclass should override this method to return
<code>NO</code>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-capturemouse$">capturemouse: </a></h3>
- (BOOL) <b>capturemouse:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Grabs the pointer device so that all future mouse
events will be directed only to the window
<var>win</var>. If successful, the return value is
<code>YES</code> and this message must be balanced
by a
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-releasemouse">
-releasemouse
</a>
message.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-docedited$$">docedited: : </a></h3>
- (void) <b>docedited:</b> (int)edited<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the document <var>edited</var> flag for the
window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-flushwindowrect$$">flushwindowrect: : </a></h3>
- (void) <b>flushwindowrect:</b> (NSRect)rect<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Causes buffered graphics to be flushed to the
screen. The value of <var>rect</var> is expressed
in OpenStep window coordinates.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-freecursor$">freecursor: </a></h3>
- (void) <b>freecursor:</b> (void*)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Free the cursor given by the <var>cid</var>
representation.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-hidecursor">hidecursor </a></h3>
- (void) <b>hidecursor</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Hides the cursor
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-imagecursor$$$">imagecursor: : : </a></h3>
- (void) <b>imagecursor:</b> (NSPoint)hotp<b> :</b> (NSImage*)image<b> :</b> (void**)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Create a cursor from an <var>image</var>. Returns a
pointer to the internal device representation that
can be used later to make this cursor the current one
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-miniwindow$">miniwindow: </a></h3>
- (void) <b>miniwindow:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Miniaturizes the window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-mouseLocationOnScreen$window$">mouseLocationOnScreen: window: </a></h3>
- (NSPoint) <b>mouseLocationOnScreen:</b> (int)aScreen<b> window:</b> (int*)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the current mouse location on
<var>aScreen</var>. If the pointer is not on
<var>aScreen</var>, this method acts like
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-mouselocation">
-mouselocation
</a>
. If <var>aScreen</var> is -1, then the location of the
mouse on any screen is returned. The <var>win</var>
pointer returns the window number of the GNUstep
window that the mouse is in or 0 if it is not in a
window. <br /> The location is expressed as an
offset from the bottom left corner of the screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-mouselocation">mouselocation </a></h3>
- (NSPoint) <b>mouselocation</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the current mouse location on the default
screen. If the pointer is not on the default
screen, an invalid point (-1,-1} is returned.
<br /> The location is expressed as an offset from
the bottom left corner of the screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-movewindow$$">movewindow: : </a></h3>
- (void) <b>movewindow:</b> (NSPoint)loc<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Moves the bottom left corner of the window (including
any border) to <var>loc</var>. <br /> The position is
expressed as an offset from the bottom left
corner of the screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-nativeWindow$$$$$">nativeWindow: : : : : </a></h3>
- (int) <b>nativeWindow:</b> (void*)winref<b> :</b> (NSRect*)frame<b> :</b> (NSBackingStoreType*)type<b> :</b> (unsigned int*)style<b> :</b> (int*)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Create all the backend structures for a reference to
a native window and return the extend, backing
<var>type</var>, <var>style</var> and
<var>screen</var> for that window.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-orderwindow$$$">orderwindow: : : </a></h3>
- (void) <b>orderwindow:</b> (int)op<b> :</b> (int)otherWin<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
</p>
<p>
Causes the window to be ordered onto or off the
screen depending on the value of <var>op</var>.
The window is ordered relative to <var>otherWin</var>
.
</p>
<p>
</p>
<p>
The effect of the various combinations of
<var>op</var> and <var>otherWin</var> are:
</p>
<p>
<dl>
<dt><var>op</var> is NSWindowOut</dt>
<dd>
The window is removed from the display and
otherWinm is ignored.
</dd>
<dt>
<var>op</var> is NSWindowAbove and
<var>otherWin</var> is zero
</dt>
<dd>
The window is placed above all other windows at the
same level unless doing the current key window is
at this level (in which case the window will be
placed immediately below that).
</dd>
<dt>
<var>op</var> is NSWindowAbove and
<var>otherWin</var> is minus one
</dt>
<dd>
The window is placed above all other windows at the
same level even if doing that would place it above
the current key window. <br /> This is a special
feature that
[NSWindow -orderWindow:relativeTo:]
uses to place the window correctly.
</dd>
<dt>
<var>op</var> is NSWindowBelow and
<var>otherWin</var> is zero
</dt>
<dd>
The window is placed above all other windows at the
same level.
</dd>
<dt>
<var>op</var> is NSWindowAbove and
<var>otherWin</var> is a window on the display
</dt>
<dd>
The level of the window is set to be the same as
that of <var>otherWin</var> and the window is
placed immediately above <var>otherWin</var>.
</dd>
<dt>
<var>op</var> is NSWindowBelow and
<var>otherWin</var> is a window on the display
</dt>
<dd>
The level of the window is set to be the same as
that of <var>otherWin</var> and the window is
placed immediately below <var>otherWin</var>.
</dd>
</dl>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-placewindow$$">placewindow: : </a></h3>
- (void) <b>placewindow:</b> (NSRect)frame<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Moves and resizes the window on the screen as
described by <var>frame</var>. The value of
<var>frame</var> is a rectangle containing the entire
window, including any border/decorations. Its
position is expressed as an offset from the bottom
left corner of the screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-recolorcursor$$$">recolorcursor: : : </a></h3>
- (void) <b>recolorcursor:</b> (NSColor*)fg<b> :</b> (NSColor*)bg<b> :</b> (void*)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Recolour the cursor given by the <var>cid</var>
representation into having a foreground
color <var>fg</var> and a background color
<var>bg</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-releasemouse">releasemouse </a></h3>
- (void) <b>releasemouse</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Release a previous captured mouse from
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-capturemouse$">
-capturemouse:
</a>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setIgnoreMouse$$">setIgnoreMouse: : </a></h3>
- (void) <b>setIgnoreMouse:</b> (BOOL)ignoreMouse<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setMouseLocation$onScreen$">setMouseLocation: onScreen: </a></h3>
- (void) <b>setMouseLocation:</b> (NSPoint)mouseLocation<b> onScreen:</b> (int)aScreen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set mouse cursor position.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setParentWindow$forChildWindow$">setParentWindow: forChildWindow: </a></h3>
- (void) <b>setParentWindow:</b> (int)parentWin<b> forChildWindow:</b> (int)childWin;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setShadow$$">setShadow: : </a></h3>
- (void) <b>setShadow:</b> (BOOL)hasShadow<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the window shadow
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setWindowdevice$forContext$">setWindowdevice: forContext: </a></h3>
- (void) <b>setWindowdevice:</b> (int)win<b> forContext:</b> (NSGraphicsContext*)ctxt;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the window device information for the
NSGraphicsContext, typically by calling
[NSGraphicsContext -GSSetDevice:::]
, although depending on the concrete implmentation, more information than this may need to be exchanged.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setalpha$$">setalpha: : </a></h3>
- (void) <b>setalpha:</b> (float)alpha<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the transparancy value for the whole window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setcursor$">setcursor: </a></h3>
- (void) <b>setcursor:</b> (void*)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the cursor given by the <var>cid</var>
representation as being the current cursor.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setcursorcolor$$$">setcursorcolor: : : </a></h3>
- (void) <b>setcursorcolor:</b> (NSColor*)fg<b> :</b> (NSColor*)bg<b> :</b> (void*)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the cursor given by the <var>cid</var>
representation as being the current cursor.
The cursor has a foreground color <var>fg</var> and a
background color <var>bg</var>. To keep the
default color for the cursor, pass <code>nil</code>
for <var>fg</var> and <var>bg</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setinputfocus$">setinputfocus: </a></h3>
- (void) <b>setinputfocus:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Forces focus to the window so that all key events
are sent to this window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setinputstate$$">setinputstate: : </a></h3>
- (void) <b>setinputstate:</b> (int)state<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the input <var>state</var> for the window given
by the GSWindowInputState constant. Instructs the window
manager that the specified window is 'key', 'main',
or just a normal window.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setmaxsize$$">setmaxsize: : </a></h3>
- (void) <b>setmaxsize:</b> (NSSize)size<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the maximum <var>size</var> (pixels) of the window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setminsize$$">setminsize: : </a></h3>
- (void) <b>setminsize:</b> (NSSize)size<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the minimum <var>size</var> (pixels) of the window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setresizeincrements$$">setresizeincrements: : </a></h3>
- (void) <b>setresizeincrements:</b> (NSSize)size<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the resize incremenet of the window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-setwindowlevel$$">setwindowlevel: : </a></h3>
- (void) <b>setwindowlevel:</b> (int)level<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the <var>level</var> of the window as in the
[NSWindow -setLevel] method. <br /> The use of
window levels organises the window hierarchy into
groups of windows at each <var>level</var>. It
effects the operation of the
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-orderwindow$$$">
-orderwindow:::
</a>
method in the case where the position is 'above' or
'below' and the other window number is zero.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-showcursor">showcursor </a></h3>
- (void) <b>showcursor</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Show a previously hidden cursor
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-standardcursor$$">standardcursor: : </a></h3>
- (void) <b>standardcursor:</b> (int)style<b> :</b> (void**)cid;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Create a standard cursor (such as an arror or
IBeam). Returns a pointer to the internal device
representation that can be used later to
make this cursor the current one
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">styleoffsets: : : : : </a></h3>
- (void) <b>styleoffsets:</b> (float*)l<b> :</b> (float*)r<b> :</b> (float*)t<b> :</b> (float*)b<b> :</b> (unsigned int)style;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the dimensions of window decorations added
outside the drawable window frame by a window
manager or equivalent. For instance, <var>t</var>
gives the height of the title bar for the window.
<br /> If
<a rel="gsdoc" href="#method$GSDisplayServer-handlesWindowDecorations">
-handlesWindowDecorations
</a>
returns <code>NO</code>, there are no decorations
outside the drawable window frame and this method
shouldn't be called.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-stylewindow$$">stylewindow: : </a></h3>
- (void) <b>stylewindow:</b> (unsigned int)style<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the <var>style</var> of the window. See
[NSWindow -styleMask]
for a description of the available styles
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-termwindow$">termwindow: </a></h3>
- (void) <b>termwindow:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Destroys the representation of the window and
frees and memory associated with it.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-titlewindow$$">titlewindow: : </a></h3>
- (void) <b>titlewindow:</b> (NSString*)window_title<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the window title
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-window$$$">window: : : </a></h3>
- (int) <b>window:</b> (NSRect)frame<b> :</b> (NSBackingStoreType)type<b> :</b> (unsigned int)style;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Creates a window whose location and size is
described by <var>frame</var> and whose backing
store is described by <var>type</var>. This window is
not mapped to the screen by this call. <br /> Note that
<var>frame</var> is the <var>frame</var> of the
entire GNUstep window including borders, titlebar
and other standard decorations. <br /> If
<a rel="gsdoc" href="#method$GSDisplayServer-handlesWindowDecorations">
-handlesWindowDecorations
</a>
returns <code>YES</code>, the backend will produce
(and return the identifier of) a smaller drawable
window inside this decorated area. <br /> Use
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-styleoffsets$$$$$">
-styleoffsets:::::
</a>
to determine the extent of the decorations and determine
the size of the drawable area inside them.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-window$$$$">window: : : : </a></h3>
- (int) <b>window:</b> (NSRect)frame<b> :</b> (NSBackingStoreType)type<b> :</b> (unsigned int)style<b> :</b> (int)screen;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Like
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-window$$$">
-window:::
</a>
only there is an additional argument to specify which
<var>screen</var> the window will display on
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowbacking$$">windowbacking: : </a></h3>
- (void) <b>windowbacking:</b> (NSBackingStoreType)type<b> :</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Changes window's the backing store to
<var>type</var>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowbounds$">windowbounds: </a></h3>
- (NSRect) <b>windowbounds:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the frame of the window on the screen.
<br /> The value of frame is a rectangle containing
the entire window, including any border/decorations.
Its position is expressed as an offset from the bottom
left corner of the screen.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowdepth$">windowdepth: </a></h3>
- (int) <b>windowdepth:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the depth of the window
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowdevice$">windowdevice: </a></h3>
- (void) <b>windowdevice:</b> (int)winNum;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the window device information for the current
NSGraphicsContext, typically by calling
[NSGraphicsContext -GSSetDevice:::]
, although depending on the concrete implmentation, more information than this may need to be exchanged.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowlevel$">windowlevel: </a></h3>
- (int) <b>windowlevel:</b> (int)win;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the window level as in [NSWindow -level]
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$GSDisplayServer(WindowOps)-windowlist">windowlist </a></h3>
- (NSArray*) <b>windowlist</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Backends can override this method to return an
array of window numbers ordered front to back. The
front most window being the first object in the
array. The default implementation returns the
visible windows in an unspecified order.
</div>
<hr width="25%" align="left" />
</div>
<br />
<a href="GuiAdditions.html">Up</a>
</font>
</body>
</html>
|