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 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453
|
<Type Name="Window" FullName="Gtk.Window">
<TypeSignature Language="C#" Maintainer="Hector Gomez M" Value="public class Window : Gtk.Bin" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Window extends Gtk.Bin" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>Gtk.Bin</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Docs>
<summary>Toplevel <paramref name="widget" /> which can contain other widgets.
<example><code lang="C#">
using System;
using Gtk;
class WindowTester {
static void Main ()
{
Application.Init ();
Window myWindow = new Window ("This is a window");
myWindow.DeleteEvent += OnDelete;
myWindow.SetDefaultSize (200, 200);
//Put a button in the Window
Button button = new Button ("Click");
myWindow.Add (button);
myWindow.ShowAll ();
Application.Run ();
}
static void OnDelete (object o, DeleteEventArgs e)
{
Application.Quit ();
}
}
</code></example></summary>
<remarks>Toplevel <paramref name="widget" /> which can contain other widgets.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Window (GLib.GType gtype);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(valuetype GLib.GType gtype) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete</AttributeName>
</Attribute>
</Attributes>
<ReturnValue />
<Parameters>
<Parameter Name="gtype" Type="GLib.GType" />
</Parameters>
<Docs>
<param name="gtype">a <see cref="T:GLib.GType" /></param>
<summary>Protected constructor.</summary>
<remarks>Chain to this constructor if you have manually registered a native GType for your subclass.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Window (Gtk.WindowType type);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Gtk.WindowType type) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="type" Type="Gtk.WindowType" />
</Parameters>
<Docs>
<param name="type">A <see cref="T:Gtk.WindowType" />.</param>
<summary>Creates a new Window object, based on the <paramref name="type" />.</summary>
<remarks>
<para>
Creates a new Window object, wich can be of type TopLevel ( most of the cases ) or PopUp. Take care with the use of PopUp type, since it is not controlled by the window manager.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Window (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">Pointer to the C object.</param>
<summary>Internal constructor.</summary>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Window (string title);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string title) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="title" Type="System.String" />
</Parameters>
<Docs>
<param name="title">A string.</param>
<summary>Creates a new TopLevel Window object, with <paramref name="string" /> as the title.</summary>
<remarks>
<para>
Creates a new TopLevel Window object, using <paramref name="string" /> as the title. You get the same if you use the public Window ( Gtk.WindowType type ) constructor and later set the string Title property.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AcceptFocus">
<MemberSignature Language="C#" Value="public bool AcceptFocus { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool AcceptFocus" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("accept-focus")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Windows may set a hint asking the desktop environment not to receive the input focus.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>
<see langword="true" /> to let this window receive input focus</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="ActivateDefault">
<MemberSignature Language="C#" Value="public bool ActivateDefault ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ActivateDefault() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Activates the default <paramref name="widget" /> for the <paramref name="window" />.</summary>
<returns>
<see langword="true" /> if a <paramref name="widget" /> is activated.</returns>
<remarks>
<para>
That is unless the current focused <paramref name="widget" /> has been configured to receive the default (see <see cref="F:Gtk.WidgetFlags.ReceivesDefault" />) action in which case the case the focused <paramref name="widget" /> is activated.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ActivateFocus">
<MemberSignature Language="C#" Value="public bool ActivateFocus ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ActivateFocus() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Activates the current focused <paramref name="widget" /> within the <paramref name="window" />.</summary>
<returns>
<see langword="true" /> if a <paramref name="widget" /> got activated.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="ActivateKey">
<MemberSignature Language="C#" Value="public bool ActivateKey (Gdk.EventKey evnt);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ActivateKey(class Gdk.EventKey evnt) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventKey" />
</Parameters>
<Docs>
<param name="evnt">a <see cref="T:Gdk.EventKey" /></param>
<summary>Activates mnemonics and accelerators for this window.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>This is normally called by the default KeyPressEvent handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="AddAccelGroup">
<MemberSignature Language="C#" Value="public void AddAccelGroup (Gtk.AccelGroup accel_group);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddAccelGroup(class Gtk.AccelGroup accel_group) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
</Parameters>
<Docs>
<param name="accel_group">A <see cref="T:Gtk.AccelGroup" />.</param>
<summary>Associate <paramref name="accel_group" /> with <paramref name="window" />.</summary>
<remarks>
<para>
Such that calling <see cref="T:Gtk.AccelGroupActivate" /> on <paramref name="window" /> will activate accelerators in <paramref name="accel_group" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddEmbeddedXid">
<MemberSignature Language="C#" Value="public void AddEmbeddedXid (uint xid);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddEmbeddedXid(unsigned int32 xid) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xid" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="xid">an object of type <see cref="T:System.UInt32" /></param>
<summary>Adds an X id number to the list of embedded windows.</summary>
<remarks>This is an advanced feature and is not used by typical code. The method adds the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings.</remarks>
</Docs>
</Member>
<Member MemberName="AddMnemonic">
<MemberSignature Language="C#" Value="public void AddMnemonic (uint keyval, Gtk.Widget target);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddMnemonic(unsigned int32 keyval, class Gtk.Widget target) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyval" Type="System.UInt32" />
<Parameter Name="target" Type="Gtk.Widget" />
</Parameters>
<Docs>
<param name="keyval">The mnemonic.</param>
<param name="target">The <paramref name="widget" /> that gets activated by the mnemonic.</param>
<summary>Adds a mnemonic to this <paramref name="window" />.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="AllowGrow">
<MemberSignature Language="C#" Value="public bool AllowGrow { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool AllowGrow" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("allow-grow")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains if the <paramref name="window" /> can be resized to a larger size by the user.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> can be resized.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="AllowShrink">
<MemberSignature Language="C#" Value="public bool AllowShrink { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool AllowShrink" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("allow-shrink")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains if the <paramref name="window" /> has no mininum size.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> has no minimum size.</value>
<remarks>
<para>
Setting this to <paramref name="true" /> is 99% of the time a bad idea.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AutoStartupNotification">
<MemberSignature Language="C#" Value="public static bool AutoStartupNotification { set; }" />
<MemberSignature Language="ILAsm" Value=".property bool AutoStartupNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting the automatic startup notification.</summary>
<value>
<see langword="true" /> if set to automatically do startup notification.</value>
<remarks>
<para>
By default, after showing the first <see cref="T:Gtk.Window" /> for each <see cref="T:Gdk.Screen" />, GTK# calls <see cref="M:Gdk.Global.NotifyStartupComplete" />. Use this property to disable the automatic startup notification.
</para>
<para>
You might do this if your first <paramref name="window" /> is a splash screen, and you want to delay notification until after your real main <paramref name="window" /> has been shown, for example. In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main <paramref name="window" /> would automatically result in notification.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BeginMoveDrag">
<MemberSignature Language="C#" Value="public void BeginMoveDrag (int button, int root_x, int root_y, uint timestamp);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void BeginMoveDrag(int32 button, int32 root_x, int32 root_y, unsigned int32 timestamp) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="button" Type="System.Int32" />
<Parameter Name="root_x" Type="System.Int32" />
<Parameter Name="root_y" Type="System.Int32" />
<Parameter Name="timestamp" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="button">Mouse button that initiated the drag.</param>
<param name="root_x">X position where the user clicked to initiate the drag, in root window coordinates.</param>
<param name="root_y">Y position where the user clicked to initiate the drag.</param>
<param name="timestamp">Timestamp from the click event that initiated the drag.</param>
<summary>Starts moving a <paramref name="window" />.</summary>
<remarks>
<para>
This method is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BeginResizeDrag">
<MemberSignature Language="C#" Value="public void BeginResizeDrag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint timestamp);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void BeginResizeDrag(valuetype Gdk.WindowEdge edge, int32 button, int32 root_x, int32 root_y, unsigned int32 timestamp) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="edge" Type="Gdk.WindowEdge" />
<Parameter Name="button" Type="System.Int32" />
<Parameter Name="root_x" Type="System.Int32" />
<Parameter Name="root_y" Type="System.Int32" />
<Parameter Name="timestamp" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="edge">Position of the resize control.</param>
<param name="button">Mouse button that initiated the drag.</param>
<param name="root_x">X position where the user clicked to initiate the drag, in root window coordinates.</param>
<param name="root_y">Y position where the user clicked to initiate the drag</param>
<param name="timestamp">Timestamp from the click event that initiated the drag.</param>
<summary>Starts resizing a <paramref name="window" />.</summary>
<remarks>
<para>
This method is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Decorated">
<MemberSignature Language="C#" Value="public bool Decorated { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Decorated" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("decorated")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains whether the <paramref name="window" /> has been set to have decorations.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> has been set to have decorations.</value>
<remarks>
<para>
With this property you control if a <paramref name="window" /> will be decorated or not.
</para>
<para>
By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the <paramref name="window" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="public Gtk.Widget Default { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Widget Default" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or unsets the default <paramref name="widget" /> for a <see cref="T:Gtk.Window" /> about.</summary>
<value>A <see cref="T:Gtk.Widget" />.</value>
<remarks>
<para>
The default <paramref name="widget" /> is the widget that's activated when the user presses Enter in a dialog (for example). When setting (rather than unsetting) the default <paramref name="widget" /> it's generally easier to call <see cref="M:Gtk.Widget.GrabFocus" /> on the <paramref name="widget" />. Before making a default <paramref name="widget" />, you must set the <see cref="F:Gtk.WidgetFlags.CanDefault" /> flag on the <paramref name="widget" /> you'd like to make the default.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultActivated">
<MemberSignature Language="C#" Value="public event EventHandler DefaultActivated;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler DefaultActivated" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("activate_default")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>DefaultActivated event.</summary>
<remarks>This event is emited when the keybinding for default widget activation is triggered.</remarks>
</Docs>
</Member>
<Member MemberName="DefaultHeight">
<MemberSignature Language="C#" Value="public int DefaultHeight { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 DefaultHeight" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("default-height")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting or obtaining the default height of a <paramref name="window" />.</summary>
<value>The default height of the <paramref name="window" />.</value>
<remarks>
<para>
This property will allow you to define the default height for your <paramref name="window" />. It only define the default one, so if the <paramref name="window" /> is resized, it won't be able to do anything.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultIcon">
<MemberSignature Language="C#" Value="public static Gdk.Pixbuf DefaultIcon { set; }" />
<MemberSignature Language="ILAsm" Value=".property class Gdk.Pixbuf DefaultIcon" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Docs>
<summary>Sets an icon to be used as fallback for windows that have not had <see cref="M:Gtk.Window.SetIcon()" /> called on them from a pixbuf.</summary>
<value>a <see cref="T:Gdk.Pixbuf" /></value>
<remarks>
</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="DefaultIconList">
<MemberSignature Language="C#" Value="public static Gdk.Pixbuf[] DefaultIconList { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property class Gdk.Pixbuf[] DefaultIconList" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gdk.Pixbuf[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets or obtains the icon list to be used as fallback for windows that haven't had <see cref="M:Gtk.Window.IconList" /> called on them to set up a window-specific icon list.</summary>
<value>An array of icons list.</value>
<remarks>
<para>
This method allows you to set up the icon for all windows in your app at once.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultIconName">
<MemberSignature Language="C#" Value="public static string DefaultIconName { set; }" />
<MemberSignature Language="ILAsm" Value=".property string DefaultIconName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.String" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="DefaultSize">
<MemberSignature Language="C#" Value="public Gdk.Size DefaultSize { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.Size DefaultSize" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gdk.Size</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets or obtains the default size of <paramref name="window" />.</summary>
<value>a <see cref="T:Gdk.Size" /></value>
<remarks>
<para>
A value of -1 for the size indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the <paramref name="window" /> will be used.
</para>
<para>
If the <paramref name="window" />'s "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the <paramref name="window" /> (<see cref="M:Gtk.Window.SetGeometryHints" /> can be used to set these explicitly), the default size will be clamped to the nearest permitted size.
</para>
<para>
Unlike <see cref="M:Gtk.Widget.SizeRequest" />, which sets a size request for a <paramref name="widget" /> and thus would keep users from shrinking the <paramref name="window" />, this method only sets the initial size, just as if the user had resized the <paramref name="window" /> themselves. Users can still shrink the <paramref name="window" /> again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the <paramref name="window" />).
</para>
<para>
For more control over a <paramref name="window" />'s initial size and how resizing works, read <see cref="M:Gtk.Window.SetGeometryHints" />.
</para>
<para>
For some uses, <see cref="M:Gtk.Window.Resize" /> is a more appropriate method. <see cref="M:Gtk.Window.Resize" /> changes the current size of the <paramref name="window" />, rather than the size to be used on initial display. <see cref="M:Gtk.Window.Resize" /> always affects the <paramref name="window" /> itself, not the geometry widget.
</para>
<para>
The default size of a <paramref name="window" /> only affects the first time a <paramref name="window" /> is shown; if a <paramref name="window" /> is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size.
</para>
<para>
Windows can't actually be 0x0 in size, they must be at least 1x1, but passing 0 is OK, resulting in a 1x1 default size.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultWidth">
<MemberSignature Language="C#" Value="public int DefaultWidth { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 DefaultWidth" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("default-width")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting or obtaining the default width of a <paramref name="window" />.</summary>
<value>The default width of the <paramref name="window" />.</value>
<remarks>
<para>
This property will allow you to define the default width for <paramref name="window" />. It only define the default one, so if the <paramref name="window" /> is resized, it won't be able to do anything.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Deiconify">
<MemberSignature Language="C#" Value="public void Deiconify ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Deiconify() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to deiconify (i.e. unminimize) the specified <paramref name="window" />.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run.
</para>
<para>
You can track iconification via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on GtkWidget.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Deletable">
<MemberSignature Language="C#" Value="public bool Deletable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Deletable" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("deletable")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if the window has a close button.</summary>
<value>if <see langword="true" />, a close button is displayed.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="DestroyWithParent">
<MemberSignature Language="C#" Value="public bool DestroyWithParent { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DestroyWithParent" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("destroy-with-parent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains whether the transient parent of <paramref name="window" /> will also destroy <paramref name="window" /> itself</summary>
<value>an object of type <see cref="T:System.Boolean" /></value>
<remarks>
<para>
This is useful for dialogs that shouldn't persist beyond the livefime of the main <paramref name="window" /> they're associated with, for example.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Focus">
<MemberSignature Language="C#" Value="public Gtk.Widget Focus { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Widget Focus" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets a <paramref name="widget" /> to be the focus widget for the <paramref name="window" /> if it is not the current focus widget, and its focusable, or retrieves the current focused <paramref name="widget" /> within the <paramref name="window" />.</summary>
<value>The currently focused <paramref name="widget" />, or <see langword="null" /> if there is none.</value>
<remarks>
<para>
To set the focus to a particular <paramref name="widget" /> in the toplevel, it is usually more convenient to use <see cref="M:Gtk.Widget.GrabFocus" />.
</para>
<para>
Note: when retrieving the current focused <paramref name="widget" /> is the <paramref name="widget" /> that would have the focus if the toplevel focused; if the toplevel <paramref name="window" /> is not focused then <see cref="P:Gtk.Widget.HasFocus" /> will not be <see langword="true" /> for the <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FocusActivated">
<MemberSignature Language="C#" Value="public event EventHandler FocusActivated;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler FocusActivated" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("activate_focus")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>FocusActivated event.</summary>
<remarks>This event is emited when the keybinding for focused widget activation is triggered.</remarks>
</Docs>
</Member>
<Member MemberName="FocusOnMap">
<MemberSignature Language="C#" Value="public bool FocusOnMap { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool FocusOnMap" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("focus-on-map")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="FrameEvent">
<MemberSignature Language="C#" Value="public event Gtk.FrameEventHandler FrameEvent;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.FrameEventHandler FrameEvent" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("frame_event")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.FrameEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>FrameEvent event.</summary>
<remarks>This event is emited when <see cref="M:Gtk.Window.HasFrame" /> has been set to true and an event occurs on the resulting frame.</remarks>
</Docs>
</Member>
<Member MemberName="Fullscreen">
<MemberSignature Language="C#" Value="public void Fullscreen ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Fullscreen() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to place <paramref name="window" /> in the fullscreen state.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the <paramref name="window" /> will end up restored to its normal state. Just don't write code that crashes if not.
</para>
<para>
You can track the fullscreen state via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetDefaultSize">
<MemberSignature Language="C#" Value="public void GetDefaultSize (out int width, out int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetDefaultSize(int32 width, int32 height) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32&" RefType="out" />
<Parameter Name="height" Type="System.Int32&" RefType="out" />
</Parameters>
<Docs>
<param name="width">Location to store the default width, or <see langword="null" />.</param>
<param name="height">Location to store the default height, or <see langword="null" />.</param>
<summary>Gets the default size of the <paramref name="window" />.</summary>
<remarks>
<para>
A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the <paramref name="window" /> will be used.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetFrameDimensions">
<MemberSignature Language="C#" Value="public void GetFrameDimensions (out int left, out int top, out int right, out int bottom);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetFrameDimensions(int32 left, int32 top, int32 right, int32 bottom) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Int32&" RefType="out" />
<Parameter Name="top" Type="System.Int32&" RefType="out" />
<Parameter Name="right" Type="System.Int32&" RefType="out" />
<Parameter Name="bottom" Type="System.Int32&" RefType="out" />
</Parameters>
<Docs>
<param name="left">Location to store the width of the frame at the left, or <see langword="null" />.</param>
<param name="top">Location to store the height of the frame at the top, or <see langword="null" />.</param>
<param name="right">Location to store the width of the frame at the returns, or <see langword="null" />.</param>
<param name="bottom">Location to store the height of the frame at the bottom, or <see langword="null" />.</param>
<summary>Retrieves the dimensions of the frame window for this toplevel.</summary>
<remarks>
<para>
It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See <see cref="M:Gdk.Window.GetFrameExtents" /> to get the standard window border extents.) See also <see cref="P:Gtk.Window.HasFrame" />, <see cref="M:Gtk.Window.SetFrameDimensions" />.
</para>
<para>
Note: this is a special-purpose method intended for the framebuffer port; see <see cref="M:Gtk.Window.SetFrameDimensions" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetPosition">
<MemberSignature Language="C#" Value="public void GetPosition (out int root_x, out int root_y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetPosition(int32 root_x, int32 root_y) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="root_x" Type="System.Int32&" RefType="out" />
<Parameter Name="root_y" Type="System.Int32&" RefType="out" />
</Parameters>
<Docs>
<param name="root_x">Return location for X coordinate of gravity-determined reference point.</param>
<param name="root_y">Return location for Y coordinate of gravity-determined reference point.</param>
<summary>This method returns the position you need to pass to <see cref="M:Gtk.Window.Move" /> to keep <paramref name="window" /> in its current position.</summary>
<remarks>
<para>
If you haven't changed the window gravity, its gravity will be <see cref="F:Gdk.Gravity.NorthWest" />. This means that <see cref="M:Gtk.Window.GetPosition" /> gets the position of the top-left corner of the window manager frame for the <paramref name="window" />. <see cref="M:Gtk.Window.Move" /> sets the position of this same top-left corner.
</para>
<para>
<see cref="M:Gtk.Window.GetPosition" /> is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a <paramref name="window" /> by the window manager. Thus GTK# is using a "best guess" that works with most window managers.
</para>
<para>
Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a <paramref name="window" /> to its current position as returned by <see cref="M:Gtk.Window.GetPostion" /> tends to result in moving the <paramref name="window" /> slightly. Window managers are slowly getting better over time.
</para>
<para>
If a <paramref name="window" /> has gravity <see cref="F.Gdk.Gravity.Static" /> the window manager frame is not relevant, and thus <see cref="M:Gtk.Window.GetPosition" /> will always produce accurate results. However you can't use static gravity to do things like place a <paramref name="window" /> in a corner of the screen, because static gravity ignores the window manager decorations.
</para>
<para>
If you are saving and restoring your application's <paramref name="window" /> positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your <paramref name="window" /> sizes and positions.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetSize">
<MemberSignature Language="C#" Value="public void GetSize (out int width, out int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetSize(int32 width, int32 height) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32&" RefType="out" />
<Parameter Name="height" Type="System.Int32&" RefType="out" />
</Parameters>
<Docs>
<param name="width">Return location for width, or <see langword="null" />.</param>
<param name="height">Return location for height, or <see langword="null" />.</param>
<summary>Obtains the current size of <paramref name="window" />.</summary>
<remarks>
<para>
If <paramref name="window" /> is not onscreen, it returns the size GTK# will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by <see cref="M:Gtk.Window.GetSize" /> is the last size received in a GdkEventConfigure, that is, GTK# uses its locally-stored size, rather than querying the X server for the size. As a result, if you call <see cref="M:Gtk.Window.Resize" /> then immediately call <see cref="M:Gtk.Window.GetSize" />, the size would not have taken effect yet. After the window manager processes the resize request, GTK# receives notification that the size has changed via a configure event, and the size of the <paramref name="window" /> gets updated.
</para>
<para>
Note 1: Nearly any use of this method creates a race condition, because the size of the <paramref name="window" /> may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to <see cref="F:Gtk.Widget.ConfigureEvent" /> on the <paramref name="window" /> and adjust your size-dependent state to match the size delivered in the GdkEventConfigure.
</para>
<para>The following example will print the height and width of a <see cref="T:Gtk.Window" /> called myWindow to the console. </para>
<example>
<code lang="C#">int height =0;
int width = 0;
myWindow.GetSize(out width , out height);
Console.WriteLine("Width: {0}, Height: {1}" , width , height);</code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="Gravity">
<MemberSignature Language="C#" Value="public Gdk.Gravity Gravity { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.Gravity Gravity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("gravity")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gdk.Gravity</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the meaning of coordinates passed to <see cref="M:Gtk.Window.Move" />.</summary>
<value>A window gravity.</value>
<remarks>
<para>
The default window gravity is <see cref="F:Gdk.Gravity.NorthWest" /> which is typically "do what you mean". See <see cref="M:Gtk.Window.Move" /> and <see cref="T:Gdk.Gravity" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Group">
<MemberSignature Language="C#" Value="public Gtk.WindowGroup Group { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.WindowGroup Group" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gtk.WindowGroup</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the Group the window is associated with.</summary>
<value>a <see cref="Gtk.WindowGroup" />.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native GObject type for <see cref="T:Gtk.Window" />.</remarks>
</Docs>
</Member>
<Member MemberName="HasFrame">
<MemberSignature Language="C#" Value="public bool HasFrame { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasFrame" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>If this function is called on a <paramref name="window" /> with setting of <see langword="true" />, before it is realized or showed, it will have a "frame" <paramref name="window" /> around widget->window, accessible in window->frame. Or it access the "frame" <paramref name="window" /> exterior to widget->window.</summary>
<value>
<see langword="true" /> if a frame has been added to the <paramref name="window" /> via <see cref="P:Gtk.Window.HasFrame" />.</value>
<remarks>
<para>
Using the event <see cref="F:Gtk.WIndow.FrameEvent" /> you can receive all events targeted at the frame. This method is used by the linux-fb port to implement managed windows, but it could concievably be used by X-programs that want to do their own window decorations.
</para>
<para>
Note: This is a special-purpose method for the framebuffer port, this causes GTK# to draw its own window border. For most applications you want <see cref="P:Gtk.Window.Decorated" /> instead, which tells the window manager whether to draw the window border.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="HasToplevelFocus">
<MemberSignature Language="C#" Value="public bool HasToplevelFocus { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasToplevelFocus" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("has-toplevel-focus")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the input focus is within this <paramref name="window" />.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> has the input focus.</value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Icon">
<MemberSignature Language="C#" Value="public Gdk.Pixbuf Icon { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gdk.Pixbuf Icon" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("icon")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting the icon for a <paramref name="window" />.</summary>
<value>The default icon for <paramref name="window" />.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="Iconify">
<MemberSignature Language="C#" Value="public void Iconify ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Iconify() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to iconify (i.e. minimize) the specified <paramref name="window" />.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the <paramref name="window" /> will end up iconified. Just do not write code that crashes if not.
</para>
<para>
You can track iconification via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="IconList">
<MemberSignature Language="C#" Value="public Gdk.Pixbuf[] IconList { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gdk.Pixbuf[] IconList" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gdk.Pixbuf[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets or obtains the list of icons representing a <see cref="T:Gtk.Window" />.</summary>
<value>An array of <see cref="T:Gdk.Pixbuf[]" />s.</value>
<remarks>
<para>
The icon is used when <paramref name="window" /> is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.
</para>
<para>
<see cref="M:Gtk.Window.IconList" /> allows you to pass the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK#. Scaling is postponed unitl the last minute, when the desired final size is known, to allow best quality. By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling.
</para>
<para>
Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them).
</para>
<para>
Note that transient windows (those who have been set transient for another <paramref name="window" /> using <see cref="P:Gtk.Window.TransientFor" /> will inherit their icon from their transient parent. So there's no need to explicity set the icon on transient windows.
</para>
<para>
When retrieving the list is copied, but the reference count on each won't be incremented.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="IconName">
<MemberSignature Language="C#" Value="public string IconName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string IconName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("icon-name")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.String" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="IsActive">
<MemberSignature Language="C#" Value="public bool IsActive { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsActive" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("is-active")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the toplevel is the current active <paramref name="window" />.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> is the toplevel.</value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="KeepAbove">
<MemberSignature Language="C#" Value="public bool KeepAbove { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool KeepAbove" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Asks to keep window above, so that it stays on top.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>
<para>Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support putting windows below. But normally the window will be kept above. Just do not write code that crashes if not.</para>
<para>It is permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially.</para>
<para>You can track the below state via <see cref="E:Gtk.Widget.WindowStateEvent" /> event.</para>
<para>Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.
</para>
</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="KeepBelow">
<MemberSignature Language="C#" Value="public bool KeepBelow { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool KeepBelow" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Asks to keep window below, so that it stays in bottom.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>
<para>Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just do not write code that crashes if not.</para>
<para>It is permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially.</para>
<para>You can track the below state via <see cref="E:Gtk.Widget.WindowStateEvent" /> event.</para>
<para>Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.
</para>
</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="KeysChanged">
<MemberSignature Language="C#" Value="public event EventHandler KeysChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler KeysChanged" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("keys_changed")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>KeysChanged event.</summary>
<remarks>This event is emited when the <see cref="T:Gtk.AccelGroup" /> or mnemonic associated with the <see cref="T:Gtk.Window" /> is changed.</remarks>
</Docs>
</Member>
<Member MemberName="ListToplevels">
<MemberSignature Language="C#" Value="public static Gtk.Window[] ListToplevels ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Gtk.Window[] ListToplevels() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gtk.Window[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a list of all existing toplevel windows.</summary>
<returns>An array of toplevel widgets.</returns>
<remarks>
<para>
The widgets in the list are not individually referenced.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Maximize">
<MemberSignature Language="C#" Value="public void Maximize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Maximize() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to maximize <paramref name="window" />, so that it becomes full-screen.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the <paramref name="window" /> will end up maximized. Just don't write code that crashes if not.
</para>
<para>
You can track maximization via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T.Gtk.Widget" />. It's permitted to call this method before showing a <paramref name="window" />, in which case the <paramref name="window" /> will be maximized when it appears onscreen initially.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="MnemonicActivate">
<MemberSignature Language="C#" Value="public bool MnemonicActivate (uint keyval, Gdk.ModifierType modifier);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool MnemonicActivate(unsigned int32 keyval, valuetype Gdk.ModifierType modifier) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyval" Type="System.UInt32" />
<Parameter Name="modifier" Type="Gdk.ModifierType" />
</Parameters>
<Docs>
<param name="keyval">The mnemonic.</param>
<param name="modifier">The modifiers.</param>
<summary>Activates the targets associated with the mnemonic.</summary>
<returns>
<see langword="true" /> if the activation is done.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="MnemonicModifier">
<MemberSignature Language="C#" Value="public Gdk.ModifierType MnemonicModifier { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.ModifierType MnemonicModifier" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gdk.ModifierType</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the mnemonic modifier for this <paramref name="window" />.</summary>
<value>The modifier mask used to activate mnemonics on this <paramref name="window" />.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="Modal">
<MemberSignature Language="C#" Value="public bool Modal { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Modal" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("modal")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the modal status of <paramref name="window" />.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> is set to be modal and establishes a grab when shown.</value>
<remarks>
<para>
Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use <see cref="P:Gtk.Window.TransientFor" /> to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.
</para>
<para>
There are two status: modal (<see langword="true" />) and non-modal (<see langword="false" />).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Move">
<MemberSignature Language="C#" Value="public void Move (int x, int y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Move(int32 x, int32 y) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
</Parameters>
<Docs>
<param name="x">X coordinate to move <paramref name="window" /> to.</param>
<param name="y">Y coordinate to move <paramref name="window" /> to.</param>
<summary>Asks the window manager to move <paramref name="window" /> to the given position.</summary>
<remarks>
<para>
Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the <paramref name="window" /> has already been shown.
</para>
<para>
Note: the position is the position of the gravity-determined reference point for the <paramref name="window" />. The gravity determines two things: first, the location of the reference point in root <paramref name="window" /> coordinates; and second, which point on the <paramref name="window" /> is positioned at the reference point.
</para>
<para>
By default the gravity is <see cref="F:Gdk.Gravity.NorthWest" /> so the reference point is simply the x, y supplied to <see cref="M:Gtk.Window.Move" />. The top-left corner of the <paramref name="window" /> decorations (aka window frame or border) will be placed at <paramref name="x" />, <paramref name="y" />. Therefore, to position a <paramref name="window" /> at the top left of the screen, you want to use the default gravity (which is <see cref="F:Gdk.Gravity.NorthWest" />) and move the <paramref name="window" /> to 0,0.
</para>
<para>
To position a <paramref name="window" /> at the bottom right corner of the screen, you would set <see cref="F:Gdk.Gravity.SouthEast" />, which means that the reference point is at x + the <paramref name="window" /> width and y + the <paramref name="window" /> height, and the bottom-right corner of the window border will be placed at that reference point.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="MoveFocus">
<MemberSignature Language="C#" Value="public event Gtk.MoveFocusHandler MoveFocus;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.MoveFocusHandler MoveFocus" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("move_focus")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Obsolete("Replaced by Keybinding signal on Gtk.Widget")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.MoveFocusHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>MoveFocus event.</summary>
<remarks>This event is emited when the focus is moved from one child to another.</remarks>
</Docs>
</Member>
<Member MemberName="OnDefaultActivated">
<MemberSignature Language="C#" Value="protected virtual void OnDefaultActivated ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnDefaultActivated() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideDefaultActivated", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Window.DefaultActivated" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.DefaultActivated" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFocusActivated">
<MemberSignature Language="C#" Value="protected virtual void OnFocusActivated ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnFocusActivated() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusActivated", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Window.FocusActivated" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.FocusActivated" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFrameEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnFrameEvent (Gdk.Event evnt);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnFrameEvent(class Gdk.Event evnt) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideFrameEvent", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<summary>Default handler for the <see cref="M:Gtk.Window.FrameEvent" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.FrameEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnKeysChanged">
<MemberSignature Language="C#" Value="protected virtual void OnKeysChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnKeysChanged() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeysChanged", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Window.KeysChanged" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.KeysChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnMoveFocus">
<MemberSignature Language="C#" Value="protected virtual void OnMoveFocus (Gtk.DirectionType direction);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnMoveFocus(valuetype Gtk.DirectionType direction) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocus", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Obsolete("Replaced by Keybinding signal on Gtk.Widget")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="direction" Type="Gtk.DirectionType" />
</Parameters>
<Docs>
<param name="direction">a <see cref="T:Gtk.DirectionType" /></param>
<summary>Default handler for the <see cref="M:Gtk.Window.MoveFocus" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.MoveFocus" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSetFocus">
<MemberSignature Language="C#" Value="protected virtual void OnSetFocus (Gtk.Widget focus);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnSetFocus(class Gtk.Widget focus) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetFocus", Type=typeof(Gtk.Window))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="focus" Type="Gtk.Widget" />
</Parameters>
<Docs>
<param name="focus">a <see cref="T:Gtk.Widget" /></param>
<summary>Default handler for the <see cref="M:Gtk.Window.SetFocus" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Window.SetFocus" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="Opacity">
<MemberSignature Language="C#" Value="public double Opacity { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Opacity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("opacity")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Opacity property.</summary>
<value>Range from 0.0 to 1.0.</value>
<remarks>Only valid when compositing is supported.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ParseGeometry">
<MemberSignature Language="C#" Value="public bool ParseGeometry (string geometry);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ParseGeometry(string geometry) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="geometry" Type="System.String" />
</Parameters>
<Docs>
<param name="geometry">
</param>
<summary>Parses a standard X Window System geometry string.</summary>
<returns>
<see langword="true" /> if string was parsed successfully.</returns>
<remarks>
<para>
<see cref="M:Gtk.Window.ParseGeometry" /> does work on all GTK# ports including Win32 but is primarily intended for an X environment.
</para>
<para>
If either a size or a position can be extracted from the geometry string, <see cref="M:Gtk.Window.ParseGeometry" /> returns <see langword="true" /> and calls <see cref="M:Gtk.Window.SetDefaultSize" /> and/or <see cref="M:Gtk.Window.Move" /> to resize/move the <paramref name="window" />.
</para>
<para>
If <see cref="M:Gtk.Window.ParseGeometry" /> returns <see langword="true" />, it will also set the <paramref name="F:Gdk.WindowHints.UserPos" /> and/or <see cref="F:Gdk.WindowHints.UserSize" /> hints indicating to the window manager that the size/position of the <paramref name="window" /> was user-specified. This causes most window managers to honor the geometry.
</para>
<para>
Note that for <see cref="M:Gtk.Window.ParseGeometry" /> to work as expected, it has to be called when the <paramref name="window" /> has its "final" size, i.e. after calling <see cref="M:Gtk.Widget.ShowAll" /> on the contents and <see cref="M:Gtk.Window.SetGeometryHints" /> on the <paramref name="window" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Present">
<MemberSignature Language="C#" Value="public void Present ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Present() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Presents a <paramref name="window" /> to the user.</summary>
<remarks>
<para>
This may mean raising the <paramref name="window" /> in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences. If <paramref name="window" /> is hidden, this method calls <see cref="M:Gtk.Widget.Show" /> as well.
</para>
<para>
This method should be used when the user tries to open a <paramref name="window" /> that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use <see cref="M:Gtk.Window.Present" /> to move the already-open dialog where the user can see it.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentWithTime">
<MemberSignature Language="C#" Value="public void PresentWithTime (uint timestamp);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PresentWithTime(unsigned int32 timestamp) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="timestamp" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="timestamp">a timestamp from a user event.</param>
<summary>Present with a user action timestamp.</summary>
<remarks>If you need to Present a window without a timestamp, use <see cref="M:Gtk.Window.Present" />.</remarks>
<since version="Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName="PropagateKeyEvent">
<MemberSignature Language="C#" Value="public bool PropagateKeyEvent (Gdk.EventKey evnt);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool PropagateKeyEvent(class Gdk.EventKey evnt) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventKey" />
</Parameters>
<Docs>
<param name="evnt">a <see cref="T:Gdk.EventKey" /></param>
<summary>Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles <paramref name="evnt" />.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>This is normally called by the default KeyPressEvent and KeyReleaseEvent handlers for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="RemoveAccelGroup">
<MemberSignature Language="C#" Value="public void RemoveAccelGroup (Gtk.AccelGroup accel_group);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAccelGroup(class Gtk.AccelGroup accel_group) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
</Parameters>
<Docs>
<param name="accel_group">A <see cref="T:Gtk.AccelGroup" />.</param>
<summary>Reverses the effects of <see cref="M:Gtk.Window.AddAccelGroup" />.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="RemoveEmbeddedXid">
<MemberSignature Language="C#" Value="public void RemoveEmbeddedXid (uint xid);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveEmbeddedXid(unsigned int32 xid) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xid" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="xid">an object of type <see cref="T:System.UInt32" /></param>
<summary>Removes an X id number to the list of embedded windows.</summary>
<remarks>This is an advanced feature and is not used by typical code. The method removess the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveMnemonic">
<MemberSignature Language="C#" Value="public void RemoveMnemonic (uint keyval, Gtk.Widget target);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveMnemonic(unsigned int32 keyval, class Gtk.Widget target) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyval" Type="System.UInt32" />
<Parameter Name="target" Type="Gtk.Widget" />
</Parameters>
<Docs>
<param name="keyval">The mnemonic.</param>
<param name="target">The <paramref name="widget" /> that gets activated by the mnemonic.</param>
<summary>Removes a mnemonic from this <paramref name="window" />.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ReshowWithInitialSize">
<MemberSignature Language="C#" Value="public void ReshowWithInitialSize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ReshowWithInitialSize() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Hides <paramref name="window" />, then reshows it, resetting the default size and position of the <paramref name="window" />.</summary>
<remarks>
<para>
Used by GUI builders only.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Resizable">
<MemberSignature Language="C#" Value="public bool Resizable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Resizable" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("resizable")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains whether a <paramref name="window" /> will be resizable by the user or not.</summary>
<value>
<see langword="true" /> if the user can resize the <paramref name="window" />.</value>
<remarks>
<para>
By default, the <paramref name="window" /> are resizable, so you can change the size of them. But if you set this property to false, the user won't be able to change the size of them.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Resize">
<MemberSignature Language="C#" Value="public void Resize (int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Resize(int32 width, int32 height) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">Width in pixels to resize the <paramref name="window" /> to.</param>
<param name="height">Height in pixels to resize the <paramref name="window" /> to.</param>
<summary>Resizes the <paramref name="window" /> as if the user had done so, obeying geometry constraints.</summary>
<remarks>
<para>
The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call <see cref="M:Gtk.Widget.SetSizeRequest" /> to set the <paramref name="window" />'s request to a smaller value.
</para>
<para>
If <see cref="M:Gtk.Window.Resize" /> is called before showing a <paramref name="window" /> for the first time, it overrides any default size set with <see cref="M:Gtk.Window.SetDefaultSize" />. Windows may not be resized smaller than 1 by 1 pixels.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Role">
<MemberSignature Language="C#" Value="public string Role { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Role" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("role")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the role of the <paramref name="window" />.</summary>
<value>The role of the <paramref name="window" /> if set, or <see langword="null" />. The returned is owned by the widget and must not be modified or freed.</value>
<remarks>
<para>
This property is only useful on X11, not with other GTK# targets.
</para>
In combination with the <paramref name="window" /> title, the <paramref name="window" /> role allows a window manager to identify "the same" <paramref name="window" /> when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox <paramref name="window" />, so that when the user restarts their session, the session manager can put the toolbox back in the same place.
<para>
If a <paramref name="window" /> already has a unique title, you don't need to set the role, since the WM can use the title to identigy the <paramref name="window" /> when restoring the session.
</para></remarks>
</Docs>
</Member>
<Member MemberName="Screen">
<MemberSignature Language="C#" Value="public Gdk.Screen Screen { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gdk.Screen Screen" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("screen")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gdk.Screen</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the <see cref="T:Gdk.Screen" /> where the <paramref name="window" /> is displayed.</summary>
<value>A <see cref="T:Gdk.Screen" />.</value>
<remarks>
<para>
If the <paramref name="window" /> is already mapped, it will be unmapped, and then remapped on the new screen.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetDefaultIconFromFile">
<MemberSignature Language="C#" Value="public static bool SetDefaultIconFromFile (string filename);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool SetDefaultIconFromFile(string filename) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<param name="filename">Location of icon file.</param>
<summary>Sets an icon to be used as fallback for windows that haven't had <see cref="P:Gtk.Window.IconList" /> called on them from a file on disk.</summary>
<returns>
<see langword="true" /> if setting the icon succeded.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="SetDefaultSize">
<MemberSignature Language="C#" Value="public void SetDefaultSize (int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetDefaultSize(int32 width, int32 height) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">Width in pixels, or -1 to unset the default width.</param>
<param name="height">Height in pixels, or -1 to unset the default height.</param>
<summary>Sets the default size of an object, with the specified width and height arguments.</summary>
<remarks>
<para>
If the <paramref name="window" />'s "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the <paramref name="window" /> (<see cref="M:Gtk.Window.SetGeometryHints" /> can be used to set these explicitly), the default size will be clamped to the nearest permitted size.
</para>
<para>
Unlike <see cref="M:Gtk.Widget.SetSizeRequest" /> which sets a size request for a <paramref name="widget" /> and thus would keep users from shrinking the <paramref name="window" />, this method only sets the initial size, just as if the user had resized the <paramref name="window" /> themselves. Users can still shrink the <paramref name="window" /> again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the <paramref name="window" />).
</para>
<para>
For more control over a <paramref name="window" />'s initial size and how resizing works, investigate <see cref="M:Gtk.Window.SetGeometryHints" />.
</para>
<para>
For some uses, <see cref="M:Gtk.Window.Resize" /> is a more appropriate method. <see cref="M:Gtk.Window.Resize" /> changes the current size of the <paramref name="window" />, rather than the size to be used on initial display. <see cref="M:Gtk.Window.Resize" /> always affects the <paramref name="window" /> itself, not the geometry widget.
</para>
<para>
The default size of a <paramref name="window" /> only affects the first time a <paramref name="window" /> is shown; if a <paramref name="window" /> is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetFocus">
<MemberSignature Language="C#" Value="public event Gtk.SetFocusHandler SetFocus;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.SetFocusHandler SetFocus" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("set_focus")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.SetFocusHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>SetFocus event.</summary>
<remarks>This event is emited when the focused widget is set.</remarks>
</Docs>
</Member>
<Member MemberName="SetFrameDimensions">
<MemberSignature Language="C#" Value="public void SetFrameDimensions (int left, int top, int right, int bottom);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetFrameDimensions(int32 left, int32 top, int32 right, int32 bottom) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Int32" />
<Parameter Name="top" Type="System.Int32" />
<Parameter Name="right" Type="System.Int32" />
<Parameter Name="bottom" Type="System.Int32" />
</Parameters>
<Docs>
<param name="left">The width of the left border.</param>
<param name="top">The height of the top border.</param>
<param name="right">The width of the right border.</param>
<param name="bottom">The height of the bottom border.</param>
<summary>For windows with frames (see <see cref="P:Gtk.Window.HasFrame" />) this method can be used to change the size of the frame border.</summary>
<remarks>
<para>
Note: this is a special-purpose method intended for the framebuffer port; see <see cref="P:Gtk.Window.HasFrame" />. It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetGeometryHints">
<MemberSignature Language="C#" Value="public void SetGeometryHints (Gtk.Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetGeometryHints(class Gtk.Widget geometry_widget, valuetype Gdk.Geometry geometry, valuetype Gdk.WindowHints geom_mask) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="geometry_widget" Type="Gtk.Widget" />
<Parameter Name="geometry" Type="Gdk.Geometry" />
<Parameter Name="geom_mask" Type="Gdk.WindowHints" />
</Parameters>
<Docs>
<param name="geometry_widget">Widget the geometry hints will be applied to.</param>
<param name="geometry">Struct containing geometry information.</param>
<param name="geom_mask">Mask indicating which struct fields should be paid attention to.</param>
<summary>This method sets up hints about how a <paramref name="window" /> can be resized by the user.</summary>
<remarks>
<para>
You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See <see cref="T:Gdk.Geometry" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetIconFromFile">
<MemberSignature Language="C#" Value="public bool SetIconFromFile (string filename);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetIconFromFile(string filename) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<param name="filename">Location of icon file.</param>
<summary>Sets the icon for <paramref name="window" />.</summary>
<returns>
<see langword="true" /> if setting the icon succeded.</returns>
<remarks>
<para>
This method is equivalent to calling <see cref="M:Gtk.Window.ParseGeometry" /> with pixbuf created by loading the image from <paramref name="filename" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetPolicy">
<MemberSignature Language="C#" Value="public void SetPolicy (int allow_shrink, int allow_grow, int auto_shrink);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetPolicy(int32 allow_shrink, int32 allow_grow, int32 auto_shrink) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="allow_shrink" Type="System.Int32" />
<Parameter Name="allow_grow" Type="System.Int32" />
<Parameter Name="auto_shrink" Type="System.Int32" />
</Parameters>
<Docs>
<param name="allow_shrink">a <see cref="T:System.Int32" /></param>
<param name="allow_grow">a <see cref="T:System.Int32" /></param>
<param name="auto_shrink">a <see cref="T:System.Int32" /></param>
<summary>Changes how a toplevel window deals with its size request and user resize attempts.</summary>
<remarks>The first policy is the default, that is, by default windows are designed to be resized by users.
<para><see cref="M:Gtk.Window.SetPolicy()" /> is deprecated and should not be used in newly-written code. Use <see cref="M:Gtk.Window.SetResizable()" /> instead.
</para><para>
If set to <see langword="true" />, the allow_grow parameter allows the user to expand the window beyond the size request of its child widgets. If allow_grow is <see langword="true" />, be sure to check that your child widgets work properly as the window is resized.
</para><para>
A toplevel window will always change size to ensure its child widgets receive their requested size. This means that if you add child widgets, the toplevel window will expand to contain them. However, normally the toplevel will not shrink to fit the size request of its children if it's too large; the auto_shrink parameter causes the window to shrink when child widgets have too much space. auto_shrink is normally used with the second of the two window policies mentioned above. That is, set auto_shrink to <see langword="true" /> if you want the window to have a fixed, always-optimal size determined by your program.
</para><para>
Note that auto_shrink does not do anything if allow_shrink and allow_grow are both set to <see langword="false" />.
</para><para>
Neither of the two suggested window policies set the allow_shrink parameter to <see langword="true" />. If allow_shrink is <see langword="true" />, the user can shrink the window so that its children do not receive their full size request; this is basically a bad thing, because most widgets will look wrong if this happens. Furthermore Gtk has a tendency to re-expand the window if size is recalculated for any reason. The upshot is that allow_shrink should always be set to <see langword="false" />.
</para><para>
Sometimes when you think you want to use allow_shrink, the real problem is that some specific child widget is requesting too much space, so the user can't shrink the window sufficiently. Perhaps you are calling gtk_widget_set_size_request() on a child widget, and forcing its size request to be too large. Instead of setting the child's usize, consider using gtk_window_set_default_size() so that the child gets a larger allocation than it requests.</para></remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="SetPosition">
<MemberSignature Language="C#" Value="public void SetPosition (Gtk.WindowPosition position);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetPosition(valuetype Gtk.WindowPosition position) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="position" Type="Gtk.WindowPosition" />
</Parameters>
<Docs>
<param name="position">A position constraint.</param>
<summary>Sets the position constraint for a <paramref name="window" />.</summary>
<remarks>
<para>
Is is used for placing the <paramref name="window" /> in some area, depending on the <paramref name="position" /> constraint.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetWmclass">
<MemberSignature Language="C#" Value="public void SetWmclass (string wmclass_name, string wmclass_class);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetWmclass(string wmclass_name, string wmclass_class) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="wmclass_name" Type="System.String" />
<Parameter Name="wmclass_class" Type="System.String" />
</Parameters>
<Docs>
<param name="wmclass_name">Window name hint.</param>
<param name="wmclass_class">Window class hint.</param>
<summary>It sets the X Window System "class" and "name" hints for a <paramref name="window" />. (Don't use this method.)</summary>
<remarks>
<para>
According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK# sets them to that value by default, so calling this method is sort of pointless. However, you may want to call <see cref="P:Gtk.Window.Role" /> on each <paramref name="window" /> in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SkipPagerHint">
<MemberSignature Language="C#" Value="public bool SkipPagerHint { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SkipPagerHint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("skip-pager-hint")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether the <paramref name="window" /> should not be in the pager.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> should not be in the pager.</value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="SkipTaskbarHint">
<MemberSignature Language="C#" Value="public bool SkipTaskbarHint { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SkipTaskbarHint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("skip-taskbar-hint")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether the <paramref name="window" /> should not be in the taskbar.</summary>
<value>
<see langword="true" /> if the <paramref name="window" /> should not be in the taskbar.</value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="StartupId">
<MemberSignature Language="C#" Value="public string StartupId { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string StartupId" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("startup-id")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="Stick">
<MemberSignature Language="C#" Value="public void Stick ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Stick() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to stick <paramref name="window" />, which means that it will appear on all user desktops.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the <paramref name="window" /> will end up stuck. Just don't write code that crashes if not.
</para>
<para>
You can track stickiness via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on GtkWidget. It's permitted to call this method before showing a <paramref name="window" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Title">
<MemberSignature Language="C#" Value="public string Title { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Title" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("title")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting the <paramref name="window" /> title.</summary>
<value>The title of the <paramref name="window" />, or <see langword="null" /> if none has been set explicitely. The returned string is owned by the <paramref name="widget" /> and must not be modified or freed.</value>
<remarks>
<para>
This property will allow you to set the <paramref name="window" /> title. The title of a <paramref name="window" /> will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a <paramref name="window" /> from others opened. A good title will have the application name an the actual document, for example.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="TransientFor">
<MemberSignature Language="C#" Value="public Gtk.Window TransientFor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Window TransientFor" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("transient-for")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.Window</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the transient parent window.</summary>
<value />
<remarks>
<para>
Dialog windows should be transient for the main <paramref name="window" /> they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main <paramref name="window" />, or center the dialog over the main <paramref name="window" />.
</para>
<para>
On Windows(tm), this function will and put the child <paramref name="window" /> on top of the parent, much as the <paramref name="window" /> would have done in X.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Type">
<MemberSignature Language="C#" Value="public Gtk.WindowType Type { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.WindowType Type" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("type")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.WindowType</ReturnType>
</ReturnValue>
<Docs>
<summary>The type of <paramref name="window" />.</summary>
<value>The <paramref name="window" /> type.</value>
<remarks>
<para>
See also <see cref="T:Gtk.WindowType" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="TypeHint">
<MemberSignature Language="C#" Value="public Gdk.WindowTypeHint TypeHint { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.WindowTypeHint TypeHint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("type-hint")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gdk.WindowTypeHint</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the type hint for <paramref name="window" />.</summary>
<value>The type hint for <paramref name="window" />.</value>
<remarks>
<para>
By setting the type hint for the <paramref name="window" />, you allow the window manager to decorate and handle the <paramref name="window" /> in a way which is suitable to the function of the <paramref name="window" /> in your application. This property should be called before the <paramref name="window" /> becomes visible.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unfullscreen">
<MemberSignature Language="C#" Value="public void Unfullscreen ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Unfullscreen() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to toggle off the fullscreen state for <paramref name="window" />.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the <paramref name="window" /> will end up restored to its normal state. Just don't write code that crashes if not.
</para>
<para>
You can track the fullscreen state via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unmaximize">
<MemberSignature Language="C#" Value="public void Unmaximize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Unmaximize() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to unmaximize <paramref name="window" />.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the <paramref name="window" /> will end up unmaximized. Just don't write code that crashes if not.
</para>
<para>
You can track maximization via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" /></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unstick">
<MemberSignature Language="C#" Value="public void Unstick ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Unstick() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asks to unstick <paramref name="window" />, which means that it will appear on only one of the user's desktops.</summary>
<remarks>
<para>
Note that you shouldn't assume the <paramref name="window" /> is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the <paramref name="window" /> will end up stuck. Just do not write code that crashes if not.
</para>
<para>
You can track stickiness via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UrgencyHint">
<MemberSignature Language="C#" Value="public bool UrgencyHint { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool UrgencyHint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("urgency-hint")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Urgency Hint.</summary>
<value>
<see langword="true" /> if the hint should be set on the window.</value>
<remarks>This hint notifies the desktop environment to draw the user's attention to the window for urgent action.</remarks>
<since version="Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName="WindowPosition">
<MemberSignature Language="C#" Value="public Gtk.WindowPosition WindowPosition { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.WindowPosition WindowPosition" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.12.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("window-position")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.WindowPosition</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Property used for setting/getting the <paramref name="window" /> position.</summary>
<value>The <paramref name="window" /> position. See also <see cref="T:Gtk.WindowPosition" />.</value>
<remarks>
<para>
This property will alow you to define where a <paramref name="window" /> should be displayed on the screen. Position values are described in the <see cref="T:Gtk.WindowPosition" /> definition.
</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
|