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 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874
|
{-# OPTIONS_HADDOCK hide #-}
-- -*-haskell-*-
-- -------------------- automatically generated file - do not edit ----------
-- Object hierarchy for the GIMP Toolkit (GTK) Binding for Haskell
--
-- Author : Axel Simon
--
-- Copyright (C) 2001-2005 Axel Simon
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
--
-- This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
--
-- #hide
-- |
-- Maintainer : gtk2hs-users@lists.sourceforge.net
-- Stability : provisional
-- Portability : portable (depends on GHC)
--
-- This file reflects the Gtk+ object hierarchy in terms of Haskell classes.
--
-- Note: the mk... functions were originally meant to simply be an alias
-- for the constructor. However, in order to communicate the destructor
-- of an object to objectNew, the mk... functions are now a tuple containing
-- Haskell constructor and the destructor function pointer. This hack avoids
-- changing all modules that simply pass mk... to objectNew.
--
module Graphics.UI.Gtk.Types (
module System.Glib.GObject,
module Graphics.UI.Gtk.General.Threading,
Drawable(Drawable), DrawableClass,
toDrawable,
mkDrawable, unDrawable,
castToDrawable, gTypeDrawable,
DrawWindow(DrawWindow), DrawWindowClass,
toDrawWindow,
mkDrawWindow, unDrawWindow,
castToDrawWindow, gTypeDrawWindow,
Pixmap(Pixmap), PixmapClass,
toPixmap,
mkPixmap, unPixmap,
castToPixmap, gTypePixmap,
Colormap(Colormap), ColormapClass,
toColormap,
mkColormap, unColormap,
castToColormap, gTypeColormap,
Screen(Screen), ScreenClass,
toScreen,
mkScreen, unScreen,
castToScreen, gTypeScreen,
Display(Display), DisplayClass,
toDisplay,
mkDisplay, unDisplay,
castToDisplay, gTypeDisplay,
Visual(Visual), VisualClass,
toVisual,
mkVisual, unVisual,
castToVisual, gTypeVisual,
Device(Device), DeviceClass,
toDevice,
mkDevice, unDevice,
castToDevice, gTypeDevice,
Settings(Settings), SettingsClass,
toSettings,
mkSettings, unSettings,
castToSettings, gTypeSettings,
TextBuffer(TextBuffer), TextBufferClass,
toTextBuffer,
mkTextBuffer, unTextBuffer,
castToTextBuffer, gTypeTextBuffer,
TextTag(TextTag), TextTagClass,
toTextTag,
mkTextTag, unTextTag,
castToTextTag, gTypeTextTag,
TextTagTable(TextTagTable), TextTagTableClass,
toTextTagTable,
mkTextTagTable, unTextTagTable,
castToTextTagTable, gTypeTextTagTable,
Style(Style), StyleClass,
toStyle,
mkStyle, unStyle,
castToStyle, gTypeStyle,
RcStyle(RcStyle), RcStyleClass,
toRcStyle,
mkRcStyle, unRcStyle,
castToRcStyle, gTypeRcStyle,
DragContext(DragContext), DragContextClass,
toDragContext,
mkDragContext, unDragContext,
castToDragContext, gTypeDragContext,
Pixbuf(Pixbuf), PixbufClass,
toPixbuf,
mkPixbuf, unPixbuf,
castToPixbuf, gTypePixbuf,
PixbufAnimation(PixbufAnimation), PixbufAnimationClass,
toPixbufAnimation,
mkPixbufAnimation, unPixbufAnimation,
castToPixbufAnimation, gTypePixbufAnimation,
PixbufSimpleAnim(PixbufSimpleAnim), PixbufSimpleAnimClass,
toPixbufSimpleAnim,
mkPixbufSimpleAnim, unPixbufSimpleAnim,
castToPixbufSimpleAnim, gTypePixbufSimpleAnim,
PixbufAnimationIter(PixbufAnimationIter), PixbufAnimationIterClass,
toPixbufAnimationIter,
mkPixbufAnimationIter, unPixbufAnimationIter,
castToPixbufAnimationIter, gTypePixbufAnimationIter,
TextChildAnchor(TextChildAnchor), TextChildAnchorClass,
toTextChildAnchor,
mkTextChildAnchor, unTextChildAnchor,
castToTextChildAnchor, gTypeTextChildAnchor,
TextMark(TextMark), TextMarkClass,
toTextMark,
mkTextMark, unTextMark,
castToTextMark, gTypeTextMark,
Object(Object), ObjectClass,
toObject,
mkObject, unObject,
castToObject, gTypeObject,
Widget(Widget), WidgetClass,
toWidget,
mkWidget, unWidget,
castToWidget, gTypeWidget,
Misc(Misc), MiscClass,
toMisc,
mkMisc, unMisc,
castToMisc, gTypeMisc,
Label(Label), LabelClass,
toLabel,
mkLabel, unLabel,
castToLabel, gTypeLabel,
AccelLabel(AccelLabel), AccelLabelClass,
toAccelLabel,
mkAccelLabel, unAccelLabel,
castToAccelLabel, gTypeAccelLabel,
TipsQuery(TipsQuery), TipsQueryClass,
toTipsQuery,
mkTipsQuery, unTipsQuery,
castToTipsQuery, gTypeTipsQuery,
Arrow(Arrow), ArrowClass,
toArrow,
mkArrow, unArrow,
castToArrow, gTypeArrow,
Image(Image), ImageClass,
toImage,
mkImage, unImage,
castToImage, gTypeImage,
Container(Container), ContainerClass,
toContainer,
mkContainer, unContainer,
castToContainer, gTypeContainer,
Bin(Bin), BinClass,
toBin,
mkBin, unBin,
castToBin, gTypeBin,
Alignment(Alignment), AlignmentClass,
toAlignment,
mkAlignment, unAlignment,
castToAlignment, gTypeAlignment,
Frame(Frame), FrameClass,
toFrame,
mkFrame, unFrame,
castToFrame, gTypeFrame,
AspectFrame(AspectFrame), AspectFrameClass,
toAspectFrame,
mkAspectFrame, unAspectFrame,
castToAspectFrame, gTypeAspectFrame,
Button(Button), ButtonClass,
toButton,
mkButton, unButton,
castToButton, gTypeButton,
ToggleButton(ToggleButton), ToggleButtonClass,
toToggleButton,
mkToggleButton, unToggleButton,
castToToggleButton, gTypeToggleButton,
CheckButton(CheckButton), CheckButtonClass,
toCheckButton,
mkCheckButton, unCheckButton,
castToCheckButton, gTypeCheckButton,
RadioButton(RadioButton), RadioButtonClass,
toRadioButton,
mkRadioButton, unRadioButton,
castToRadioButton, gTypeRadioButton,
ColorButton(ColorButton), ColorButtonClass,
toColorButton,
mkColorButton, unColorButton,
castToColorButton, gTypeColorButton,
FontButton(FontButton), FontButtonClass,
toFontButton,
mkFontButton, unFontButton,
castToFontButton, gTypeFontButton,
OptionMenu(OptionMenu), OptionMenuClass,
toOptionMenu,
mkOptionMenu, unOptionMenu,
castToOptionMenu, gTypeOptionMenu,
Item(Item), ItemClass,
toItem,
mkItem, unItem,
castToItem, gTypeItem,
MenuItem(MenuItem), MenuItemClass,
toMenuItem,
mkMenuItem, unMenuItem,
castToMenuItem, gTypeMenuItem,
CheckMenuItem(CheckMenuItem), CheckMenuItemClass,
toCheckMenuItem,
mkCheckMenuItem, unCheckMenuItem,
castToCheckMenuItem, gTypeCheckMenuItem,
RadioMenuItem(RadioMenuItem), RadioMenuItemClass,
toRadioMenuItem,
mkRadioMenuItem, unRadioMenuItem,
castToRadioMenuItem, gTypeRadioMenuItem,
TearoffMenuItem(TearoffMenuItem), TearoffMenuItemClass,
toTearoffMenuItem,
mkTearoffMenuItem, unTearoffMenuItem,
castToTearoffMenuItem, gTypeTearoffMenuItem,
ImageMenuItem(ImageMenuItem), ImageMenuItemClass,
toImageMenuItem,
mkImageMenuItem, unImageMenuItem,
castToImageMenuItem, gTypeImageMenuItem,
SeparatorMenuItem(SeparatorMenuItem), SeparatorMenuItemClass,
toSeparatorMenuItem,
mkSeparatorMenuItem, unSeparatorMenuItem,
castToSeparatorMenuItem, gTypeSeparatorMenuItem,
ListItem(ListItem), ListItemClass,
toListItem,
mkListItem, unListItem,
castToListItem, gTypeListItem,
Window(Window), WindowClass,
toWindow,
mkWindow, unWindow,
castToWindow, gTypeWindow,
Dialog(Dialog), DialogClass,
toDialog,
mkDialog, unDialog,
castToDialog, gTypeDialog,
AboutDialog(AboutDialog), AboutDialogClass,
toAboutDialog,
mkAboutDialog, unAboutDialog,
castToAboutDialog, gTypeAboutDialog,
ColorSelectionDialog(ColorSelectionDialog), ColorSelectionDialogClass,
toColorSelectionDialog,
mkColorSelectionDialog, unColorSelectionDialog,
castToColorSelectionDialog, gTypeColorSelectionDialog,
FileSelection(FileSelection), FileSelectionClass,
toFileSelection,
mkFileSelection, unFileSelection,
castToFileSelection, gTypeFileSelection,
FileChooserDialog(FileChooserDialog), FileChooserDialogClass,
toFileChooserDialog,
mkFileChooserDialog, unFileChooserDialog,
castToFileChooserDialog, gTypeFileChooserDialog,
FontSelectionDialog(FontSelectionDialog), FontSelectionDialogClass,
toFontSelectionDialog,
mkFontSelectionDialog, unFontSelectionDialog,
castToFontSelectionDialog, gTypeFontSelectionDialog,
InputDialog(InputDialog), InputDialogClass,
toInputDialog,
mkInputDialog, unInputDialog,
castToInputDialog, gTypeInputDialog,
MessageDialog(MessageDialog), MessageDialogClass,
toMessageDialog,
mkMessageDialog, unMessageDialog,
castToMessageDialog, gTypeMessageDialog,
Plug(Plug), PlugClass,
toPlug,
mkPlug, unPlug,
castToPlug, gTypePlug,
EventBox(EventBox), EventBoxClass,
toEventBox,
mkEventBox, unEventBox,
castToEventBox, gTypeEventBox,
HandleBox(HandleBox), HandleBoxClass,
toHandleBox,
mkHandleBox, unHandleBox,
castToHandleBox, gTypeHandleBox,
ScrolledWindow(ScrolledWindow), ScrolledWindowClass,
toScrolledWindow,
mkScrolledWindow, unScrolledWindow,
castToScrolledWindow, gTypeScrolledWindow,
Viewport(Viewport), ViewportClass,
toViewport,
mkViewport, unViewport,
castToViewport, gTypeViewport,
Expander(Expander), ExpanderClass,
toExpander,
mkExpander, unExpander,
castToExpander, gTypeExpander,
ComboBox(ComboBox), ComboBoxClass,
toComboBox,
mkComboBox, unComboBox,
castToComboBox, gTypeComboBox,
ComboBoxEntry(ComboBoxEntry), ComboBoxEntryClass,
toComboBoxEntry,
mkComboBoxEntry, unComboBoxEntry,
castToComboBoxEntry, gTypeComboBoxEntry,
ToolItem(ToolItem), ToolItemClass,
toToolItem,
mkToolItem, unToolItem,
castToToolItem, gTypeToolItem,
ToolButton(ToolButton), ToolButtonClass,
toToolButton,
mkToolButton, unToolButton,
castToToolButton, gTypeToolButton,
MenuToolButton(MenuToolButton), MenuToolButtonClass,
toMenuToolButton,
mkMenuToolButton, unMenuToolButton,
castToMenuToolButton, gTypeMenuToolButton,
ToggleToolButton(ToggleToolButton), ToggleToolButtonClass,
toToggleToolButton,
mkToggleToolButton, unToggleToolButton,
castToToggleToolButton, gTypeToggleToolButton,
RadioToolButton(RadioToolButton), RadioToolButtonClass,
toRadioToolButton,
mkRadioToolButton, unRadioToolButton,
castToRadioToolButton, gTypeRadioToolButton,
SeparatorToolItem(SeparatorToolItem), SeparatorToolItemClass,
toSeparatorToolItem,
mkSeparatorToolItem, unSeparatorToolItem,
castToSeparatorToolItem, gTypeSeparatorToolItem,
Box(Box), BoxClass,
toBox,
mkBox, unBox,
castToBox, gTypeBox,
ButtonBox(ButtonBox), ButtonBoxClass,
toButtonBox,
mkButtonBox, unButtonBox,
castToButtonBox, gTypeButtonBox,
HButtonBox(HButtonBox), HButtonBoxClass,
toHButtonBox,
mkHButtonBox, unHButtonBox,
castToHButtonBox, gTypeHButtonBox,
VButtonBox(VButtonBox), VButtonBoxClass,
toVButtonBox,
mkVButtonBox, unVButtonBox,
castToVButtonBox, gTypeVButtonBox,
VBox(VBox), VBoxClass,
toVBox,
mkVBox, unVBox,
castToVBox, gTypeVBox,
ColorSelection(ColorSelection), ColorSelectionClass,
toColorSelection,
mkColorSelection, unColorSelection,
castToColorSelection, gTypeColorSelection,
FontSelection(FontSelection), FontSelectionClass,
toFontSelection,
mkFontSelection, unFontSelection,
castToFontSelection, gTypeFontSelection,
FileChooserWidget(FileChooserWidget), FileChooserWidgetClass,
toFileChooserWidget,
mkFileChooserWidget, unFileChooserWidget,
castToFileChooserWidget, gTypeFileChooserWidget,
HBox(HBox), HBoxClass,
toHBox,
mkHBox, unHBox,
castToHBox, gTypeHBox,
Combo(Combo), ComboClass,
toCombo,
mkCombo, unCombo,
castToCombo, gTypeCombo,
FileChooserButton(FileChooserButton), FileChooserButtonClass,
toFileChooserButton,
mkFileChooserButton, unFileChooserButton,
castToFileChooserButton, gTypeFileChooserButton,
Statusbar(Statusbar), StatusbarClass,
toStatusbar,
mkStatusbar, unStatusbar,
castToStatusbar, gTypeStatusbar,
CList(CList), CListClass,
toCList,
mkCList, unCList,
castToCList, gTypeCList,
CTree(CTree), CTreeClass,
toCTree,
mkCTree, unCTree,
castToCTree, gTypeCTree,
Fixed(Fixed), FixedClass,
toFixed,
mkFixed, unFixed,
castToFixed, gTypeFixed,
Paned(Paned), PanedClass,
toPaned,
mkPaned, unPaned,
castToPaned, gTypePaned,
HPaned(HPaned), HPanedClass,
toHPaned,
mkHPaned, unHPaned,
castToHPaned, gTypeHPaned,
VPaned(VPaned), VPanedClass,
toVPaned,
mkVPaned, unVPaned,
castToVPaned, gTypeVPaned,
IconView(IconView), IconViewClass,
toIconView,
mkIconView, unIconView,
castToIconView, gTypeIconView,
Layout(Layout), LayoutClass,
toLayout,
mkLayout, unLayout,
castToLayout, gTypeLayout,
List(List), ListClass,
toList,
mkList, unList,
castToList, gTypeList,
MenuShell(MenuShell), MenuShellClass,
toMenuShell,
mkMenuShell, unMenuShell,
castToMenuShell, gTypeMenuShell,
Menu(Menu), MenuClass,
toMenu,
mkMenu, unMenu,
castToMenu, gTypeMenu,
MenuBar(MenuBar), MenuBarClass,
toMenuBar,
mkMenuBar, unMenuBar,
castToMenuBar, gTypeMenuBar,
Notebook(Notebook), NotebookClass,
toNotebook,
mkNotebook, unNotebook,
castToNotebook, gTypeNotebook,
Socket(Socket), SocketClass,
toSocket,
mkSocket, unSocket,
castToSocket, gTypeSocket,
Table(Table), TableClass,
toTable,
mkTable, unTable,
castToTable, gTypeTable,
TextView(TextView), TextViewClass,
toTextView,
mkTextView, unTextView,
castToTextView, gTypeTextView,
Toolbar(Toolbar), ToolbarClass,
toToolbar,
mkToolbar, unToolbar,
castToToolbar, gTypeToolbar,
TreeView(TreeView), TreeViewClass,
toTreeView,
mkTreeView, unTreeView,
castToTreeView, gTypeTreeView,
Calendar(Calendar), CalendarClass,
toCalendar,
mkCalendar, unCalendar,
castToCalendar, gTypeCalendar,
CellView(CellView), CellViewClass,
toCellView,
mkCellView, unCellView,
castToCellView, gTypeCellView,
DrawingArea(DrawingArea), DrawingAreaClass,
toDrawingArea,
mkDrawingArea, unDrawingArea,
castToDrawingArea, gTypeDrawingArea,
Entry(Entry), EntryClass,
toEntry,
mkEntry, unEntry,
castToEntry, gTypeEntry,
SpinButton(SpinButton), SpinButtonClass,
toSpinButton,
mkSpinButton, unSpinButton,
castToSpinButton, gTypeSpinButton,
Ruler(Ruler), RulerClass,
toRuler,
mkRuler, unRuler,
castToRuler, gTypeRuler,
HRuler(HRuler), HRulerClass,
toHRuler,
mkHRuler, unHRuler,
castToHRuler, gTypeHRuler,
VRuler(VRuler), VRulerClass,
toVRuler,
mkVRuler, unVRuler,
castToVRuler, gTypeVRuler,
Range(Range), RangeClass,
toRange,
mkRange, unRange,
castToRange, gTypeRange,
Scale(Scale), ScaleClass,
toScale,
mkScale, unScale,
castToScale, gTypeScale,
HScale(HScale), HScaleClass,
toHScale,
mkHScale, unHScale,
castToHScale, gTypeHScale,
VScale(VScale), VScaleClass,
toVScale,
mkVScale, unVScale,
castToVScale, gTypeVScale,
Scrollbar(Scrollbar), ScrollbarClass,
toScrollbar,
mkScrollbar, unScrollbar,
castToScrollbar, gTypeScrollbar,
HScrollbar(HScrollbar), HScrollbarClass,
toHScrollbar,
mkHScrollbar, unHScrollbar,
castToHScrollbar, gTypeHScrollbar,
VScrollbar(VScrollbar), VScrollbarClass,
toVScrollbar,
mkVScrollbar, unVScrollbar,
castToVScrollbar, gTypeVScrollbar,
Separator(Separator), SeparatorClass,
toSeparator,
mkSeparator, unSeparator,
castToSeparator, gTypeSeparator,
HSeparator(HSeparator), HSeparatorClass,
toHSeparator,
mkHSeparator, unHSeparator,
castToHSeparator, gTypeHSeparator,
VSeparator(VSeparator), VSeparatorClass,
toVSeparator,
mkVSeparator, unVSeparator,
castToVSeparator, gTypeVSeparator,
Invisible(Invisible), InvisibleClass,
toInvisible,
mkInvisible, unInvisible,
castToInvisible, gTypeInvisible,
Preview(Preview), PreviewClass,
toPreview,
mkPreview, unPreview,
castToPreview, gTypePreview,
ProgressBar(ProgressBar), ProgressBarClass,
toProgressBar,
mkProgressBar, unProgressBar,
castToProgressBar, gTypeProgressBar,
Adjustment(Adjustment), AdjustmentClass,
toAdjustment,
mkAdjustment, unAdjustment,
castToAdjustment, gTypeAdjustment,
IMContext(IMContext), IMContextClass,
toIMContext,
mkIMContext, unIMContext,
castToIMContext, gTypeIMContext,
IMMulticontext(IMMulticontext), IMMulticontextClass,
toIMMulticontext,
mkIMMulticontext, unIMMulticontext,
castToIMMulticontext, gTypeIMMulticontext,
ItemFactory(ItemFactory), ItemFactoryClass,
toItemFactory,
mkItemFactory, unItemFactory,
castToItemFactory, gTypeItemFactory,
Tooltips(Tooltips), TooltipsClass,
toTooltips,
mkTooltips, unTooltips,
castToTooltips, gTypeTooltips,
TreeViewColumn(TreeViewColumn), TreeViewColumnClass,
toTreeViewColumn,
mkTreeViewColumn, unTreeViewColumn,
castToTreeViewColumn, gTypeTreeViewColumn,
CellRenderer(CellRenderer), CellRendererClass,
toCellRenderer,
mkCellRenderer, unCellRenderer,
castToCellRenderer, gTypeCellRenderer,
CellRendererPixbuf(CellRendererPixbuf), CellRendererPixbufClass,
toCellRendererPixbuf,
mkCellRendererPixbuf, unCellRendererPixbuf,
castToCellRendererPixbuf, gTypeCellRendererPixbuf,
CellRendererText(CellRendererText), CellRendererTextClass,
toCellRendererText,
mkCellRendererText, unCellRendererText,
castToCellRendererText, gTypeCellRendererText,
CellRendererCombo(CellRendererCombo), CellRendererComboClass,
toCellRendererCombo,
mkCellRendererCombo, unCellRendererCombo,
castToCellRendererCombo, gTypeCellRendererCombo,
CellRendererToggle(CellRendererToggle), CellRendererToggleClass,
toCellRendererToggle,
mkCellRendererToggle, unCellRendererToggle,
castToCellRendererToggle, gTypeCellRendererToggle,
CellRendererProgress(CellRendererProgress), CellRendererProgressClass,
toCellRendererProgress,
mkCellRendererProgress, unCellRendererProgress,
castToCellRendererProgress, gTypeCellRendererProgress,
FileFilter(FileFilter), FileFilterClass,
toFileFilter,
mkFileFilter, unFileFilter,
castToFileFilter, gTypeFileFilter,
Builder(Builder), BuilderClass,
toBuilder,
mkBuilder, unBuilder,
castToBuilder, gTypeBuilder,
CellLayout(CellLayout), CellLayoutClass,
toCellLayout,
mkCellLayout, unCellLayout,
castToCellLayout, gTypeCellLayout,
TreeSortable(TreeSortable), TreeSortableClass,
toTreeSortable,
mkTreeSortable, unTreeSortable,
castToTreeSortable, gTypeTreeSortable,
StatusIcon(StatusIcon), StatusIconClass,
toStatusIcon,
mkStatusIcon, unStatusIcon,
castToStatusIcon, gTypeStatusIcon,
TreeSelection(TreeSelection), TreeSelectionClass,
toTreeSelection,
mkTreeSelection, unTreeSelection,
castToTreeSelection, gTypeTreeSelection,
TreeModel(TreeModel), TreeModelClass,
toTreeModel,
mkTreeModel, unTreeModel,
castToTreeModel, gTypeTreeModel,
TreeStore(TreeStore), TreeStoreClass,
toTreeStore,
mkTreeStore, unTreeStore,
castToTreeStore, gTypeTreeStore,
ListStore(ListStore), ListStoreClass,
toListStore,
mkListStore, unListStore,
castToListStore, gTypeListStore,
TreeModelSort(TreeModelSort), TreeModelSortClass,
toTreeModelSort,
mkTreeModelSort, unTreeModelSort,
castToTreeModelSort, gTypeTreeModelSort,
TreeModelFilter(TreeModelFilter), TreeModelFilterClass,
toTreeModelFilter,
mkTreeModelFilter, unTreeModelFilter,
castToTreeModelFilter, gTypeTreeModelFilter,
IconFactory(IconFactory), IconFactoryClass,
toIconFactory,
mkIconFactory, unIconFactory,
castToIconFactory, gTypeIconFactory,
IconTheme(IconTheme), IconThemeClass,
toIconTheme,
mkIconTheme, unIconTheme,
castToIconTheme, gTypeIconTheme,
SizeGroup(SizeGroup), SizeGroupClass,
toSizeGroup,
mkSizeGroup, unSizeGroup,
castToSizeGroup, gTypeSizeGroup,
Clipboard(Clipboard), ClipboardClass,
toClipboard,
mkClipboard, unClipboard,
castToClipboard, gTypeClipboard,
AccelGroup(AccelGroup), AccelGroupClass,
toAccelGroup,
mkAccelGroup, unAccelGroup,
castToAccelGroup, gTypeAccelGroup,
AccelMap(AccelMap), AccelMapClass,
toAccelMap,
mkAccelMap, unAccelMap,
castToAccelMap, gTypeAccelMap,
EntryCompletion(EntryCompletion), EntryCompletionClass,
toEntryCompletion,
mkEntryCompletion, unEntryCompletion,
castToEntryCompletion, gTypeEntryCompletion,
Action(Action), ActionClass,
toAction,
mkAction, unAction,
castToAction, gTypeAction,
ToggleAction(ToggleAction), ToggleActionClass,
toToggleAction,
mkToggleAction, unToggleAction,
castToToggleAction, gTypeToggleAction,
RadioAction(RadioAction), RadioActionClass,
toRadioAction,
mkRadioAction, unRadioAction,
castToRadioAction, gTypeRadioAction,
ActionGroup(ActionGroup), ActionGroupClass,
toActionGroup,
mkActionGroup, unActionGroup,
castToActionGroup, gTypeActionGroup,
UIManager(UIManager), UIManagerClass,
toUIManager,
mkUIManager, unUIManager,
castToUIManager, gTypeUIManager,
WindowGroup(WindowGroup), WindowGroupClass,
toWindowGroup,
mkWindowGroup, unWindowGroup,
castToWindowGroup, gTypeWindowGroup,
Editable(Editable), EditableClass,
toEditable,
mkEditable, unEditable,
castToEditable, gTypeEditable,
FileChooser(FileChooser), FileChooserClass,
toFileChooser,
mkFileChooser, unFileChooser,
castToFileChooser, gTypeFileChooser,
GC(GC), GCClass,
toGC,
mkGC, unGC,
castToGC, gTypeGC
) where
import Foreign.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr)
import Foreign.C.Types (CULong, CUInt)
import System.Glib.GType (GType, typeInstanceIsA)
{#import System.Glib.GObject#}
import Graphics.UI.Gtk.General.Threading
{# context lib="gtk" prefix="gtk" #}
-- The usage of foreignPtrToPtr should be safe as the evaluation will only be
-- forced if the object is used afterwards
--
castTo :: (GObjectClass obj, GObjectClass obj') => GType -> String
-> (obj -> obj')
castTo gtype objTypeName obj =
case toGObject obj of
gobj@(GObject objFPtr)
| typeInstanceIsA ((unsafeForeignPtrToPtr.castForeignPtr) objFPtr) gtype
-> unsafeCastGObject gobj
| otherwise -> error $ "Cannot cast object to " ++ objTypeName
-- ******************************************************************* Drawable
{#pointer *GdkDrawable as Drawable foreign newtype #} deriving (Eq,Ord)
mkDrawable = (Drawable, objectUnrefFromMainloop)
unDrawable (Drawable o) = o
class GObjectClass o => DrawableClass o
toDrawable :: DrawableClass o => o -> Drawable
toDrawable = unsafeCastGObject . toGObject
instance DrawableClass Drawable
instance GObjectClass Drawable where
toGObject = GObject . castForeignPtr . unDrawable
unsafeCastGObject = Drawable . castForeignPtr . unGObject
castToDrawable :: GObjectClass obj => obj -> Drawable
castToDrawable = castTo gTypeDrawable "Drawable"
gTypeDrawable :: GType
gTypeDrawable =
{# call fun unsafe gdk_drawable_get_type #}
-- ***************************************************************** DrawWindow
{#pointer *GdkWindow as DrawWindow foreign newtype #} deriving (Eq,Ord)
mkDrawWindow = (DrawWindow, objectUnrefFromMainloop)
unDrawWindow (DrawWindow o) = o
class DrawableClass o => DrawWindowClass o
toDrawWindow :: DrawWindowClass o => o -> DrawWindow
toDrawWindow = unsafeCastGObject . toGObject
instance DrawWindowClass DrawWindow
instance DrawableClass DrawWindow
instance GObjectClass DrawWindow where
toGObject = GObject . castForeignPtr . unDrawWindow
unsafeCastGObject = DrawWindow . castForeignPtr . unGObject
castToDrawWindow :: GObjectClass obj => obj -> DrawWindow
castToDrawWindow = castTo gTypeDrawWindow "DrawWindow"
gTypeDrawWindow :: GType
gTypeDrawWindow =
{# call fun unsafe gdk_window_object_get_type #}
-- ********************************************************************* Pixmap
{#pointer *GdkPixmap as Pixmap foreign newtype #} deriving (Eq,Ord)
mkPixmap = (Pixmap, objectUnrefFromMainloop)
unPixmap (Pixmap o) = o
class DrawableClass o => PixmapClass o
toPixmap :: PixmapClass o => o -> Pixmap
toPixmap = unsafeCastGObject . toGObject
instance PixmapClass Pixmap
instance DrawableClass Pixmap
instance GObjectClass Pixmap where
toGObject = GObject . castForeignPtr . unPixmap
unsafeCastGObject = Pixmap . castForeignPtr . unGObject
castToPixmap :: GObjectClass obj => obj -> Pixmap
castToPixmap = castTo gTypePixmap "Pixmap"
gTypePixmap :: GType
gTypePixmap =
{# call fun unsafe gdk_pixmap_get_type #}
-- ******************************************************************* Colormap
{#pointer *GdkColormap as Colormap foreign newtype #} deriving (Eq,Ord)
mkColormap = (Colormap, objectUnrefFromMainloop)
unColormap (Colormap o) = o
class GObjectClass o => ColormapClass o
toColormap :: ColormapClass o => o -> Colormap
toColormap = unsafeCastGObject . toGObject
instance ColormapClass Colormap
instance GObjectClass Colormap where
toGObject = GObject . castForeignPtr . unColormap
unsafeCastGObject = Colormap . castForeignPtr . unGObject
castToColormap :: GObjectClass obj => obj -> Colormap
castToColormap = castTo gTypeColormap "Colormap"
gTypeColormap :: GType
gTypeColormap =
{# call fun unsafe gdk_colormap_get_type #}
-- ********************************************************************* Screen
{#pointer *GdkScreen as Screen foreign newtype #} deriving (Eq,Ord)
mkScreen = (Screen, objectUnrefFromMainloop)
unScreen (Screen o) = o
class GObjectClass o => ScreenClass o
toScreen :: ScreenClass o => o -> Screen
toScreen = unsafeCastGObject . toGObject
instance ScreenClass Screen
instance GObjectClass Screen where
toGObject = GObject . castForeignPtr . unScreen
unsafeCastGObject = Screen . castForeignPtr . unGObject
castToScreen :: GObjectClass obj => obj -> Screen
castToScreen = castTo gTypeScreen "Screen"
gTypeScreen :: GType
gTypeScreen =
{# call fun unsafe gdk_screen_get_type #}
-- ******************************************************************** Display
{#pointer *GdkDisplay as Display foreign newtype #} deriving (Eq,Ord)
mkDisplay = (Display, objectUnrefFromMainloop)
unDisplay (Display o) = o
class GObjectClass o => DisplayClass o
toDisplay :: DisplayClass o => o -> Display
toDisplay = unsafeCastGObject . toGObject
instance DisplayClass Display
instance GObjectClass Display where
toGObject = GObject . castForeignPtr . unDisplay
unsafeCastGObject = Display . castForeignPtr . unGObject
castToDisplay :: GObjectClass obj => obj -> Display
castToDisplay = castTo gTypeDisplay "Display"
gTypeDisplay :: GType
gTypeDisplay =
{# call fun unsafe gdk_display_get_type #}
-- ********************************************************************* Visual
{#pointer *GdkVisual as Visual foreign newtype #} deriving (Eq,Ord)
mkVisual = (Visual, objectUnrefFromMainloop)
unVisual (Visual o) = o
class GObjectClass o => VisualClass o
toVisual :: VisualClass o => o -> Visual
toVisual = unsafeCastGObject . toGObject
instance VisualClass Visual
instance GObjectClass Visual where
toGObject = GObject . castForeignPtr . unVisual
unsafeCastGObject = Visual . castForeignPtr . unGObject
castToVisual :: GObjectClass obj => obj -> Visual
castToVisual = castTo gTypeVisual "Visual"
gTypeVisual :: GType
gTypeVisual =
{# call fun unsafe gdk_visual_get_type #}
-- ********************************************************************* Device
{#pointer *GdkDevice as Device foreign newtype #} deriving (Eq,Ord)
mkDevice = (Device, objectUnrefFromMainloop)
unDevice (Device o) = o
class GObjectClass o => DeviceClass o
toDevice :: DeviceClass o => o -> Device
toDevice = unsafeCastGObject . toGObject
instance DeviceClass Device
instance GObjectClass Device where
toGObject = GObject . castForeignPtr . unDevice
unsafeCastGObject = Device . castForeignPtr . unGObject
castToDevice :: GObjectClass obj => obj -> Device
castToDevice = castTo gTypeDevice "Device"
gTypeDevice :: GType
gTypeDevice =
{# call fun unsafe gdk_device_get_type #}
-- ******************************************************************* Settings
{#pointer *Settings foreign newtype #} deriving (Eq,Ord)
mkSettings = (Settings, objectUnrefFromMainloop)
unSettings (Settings o) = o
class GObjectClass o => SettingsClass o
toSettings :: SettingsClass o => o -> Settings
toSettings = unsafeCastGObject . toGObject
instance SettingsClass Settings
instance GObjectClass Settings where
toGObject = GObject . castForeignPtr . unSettings
unsafeCastGObject = Settings . castForeignPtr . unGObject
castToSettings :: GObjectClass obj => obj -> Settings
castToSettings = castTo gTypeSettings "Settings"
gTypeSettings :: GType
gTypeSettings =
{# call fun unsafe gtk_settings_get_type #}
-- ***************************************************************** TextBuffer
{#pointer *TextBuffer foreign newtype #} deriving (Eq,Ord)
mkTextBuffer = (TextBuffer, objectUnrefFromMainloop)
unTextBuffer (TextBuffer o) = o
class GObjectClass o => TextBufferClass o
toTextBuffer :: TextBufferClass o => o -> TextBuffer
toTextBuffer = unsafeCastGObject . toGObject
instance TextBufferClass TextBuffer
instance GObjectClass TextBuffer where
toGObject = GObject . castForeignPtr . unTextBuffer
unsafeCastGObject = TextBuffer . castForeignPtr . unGObject
castToTextBuffer :: GObjectClass obj => obj -> TextBuffer
castToTextBuffer = castTo gTypeTextBuffer "TextBuffer"
gTypeTextBuffer :: GType
gTypeTextBuffer =
{# call fun unsafe gtk_text_buffer_get_type #}
-- ******************************************************************** TextTag
{#pointer *TextTag foreign newtype #} deriving (Eq,Ord)
mkTextTag = (TextTag, objectUnrefFromMainloop)
unTextTag (TextTag o) = o
class GObjectClass o => TextTagClass o
toTextTag :: TextTagClass o => o -> TextTag
toTextTag = unsafeCastGObject . toGObject
instance TextTagClass TextTag
instance GObjectClass TextTag where
toGObject = GObject . castForeignPtr . unTextTag
unsafeCastGObject = TextTag . castForeignPtr . unGObject
castToTextTag :: GObjectClass obj => obj -> TextTag
castToTextTag = castTo gTypeTextTag "TextTag"
gTypeTextTag :: GType
gTypeTextTag =
{# call fun unsafe gtk_text_tag_get_type #}
-- *************************************************************** TextTagTable
{#pointer *TextTagTable foreign newtype #} deriving (Eq,Ord)
mkTextTagTable = (TextTagTable, objectUnrefFromMainloop)
unTextTagTable (TextTagTable o) = o
class GObjectClass o => TextTagTableClass o
toTextTagTable :: TextTagTableClass o => o -> TextTagTable
toTextTagTable = unsafeCastGObject . toGObject
instance TextTagTableClass TextTagTable
instance GObjectClass TextTagTable where
toGObject = GObject . castForeignPtr . unTextTagTable
unsafeCastGObject = TextTagTable . castForeignPtr . unGObject
castToTextTagTable :: GObjectClass obj => obj -> TextTagTable
castToTextTagTable = castTo gTypeTextTagTable "TextTagTable"
gTypeTextTagTable :: GType
gTypeTextTagTable =
{# call fun unsafe gtk_text_tag_table_get_type #}
-- ********************************************************************** Style
{#pointer *Style foreign newtype #} deriving (Eq,Ord)
mkStyle = (Style, objectUnrefFromMainloop)
unStyle (Style o) = o
class GObjectClass o => StyleClass o
toStyle :: StyleClass o => o -> Style
toStyle = unsafeCastGObject . toGObject
instance StyleClass Style
instance GObjectClass Style where
toGObject = GObject . castForeignPtr . unStyle
unsafeCastGObject = Style . castForeignPtr . unGObject
castToStyle :: GObjectClass obj => obj -> Style
castToStyle = castTo gTypeStyle "Style"
gTypeStyle :: GType
gTypeStyle =
{# call fun unsafe gtk_style_get_type #}
-- ******************************************************************** RcStyle
{#pointer *RcStyle foreign newtype #} deriving (Eq,Ord)
mkRcStyle = (RcStyle, objectUnrefFromMainloop)
unRcStyle (RcStyle o) = o
class GObjectClass o => RcStyleClass o
toRcStyle :: RcStyleClass o => o -> RcStyle
toRcStyle = unsafeCastGObject . toGObject
instance RcStyleClass RcStyle
instance GObjectClass RcStyle where
toGObject = GObject . castForeignPtr . unRcStyle
unsafeCastGObject = RcStyle . castForeignPtr . unGObject
castToRcStyle :: GObjectClass obj => obj -> RcStyle
castToRcStyle = castTo gTypeRcStyle "RcStyle"
gTypeRcStyle :: GType
gTypeRcStyle =
{# call fun unsafe gtk_rc_style_get_type #}
-- **************************************************************** DragContext
{#pointer *GdkDragContext as DragContext foreign newtype #} deriving (Eq,Ord)
mkDragContext = (DragContext, objectUnrefFromMainloop)
unDragContext (DragContext o) = o
class GObjectClass o => DragContextClass o
toDragContext :: DragContextClass o => o -> DragContext
toDragContext = unsafeCastGObject . toGObject
instance DragContextClass DragContext
instance GObjectClass DragContext where
toGObject = GObject . castForeignPtr . unDragContext
unsafeCastGObject = DragContext . castForeignPtr . unGObject
castToDragContext :: GObjectClass obj => obj -> DragContext
castToDragContext = castTo gTypeDragContext "DragContext"
gTypeDragContext :: GType
gTypeDragContext =
{# call fun unsafe gdk_drag_context_get_type #}
-- ********************************************************************* Pixbuf
{#pointer *GdkPixbuf as Pixbuf foreign newtype #} deriving (Eq,Ord)
mkPixbuf = (Pixbuf, objectUnrefFromMainloop)
unPixbuf (Pixbuf o) = o
class GObjectClass o => PixbufClass o
toPixbuf :: PixbufClass o => o -> Pixbuf
toPixbuf = unsafeCastGObject . toGObject
instance PixbufClass Pixbuf
instance GObjectClass Pixbuf where
toGObject = GObject . castForeignPtr . unPixbuf
unsafeCastGObject = Pixbuf . castForeignPtr . unGObject
castToPixbuf :: GObjectClass obj => obj -> Pixbuf
castToPixbuf = castTo gTypePixbuf "Pixbuf"
gTypePixbuf :: GType
gTypePixbuf =
{# call fun unsafe gdk_pixbuf_get_type #}
-- ************************************************************ PixbufAnimation
{#pointer *GdkPixbufAnimation as PixbufAnimation foreign newtype #} deriving (Eq,Ord)
mkPixbufAnimation = (PixbufAnimation, objectUnrefFromMainloop)
unPixbufAnimation (PixbufAnimation o) = o
class GObjectClass o => PixbufAnimationClass o
toPixbufAnimation :: PixbufAnimationClass o => o -> PixbufAnimation
toPixbufAnimation = unsafeCastGObject . toGObject
instance PixbufAnimationClass PixbufAnimation
instance GObjectClass PixbufAnimation where
toGObject = GObject . castForeignPtr . unPixbufAnimation
unsafeCastGObject = PixbufAnimation . castForeignPtr . unGObject
castToPixbufAnimation :: GObjectClass obj => obj -> PixbufAnimation
castToPixbufAnimation = castTo gTypePixbufAnimation "PixbufAnimation"
gTypePixbufAnimation :: GType
gTypePixbufAnimation =
{# call fun unsafe gdk_pixbuf_animation_get_type #}
-- *********************************************************** PixbufSimpleAnim
{#pointer *GdkPixbufSimpleAnim as PixbufSimpleAnim foreign newtype #} deriving (Eq,Ord)
mkPixbufSimpleAnim = (PixbufSimpleAnim, objectUnrefFromMainloop)
unPixbufSimpleAnim (PixbufSimpleAnim o) = o
class PixbufAnimationClass o => PixbufSimpleAnimClass o
toPixbufSimpleAnim :: PixbufSimpleAnimClass o => o -> PixbufSimpleAnim
toPixbufSimpleAnim = unsafeCastGObject . toGObject
instance PixbufSimpleAnimClass PixbufSimpleAnim
instance PixbufAnimationClass PixbufSimpleAnim
instance GObjectClass PixbufSimpleAnim where
toGObject = GObject . castForeignPtr . unPixbufSimpleAnim
unsafeCastGObject = PixbufSimpleAnim . castForeignPtr . unGObject
castToPixbufSimpleAnim :: GObjectClass obj => obj -> PixbufSimpleAnim
castToPixbufSimpleAnim = castTo gTypePixbufSimpleAnim "PixbufSimpleAnim"
gTypePixbufSimpleAnim :: GType
gTypePixbufSimpleAnim =
{# call fun unsafe gdk_pixbuf_simple_anim_get_type #}
-- ******************************************************** PixbufAnimationIter
{#pointer *GdkPixbufAnimationIter as PixbufAnimationIter foreign newtype #} deriving (Eq,Ord)
mkPixbufAnimationIter = (PixbufAnimationIter, objectUnrefFromMainloop)
unPixbufAnimationIter (PixbufAnimationIter o) = o
class GObjectClass o => PixbufAnimationIterClass o
toPixbufAnimationIter :: PixbufAnimationIterClass o => o -> PixbufAnimationIter
toPixbufAnimationIter = unsafeCastGObject . toGObject
instance PixbufAnimationIterClass PixbufAnimationIter
instance GObjectClass PixbufAnimationIter where
toGObject = GObject . castForeignPtr . unPixbufAnimationIter
unsafeCastGObject = PixbufAnimationIter . castForeignPtr . unGObject
castToPixbufAnimationIter :: GObjectClass obj => obj -> PixbufAnimationIter
castToPixbufAnimationIter = castTo gTypePixbufAnimationIter "PixbufAnimationIter"
gTypePixbufAnimationIter :: GType
gTypePixbufAnimationIter =
{# call fun unsafe gdk_pixbuf_animation_iter_get_type #}
-- ************************************************************ TextChildAnchor
{#pointer *TextChildAnchor foreign newtype #} deriving (Eq,Ord)
mkTextChildAnchor = (TextChildAnchor, objectUnrefFromMainloop)
unTextChildAnchor (TextChildAnchor o) = o
class GObjectClass o => TextChildAnchorClass o
toTextChildAnchor :: TextChildAnchorClass o => o -> TextChildAnchor
toTextChildAnchor = unsafeCastGObject . toGObject
instance TextChildAnchorClass TextChildAnchor
instance GObjectClass TextChildAnchor where
toGObject = GObject . castForeignPtr . unTextChildAnchor
unsafeCastGObject = TextChildAnchor . castForeignPtr . unGObject
castToTextChildAnchor :: GObjectClass obj => obj -> TextChildAnchor
castToTextChildAnchor = castTo gTypeTextChildAnchor "TextChildAnchor"
gTypeTextChildAnchor :: GType
gTypeTextChildAnchor =
{# call fun unsafe gtk_text_child_anchor_get_type #}
-- ******************************************************************* TextMark
{#pointer *TextMark foreign newtype #} deriving (Eq,Ord)
mkTextMark = (TextMark, objectUnrefFromMainloop)
unTextMark (TextMark o) = o
class GObjectClass o => TextMarkClass o
toTextMark :: TextMarkClass o => o -> TextMark
toTextMark = unsafeCastGObject . toGObject
instance TextMarkClass TextMark
instance GObjectClass TextMark where
toGObject = GObject . castForeignPtr . unTextMark
unsafeCastGObject = TextMark . castForeignPtr . unGObject
castToTextMark :: GObjectClass obj => obj -> TextMark
castToTextMark = castTo gTypeTextMark "TextMark"
gTypeTextMark :: GType
gTypeTextMark =
{# call fun unsafe gtk_text_mark_get_type #}
-- ********************************************************************* Object
{#pointer *Object foreign newtype #} deriving (Eq,Ord)
mkObject = (Object, objectUnrefFromMainloop)
unObject (Object o) = o
class GObjectClass o => ObjectClass o
toObject :: ObjectClass o => o -> Object
toObject = unsafeCastGObject . toGObject
instance ObjectClass Object
instance GObjectClass Object where
toGObject = GObject . castForeignPtr . unObject
unsafeCastGObject = Object . castForeignPtr . unGObject
castToObject :: GObjectClass obj => obj -> Object
castToObject = castTo gTypeObject "Object"
gTypeObject :: GType
gTypeObject =
{# call fun unsafe gtk_object_get_type #}
-- ********************************************************************* Widget
{#pointer *Widget foreign newtype #} deriving (Eq,Ord)
mkWidget = (Widget, objectUnrefFromMainloop)
unWidget (Widget o) = o
class ObjectClass o => WidgetClass o
toWidget :: WidgetClass o => o -> Widget
toWidget = unsafeCastGObject . toGObject
instance WidgetClass Widget
instance ObjectClass Widget
instance GObjectClass Widget where
toGObject = GObject . castForeignPtr . unWidget
unsafeCastGObject = Widget . castForeignPtr . unGObject
castToWidget :: GObjectClass obj => obj -> Widget
castToWidget = castTo gTypeWidget "Widget"
gTypeWidget :: GType
gTypeWidget =
{# call fun unsafe gtk_widget_get_type #}
-- *********************************************************************** Misc
{#pointer *Misc foreign newtype #} deriving (Eq,Ord)
mkMisc = (Misc, objectUnrefFromMainloop)
unMisc (Misc o) = o
class WidgetClass o => MiscClass o
toMisc :: MiscClass o => o -> Misc
toMisc = unsafeCastGObject . toGObject
instance MiscClass Misc
instance WidgetClass Misc
instance ObjectClass Misc
instance GObjectClass Misc where
toGObject = GObject . castForeignPtr . unMisc
unsafeCastGObject = Misc . castForeignPtr . unGObject
castToMisc :: GObjectClass obj => obj -> Misc
castToMisc = castTo gTypeMisc "Misc"
gTypeMisc :: GType
gTypeMisc =
{# call fun unsafe gtk_misc_get_type #}
-- ********************************************************************** Label
{#pointer *Label foreign newtype #} deriving (Eq,Ord)
mkLabel = (Label, objectUnrefFromMainloop)
unLabel (Label o) = o
class MiscClass o => LabelClass o
toLabel :: LabelClass o => o -> Label
toLabel = unsafeCastGObject . toGObject
instance LabelClass Label
instance MiscClass Label
instance WidgetClass Label
instance ObjectClass Label
instance GObjectClass Label where
toGObject = GObject . castForeignPtr . unLabel
unsafeCastGObject = Label . castForeignPtr . unGObject
castToLabel :: GObjectClass obj => obj -> Label
castToLabel = castTo gTypeLabel "Label"
gTypeLabel :: GType
gTypeLabel =
{# call fun unsafe gtk_label_get_type #}
-- ***************************************************************** AccelLabel
{#pointer *AccelLabel foreign newtype #} deriving (Eq,Ord)
mkAccelLabel = (AccelLabel, objectUnrefFromMainloop)
unAccelLabel (AccelLabel o) = o
class LabelClass o => AccelLabelClass o
toAccelLabel :: AccelLabelClass o => o -> AccelLabel
toAccelLabel = unsafeCastGObject . toGObject
instance AccelLabelClass AccelLabel
instance LabelClass AccelLabel
instance MiscClass AccelLabel
instance WidgetClass AccelLabel
instance ObjectClass AccelLabel
instance GObjectClass AccelLabel where
toGObject = GObject . castForeignPtr . unAccelLabel
unsafeCastGObject = AccelLabel . castForeignPtr . unGObject
castToAccelLabel :: GObjectClass obj => obj -> AccelLabel
castToAccelLabel = castTo gTypeAccelLabel "AccelLabel"
gTypeAccelLabel :: GType
gTypeAccelLabel =
{# call fun unsafe gtk_accel_label_get_type #}
-- ****************************************************************** TipsQuery
{#pointer *TipsQuery foreign newtype #} deriving (Eq,Ord)
mkTipsQuery = (TipsQuery, objectUnrefFromMainloop)
unTipsQuery (TipsQuery o) = o
class LabelClass o => TipsQueryClass o
toTipsQuery :: TipsQueryClass o => o -> TipsQuery
toTipsQuery = unsafeCastGObject . toGObject
instance TipsQueryClass TipsQuery
instance LabelClass TipsQuery
instance MiscClass TipsQuery
instance WidgetClass TipsQuery
instance ObjectClass TipsQuery
instance GObjectClass TipsQuery where
toGObject = GObject . castForeignPtr . unTipsQuery
unsafeCastGObject = TipsQuery . castForeignPtr . unGObject
castToTipsQuery :: GObjectClass obj => obj -> TipsQuery
castToTipsQuery = castTo gTypeTipsQuery "TipsQuery"
gTypeTipsQuery :: GType
gTypeTipsQuery =
{# call fun unsafe gtk_tips_query_get_type #}
-- ********************************************************************** Arrow
{#pointer *Arrow foreign newtype #} deriving (Eq,Ord)
mkArrow = (Arrow, objectUnrefFromMainloop)
unArrow (Arrow o) = o
class MiscClass o => ArrowClass o
toArrow :: ArrowClass o => o -> Arrow
toArrow = unsafeCastGObject . toGObject
instance ArrowClass Arrow
instance MiscClass Arrow
instance WidgetClass Arrow
instance ObjectClass Arrow
instance GObjectClass Arrow where
toGObject = GObject . castForeignPtr . unArrow
unsafeCastGObject = Arrow . castForeignPtr . unGObject
castToArrow :: GObjectClass obj => obj -> Arrow
castToArrow = castTo gTypeArrow "Arrow"
gTypeArrow :: GType
gTypeArrow =
{# call fun unsafe gtk_arrow_get_type #}
-- ********************************************************************** Image
{#pointer *Image foreign newtype #} deriving (Eq,Ord)
mkImage = (Image, objectUnrefFromMainloop)
unImage (Image o) = o
class MiscClass o => ImageClass o
toImage :: ImageClass o => o -> Image
toImage = unsafeCastGObject . toGObject
instance ImageClass Image
instance MiscClass Image
instance WidgetClass Image
instance ObjectClass Image
instance GObjectClass Image where
toGObject = GObject . castForeignPtr . unImage
unsafeCastGObject = Image . castForeignPtr . unGObject
castToImage :: GObjectClass obj => obj -> Image
castToImage = castTo gTypeImage "Image"
gTypeImage :: GType
gTypeImage =
{# call fun unsafe gtk_image_get_type #}
-- ****************************************************************** Container
{#pointer *Container foreign newtype #} deriving (Eq,Ord)
mkContainer = (Container, objectUnrefFromMainloop)
unContainer (Container o) = o
class WidgetClass o => ContainerClass o
toContainer :: ContainerClass o => o -> Container
toContainer = unsafeCastGObject . toGObject
instance ContainerClass Container
instance WidgetClass Container
instance ObjectClass Container
instance GObjectClass Container where
toGObject = GObject . castForeignPtr . unContainer
unsafeCastGObject = Container . castForeignPtr . unGObject
castToContainer :: GObjectClass obj => obj -> Container
castToContainer = castTo gTypeContainer "Container"
gTypeContainer :: GType
gTypeContainer =
{# call fun unsafe gtk_container_get_type #}
-- ************************************************************************ Bin
{#pointer *Bin foreign newtype #} deriving (Eq,Ord)
mkBin = (Bin, objectUnrefFromMainloop)
unBin (Bin o) = o
class ContainerClass o => BinClass o
toBin :: BinClass o => o -> Bin
toBin = unsafeCastGObject . toGObject
instance BinClass Bin
instance ContainerClass Bin
instance WidgetClass Bin
instance ObjectClass Bin
instance GObjectClass Bin where
toGObject = GObject . castForeignPtr . unBin
unsafeCastGObject = Bin . castForeignPtr . unGObject
castToBin :: GObjectClass obj => obj -> Bin
castToBin = castTo gTypeBin "Bin"
gTypeBin :: GType
gTypeBin =
{# call fun unsafe gtk_bin_get_type #}
-- ****************************************************************** Alignment
{#pointer *Alignment foreign newtype #} deriving (Eq,Ord)
mkAlignment = (Alignment, objectUnrefFromMainloop)
unAlignment (Alignment o) = o
class BinClass o => AlignmentClass o
toAlignment :: AlignmentClass o => o -> Alignment
toAlignment = unsafeCastGObject . toGObject
instance AlignmentClass Alignment
instance BinClass Alignment
instance ContainerClass Alignment
instance WidgetClass Alignment
instance ObjectClass Alignment
instance GObjectClass Alignment where
toGObject = GObject . castForeignPtr . unAlignment
unsafeCastGObject = Alignment . castForeignPtr . unGObject
castToAlignment :: GObjectClass obj => obj -> Alignment
castToAlignment = castTo gTypeAlignment "Alignment"
gTypeAlignment :: GType
gTypeAlignment =
{# call fun unsafe gtk_alignment_get_type #}
-- ********************************************************************** Frame
{#pointer *Frame foreign newtype #} deriving (Eq,Ord)
mkFrame = (Frame, objectUnrefFromMainloop)
unFrame (Frame o) = o
class BinClass o => FrameClass o
toFrame :: FrameClass o => o -> Frame
toFrame = unsafeCastGObject . toGObject
instance FrameClass Frame
instance BinClass Frame
instance ContainerClass Frame
instance WidgetClass Frame
instance ObjectClass Frame
instance GObjectClass Frame where
toGObject = GObject . castForeignPtr . unFrame
unsafeCastGObject = Frame . castForeignPtr . unGObject
castToFrame :: GObjectClass obj => obj -> Frame
castToFrame = castTo gTypeFrame "Frame"
gTypeFrame :: GType
gTypeFrame =
{# call fun unsafe gtk_frame_get_type #}
-- **************************************************************** AspectFrame
{#pointer *AspectFrame foreign newtype #} deriving (Eq,Ord)
mkAspectFrame = (AspectFrame, objectUnrefFromMainloop)
unAspectFrame (AspectFrame o) = o
class FrameClass o => AspectFrameClass o
toAspectFrame :: AspectFrameClass o => o -> AspectFrame
toAspectFrame = unsafeCastGObject . toGObject
instance AspectFrameClass AspectFrame
instance FrameClass AspectFrame
instance BinClass AspectFrame
instance ContainerClass AspectFrame
instance WidgetClass AspectFrame
instance ObjectClass AspectFrame
instance GObjectClass AspectFrame where
toGObject = GObject . castForeignPtr . unAspectFrame
unsafeCastGObject = AspectFrame . castForeignPtr . unGObject
castToAspectFrame :: GObjectClass obj => obj -> AspectFrame
castToAspectFrame = castTo gTypeAspectFrame "AspectFrame"
gTypeAspectFrame :: GType
gTypeAspectFrame =
{# call fun unsafe gtk_aspect_frame_get_type #}
-- ********************************************************************* Button
{#pointer *Button foreign newtype #} deriving (Eq,Ord)
mkButton = (Button, objectUnrefFromMainloop)
unButton (Button o) = o
class BinClass o => ButtonClass o
toButton :: ButtonClass o => o -> Button
toButton = unsafeCastGObject . toGObject
instance ButtonClass Button
instance BinClass Button
instance ContainerClass Button
instance WidgetClass Button
instance ObjectClass Button
instance GObjectClass Button where
toGObject = GObject . castForeignPtr . unButton
unsafeCastGObject = Button . castForeignPtr . unGObject
castToButton :: GObjectClass obj => obj -> Button
castToButton = castTo gTypeButton "Button"
gTypeButton :: GType
gTypeButton =
{# call fun unsafe gtk_button_get_type #}
-- *************************************************************** ToggleButton
{#pointer *ToggleButton foreign newtype #} deriving (Eq,Ord)
mkToggleButton = (ToggleButton, objectUnrefFromMainloop)
unToggleButton (ToggleButton o) = o
class ButtonClass o => ToggleButtonClass o
toToggleButton :: ToggleButtonClass o => o -> ToggleButton
toToggleButton = unsafeCastGObject . toGObject
instance ToggleButtonClass ToggleButton
instance ButtonClass ToggleButton
instance BinClass ToggleButton
instance ContainerClass ToggleButton
instance WidgetClass ToggleButton
instance ObjectClass ToggleButton
instance GObjectClass ToggleButton where
toGObject = GObject . castForeignPtr . unToggleButton
unsafeCastGObject = ToggleButton . castForeignPtr . unGObject
castToToggleButton :: GObjectClass obj => obj -> ToggleButton
castToToggleButton = castTo gTypeToggleButton "ToggleButton"
gTypeToggleButton :: GType
gTypeToggleButton =
{# call fun unsafe gtk_toggle_button_get_type #}
-- **************************************************************** CheckButton
{#pointer *CheckButton foreign newtype #} deriving (Eq,Ord)
mkCheckButton = (CheckButton, objectUnrefFromMainloop)
unCheckButton (CheckButton o) = o
class ToggleButtonClass o => CheckButtonClass o
toCheckButton :: CheckButtonClass o => o -> CheckButton
toCheckButton = unsafeCastGObject . toGObject
instance CheckButtonClass CheckButton
instance ToggleButtonClass CheckButton
instance ButtonClass CheckButton
instance BinClass CheckButton
instance ContainerClass CheckButton
instance WidgetClass CheckButton
instance ObjectClass CheckButton
instance GObjectClass CheckButton where
toGObject = GObject . castForeignPtr . unCheckButton
unsafeCastGObject = CheckButton . castForeignPtr . unGObject
castToCheckButton :: GObjectClass obj => obj -> CheckButton
castToCheckButton = castTo gTypeCheckButton "CheckButton"
gTypeCheckButton :: GType
gTypeCheckButton =
{# call fun unsafe gtk_check_button_get_type #}
-- **************************************************************** RadioButton
{#pointer *RadioButton foreign newtype #} deriving (Eq,Ord)
mkRadioButton = (RadioButton, objectUnrefFromMainloop)
unRadioButton (RadioButton o) = o
class CheckButtonClass o => RadioButtonClass o
toRadioButton :: RadioButtonClass o => o -> RadioButton
toRadioButton = unsafeCastGObject . toGObject
instance RadioButtonClass RadioButton
instance CheckButtonClass RadioButton
instance ToggleButtonClass RadioButton
instance ButtonClass RadioButton
instance BinClass RadioButton
instance ContainerClass RadioButton
instance WidgetClass RadioButton
instance ObjectClass RadioButton
instance GObjectClass RadioButton where
toGObject = GObject . castForeignPtr . unRadioButton
unsafeCastGObject = RadioButton . castForeignPtr . unGObject
castToRadioButton :: GObjectClass obj => obj -> RadioButton
castToRadioButton = castTo gTypeRadioButton "RadioButton"
gTypeRadioButton :: GType
gTypeRadioButton =
{# call fun unsafe gtk_radio_button_get_type #}
-- **************************************************************** ColorButton
{#pointer *ColorButton foreign newtype #} deriving (Eq,Ord)
mkColorButton = (ColorButton, objectUnrefFromMainloop)
unColorButton (ColorButton o) = o
class ButtonClass o => ColorButtonClass o
toColorButton :: ColorButtonClass o => o -> ColorButton
toColorButton = unsafeCastGObject . toGObject
instance ColorButtonClass ColorButton
instance ButtonClass ColorButton
instance BinClass ColorButton
instance ContainerClass ColorButton
instance WidgetClass ColorButton
instance ObjectClass ColorButton
instance GObjectClass ColorButton where
toGObject = GObject . castForeignPtr . unColorButton
unsafeCastGObject = ColorButton . castForeignPtr . unGObject
castToColorButton :: GObjectClass obj => obj -> ColorButton
castToColorButton = castTo gTypeColorButton "ColorButton"
gTypeColorButton :: GType
gTypeColorButton =
{# call fun unsafe gtk_color_button_get_type #}
-- ***************************************************************** FontButton
{#pointer *FontButton foreign newtype #} deriving (Eq,Ord)
mkFontButton = (FontButton, objectUnrefFromMainloop)
unFontButton (FontButton o) = o
class ButtonClass o => FontButtonClass o
toFontButton :: FontButtonClass o => o -> FontButton
toFontButton = unsafeCastGObject . toGObject
instance FontButtonClass FontButton
instance ButtonClass FontButton
instance BinClass FontButton
instance ContainerClass FontButton
instance WidgetClass FontButton
instance ObjectClass FontButton
instance GObjectClass FontButton where
toGObject = GObject . castForeignPtr . unFontButton
unsafeCastGObject = FontButton . castForeignPtr . unGObject
castToFontButton :: GObjectClass obj => obj -> FontButton
castToFontButton = castTo gTypeFontButton "FontButton"
gTypeFontButton :: GType
gTypeFontButton =
{# call fun unsafe gtk_font_button_get_type #}
-- ***************************************************************** OptionMenu
{#pointer *OptionMenu foreign newtype #} deriving (Eq,Ord)
mkOptionMenu = (OptionMenu, objectUnrefFromMainloop)
unOptionMenu (OptionMenu o) = o
class ButtonClass o => OptionMenuClass o
toOptionMenu :: OptionMenuClass o => o -> OptionMenu
toOptionMenu = unsafeCastGObject . toGObject
instance OptionMenuClass OptionMenu
instance ButtonClass OptionMenu
instance BinClass OptionMenu
instance ContainerClass OptionMenu
instance WidgetClass OptionMenu
instance ObjectClass OptionMenu
instance GObjectClass OptionMenu where
toGObject = GObject . castForeignPtr . unOptionMenu
unsafeCastGObject = OptionMenu . castForeignPtr . unGObject
castToOptionMenu :: GObjectClass obj => obj -> OptionMenu
castToOptionMenu = castTo gTypeOptionMenu "OptionMenu"
gTypeOptionMenu :: GType
gTypeOptionMenu =
{# call fun unsafe gtk_option_menu_get_type #}
-- *********************************************************************** Item
{#pointer *Item foreign newtype #} deriving (Eq,Ord)
mkItem = (Item, objectUnrefFromMainloop)
unItem (Item o) = o
class BinClass o => ItemClass o
toItem :: ItemClass o => o -> Item
toItem = unsafeCastGObject . toGObject
instance ItemClass Item
instance BinClass Item
instance ContainerClass Item
instance WidgetClass Item
instance ObjectClass Item
instance GObjectClass Item where
toGObject = GObject . castForeignPtr . unItem
unsafeCastGObject = Item . castForeignPtr . unGObject
castToItem :: GObjectClass obj => obj -> Item
castToItem = castTo gTypeItem "Item"
gTypeItem :: GType
gTypeItem =
{# call fun unsafe gtk_item_get_type #}
-- ******************************************************************* MenuItem
{#pointer *MenuItem foreign newtype #} deriving (Eq,Ord)
mkMenuItem = (MenuItem, objectUnrefFromMainloop)
unMenuItem (MenuItem o) = o
class ItemClass o => MenuItemClass o
toMenuItem :: MenuItemClass o => o -> MenuItem
toMenuItem = unsafeCastGObject . toGObject
instance MenuItemClass MenuItem
instance ItemClass MenuItem
instance BinClass MenuItem
instance ContainerClass MenuItem
instance WidgetClass MenuItem
instance ObjectClass MenuItem
instance GObjectClass MenuItem where
toGObject = GObject . castForeignPtr . unMenuItem
unsafeCastGObject = MenuItem . castForeignPtr . unGObject
castToMenuItem :: GObjectClass obj => obj -> MenuItem
castToMenuItem = castTo gTypeMenuItem "MenuItem"
gTypeMenuItem :: GType
gTypeMenuItem =
{# call fun unsafe gtk_menu_item_get_type #}
-- ************************************************************** CheckMenuItem
{#pointer *CheckMenuItem foreign newtype #} deriving (Eq,Ord)
mkCheckMenuItem = (CheckMenuItem, objectUnrefFromMainloop)
unCheckMenuItem (CheckMenuItem o) = o
class MenuItemClass o => CheckMenuItemClass o
toCheckMenuItem :: CheckMenuItemClass o => o -> CheckMenuItem
toCheckMenuItem = unsafeCastGObject . toGObject
instance CheckMenuItemClass CheckMenuItem
instance MenuItemClass CheckMenuItem
instance ItemClass CheckMenuItem
instance BinClass CheckMenuItem
instance ContainerClass CheckMenuItem
instance WidgetClass CheckMenuItem
instance ObjectClass CheckMenuItem
instance GObjectClass CheckMenuItem where
toGObject = GObject . castForeignPtr . unCheckMenuItem
unsafeCastGObject = CheckMenuItem . castForeignPtr . unGObject
castToCheckMenuItem :: GObjectClass obj => obj -> CheckMenuItem
castToCheckMenuItem = castTo gTypeCheckMenuItem "CheckMenuItem"
gTypeCheckMenuItem :: GType
gTypeCheckMenuItem =
{# call fun unsafe gtk_check_menu_item_get_type #}
-- ************************************************************** RadioMenuItem
{#pointer *RadioMenuItem foreign newtype #} deriving (Eq,Ord)
mkRadioMenuItem = (RadioMenuItem, objectUnrefFromMainloop)
unRadioMenuItem (RadioMenuItem o) = o
class CheckMenuItemClass o => RadioMenuItemClass o
toRadioMenuItem :: RadioMenuItemClass o => o -> RadioMenuItem
toRadioMenuItem = unsafeCastGObject . toGObject
instance RadioMenuItemClass RadioMenuItem
instance CheckMenuItemClass RadioMenuItem
instance MenuItemClass RadioMenuItem
instance ItemClass RadioMenuItem
instance BinClass RadioMenuItem
instance ContainerClass RadioMenuItem
instance WidgetClass RadioMenuItem
instance ObjectClass RadioMenuItem
instance GObjectClass RadioMenuItem where
toGObject = GObject . castForeignPtr . unRadioMenuItem
unsafeCastGObject = RadioMenuItem . castForeignPtr . unGObject
castToRadioMenuItem :: GObjectClass obj => obj -> RadioMenuItem
castToRadioMenuItem = castTo gTypeRadioMenuItem "RadioMenuItem"
gTypeRadioMenuItem :: GType
gTypeRadioMenuItem =
{# call fun unsafe gtk_radio_menu_item_get_type #}
-- ************************************************************ TearoffMenuItem
{#pointer *TearoffMenuItem foreign newtype #} deriving (Eq,Ord)
mkTearoffMenuItem = (TearoffMenuItem, objectUnrefFromMainloop)
unTearoffMenuItem (TearoffMenuItem o) = o
class MenuItemClass o => TearoffMenuItemClass o
toTearoffMenuItem :: TearoffMenuItemClass o => o -> TearoffMenuItem
toTearoffMenuItem = unsafeCastGObject . toGObject
instance TearoffMenuItemClass TearoffMenuItem
instance MenuItemClass TearoffMenuItem
instance ItemClass TearoffMenuItem
instance BinClass TearoffMenuItem
instance ContainerClass TearoffMenuItem
instance WidgetClass TearoffMenuItem
instance ObjectClass TearoffMenuItem
instance GObjectClass TearoffMenuItem where
toGObject = GObject . castForeignPtr . unTearoffMenuItem
unsafeCastGObject = TearoffMenuItem . castForeignPtr . unGObject
castToTearoffMenuItem :: GObjectClass obj => obj -> TearoffMenuItem
castToTearoffMenuItem = castTo gTypeTearoffMenuItem "TearoffMenuItem"
gTypeTearoffMenuItem :: GType
gTypeTearoffMenuItem =
{# call fun unsafe gtk_tearoff_menu_item_get_type #}
-- ************************************************************** ImageMenuItem
{#pointer *ImageMenuItem foreign newtype #} deriving (Eq,Ord)
mkImageMenuItem = (ImageMenuItem, objectUnrefFromMainloop)
unImageMenuItem (ImageMenuItem o) = o
class MenuItemClass o => ImageMenuItemClass o
toImageMenuItem :: ImageMenuItemClass o => o -> ImageMenuItem
toImageMenuItem = unsafeCastGObject . toGObject
instance ImageMenuItemClass ImageMenuItem
instance MenuItemClass ImageMenuItem
instance ItemClass ImageMenuItem
instance BinClass ImageMenuItem
instance ContainerClass ImageMenuItem
instance WidgetClass ImageMenuItem
instance ObjectClass ImageMenuItem
instance GObjectClass ImageMenuItem where
toGObject = GObject . castForeignPtr . unImageMenuItem
unsafeCastGObject = ImageMenuItem . castForeignPtr . unGObject
castToImageMenuItem :: GObjectClass obj => obj -> ImageMenuItem
castToImageMenuItem = castTo gTypeImageMenuItem "ImageMenuItem"
gTypeImageMenuItem :: GType
gTypeImageMenuItem =
{# call fun unsafe gtk_image_menu_item_get_type #}
-- ********************************************************** SeparatorMenuItem
{#pointer *SeparatorMenuItem foreign newtype #} deriving (Eq,Ord)
mkSeparatorMenuItem = (SeparatorMenuItem, objectUnrefFromMainloop)
unSeparatorMenuItem (SeparatorMenuItem o) = o
class MenuItemClass o => SeparatorMenuItemClass o
toSeparatorMenuItem :: SeparatorMenuItemClass o => o -> SeparatorMenuItem
toSeparatorMenuItem = unsafeCastGObject . toGObject
instance SeparatorMenuItemClass SeparatorMenuItem
instance MenuItemClass SeparatorMenuItem
instance ItemClass SeparatorMenuItem
instance BinClass SeparatorMenuItem
instance ContainerClass SeparatorMenuItem
instance WidgetClass SeparatorMenuItem
instance ObjectClass SeparatorMenuItem
instance GObjectClass SeparatorMenuItem where
toGObject = GObject . castForeignPtr . unSeparatorMenuItem
unsafeCastGObject = SeparatorMenuItem . castForeignPtr . unGObject
castToSeparatorMenuItem :: GObjectClass obj => obj -> SeparatorMenuItem
castToSeparatorMenuItem = castTo gTypeSeparatorMenuItem "SeparatorMenuItem"
gTypeSeparatorMenuItem :: GType
gTypeSeparatorMenuItem =
{# call fun unsafe gtk_separator_menu_item_get_type #}
-- ******************************************************************* ListItem
{#pointer *ListItem foreign newtype #} deriving (Eq,Ord)
mkListItem = (ListItem, objectUnrefFromMainloop)
unListItem (ListItem o) = o
class ItemClass o => ListItemClass o
toListItem :: ListItemClass o => o -> ListItem
toListItem = unsafeCastGObject . toGObject
instance ListItemClass ListItem
instance ItemClass ListItem
instance BinClass ListItem
instance ContainerClass ListItem
instance WidgetClass ListItem
instance ObjectClass ListItem
instance GObjectClass ListItem where
toGObject = GObject . castForeignPtr . unListItem
unsafeCastGObject = ListItem . castForeignPtr . unGObject
castToListItem :: GObjectClass obj => obj -> ListItem
castToListItem = castTo gTypeListItem "ListItem"
gTypeListItem :: GType
gTypeListItem =
{# call fun unsafe gtk_list_item_get_type #}
-- ********************************************************************* Window
{#pointer *Window foreign newtype #} deriving (Eq,Ord)
mkWindow = (Window, objectUnrefFromMainloop)
unWindow (Window o) = o
class BinClass o => WindowClass o
toWindow :: WindowClass o => o -> Window
toWindow = unsafeCastGObject . toGObject
instance WindowClass Window
instance BinClass Window
instance ContainerClass Window
instance WidgetClass Window
instance ObjectClass Window
instance GObjectClass Window where
toGObject = GObject . castForeignPtr . unWindow
unsafeCastGObject = Window . castForeignPtr . unGObject
castToWindow :: GObjectClass obj => obj -> Window
castToWindow = castTo gTypeWindow "Window"
gTypeWindow :: GType
gTypeWindow =
{# call fun unsafe gtk_window_get_type #}
-- ********************************************************************* Dialog
{#pointer *Dialog foreign newtype #} deriving (Eq,Ord)
mkDialog = (Dialog, objectUnrefFromMainloop)
unDialog (Dialog o) = o
class WindowClass o => DialogClass o
toDialog :: DialogClass o => o -> Dialog
toDialog = unsafeCastGObject . toGObject
instance DialogClass Dialog
instance WindowClass Dialog
instance BinClass Dialog
instance ContainerClass Dialog
instance WidgetClass Dialog
instance ObjectClass Dialog
instance GObjectClass Dialog where
toGObject = GObject . castForeignPtr . unDialog
unsafeCastGObject = Dialog . castForeignPtr . unGObject
castToDialog :: GObjectClass obj => obj -> Dialog
castToDialog = castTo gTypeDialog "Dialog"
gTypeDialog :: GType
gTypeDialog =
{# call fun unsafe gtk_dialog_get_type #}
-- **************************************************************** AboutDialog
{#pointer *AboutDialog foreign newtype #} deriving (Eq,Ord)
mkAboutDialog = (AboutDialog, objectUnrefFromMainloop)
unAboutDialog (AboutDialog o) = o
class DialogClass o => AboutDialogClass o
toAboutDialog :: AboutDialogClass o => o -> AboutDialog
toAboutDialog = unsafeCastGObject . toGObject
instance AboutDialogClass AboutDialog
instance DialogClass AboutDialog
instance WindowClass AboutDialog
instance BinClass AboutDialog
instance ContainerClass AboutDialog
instance WidgetClass AboutDialog
instance ObjectClass AboutDialog
instance GObjectClass AboutDialog where
toGObject = GObject . castForeignPtr . unAboutDialog
unsafeCastGObject = AboutDialog . castForeignPtr . unGObject
castToAboutDialog :: GObjectClass obj => obj -> AboutDialog
castToAboutDialog = castTo gTypeAboutDialog "AboutDialog"
gTypeAboutDialog :: GType
gTypeAboutDialog =
{# call fun unsafe gtk_about_dialog_get_type #}
-- ******************************************************* ColorSelectionDialog
{#pointer *ColorSelectionDialog foreign newtype #} deriving (Eq,Ord)
mkColorSelectionDialog = (ColorSelectionDialog, objectUnrefFromMainloop)
unColorSelectionDialog (ColorSelectionDialog o) = o
class DialogClass o => ColorSelectionDialogClass o
toColorSelectionDialog :: ColorSelectionDialogClass o => o -> ColorSelectionDialog
toColorSelectionDialog = unsafeCastGObject . toGObject
instance ColorSelectionDialogClass ColorSelectionDialog
instance DialogClass ColorSelectionDialog
instance WindowClass ColorSelectionDialog
instance BinClass ColorSelectionDialog
instance ContainerClass ColorSelectionDialog
instance WidgetClass ColorSelectionDialog
instance ObjectClass ColorSelectionDialog
instance GObjectClass ColorSelectionDialog where
toGObject = GObject . castForeignPtr . unColorSelectionDialog
unsafeCastGObject = ColorSelectionDialog . castForeignPtr . unGObject
castToColorSelectionDialog :: GObjectClass obj => obj -> ColorSelectionDialog
castToColorSelectionDialog = castTo gTypeColorSelectionDialog "ColorSelectionDialog"
gTypeColorSelectionDialog :: GType
gTypeColorSelectionDialog =
{# call fun unsafe gtk_color_selection_dialog_get_type #}
-- ************************************************************** FileSelection
{#pointer *FileSelection foreign newtype #} deriving (Eq,Ord)
mkFileSelection = (FileSelection, objectUnrefFromMainloop)
unFileSelection (FileSelection o) = o
class DialogClass o => FileSelectionClass o
toFileSelection :: FileSelectionClass o => o -> FileSelection
toFileSelection = unsafeCastGObject . toGObject
instance FileSelectionClass FileSelection
instance DialogClass FileSelection
instance WindowClass FileSelection
instance BinClass FileSelection
instance ContainerClass FileSelection
instance WidgetClass FileSelection
instance ObjectClass FileSelection
instance GObjectClass FileSelection where
toGObject = GObject . castForeignPtr . unFileSelection
unsafeCastGObject = FileSelection . castForeignPtr . unGObject
castToFileSelection :: GObjectClass obj => obj -> FileSelection
castToFileSelection = castTo gTypeFileSelection "FileSelection"
gTypeFileSelection :: GType
gTypeFileSelection =
{# call fun unsafe gtk_file_selection_get_type #}
-- ********************************************************** FileChooserDialog
{#pointer *FileChooserDialog foreign newtype #} deriving (Eq,Ord)
mkFileChooserDialog = (FileChooserDialog, objectUnrefFromMainloop)
unFileChooserDialog (FileChooserDialog o) = o
class DialogClass o => FileChooserDialogClass o
toFileChooserDialog :: FileChooserDialogClass o => o -> FileChooserDialog
toFileChooserDialog = unsafeCastGObject . toGObject
instance FileChooserDialogClass FileChooserDialog
instance DialogClass FileChooserDialog
instance WindowClass FileChooserDialog
instance BinClass FileChooserDialog
instance ContainerClass FileChooserDialog
instance WidgetClass FileChooserDialog
instance ObjectClass FileChooserDialog
instance GObjectClass FileChooserDialog where
toGObject = GObject . castForeignPtr . unFileChooserDialog
unsafeCastGObject = FileChooserDialog . castForeignPtr . unGObject
castToFileChooserDialog :: GObjectClass obj => obj -> FileChooserDialog
castToFileChooserDialog = castTo gTypeFileChooserDialog "FileChooserDialog"
gTypeFileChooserDialog :: GType
gTypeFileChooserDialog =
{# call fun unsafe gtk_file_chooser_dialog_get_type #}
-- ******************************************************** FontSelectionDialog
{#pointer *FontSelectionDialog foreign newtype #} deriving (Eq,Ord)
mkFontSelectionDialog = (FontSelectionDialog, objectUnrefFromMainloop)
unFontSelectionDialog (FontSelectionDialog o) = o
class DialogClass o => FontSelectionDialogClass o
toFontSelectionDialog :: FontSelectionDialogClass o => o -> FontSelectionDialog
toFontSelectionDialog = unsafeCastGObject . toGObject
instance FontSelectionDialogClass FontSelectionDialog
instance DialogClass FontSelectionDialog
instance WindowClass FontSelectionDialog
instance BinClass FontSelectionDialog
instance ContainerClass FontSelectionDialog
instance WidgetClass FontSelectionDialog
instance ObjectClass FontSelectionDialog
instance GObjectClass FontSelectionDialog where
toGObject = GObject . castForeignPtr . unFontSelectionDialog
unsafeCastGObject = FontSelectionDialog . castForeignPtr . unGObject
castToFontSelectionDialog :: GObjectClass obj => obj -> FontSelectionDialog
castToFontSelectionDialog = castTo gTypeFontSelectionDialog "FontSelectionDialog"
gTypeFontSelectionDialog :: GType
gTypeFontSelectionDialog =
{# call fun unsafe gtk_font_selection_dialog_get_type #}
-- **************************************************************** InputDialog
{#pointer *InputDialog foreign newtype #} deriving (Eq,Ord)
mkInputDialog = (InputDialog, objectUnrefFromMainloop)
unInputDialog (InputDialog o) = o
class DialogClass o => InputDialogClass o
toInputDialog :: InputDialogClass o => o -> InputDialog
toInputDialog = unsafeCastGObject . toGObject
instance InputDialogClass InputDialog
instance DialogClass InputDialog
instance WindowClass InputDialog
instance BinClass InputDialog
instance ContainerClass InputDialog
instance WidgetClass InputDialog
instance ObjectClass InputDialog
instance GObjectClass InputDialog where
toGObject = GObject . castForeignPtr . unInputDialog
unsafeCastGObject = InputDialog . castForeignPtr . unGObject
castToInputDialog :: GObjectClass obj => obj -> InputDialog
castToInputDialog = castTo gTypeInputDialog "InputDialog"
gTypeInputDialog :: GType
gTypeInputDialog =
{# call fun unsafe gtk_input_dialog_get_type #}
-- ************************************************************** MessageDialog
{#pointer *MessageDialog foreign newtype #} deriving (Eq,Ord)
mkMessageDialog = (MessageDialog, objectUnrefFromMainloop)
unMessageDialog (MessageDialog o) = o
class DialogClass o => MessageDialogClass o
toMessageDialog :: MessageDialogClass o => o -> MessageDialog
toMessageDialog = unsafeCastGObject . toGObject
instance MessageDialogClass MessageDialog
instance DialogClass MessageDialog
instance WindowClass MessageDialog
instance BinClass MessageDialog
instance ContainerClass MessageDialog
instance WidgetClass MessageDialog
instance ObjectClass MessageDialog
instance GObjectClass MessageDialog where
toGObject = GObject . castForeignPtr . unMessageDialog
unsafeCastGObject = MessageDialog . castForeignPtr . unGObject
castToMessageDialog :: GObjectClass obj => obj -> MessageDialog
castToMessageDialog = castTo gTypeMessageDialog "MessageDialog"
gTypeMessageDialog :: GType
gTypeMessageDialog =
{# call fun unsafe gtk_message_dialog_get_type #}
-- *********************************************************************** Plug
{#pointer *Plug foreign newtype #} deriving (Eq,Ord)
mkPlug = (Plug, objectUnrefFromMainloop)
unPlug (Plug o) = o
class WindowClass o => PlugClass o
toPlug :: PlugClass o => o -> Plug
toPlug = unsafeCastGObject . toGObject
instance PlugClass Plug
instance WindowClass Plug
instance BinClass Plug
instance ContainerClass Plug
instance WidgetClass Plug
instance ObjectClass Plug
instance GObjectClass Plug where
toGObject = GObject . castForeignPtr . unPlug
unsafeCastGObject = Plug . castForeignPtr . unGObject
castToPlug :: GObjectClass obj => obj -> Plug
castToPlug = castTo gTypePlug "Plug"
gTypePlug :: GType
gTypePlug =
{# call fun unsafe gtk_plug_get_type #}
-- ******************************************************************* EventBox
{#pointer *EventBox foreign newtype #} deriving (Eq,Ord)
mkEventBox = (EventBox, objectUnrefFromMainloop)
unEventBox (EventBox o) = o
class BinClass o => EventBoxClass o
toEventBox :: EventBoxClass o => o -> EventBox
toEventBox = unsafeCastGObject . toGObject
instance EventBoxClass EventBox
instance BinClass EventBox
instance ContainerClass EventBox
instance WidgetClass EventBox
instance ObjectClass EventBox
instance GObjectClass EventBox where
toGObject = GObject . castForeignPtr . unEventBox
unsafeCastGObject = EventBox . castForeignPtr . unGObject
castToEventBox :: GObjectClass obj => obj -> EventBox
castToEventBox = castTo gTypeEventBox "EventBox"
gTypeEventBox :: GType
gTypeEventBox =
{# call fun unsafe gtk_event_box_get_type #}
-- ****************************************************************** HandleBox
{#pointer *HandleBox foreign newtype #} deriving (Eq,Ord)
mkHandleBox = (HandleBox, objectUnrefFromMainloop)
unHandleBox (HandleBox o) = o
class BinClass o => HandleBoxClass o
toHandleBox :: HandleBoxClass o => o -> HandleBox
toHandleBox = unsafeCastGObject . toGObject
instance HandleBoxClass HandleBox
instance BinClass HandleBox
instance ContainerClass HandleBox
instance WidgetClass HandleBox
instance ObjectClass HandleBox
instance GObjectClass HandleBox where
toGObject = GObject . castForeignPtr . unHandleBox
unsafeCastGObject = HandleBox . castForeignPtr . unGObject
castToHandleBox :: GObjectClass obj => obj -> HandleBox
castToHandleBox = castTo gTypeHandleBox "HandleBox"
gTypeHandleBox :: GType
gTypeHandleBox =
{# call fun unsafe gtk_handle_box_get_type #}
-- ************************************************************* ScrolledWindow
{#pointer *ScrolledWindow foreign newtype #} deriving (Eq,Ord)
mkScrolledWindow = (ScrolledWindow, objectUnrefFromMainloop)
unScrolledWindow (ScrolledWindow o) = o
class BinClass o => ScrolledWindowClass o
toScrolledWindow :: ScrolledWindowClass o => o -> ScrolledWindow
toScrolledWindow = unsafeCastGObject . toGObject
instance ScrolledWindowClass ScrolledWindow
instance BinClass ScrolledWindow
instance ContainerClass ScrolledWindow
instance WidgetClass ScrolledWindow
instance ObjectClass ScrolledWindow
instance GObjectClass ScrolledWindow where
toGObject = GObject . castForeignPtr . unScrolledWindow
unsafeCastGObject = ScrolledWindow . castForeignPtr . unGObject
castToScrolledWindow :: GObjectClass obj => obj -> ScrolledWindow
castToScrolledWindow = castTo gTypeScrolledWindow "ScrolledWindow"
gTypeScrolledWindow :: GType
gTypeScrolledWindow =
{# call fun unsafe gtk_scrolled_window_get_type #}
-- ******************************************************************* Viewport
{#pointer *Viewport foreign newtype #} deriving (Eq,Ord)
mkViewport = (Viewport, objectUnrefFromMainloop)
unViewport (Viewport o) = o
class BinClass o => ViewportClass o
toViewport :: ViewportClass o => o -> Viewport
toViewport = unsafeCastGObject . toGObject
instance ViewportClass Viewport
instance BinClass Viewport
instance ContainerClass Viewport
instance WidgetClass Viewport
instance ObjectClass Viewport
instance GObjectClass Viewport where
toGObject = GObject . castForeignPtr . unViewport
unsafeCastGObject = Viewport . castForeignPtr . unGObject
castToViewport :: GObjectClass obj => obj -> Viewport
castToViewport = castTo gTypeViewport "Viewport"
gTypeViewport :: GType
gTypeViewport =
{# call fun unsafe gtk_viewport_get_type #}
-- ******************************************************************* Expander
{#pointer *Expander foreign newtype #} deriving (Eq,Ord)
mkExpander = (Expander, objectUnrefFromMainloop)
unExpander (Expander o) = o
class BinClass o => ExpanderClass o
toExpander :: ExpanderClass o => o -> Expander
toExpander = unsafeCastGObject . toGObject
instance ExpanderClass Expander
instance BinClass Expander
instance ContainerClass Expander
instance WidgetClass Expander
instance ObjectClass Expander
instance GObjectClass Expander where
toGObject = GObject . castForeignPtr . unExpander
unsafeCastGObject = Expander . castForeignPtr . unGObject
castToExpander :: GObjectClass obj => obj -> Expander
castToExpander = castTo gTypeExpander "Expander"
gTypeExpander :: GType
gTypeExpander =
{# call fun unsafe gtk_expander_get_type #}
-- ******************************************************************* ComboBox
{#pointer *ComboBox foreign newtype #} deriving (Eq,Ord)
mkComboBox = (ComboBox, objectUnrefFromMainloop)
unComboBox (ComboBox o) = o
class BinClass o => ComboBoxClass o
toComboBox :: ComboBoxClass o => o -> ComboBox
toComboBox = unsafeCastGObject . toGObject
instance ComboBoxClass ComboBox
instance BinClass ComboBox
instance ContainerClass ComboBox
instance WidgetClass ComboBox
instance ObjectClass ComboBox
instance GObjectClass ComboBox where
toGObject = GObject . castForeignPtr . unComboBox
unsafeCastGObject = ComboBox . castForeignPtr . unGObject
castToComboBox :: GObjectClass obj => obj -> ComboBox
castToComboBox = castTo gTypeComboBox "ComboBox"
gTypeComboBox :: GType
gTypeComboBox =
{# call fun unsafe gtk_combo_box_get_type #}
-- ************************************************************** ComboBoxEntry
{#pointer *ComboBoxEntry foreign newtype #} deriving (Eq,Ord)
mkComboBoxEntry = (ComboBoxEntry, objectUnrefFromMainloop)
unComboBoxEntry (ComboBoxEntry o) = o
class ComboBoxClass o => ComboBoxEntryClass o
toComboBoxEntry :: ComboBoxEntryClass o => o -> ComboBoxEntry
toComboBoxEntry = unsafeCastGObject . toGObject
instance ComboBoxEntryClass ComboBoxEntry
instance ComboBoxClass ComboBoxEntry
instance BinClass ComboBoxEntry
instance ContainerClass ComboBoxEntry
instance WidgetClass ComboBoxEntry
instance ObjectClass ComboBoxEntry
instance GObjectClass ComboBoxEntry where
toGObject = GObject . castForeignPtr . unComboBoxEntry
unsafeCastGObject = ComboBoxEntry . castForeignPtr . unGObject
castToComboBoxEntry :: GObjectClass obj => obj -> ComboBoxEntry
castToComboBoxEntry = castTo gTypeComboBoxEntry "ComboBoxEntry"
gTypeComboBoxEntry :: GType
gTypeComboBoxEntry =
{# call fun unsafe gtk_combo_box_entry_get_type #}
-- ******************************************************************* ToolItem
{#pointer *ToolItem foreign newtype #} deriving (Eq,Ord)
mkToolItem = (ToolItem, objectUnrefFromMainloop)
unToolItem (ToolItem o) = o
class BinClass o => ToolItemClass o
toToolItem :: ToolItemClass o => o -> ToolItem
toToolItem = unsafeCastGObject . toGObject
instance ToolItemClass ToolItem
instance BinClass ToolItem
instance ContainerClass ToolItem
instance WidgetClass ToolItem
instance ObjectClass ToolItem
instance GObjectClass ToolItem where
toGObject = GObject . castForeignPtr . unToolItem
unsafeCastGObject = ToolItem . castForeignPtr . unGObject
castToToolItem :: GObjectClass obj => obj -> ToolItem
castToToolItem = castTo gTypeToolItem "ToolItem"
gTypeToolItem :: GType
gTypeToolItem =
{# call fun unsafe gtk_tool_item_get_type #}
-- ***************************************************************** ToolButton
{#pointer *ToolButton foreign newtype #} deriving (Eq,Ord)
mkToolButton = (ToolButton, objectUnrefFromMainloop)
unToolButton (ToolButton o) = o
class ToolItemClass o => ToolButtonClass o
toToolButton :: ToolButtonClass o => o -> ToolButton
toToolButton = unsafeCastGObject . toGObject
instance ToolButtonClass ToolButton
instance ToolItemClass ToolButton
instance BinClass ToolButton
instance ContainerClass ToolButton
instance WidgetClass ToolButton
instance ObjectClass ToolButton
instance GObjectClass ToolButton where
toGObject = GObject . castForeignPtr . unToolButton
unsafeCastGObject = ToolButton . castForeignPtr . unGObject
castToToolButton :: GObjectClass obj => obj -> ToolButton
castToToolButton = castTo gTypeToolButton "ToolButton"
gTypeToolButton :: GType
gTypeToolButton =
{# call fun unsafe gtk_tool_button_get_type #}
-- ************************************************************* MenuToolButton
{#pointer *MenuToolButton foreign newtype #} deriving (Eq,Ord)
mkMenuToolButton = (MenuToolButton, objectUnrefFromMainloop)
unMenuToolButton (MenuToolButton o) = o
class ToolButtonClass o => MenuToolButtonClass o
toMenuToolButton :: MenuToolButtonClass o => o -> MenuToolButton
toMenuToolButton = unsafeCastGObject . toGObject
instance MenuToolButtonClass MenuToolButton
instance ToolButtonClass MenuToolButton
instance ToolItemClass MenuToolButton
instance BinClass MenuToolButton
instance ContainerClass MenuToolButton
instance WidgetClass MenuToolButton
instance ObjectClass MenuToolButton
instance GObjectClass MenuToolButton where
toGObject = GObject . castForeignPtr . unMenuToolButton
unsafeCastGObject = MenuToolButton . castForeignPtr . unGObject
castToMenuToolButton :: GObjectClass obj => obj -> MenuToolButton
castToMenuToolButton = castTo gTypeMenuToolButton "MenuToolButton"
gTypeMenuToolButton :: GType
gTypeMenuToolButton =
{# call fun unsafe gtk_menu_tool_button_get_type #}
-- *********************************************************** ToggleToolButton
{#pointer *ToggleToolButton foreign newtype #} deriving (Eq,Ord)
mkToggleToolButton = (ToggleToolButton, objectUnrefFromMainloop)
unToggleToolButton (ToggleToolButton o) = o
class ToolButtonClass o => ToggleToolButtonClass o
toToggleToolButton :: ToggleToolButtonClass o => o -> ToggleToolButton
toToggleToolButton = unsafeCastGObject . toGObject
instance ToggleToolButtonClass ToggleToolButton
instance ToolButtonClass ToggleToolButton
instance ToolItemClass ToggleToolButton
instance BinClass ToggleToolButton
instance ContainerClass ToggleToolButton
instance WidgetClass ToggleToolButton
instance ObjectClass ToggleToolButton
instance GObjectClass ToggleToolButton where
toGObject = GObject . castForeignPtr . unToggleToolButton
unsafeCastGObject = ToggleToolButton . castForeignPtr . unGObject
castToToggleToolButton :: GObjectClass obj => obj -> ToggleToolButton
castToToggleToolButton = castTo gTypeToggleToolButton "ToggleToolButton"
gTypeToggleToolButton :: GType
gTypeToggleToolButton =
{# call fun unsafe gtk_toggle_tool_button_get_type #}
-- ************************************************************ RadioToolButton
{#pointer *RadioToolButton foreign newtype #} deriving (Eq,Ord)
mkRadioToolButton = (RadioToolButton, objectUnrefFromMainloop)
unRadioToolButton (RadioToolButton o) = o
class ToggleToolButtonClass o => RadioToolButtonClass o
toRadioToolButton :: RadioToolButtonClass o => o -> RadioToolButton
toRadioToolButton = unsafeCastGObject . toGObject
instance RadioToolButtonClass RadioToolButton
instance ToggleToolButtonClass RadioToolButton
instance ToolButtonClass RadioToolButton
instance ToolItemClass RadioToolButton
instance BinClass RadioToolButton
instance ContainerClass RadioToolButton
instance WidgetClass RadioToolButton
instance ObjectClass RadioToolButton
instance GObjectClass RadioToolButton where
toGObject = GObject . castForeignPtr . unRadioToolButton
unsafeCastGObject = RadioToolButton . castForeignPtr . unGObject
castToRadioToolButton :: GObjectClass obj => obj -> RadioToolButton
castToRadioToolButton = castTo gTypeRadioToolButton "RadioToolButton"
gTypeRadioToolButton :: GType
gTypeRadioToolButton =
{# call fun unsafe gtk_radio_tool_button_get_type #}
-- ********************************************************** SeparatorToolItem
{#pointer *SeparatorToolItem foreign newtype #} deriving (Eq,Ord)
mkSeparatorToolItem = (SeparatorToolItem, objectUnrefFromMainloop)
unSeparatorToolItem (SeparatorToolItem o) = o
class ToolItemClass o => SeparatorToolItemClass o
toSeparatorToolItem :: SeparatorToolItemClass o => o -> SeparatorToolItem
toSeparatorToolItem = unsafeCastGObject . toGObject
instance SeparatorToolItemClass SeparatorToolItem
instance ToolItemClass SeparatorToolItem
instance BinClass SeparatorToolItem
instance ContainerClass SeparatorToolItem
instance WidgetClass SeparatorToolItem
instance ObjectClass SeparatorToolItem
instance GObjectClass SeparatorToolItem where
toGObject = GObject . castForeignPtr . unSeparatorToolItem
unsafeCastGObject = SeparatorToolItem . castForeignPtr . unGObject
castToSeparatorToolItem :: GObjectClass obj => obj -> SeparatorToolItem
castToSeparatorToolItem = castTo gTypeSeparatorToolItem "SeparatorToolItem"
gTypeSeparatorToolItem :: GType
gTypeSeparatorToolItem =
{# call fun unsafe gtk_separator_tool_item_get_type #}
-- ************************************************************************ Box
{#pointer *Box foreign newtype #} deriving (Eq,Ord)
mkBox = (Box, objectUnrefFromMainloop)
unBox (Box o) = o
class ContainerClass o => BoxClass o
toBox :: BoxClass o => o -> Box
toBox = unsafeCastGObject . toGObject
instance BoxClass Box
instance ContainerClass Box
instance WidgetClass Box
instance ObjectClass Box
instance GObjectClass Box where
toGObject = GObject . castForeignPtr . unBox
unsafeCastGObject = Box . castForeignPtr . unGObject
castToBox :: GObjectClass obj => obj -> Box
castToBox = castTo gTypeBox "Box"
gTypeBox :: GType
gTypeBox =
{# call fun unsafe gtk_box_get_type #}
-- ****************************************************************** ButtonBox
{#pointer *ButtonBox foreign newtype #} deriving (Eq,Ord)
mkButtonBox = (ButtonBox, objectUnrefFromMainloop)
unButtonBox (ButtonBox o) = o
class BoxClass o => ButtonBoxClass o
toButtonBox :: ButtonBoxClass o => o -> ButtonBox
toButtonBox = unsafeCastGObject . toGObject
instance ButtonBoxClass ButtonBox
instance BoxClass ButtonBox
instance ContainerClass ButtonBox
instance WidgetClass ButtonBox
instance ObjectClass ButtonBox
instance GObjectClass ButtonBox where
toGObject = GObject . castForeignPtr . unButtonBox
unsafeCastGObject = ButtonBox . castForeignPtr . unGObject
castToButtonBox :: GObjectClass obj => obj -> ButtonBox
castToButtonBox = castTo gTypeButtonBox "ButtonBox"
gTypeButtonBox :: GType
gTypeButtonBox =
{# call fun unsafe gtk_button_box_get_type #}
-- ***************************************************************** HButtonBox
{#pointer *HButtonBox foreign newtype #} deriving (Eq,Ord)
mkHButtonBox = (HButtonBox, objectUnrefFromMainloop)
unHButtonBox (HButtonBox o) = o
class ButtonBoxClass o => HButtonBoxClass o
toHButtonBox :: HButtonBoxClass o => o -> HButtonBox
toHButtonBox = unsafeCastGObject . toGObject
instance HButtonBoxClass HButtonBox
instance ButtonBoxClass HButtonBox
instance BoxClass HButtonBox
instance ContainerClass HButtonBox
instance WidgetClass HButtonBox
instance ObjectClass HButtonBox
instance GObjectClass HButtonBox where
toGObject = GObject . castForeignPtr . unHButtonBox
unsafeCastGObject = HButtonBox . castForeignPtr . unGObject
castToHButtonBox :: GObjectClass obj => obj -> HButtonBox
castToHButtonBox = castTo gTypeHButtonBox "HButtonBox"
gTypeHButtonBox :: GType
gTypeHButtonBox =
{# call fun unsafe gtk_hbutton_box_get_type #}
-- ***************************************************************** VButtonBox
{#pointer *VButtonBox foreign newtype #} deriving (Eq,Ord)
mkVButtonBox = (VButtonBox, objectUnrefFromMainloop)
unVButtonBox (VButtonBox o) = o
class ButtonBoxClass o => VButtonBoxClass o
toVButtonBox :: VButtonBoxClass o => o -> VButtonBox
toVButtonBox = unsafeCastGObject . toGObject
instance VButtonBoxClass VButtonBox
instance ButtonBoxClass VButtonBox
instance BoxClass VButtonBox
instance ContainerClass VButtonBox
instance WidgetClass VButtonBox
instance ObjectClass VButtonBox
instance GObjectClass VButtonBox where
toGObject = GObject . castForeignPtr . unVButtonBox
unsafeCastGObject = VButtonBox . castForeignPtr . unGObject
castToVButtonBox :: GObjectClass obj => obj -> VButtonBox
castToVButtonBox = castTo gTypeVButtonBox "VButtonBox"
gTypeVButtonBox :: GType
gTypeVButtonBox =
{# call fun unsafe gtk_vbutton_box_get_type #}
-- *********************************************************************** VBox
{#pointer *VBox foreign newtype #} deriving (Eq,Ord)
mkVBox = (VBox, objectUnrefFromMainloop)
unVBox (VBox o) = o
class BoxClass o => VBoxClass o
toVBox :: VBoxClass o => o -> VBox
toVBox = unsafeCastGObject . toGObject
instance VBoxClass VBox
instance BoxClass VBox
instance ContainerClass VBox
instance WidgetClass VBox
instance ObjectClass VBox
instance GObjectClass VBox where
toGObject = GObject . castForeignPtr . unVBox
unsafeCastGObject = VBox . castForeignPtr . unGObject
castToVBox :: GObjectClass obj => obj -> VBox
castToVBox = castTo gTypeVBox "VBox"
gTypeVBox :: GType
gTypeVBox =
{# call fun unsafe gtk_vbox_get_type #}
-- ************************************************************* ColorSelection
{#pointer *ColorSelection foreign newtype #} deriving (Eq,Ord)
mkColorSelection = (ColorSelection, objectUnrefFromMainloop)
unColorSelection (ColorSelection o) = o
class VBoxClass o => ColorSelectionClass o
toColorSelection :: ColorSelectionClass o => o -> ColorSelection
toColorSelection = unsafeCastGObject . toGObject
instance ColorSelectionClass ColorSelection
instance VBoxClass ColorSelection
instance BoxClass ColorSelection
instance ContainerClass ColorSelection
instance WidgetClass ColorSelection
instance ObjectClass ColorSelection
instance GObjectClass ColorSelection where
toGObject = GObject . castForeignPtr . unColorSelection
unsafeCastGObject = ColorSelection . castForeignPtr . unGObject
castToColorSelection :: GObjectClass obj => obj -> ColorSelection
castToColorSelection = castTo gTypeColorSelection "ColorSelection"
gTypeColorSelection :: GType
gTypeColorSelection =
{# call fun unsafe gtk_color_selection_get_type #}
-- ************************************************************** FontSelection
{#pointer *FontSelection foreign newtype #} deriving (Eq,Ord)
mkFontSelection = (FontSelection, objectUnrefFromMainloop)
unFontSelection (FontSelection o) = o
class VBoxClass o => FontSelectionClass o
toFontSelection :: FontSelectionClass o => o -> FontSelection
toFontSelection = unsafeCastGObject . toGObject
instance FontSelectionClass FontSelection
instance VBoxClass FontSelection
instance BoxClass FontSelection
instance ContainerClass FontSelection
instance WidgetClass FontSelection
instance ObjectClass FontSelection
instance GObjectClass FontSelection where
toGObject = GObject . castForeignPtr . unFontSelection
unsafeCastGObject = FontSelection . castForeignPtr . unGObject
castToFontSelection :: GObjectClass obj => obj -> FontSelection
castToFontSelection = castTo gTypeFontSelection "FontSelection"
gTypeFontSelection :: GType
gTypeFontSelection =
{# call fun unsafe gtk_font_selection_get_type #}
-- ********************************************************** FileChooserWidget
{#pointer *FileChooserWidget foreign newtype #} deriving (Eq,Ord)
mkFileChooserWidget = (FileChooserWidget, objectUnrefFromMainloop)
unFileChooserWidget (FileChooserWidget o) = o
class VBoxClass o => FileChooserWidgetClass o
toFileChooserWidget :: FileChooserWidgetClass o => o -> FileChooserWidget
toFileChooserWidget = unsafeCastGObject . toGObject
instance FileChooserWidgetClass FileChooserWidget
instance VBoxClass FileChooserWidget
instance BoxClass FileChooserWidget
instance ContainerClass FileChooserWidget
instance WidgetClass FileChooserWidget
instance ObjectClass FileChooserWidget
instance GObjectClass FileChooserWidget where
toGObject = GObject . castForeignPtr . unFileChooserWidget
unsafeCastGObject = FileChooserWidget . castForeignPtr . unGObject
castToFileChooserWidget :: GObjectClass obj => obj -> FileChooserWidget
castToFileChooserWidget = castTo gTypeFileChooserWidget "FileChooserWidget"
gTypeFileChooserWidget :: GType
gTypeFileChooserWidget =
{# call fun unsafe gtk_file_chooser_widget_get_type #}
-- *********************************************************************** HBox
{#pointer *HBox foreign newtype #} deriving (Eq,Ord)
mkHBox = (HBox, objectUnrefFromMainloop)
unHBox (HBox o) = o
class BoxClass o => HBoxClass o
toHBox :: HBoxClass o => o -> HBox
toHBox = unsafeCastGObject . toGObject
instance HBoxClass HBox
instance BoxClass HBox
instance ContainerClass HBox
instance WidgetClass HBox
instance ObjectClass HBox
instance GObjectClass HBox where
toGObject = GObject . castForeignPtr . unHBox
unsafeCastGObject = HBox . castForeignPtr . unGObject
castToHBox :: GObjectClass obj => obj -> HBox
castToHBox = castTo gTypeHBox "HBox"
gTypeHBox :: GType
gTypeHBox =
{# call fun unsafe gtk_hbox_get_type #}
-- ********************************************************************** Combo
{#pointer *Combo foreign newtype #} deriving (Eq,Ord)
mkCombo = (Combo, objectUnrefFromMainloop)
unCombo (Combo o) = o
class HBoxClass o => ComboClass o
toCombo :: ComboClass o => o -> Combo
toCombo = unsafeCastGObject . toGObject
instance ComboClass Combo
instance HBoxClass Combo
instance BoxClass Combo
instance ContainerClass Combo
instance WidgetClass Combo
instance ObjectClass Combo
instance GObjectClass Combo where
toGObject = GObject . castForeignPtr . unCombo
unsafeCastGObject = Combo . castForeignPtr . unGObject
castToCombo :: GObjectClass obj => obj -> Combo
castToCombo = castTo gTypeCombo "Combo"
gTypeCombo :: GType
gTypeCombo =
{# call fun unsafe gtk_combo_get_type #}
-- ********************************************************** FileChooserButton
{#pointer *FileChooserButton foreign newtype #} deriving (Eq,Ord)
mkFileChooserButton = (FileChooserButton, objectUnrefFromMainloop)
unFileChooserButton (FileChooserButton o) = o
class HBoxClass o => FileChooserButtonClass o
toFileChooserButton :: FileChooserButtonClass o => o -> FileChooserButton
toFileChooserButton = unsafeCastGObject . toGObject
instance FileChooserButtonClass FileChooserButton
instance HBoxClass FileChooserButton
instance BoxClass FileChooserButton
instance ContainerClass FileChooserButton
instance WidgetClass FileChooserButton
instance ObjectClass FileChooserButton
instance GObjectClass FileChooserButton where
toGObject = GObject . castForeignPtr . unFileChooserButton
unsafeCastGObject = FileChooserButton . castForeignPtr . unGObject
castToFileChooserButton :: GObjectClass obj => obj -> FileChooserButton
castToFileChooserButton = castTo gTypeFileChooserButton "FileChooserButton"
gTypeFileChooserButton :: GType
gTypeFileChooserButton =
{# call fun unsafe gtk_file_chooser_button_get_type #}
-- ****************************************************************** Statusbar
{#pointer *Statusbar foreign newtype #} deriving (Eq,Ord)
mkStatusbar = (Statusbar, objectUnrefFromMainloop)
unStatusbar (Statusbar o) = o
class HBoxClass o => StatusbarClass o
toStatusbar :: StatusbarClass o => o -> Statusbar
toStatusbar = unsafeCastGObject . toGObject
instance StatusbarClass Statusbar
instance HBoxClass Statusbar
instance BoxClass Statusbar
instance ContainerClass Statusbar
instance WidgetClass Statusbar
instance ObjectClass Statusbar
instance GObjectClass Statusbar where
toGObject = GObject . castForeignPtr . unStatusbar
unsafeCastGObject = Statusbar . castForeignPtr . unGObject
castToStatusbar :: GObjectClass obj => obj -> Statusbar
castToStatusbar = castTo gTypeStatusbar "Statusbar"
gTypeStatusbar :: GType
gTypeStatusbar =
{# call fun unsafe gtk_statusbar_get_type #}
-- ********************************************************************** CList
{#pointer *CList foreign newtype #} deriving (Eq,Ord)
mkCList = (CList, objectUnrefFromMainloop)
unCList (CList o) = o
class ContainerClass o => CListClass o
toCList :: CListClass o => o -> CList
toCList = unsafeCastGObject . toGObject
instance CListClass CList
instance ContainerClass CList
instance WidgetClass CList
instance ObjectClass CList
instance GObjectClass CList where
toGObject = GObject . castForeignPtr . unCList
unsafeCastGObject = CList . castForeignPtr . unGObject
castToCList :: GObjectClass obj => obj -> CList
castToCList = castTo gTypeCList "CList"
gTypeCList :: GType
gTypeCList =
{# call fun unsafe gtk_clist_get_type #}
-- ********************************************************************** CTree
{#pointer *CTree foreign newtype #} deriving (Eq,Ord)
mkCTree = (CTree, objectUnrefFromMainloop)
unCTree (CTree o) = o
class CListClass o => CTreeClass o
toCTree :: CTreeClass o => o -> CTree
toCTree = unsafeCastGObject . toGObject
instance CTreeClass CTree
instance CListClass CTree
instance ContainerClass CTree
instance WidgetClass CTree
instance ObjectClass CTree
instance GObjectClass CTree where
toGObject = GObject . castForeignPtr . unCTree
unsafeCastGObject = CTree . castForeignPtr . unGObject
castToCTree :: GObjectClass obj => obj -> CTree
castToCTree = castTo gTypeCTree "CTree"
gTypeCTree :: GType
gTypeCTree =
{# call fun unsafe gtk_ctree_get_type #}
-- ********************************************************************** Fixed
{#pointer *Fixed foreign newtype #} deriving (Eq,Ord)
mkFixed = (Fixed, objectUnrefFromMainloop)
unFixed (Fixed o) = o
class ContainerClass o => FixedClass o
toFixed :: FixedClass o => o -> Fixed
toFixed = unsafeCastGObject . toGObject
instance FixedClass Fixed
instance ContainerClass Fixed
instance WidgetClass Fixed
instance ObjectClass Fixed
instance GObjectClass Fixed where
toGObject = GObject . castForeignPtr . unFixed
unsafeCastGObject = Fixed . castForeignPtr . unGObject
castToFixed :: GObjectClass obj => obj -> Fixed
castToFixed = castTo gTypeFixed "Fixed"
gTypeFixed :: GType
gTypeFixed =
{# call fun unsafe gtk_fixed_get_type #}
-- ********************************************************************** Paned
{#pointer *Paned foreign newtype #} deriving (Eq,Ord)
mkPaned = (Paned, objectUnrefFromMainloop)
unPaned (Paned o) = o
class ContainerClass o => PanedClass o
toPaned :: PanedClass o => o -> Paned
toPaned = unsafeCastGObject . toGObject
instance PanedClass Paned
instance ContainerClass Paned
instance WidgetClass Paned
instance ObjectClass Paned
instance GObjectClass Paned where
toGObject = GObject . castForeignPtr . unPaned
unsafeCastGObject = Paned . castForeignPtr . unGObject
castToPaned :: GObjectClass obj => obj -> Paned
castToPaned = castTo gTypePaned "Paned"
gTypePaned :: GType
gTypePaned =
{# call fun unsafe gtk_paned_get_type #}
-- ********************************************************************* HPaned
{#pointer *HPaned foreign newtype #} deriving (Eq,Ord)
mkHPaned = (HPaned, objectUnrefFromMainloop)
unHPaned (HPaned o) = o
class PanedClass o => HPanedClass o
toHPaned :: HPanedClass o => o -> HPaned
toHPaned = unsafeCastGObject . toGObject
instance HPanedClass HPaned
instance PanedClass HPaned
instance ContainerClass HPaned
instance WidgetClass HPaned
instance ObjectClass HPaned
instance GObjectClass HPaned where
toGObject = GObject . castForeignPtr . unHPaned
unsafeCastGObject = HPaned . castForeignPtr . unGObject
castToHPaned :: GObjectClass obj => obj -> HPaned
castToHPaned = castTo gTypeHPaned "HPaned"
gTypeHPaned :: GType
gTypeHPaned =
{# call fun unsafe gtk_hpaned_get_type #}
-- ********************************************************************* VPaned
{#pointer *VPaned foreign newtype #} deriving (Eq,Ord)
mkVPaned = (VPaned, objectUnrefFromMainloop)
unVPaned (VPaned o) = o
class PanedClass o => VPanedClass o
toVPaned :: VPanedClass o => o -> VPaned
toVPaned = unsafeCastGObject . toGObject
instance VPanedClass VPaned
instance PanedClass VPaned
instance ContainerClass VPaned
instance WidgetClass VPaned
instance ObjectClass VPaned
instance GObjectClass VPaned where
toGObject = GObject . castForeignPtr . unVPaned
unsafeCastGObject = VPaned . castForeignPtr . unGObject
castToVPaned :: GObjectClass obj => obj -> VPaned
castToVPaned = castTo gTypeVPaned "VPaned"
gTypeVPaned :: GType
gTypeVPaned =
{# call fun unsafe gtk_vpaned_get_type #}
-- ******************************************************************* IconView
{#pointer *IconView foreign newtype #} deriving (Eq,Ord)
mkIconView = (IconView, objectUnrefFromMainloop)
unIconView (IconView o) = o
class ContainerClass o => IconViewClass o
toIconView :: IconViewClass o => o -> IconView
toIconView = unsafeCastGObject . toGObject
instance IconViewClass IconView
instance ContainerClass IconView
instance WidgetClass IconView
instance ObjectClass IconView
instance GObjectClass IconView where
toGObject = GObject . castForeignPtr . unIconView
unsafeCastGObject = IconView . castForeignPtr . unGObject
castToIconView :: GObjectClass obj => obj -> IconView
castToIconView = castTo gTypeIconView "IconView"
gTypeIconView :: GType
gTypeIconView =
{# call fun unsafe gtk_icon_view_get_type #}
-- ********************************************************************* Layout
{#pointer *Layout foreign newtype #} deriving (Eq,Ord)
mkLayout = (Layout, objectUnrefFromMainloop)
unLayout (Layout o) = o
class ContainerClass o => LayoutClass o
toLayout :: LayoutClass o => o -> Layout
toLayout = unsafeCastGObject . toGObject
instance LayoutClass Layout
instance ContainerClass Layout
instance WidgetClass Layout
instance ObjectClass Layout
instance GObjectClass Layout where
toGObject = GObject . castForeignPtr . unLayout
unsafeCastGObject = Layout . castForeignPtr . unGObject
castToLayout :: GObjectClass obj => obj -> Layout
castToLayout = castTo gTypeLayout "Layout"
gTypeLayout :: GType
gTypeLayout =
{# call fun unsafe gtk_layout_get_type #}
-- *********************************************************************** List
{#pointer *List foreign newtype #} deriving (Eq,Ord)
mkList = (List, objectUnrefFromMainloop)
unList (List o) = o
class ContainerClass o => ListClass o
toList :: ListClass o => o -> List
toList = unsafeCastGObject . toGObject
instance ListClass List
instance ContainerClass List
instance WidgetClass List
instance ObjectClass List
instance GObjectClass List where
toGObject = GObject . castForeignPtr . unList
unsafeCastGObject = List . castForeignPtr . unGObject
castToList :: GObjectClass obj => obj -> List
castToList = castTo gTypeList "List"
gTypeList :: GType
gTypeList =
{# call fun unsafe gtk_list_get_type #}
-- ****************************************************************** MenuShell
{#pointer *MenuShell foreign newtype #} deriving (Eq,Ord)
mkMenuShell = (MenuShell, objectUnrefFromMainloop)
unMenuShell (MenuShell o) = o
class ContainerClass o => MenuShellClass o
toMenuShell :: MenuShellClass o => o -> MenuShell
toMenuShell = unsafeCastGObject . toGObject
instance MenuShellClass MenuShell
instance ContainerClass MenuShell
instance WidgetClass MenuShell
instance ObjectClass MenuShell
instance GObjectClass MenuShell where
toGObject = GObject . castForeignPtr . unMenuShell
unsafeCastGObject = MenuShell . castForeignPtr . unGObject
castToMenuShell :: GObjectClass obj => obj -> MenuShell
castToMenuShell = castTo gTypeMenuShell "MenuShell"
gTypeMenuShell :: GType
gTypeMenuShell =
{# call fun unsafe gtk_menu_shell_get_type #}
-- *********************************************************************** Menu
{#pointer *Menu foreign newtype #} deriving (Eq,Ord)
mkMenu = (Menu, objectUnrefFromMainloop)
unMenu (Menu o) = o
class MenuShellClass o => MenuClass o
toMenu :: MenuClass o => o -> Menu
toMenu = unsafeCastGObject . toGObject
instance MenuClass Menu
instance MenuShellClass Menu
instance ContainerClass Menu
instance WidgetClass Menu
instance ObjectClass Menu
instance GObjectClass Menu where
toGObject = GObject . castForeignPtr . unMenu
unsafeCastGObject = Menu . castForeignPtr . unGObject
castToMenu :: GObjectClass obj => obj -> Menu
castToMenu = castTo gTypeMenu "Menu"
gTypeMenu :: GType
gTypeMenu =
{# call fun unsafe gtk_menu_get_type #}
-- ******************************************************************** MenuBar
{#pointer *MenuBar foreign newtype #} deriving (Eq,Ord)
mkMenuBar = (MenuBar, objectUnrefFromMainloop)
unMenuBar (MenuBar o) = o
class MenuShellClass o => MenuBarClass o
toMenuBar :: MenuBarClass o => o -> MenuBar
toMenuBar = unsafeCastGObject . toGObject
instance MenuBarClass MenuBar
instance MenuShellClass MenuBar
instance ContainerClass MenuBar
instance WidgetClass MenuBar
instance ObjectClass MenuBar
instance GObjectClass MenuBar where
toGObject = GObject . castForeignPtr . unMenuBar
unsafeCastGObject = MenuBar . castForeignPtr . unGObject
castToMenuBar :: GObjectClass obj => obj -> MenuBar
castToMenuBar = castTo gTypeMenuBar "MenuBar"
gTypeMenuBar :: GType
gTypeMenuBar =
{# call fun unsafe gtk_menu_bar_get_type #}
-- ******************************************************************* Notebook
{#pointer *Notebook foreign newtype #} deriving (Eq,Ord)
mkNotebook = (Notebook, objectUnrefFromMainloop)
unNotebook (Notebook o) = o
class ContainerClass o => NotebookClass o
toNotebook :: NotebookClass o => o -> Notebook
toNotebook = unsafeCastGObject . toGObject
instance NotebookClass Notebook
instance ContainerClass Notebook
instance WidgetClass Notebook
instance ObjectClass Notebook
instance GObjectClass Notebook where
toGObject = GObject . castForeignPtr . unNotebook
unsafeCastGObject = Notebook . castForeignPtr . unGObject
castToNotebook :: GObjectClass obj => obj -> Notebook
castToNotebook = castTo gTypeNotebook "Notebook"
gTypeNotebook :: GType
gTypeNotebook =
{# call fun unsafe gtk_notebook_get_type #}
-- ********************************************************************* Socket
{#pointer *Socket foreign newtype #} deriving (Eq,Ord)
mkSocket = (Socket, objectUnrefFromMainloop)
unSocket (Socket o) = o
class ContainerClass o => SocketClass o
toSocket :: SocketClass o => o -> Socket
toSocket = unsafeCastGObject . toGObject
instance SocketClass Socket
instance ContainerClass Socket
instance WidgetClass Socket
instance ObjectClass Socket
instance GObjectClass Socket where
toGObject = GObject . castForeignPtr . unSocket
unsafeCastGObject = Socket . castForeignPtr . unGObject
castToSocket :: GObjectClass obj => obj -> Socket
castToSocket = castTo gTypeSocket "Socket"
gTypeSocket :: GType
gTypeSocket =
{# call fun unsafe gtk_socket_get_type #}
-- ********************************************************************** Table
{#pointer *Table foreign newtype #} deriving (Eq,Ord)
mkTable = (Table, objectUnrefFromMainloop)
unTable (Table o) = o
class ContainerClass o => TableClass o
toTable :: TableClass o => o -> Table
toTable = unsafeCastGObject . toGObject
instance TableClass Table
instance ContainerClass Table
instance WidgetClass Table
instance ObjectClass Table
instance GObjectClass Table where
toGObject = GObject . castForeignPtr . unTable
unsafeCastGObject = Table . castForeignPtr . unGObject
castToTable :: GObjectClass obj => obj -> Table
castToTable = castTo gTypeTable "Table"
gTypeTable :: GType
gTypeTable =
{# call fun unsafe gtk_table_get_type #}
-- ******************************************************************* TextView
{#pointer *TextView foreign newtype #} deriving (Eq,Ord)
mkTextView = (TextView, objectUnrefFromMainloop)
unTextView (TextView o) = o
class ContainerClass o => TextViewClass o
toTextView :: TextViewClass o => o -> TextView
toTextView = unsafeCastGObject . toGObject
instance TextViewClass TextView
instance ContainerClass TextView
instance WidgetClass TextView
instance ObjectClass TextView
instance GObjectClass TextView where
toGObject = GObject . castForeignPtr . unTextView
unsafeCastGObject = TextView . castForeignPtr . unGObject
castToTextView :: GObjectClass obj => obj -> TextView
castToTextView = castTo gTypeTextView "TextView"
gTypeTextView :: GType
gTypeTextView =
{# call fun unsafe gtk_text_view_get_type #}
-- ******************************************************************** Toolbar
{#pointer *Toolbar foreign newtype #} deriving (Eq,Ord)
mkToolbar = (Toolbar, objectUnrefFromMainloop)
unToolbar (Toolbar o) = o
class ContainerClass o => ToolbarClass o
toToolbar :: ToolbarClass o => o -> Toolbar
toToolbar = unsafeCastGObject . toGObject
instance ToolbarClass Toolbar
instance ContainerClass Toolbar
instance WidgetClass Toolbar
instance ObjectClass Toolbar
instance GObjectClass Toolbar where
toGObject = GObject . castForeignPtr . unToolbar
unsafeCastGObject = Toolbar . castForeignPtr . unGObject
castToToolbar :: GObjectClass obj => obj -> Toolbar
castToToolbar = castTo gTypeToolbar "Toolbar"
gTypeToolbar :: GType
gTypeToolbar =
{# call fun unsafe gtk_toolbar_get_type #}
-- ******************************************************************* TreeView
{#pointer *TreeView foreign newtype #} deriving (Eq,Ord)
mkTreeView = (TreeView, objectUnrefFromMainloop)
unTreeView (TreeView o) = o
class ContainerClass o => TreeViewClass o
toTreeView :: TreeViewClass o => o -> TreeView
toTreeView = unsafeCastGObject . toGObject
instance TreeViewClass TreeView
instance ContainerClass TreeView
instance WidgetClass TreeView
instance ObjectClass TreeView
instance GObjectClass TreeView where
toGObject = GObject . castForeignPtr . unTreeView
unsafeCastGObject = TreeView . castForeignPtr . unGObject
castToTreeView :: GObjectClass obj => obj -> TreeView
castToTreeView = castTo gTypeTreeView "TreeView"
gTypeTreeView :: GType
gTypeTreeView =
{# call fun unsafe gtk_tree_view_get_type #}
-- ******************************************************************* Calendar
{#pointer *Calendar foreign newtype #} deriving (Eq,Ord)
mkCalendar = (Calendar, objectUnrefFromMainloop)
unCalendar (Calendar o) = o
class WidgetClass o => CalendarClass o
toCalendar :: CalendarClass o => o -> Calendar
toCalendar = unsafeCastGObject . toGObject
instance CalendarClass Calendar
instance WidgetClass Calendar
instance ObjectClass Calendar
instance GObjectClass Calendar where
toGObject = GObject . castForeignPtr . unCalendar
unsafeCastGObject = Calendar . castForeignPtr . unGObject
castToCalendar :: GObjectClass obj => obj -> Calendar
castToCalendar = castTo gTypeCalendar "Calendar"
gTypeCalendar :: GType
gTypeCalendar =
{# call fun unsafe gtk_calendar_get_type #}
-- ******************************************************************* CellView
{#pointer *CellView foreign newtype #} deriving (Eq,Ord)
mkCellView = (CellView, objectUnrefFromMainloop)
unCellView (CellView o) = o
class WidgetClass o => CellViewClass o
toCellView :: CellViewClass o => o -> CellView
toCellView = unsafeCastGObject . toGObject
instance CellViewClass CellView
instance WidgetClass CellView
instance ObjectClass CellView
instance GObjectClass CellView where
toGObject = GObject . castForeignPtr . unCellView
unsafeCastGObject = CellView . castForeignPtr . unGObject
castToCellView :: GObjectClass obj => obj -> CellView
castToCellView = castTo gTypeCellView "CellView"
gTypeCellView :: GType
gTypeCellView =
{# call fun unsafe gtk_cell_view_get_type #}
-- **************************************************************** DrawingArea
{#pointer *DrawingArea foreign newtype #} deriving (Eq,Ord)
mkDrawingArea = (DrawingArea, objectUnrefFromMainloop)
unDrawingArea (DrawingArea o) = o
class WidgetClass o => DrawingAreaClass o
toDrawingArea :: DrawingAreaClass o => o -> DrawingArea
toDrawingArea = unsafeCastGObject . toGObject
instance DrawingAreaClass DrawingArea
instance WidgetClass DrawingArea
instance ObjectClass DrawingArea
instance GObjectClass DrawingArea where
toGObject = GObject . castForeignPtr . unDrawingArea
unsafeCastGObject = DrawingArea . castForeignPtr . unGObject
castToDrawingArea :: GObjectClass obj => obj -> DrawingArea
castToDrawingArea = castTo gTypeDrawingArea "DrawingArea"
gTypeDrawingArea :: GType
gTypeDrawingArea =
{# call fun unsafe gtk_drawing_area_get_type #}
-- ********************************************************************** Entry
{#pointer *Entry foreign newtype #} deriving (Eq,Ord)
mkEntry = (Entry, objectUnrefFromMainloop)
unEntry (Entry o) = o
class WidgetClass o => EntryClass o
toEntry :: EntryClass o => o -> Entry
toEntry = unsafeCastGObject . toGObject
instance EntryClass Entry
instance WidgetClass Entry
instance ObjectClass Entry
instance GObjectClass Entry where
toGObject = GObject . castForeignPtr . unEntry
unsafeCastGObject = Entry . castForeignPtr . unGObject
castToEntry :: GObjectClass obj => obj -> Entry
castToEntry = castTo gTypeEntry "Entry"
gTypeEntry :: GType
gTypeEntry =
{# call fun unsafe gtk_entry_get_type #}
-- ***************************************************************** SpinButton
{#pointer *SpinButton foreign newtype #} deriving (Eq,Ord)
mkSpinButton = (SpinButton, objectUnrefFromMainloop)
unSpinButton (SpinButton o) = o
class EntryClass o => SpinButtonClass o
toSpinButton :: SpinButtonClass o => o -> SpinButton
toSpinButton = unsafeCastGObject . toGObject
instance SpinButtonClass SpinButton
instance EntryClass SpinButton
instance WidgetClass SpinButton
instance ObjectClass SpinButton
instance GObjectClass SpinButton where
toGObject = GObject . castForeignPtr . unSpinButton
unsafeCastGObject = SpinButton . castForeignPtr . unGObject
castToSpinButton :: GObjectClass obj => obj -> SpinButton
castToSpinButton = castTo gTypeSpinButton "SpinButton"
gTypeSpinButton :: GType
gTypeSpinButton =
{# call fun unsafe gtk_spin_button_get_type #}
-- ********************************************************************** Ruler
{#pointer *Ruler foreign newtype #} deriving (Eq,Ord)
mkRuler = (Ruler, objectUnrefFromMainloop)
unRuler (Ruler o) = o
class WidgetClass o => RulerClass o
toRuler :: RulerClass o => o -> Ruler
toRuler = unsafeCastGObject . toGObject
instance RulerClass Ruler
instance WidgetClass Ruler
instance ObjectClass Ruler
instance GObjectClass Ruler where
toGObject = GObject . castForeignPtr . unRuler
unsafeCastGObject = Ruler . castForeignPtr . unGObject
castToRuler :: GObjectClass obj => obj -> Ruler
castToRuler = castTo gTypeRuler "Ruler"
gTypeRuler :: GType
gTypeRuler =
{# call fun unsafe gtk_ruler_get_type #}
-- ********************************************************************* HRuler
{#pointer *HRuler foreign newtype #} deriving (Eq,Ord)
mkHRuler = (HRuler, objectUnrefFromMainloop)
unHRuler (HRuler o) = o
class RulerClass o => HRulerClass o
toHRuler :: HRulerClass o => o -> HRuler
toHRuler = unsafeCastGObject . toGObject
instance HRulerClass HRuler
instance RulerClass HRuler
instance WidgetClass HRuler
instance ObjectClass HRuler
instance GObjectClass HRuler where
toGObject = GObject . castForeignPtr . unHRuler
unsafeCastGObject = HRuler . castForeignPtr . unGObject
castToHRuler :: GObjectClass obj => obj -> HRuler
castToHRuler = castTo gTypeHRuler "HRuler"
gTypeHRuler :: GType
gTypeHRuler =
{# call fun unsafe gtk_hruler_get_type #}
-- ********************************************************************* VRuler
{#pointer *VRuler foreign newtype #} deriving (Eq,Ord)
mkVRuler = (VRuler, objectUnrefFromMainloop)
unVRuler (VRuler o) = o
class RulerClass o => VRulerClass o
toVRuler :: VRulerClass o => o -> VRuler
toVRuler = unsafeCastGObject . toGObject
instance VRulerClass VRuler
instance RulerClass VRuler
instance WidgetClass VRuler
instance ObjectClass VRuler
instance GObjectClass VRuler where
toGObject = GObject . castForeignPtr . unVRuler
unsafeCastGObject = VRuler . castForeignPtr . unGObject
castToVRuler :: GObjectClass obj => obj -> VRuler
castToVRuler = castTo gTypeVRuler "VRuler"
gTypeVRuler :: GType
gTypeVRuler =
{# call fun unsafe gtk_vruler_get_type #}
-- ********************************************************************** Range
{#pointer *Range foreign newtype #} deriving (Eq,Ord)
mkRange = (Range, objectUnrefFromMainloop)
unRange (Range o) = o
class WidgetClass o => RangeClass o
toRange :: RangeClass o => o -> Range
toRange = unsafeCastGObject . toGObject
instance RangeClass Range
instance WidgetClass Range
instance ObjectClass Range
instance GObjectClass Range where
toGObject = GObject . castForeignPtr . unRange
unsafeCastGObject = Range . castForeignPtr . unGObject
castToRange :: GObjectClass obj => obj -> Range
castToRange = castTo gTypeRange "Range"
gTypeRange :: GType
gTypeRange =
{# call fun unsafe gtk_range_get_type #}
-- ********************************************************************** Scale
{#pointer *Scale foreign newtype #} deriving (Eq,Ord)
mkScale = (Scale, objectUnrefFromMainloop)
unScale (Scale o) = o
class RangeClass o => ScaleClass o
toScale :: ScaleClass o => o -> Scale
toScale = unsafeCastGObject . toGObject
instance ScaleClass Scale
instance RangeClass Scale
instance WidgetClass Scale
instance ObjectClass Scale
instance GObjectClass Scale where
toGObject = GObject . castForeignPtr . unScale
unsafeCastGObject = Scale . castForeignPtr . unGObject
castToScale :: GObjectClass obj => obj -> Scale
castToScale = castTo gTypeScale "Scale"
gTypeScale :: GType
gTypeScale =
{# call fun unsafe gtk_scale_get_type #}
-- ********************************************************************* HScale
{#pointer *HScale foreign newtype #} deriving (Eq,Ord)
mkHScale = (HScale, objectUnrefFromMainloop)
unHScale (HScale o) = o
class ScaleClass o => HScaleClass o
toHScale :: HScaleClass o => o -> HScale
toHScale = unsafeCastGObject . toGObject
instance HScaleClass HScale
instance ScaleClass HScale
instance RangeClass HScale
instance WidgetClass HScale
instance ObjectClass HScale
instance GObjectClass HScale where
toGObject = GObject . castForeignPtr . unHScale
unsafeCastGObject = HScale . castForeignPtr . unGObject
castToHScale :: GObjectClass obj => obj -> HScale
castToHScale = castTo gTypeHScale "HScale"
gTypeHScale :: GType
gTypeHScale =
{# call fun unsafe gtk_hscale_get_type #}
-- ********************************************************************* VScale
{#pointer *VScale foreign newtype #} deriving (Eq,Ord)
mkVScale = (VScale, objectUnrefFromMainloop)
unVScale (VScale o) = o
class ScaleClass o => VScaleClass o
toVScale :: VScaleClass o => o -> VScale
toVScale = unsafeCastGObject . toGObject
instance VScaleClass VScale
instance ScaleClass VScale
instance RangeClass VScale
instance WidgetClass VScale
instance ObjectClass VScale
instance GObjectClass VScale where
toGObject = GObject . castForeignPtr . unVScale
unsafeCastGObject = VScale . castForeignPtr . unGObject
castToVScale :: GObjectClass obj => obj -> VScale
castToVScale = castTo gTypeVScale "VScale"
gTypeVScale :: GType
gTypeVScale =
{# call fun unsafe gtk_vscale_get_type #}
-- ****************************************************************** Scrollbar
{#pointer *Scrollbar foreign newtype #} deriving (Eq,Ord)
mkScrollbar = (Scrollbar, objectUnrefFromMainloop)
unScrollbar (Scrollbar o) = o
class RangeClass o => ScrollbarClass o
toScrollbar :: ScrollbarClass o => o -> Scrollbar
toScrollbar = unsafeCastGObject . toGObject
instance ScrollbarClass Scrollbar
instance RangeClass Scrollbar
instance WidgetClass Scrollbar
instance ObjectClass Scrollbar
instance GObjectClass Scrollbar where
toGObject = GObject . castForeignPtr . unScrollbar
unsafeCastGObject = Scrollbar . castForeignPtr . unGObject
castToScrollbar :: GObjectClass obj => obj -> Scrollbar
castToScrollbar = castTo gTypeScrollbar "Scrollbar"
gTypeScrollbar :: GType
gTypeScrollbar =
{# call fun unsafe gtk_scrollbar_get_type #}
-- ***************************************************************** HScrollbar
{#pointer *HScrollbar foreign newtype #} deriving (Eq,Ord)
mkHScrollbar = (HScrollbar, objectUnrefFromMainloop)
unHScrollbar (HScrollbar o) = o
class ScrollbarClass o => HScrollbarClass o
toHScrollbar :: HScrollbarClass o => o -> HScrollbar
toHScrollbar = unsafeCastGObject . toGObject
instance HScrollbarClass HScrollbar
instance ScrollbarClass HScrollbar
instance RangeClass HScrollbar
instance WidgetClass HScrollbar
instance ObjectClass HScrollbar
instance GObjectClass HScrollbar where
toGObject = GObject . castForeignPtr . unHScrollbar
unsafeCastGObject = HScrollbar . castForeignPtr . unGObject
castToHScrollbar :: GObjectClass obj => obj -> HScrollbar
castToHScrollbar = castTo gTypeHScrollbar "HScrollbar"
gTypeHScrollbar :: GType
gTypeHScrollbar =
{# call fun unsafe gtk_hscrollbar_get_type #}
-- ***************************************************************** VScrollbar
{#pointer *VScrollbar foreign newtype #} deriving (Eq,Ord)
mkVScrollbar = (VScrollbar, objectUnrefFromMainloop)
unVScrollbar (VScrollbar o) = o
class ScrollbarClass o => VScrollbarClass o
toVScrollbar :: VScrollbarClass o => o -> VScrollbar
toVScrollbar = unsafeCastGObject . toGObject
instance VScrollbarClass VScrollbar
instance ScrollbarClass VScrollbar
instance RangeClass VScrollbar
instance WidgetClass VScrollbar
instance ObjectClass VScrollbar
instance GObjectClass VScrollbar where
toGObject = GObject . castForeignPtr . unVScrollbar
unsafeCastGObject = VScrollbar . castForeignPtr . unGObject
castToVScrollbar :: GObjectClass obj => obj -> VScrollbar
castToVScrollbar = castTo gTypeVScrollbar "VScrollbar"
gTypeVScrollbar :: GType
gTypeVScrollbar =
{# call fun unsafe gtk_vscrollbar_get_type #}
-- ****************************************************************** Separator
{#pointer *Separator foreign newtype #} deriving (Eq,Ord)
mkSeparator = (Separator, objectUnrefFromMainloop)
unSeparator (Separator o) = o
class WidgetClass o => SeparatorClass o
toSeparator :: SeparatorClass o => o -> Separator
toSeparator = unsafeCastGObject . toGObject
instance SeparatorClass Separator
instance WidgetClass Separator
instance ObjectClass Separator
instance GObjectClass Separator where
toGObject = GObject . castForeignPtr . unSeparator
unsafeCastGObject = Separator . castForeignPtr . unGObject
castToSeparator :: GObjectClass obj => obj -> Separator
castToSeparator = castTo gTypeSeparator "Separator"
gTypeSeparator :: GType
gTypeSeparator =
{# call fun unsafe gtk_separator_get_type #}
-- ***************************************************************** HSeparator
{#pointer *HSeparator foreign newtype #} deriving (Eq,Ord)
mkHSeparator = (HSeparator, objectUnrefFromMainloop)
unHSeparator (HSeparator o) = o
class SeparatorClass o => HSeparatorClass o
toHSeparator :: HSeparatorClass o => o -> HSeparator
toHSeparator = unsafeCastGObject . toGObject
instance HSeparatorClass HSeparator
instance SeparatorClass HSeparator
instance WidgetClass HSeparator
instance ObjectClass HSeparator
instance GObjectClass HSeparator where
toGObject = GObject . castForeignPtr . unHSeparator
unsafeCastGObject = HSeparator . castForeignPtr . unGObject
castToHSeparator :: GObjectClass obj => obj -> HSeparator
castToHSeparator = castTo gTypeHSeparator "HSeparator"
gTypeHSeparator :: GType
gTypeHSeparator =
{# call fun unsafe gtk_hseparator_get_type #}
-- ***************************************************************** VSeparator
{#pointer *VSeparator foreign newtype #} deriving (Eq,Ord)
mkVSeparator = (VSeparator, objectUnrefFromMainloop)
unVSeparator (VSeparator o) = o
class SeparatorClass o => VSeparatorClass o
toVSeparator :: VSeparatorClass o => o -> VSeparator
toVSeparator = unsafeCastGObject . toGObject
instance VSeparatorClass VSeparator
instance SeparatorClass VSeparator
instance WidgetClass VSeparator
instance ObjectClass VSeparator
instance GObjectClass VSeparator where
toGObject = GObject . castForeignPtr . unVSeparator
unsafeCastGObject = VSeparator . castForeignPtr . unGObject
castToVSeparator :: GObjectClass obj => obj -> VSeparator
castToVSeparator = castTo gTypeVSeparator "VSeparator"
gTypeVSeparator :: GType
gTypeVSeparator =
{# call fun unsafe gtk_vseparator_get_type #}
-- ****************************************************************** Invisible
{#pointer *Invisible foreign newtype #} deriving (Eq,Ord)
mkInvisible = (Invisible, objectUnrefFromMainloop)
unInvisible (Invisible o) = o
class WidgetClass o => InvisibleClass o
toInvisible :: InvisibleClass o => o -> Invisible
toInvisible = unsafeCastGObject . toGObject
instance InvisibleClass Invisible
instance WidgetClass Invisible
instance ObjectClass Invisible
instance GObjectClass Invisible where
toGObject = GObject . castForeignPtr . unInvisible
unsafeCastGObject = Invisible . castForeignPtr . unGObject
castToInvisible :: GObjectClass obj => obj -> Invisible
castToInvisible = castTo gTypeInvisible "Invisible"
gTypeInvisible :: GType
gTypeInvisible =
{# call fun unsafe gtk_invisible_get_type #}
-- ******************************************************************** Preview
{#pointer *Preview foreign newtype #} deriving (Eq,Ord)
mkPreview = (Preview, objectUnrefFromMainloop)
unPreview (Preview o) = o
class WidgetClass o => PreviewClass o
toPreview :: PreviewClass o => o -> Preview
toPreview = unsafeCastGObject . toGObject
instance PreviewClass Preview
instance WidgetClass Preview
instance ObjectClass Preview
instance GObjectClass Preview where
toGObject = GObject . castForeignPtr . unPreview
unsafeCastGObject = Preview . castForeignPtr . unGObject
castToPreview :: GObjectClass obj => obj -> Preview
castToPreview = castTo gTypePreview "Preview"
gTypePreview :: GType
gTypePreview =
{# call fun unsafe gtk_preview_get_type #}
-- **************************************************************** ProgressBar
{#pointer *ProgressBar foreign newtype #} deriving (Eq,Ord)
mkProgressBar = (ProgressBar, objectUnrefFromMainloop)
unProgressBar (ProgressBar o) = o
class WidgetClass o => ProgressBarClass o
toProgressBar :: ProgressBarClass o => o -> ProgressBar
toProgressBar = unsafeCastGObject . toGObject
instance ProgressBarClass ProgressBar
instance WidgetClass ProgressBar
instance ObjectClass ProgressBar
instance GObjectClass ProgressBar where
toGObject = GObject . castForeignPtr . unProgressBar
unsafeCastGObject = ProgressBar . castForeignPtr . unGObject
castToProgressBar :: GObjectClass obj => obj -> ProgressBar
castToProgressBar = castTo gTypeProgressBar "ProgressBar"
gTypeProgressBar :: GType
gTypeProgressBar =
{# call fun unsafe gtk_progress_bar_get_type #}
-- ***************************************************************** Adjustment
{#pointer *Adjustment foreign newtype #} deriving (Eq,Ord)
mkAdjustment = (Adjustment, objectUnrefFromMainloop)
unAdjustment (Adjustment o) = o
class ObjectClass o => AdjustmentClass o
toAdjustment :: AdjustmentClass o => o -> Adjustment
toAdjustment = unsafeCastGObject . toGObject
instance AdjustmentClass Adjustment
instance ObjectClass Adjustment
instance GObjectClass Adjustment where
toGObject = GObject . castForeignPtr . unAdjustment
unsafeCastGObject = Adjustment . castForeignPtr . unGObject
castToAdjustment :: GObjectClass obj => obj -> Adjustment
castToAdjustment = castTo gTypeAdjustment "Adjustment"
gTypeAdjustment :: GType
gTypeAdjustment =
{# call fun unsafe gtk_adjustment_get_type #}
-- ****************************************************************** IMContext
{#pointer *IMContext foreign newtype #} deriving (Eq,Ord)
mkIMContext = (IMContext, objectUnrefFromMainloop)
unIMContext (IMContext o) = o
class ObjectClass o => IMContextClass o
toIMContext :: IMContextClass o => o -> IMContext
toIMContext = unsafeCastGObject . toGObject
instance IMContextClass IMContext
instance ObjectClass IMContext
instance GObjectClass IMContext where
toGObject = GObject . castForeignPtr . unIMContext
unsafeCastGObject = IMContext . castForeignPtr . unGObject
castToIMContext :: GObjectClass obj => obj -> IMContext
castToIMContext = castTo gTypeIMContext "IMContext"
gTypeIMContext :: GType
gTypeIMContext =
{# call fun unsafe gtk_im_context_get_type #}
-- ************************************************************* IMMulticontext
{#pointer *IMMulticontext foreign newtype #} deriving (Eq,Ord)
mkIMMulticontext = (IMMulticontext, objectUnrefFromMainloop)
unIMMulticontext (IMMulticontext o) = o
class IMContextClass o => IMMulticontextClass o
toIMMulticontext :: IMMulticontextClass o => o -> IMMulticontext
toIMMulticontext = unsafeCastGObject . toGObject
instance IMMulticontextClass IMMulticontext
instance IMContextClass IMMulticontext
instance ObjectClass IMMulticontext
instance GObjectClass IMMulticontext where
toGObject = GObject . castForeignPtr . unIMMulticontext
unsafeCastGObject = IMMulticontext . castForeignPtr . unGObject
castToIMMulticontext :: GObjectClass obj => obj -> IMMulticontext
castToIMMulticontext = castTo gTypeIMMulticontext "IMMulticontext"
gTypeIMMulticontext :: GType
gTypeIMMulticontext =
{# call fun unsafe gtk_im_multicontext_get_type #}
-- **************************************************************** ItemFactory
{#pointer *ItemFactory foreign newtype #} deriving (Eq,Ord)
mkItemFactory = (ItemFactory, objectUnrefFromMainloop)
unItemFactory (ItemFactory o) = o
class ObjectClass o => ItemFactoryClass o
toItemFactory :: ItemFactoryClass o => o -> ItemFactory
toItemFactory = unsafeCastGObject . toGObject
instance ItemFactoryClass ItemFactory
instance ObjectClass ItemFactory
instance GObjectClass ItemFactory where
toGObject = GObject . castForeignPtr . unItemFactory
unsafeCastGObject = ItemFactory . castForeignPtr . unGObject
castToItemFactory :: GObjectClass obj => obj -> ItemFactory
castToItemFactory = castTo gTypeItemFactory "ItemFactory"
gTypeItemFactory :: GType
gTypeItemFactory =
{# call fun unsafe gtk_item_factory_get_type #}
-- ******************************************************************* Tooltips
{#pointer *Tooltips foreign newtype #} deriving (Eq,Ord)
mkTooltips = (Tooltips, objectUnrefFromMainloop)
unTooltips (Tooltips o) = o
class ObjectClass o => TooltipsClass o
toTooltips :: TooltipsClass o => o -> Tooltips
toTooltips = unsafeCastGObject . toGObject
instance TooltipsClass Tooltips
instance ObjectClass Tooltips
instance GObjectClass Tooltips where
toGObject = GObject . castForeignPtr . unTooltips
unsafeCastGObject = Tooltips . castForeignPtr . unGObject
castToTooltips :: GObjectClass obj => obj -> Tooltips
castToTooltips = castTo gTypeTooltips "Tooltips"
gTypeTooltips :: GType
gTypeTooltips =
{# call fun unsafe gtk_tooltips_get_type #}
-- ************************************************************* TreeViewColumn
{#pointer *TreeViewColumn foreign newtype #} deriving (Eq,Ord)
mkTreeViewColumn = (TreeViewColumn, objectUnrefFromMainloop)
unTreeViewColumn (TreeViewColumn o) = o
class ObjectClass o => TreeViewColumnClass o
toTreeViewColumn :: TreeViewColumnClass o => o -> TreeViewColumn
toTreeViewColumn = unsafeCastGObject . toGObject
instance TreeViewColumnClass TreeViewColumn
instance ObjectClass TreeViewColumn
instance GObjectClass TreeViewColumn where
toGObject = GObject . castForeignPtr . unTreeViewColumn
unsafeCastGObject = TreeViewColumn . castForeignPtr . unGObject
castToTreeViewColumn :: GObjectClass obj => obj -> TreeViewColumn
castToTreeViewColumn = castTo gTypeTreeViewColumn "TreeViewColumn"
gTypeTreeViewColumn :: GType
gTypeTreeViewColumn =
{# call fun unsafe gtk_tree_view_column_get_type #}
-- *************************************************************** CellRenderer
{#pointer *CellRenderer foreign newtype #} deriving (Eq,Ord)
mkCellRenderer = (CellRenderer, objectUnrefFromMainloop)
unCellRenderer (CellRenderer o) = o
class ObjectClass o => CellRendererClass o
toCellRenderer :: CellRendererClass o => o -> CellRenderer
toCellRenderer = unsafeCastGObject . toGObject
instance CellRendererClass CellRenderer
instance ObjectClass CellRenderer
instance GObjectClass CellRenderer where
toGObject = GObject . castForeignPtr . unCellRenderer
unsafeCastGObject = CellRenderer . castForeignPtr . unGObject
castToCellRenderer :: GObjectClass obj => obj -> CellRenderer
castToCellRenderer = castTo gTypeCellRenderer "CellRenderer"
gTypeCellRenderer :: GType
gTypeCellRenderer =
{# call fun unsafe gtk_cell_renderer_get_type #}
-- ********************************************************* CellRendererPixbuf
{#pointer *CellRendererPixbuf foreign newtype #} deriving (Eq,Ord)
mkCellRendererPixbuf = (CellRendererPixbuf, objectUnrefFromMainloop)
unCellRendererPixbuf (CellRendererPixbuf o) = o
class CellRendererClass o => CellRendererPixbufClass o
toCellRendererPixbuf :: CellRendererPixbufClass o => o -> CellRendererPixbuf
toCellRendererPixbuf = unsafeCastGObject . toGObject
instance CellRendererPixbufClass CellRendererPixbuf
instance CellRendererClass CellRendererPixbuf
instance ObjectClass CellRendererPixbuf
instance GObjectClass CellRendererPixbuf where
toGObject = GObject . castForeignPtr . unCellRendererPixbuf
unsafeCastGObject = CellRendererPixbuf . castForeignPtr . unGObject
castToCellRendererPixbuf :: GObjectClass obj => obj -> CellRendererPixbuf
castToCellRendererPixbuf = castTo gTypeCellRendererPixbuf "CellRendererPixbuf"
gTypeCellRendererPixbuf :: GType
gTypeCellRendererPixbuf =
{# call fun unsafe gtk_cell_renderer_pixbuf_get_type #}
-- *********************************************************** CellRendererText
{#pointer *CellRendererText foreign newtype #} deriving (Eq,Ord)
mkCellRendererText = (CellRendererText, objectUnrefFromMainloop)
unCellRendererText (CellRendererText o) = o
class CellRendererClass o => CellRendererTextClass o
toCellRendererText :: CellRendererTextClass o => o -> CellRendererText
toCellRendererText = unsafeCastGObject . toGObject
instance CellRendererTextClass CellRendererText
instance CellRendererClass CellRendererText
instance ObjectClass CellRendererText
instance GObjectClass CellRendererText where
toGObject = GObject . castForeignPtr . unCellRendererText
unsafeCastGObject = CellRendererText . castForeignPtr . unGObject
castToCellRendererText :: GObjectClass obj => obj -> CellRendererText
castToCellRendererText = castTo gTypeCellRendererText "CellRendererText"
gTypeCellRendererText :: GType
gTypeCellRendererText =
{# call fun unsafe gtk_cell_renderer_text_get_type #}
-- ********************************************************** CellRendererCombo
{#pointer *CellRendererCombo foreign newtype #} deriving (Eq,Ord)
mkCellRendererCombo = (CellRendererCombo, objectUnrefFromMainloop)
unCellRendererCombo (CellRendererCombo o) = o
class CellRendererTextClass o => CellRendererComboClass o
toCellRendererCombo :: CellRendererComboClass o => o -> CellRendererCombo
toCellRendererCombo = unsafeCastGObject . toGObject
instance CellRendererComboClass CellRendererCombo
instance CellRendererTextClass CellRendererCombo
instance CellRendererClass CellRendererCombo
instance ObjectClass CellRendererCombo
instance GObjectClass CellRendererCombo where
toGObject = GObject . castForeignPtr . unCellRendererCombo
unsafeCastGObject = CellRendererCombo . castForeignPtr . unGObject
castToCellRendererCombo :: GObjectClass obj => obj -> CellRendererCombo
castToCellRendererCombo = castTo gTypeCellRendererCombo "CellRendererCombo"
gTypeCellRendererCombo :: GType
gTypeCellRendererCombo =
{# call fun unsafe gtk_cell_renderer_combo_get_type #}
-- ********************************************************* CellRendererToggle
{#pointer *CellRendererToggle foreign newtype #} deriving (Eq,Ord)
mkCellRendererToggle = (CellRendererToggle, objectUnrefFromMainloop)
unCellRendererToggle (CellRendererToggle o) = o
class CellRendererClass o => CellRendererToggleClass o
toCellRendererToggle :: CellRendererToggleClass o => o -> CellRendererToggle
toCellRendererToggle = unsafeCastGObject . toGObject
instance CellRendererToggleClass CellRendererToggle
instance CellRendererClass CellRendererToggle
instance ObjectClass CellRendererToggle
instance GObjectClass CellRendererToggle where
toGObject = GObject . castForeignPtr . unCellRendererToggle
unsafeCastGObject = CellRendererToggle . castForeignPtr . unGObject
castToCellRendererToggle :: GObjectClass obj => obj -> CellRendererToggle
castToCellRendererToggle = castTo gTypeCellRendererToggle "CellRendererToggle"
gTypeCellRendererToggle :: GType
gTypeCellRendererToggle =
{# call fun unsafe gtk_cell_renderer_toggle_get_type #}
-- ******************************************************* CellRendererProgress
{#pointer *CellRendererProgress foreign newtype #} deriving (Eq,Ord)
mkCellRendererProgress = (CellRendererProgress, objectUnrefFromMainloop)
unCellRendererProgress (CellRendererProgress o) = o
class CellRendererClass o => CellRendererProgressClass o
toCellRendererProgress :: CellRendererProgressClass o => o -> CellRendererProgress
toCellRendererProgress = unsafeCastGObject . toGObject
instance CellRendererProgressClass CellRendererProgress
instance CellRendererClass CellRendererProgress
instance ObjectClass CellRendererProgress
instance GObjectClass CellRendererProgress where
toGObject = GObject . castForeignPtr . unCellRendererProgress
unsafeCastGObject = CellRendererProgress . castForeignPtr . unGObject
castToCellRendererProgress :: GObjectClass obj => obj -> CellRendererProgress
castToCellRendererProgress = castTo gTypeCellRendererProgress "CellRendererProgress"
gTypeCellRendererProgress :: GType
gTypeCellRendererProgress =
{# call fun unsafe gtk_cell_renderer_progress_get_type #}
-- ***************************************************************** FileFilter
{#pointer *FileFilter foreign newtype #} deriving (Eq,Ord)
mkFileFilter = (FileFilter, objectUnrefFromMainloop)
unFileFilter (FileFilter o) = o
class ObjectClass o => FileFilterClass o
toFileFilter :: FileFilterClass o => o -> FileFilter
toFileFilter = unsafeCastGObject . toGObject
instance FileFilterClass FileFilter
instance ObjectClass FileFilter
instance GObjectClass FileFilter where
toGObject = GObject . castForeignPtr . unFileFilter
unsafeCastGObject = FileFilter . castForeignPtr . unGObject
castToFileFilter :: GObjectClass obj => obj -> FileFilter
castToFileFilter = castTo gTypeFileFilter "FileFilter"
gTypeFileFilter :: GType
gTypeFileFilter =
{# call fun unsafe gtk_file_filter_get_type #}
-- ******************************************************************** Builder
{#pointer *Builder foreign newtype #} deriving (Eq,Ord)
mkBuilder = (Builder, objectUnrefFromMainloop)
unBuilder (Builder o) = o
class ObjectClass o => BuilderClass o
toBuilder :: BuilderClass o => o -> Builder
toBuilder = unsafeCastGObject . toGObject
instance BuilderClass Builder
instance ObjectClass Builder
instance GObjectClass Builder where
toGObject = GObject . castForeignPtr . unBuilder
unsafeCastGObject = Builder . castForeignPtr . unGObject
castToBuilder :: GObjectClass obj => obj -> Builder
castToBuilder = castTo gTypeBuilder "Builder"
gTypeBuilder :: GType
gTypeBuilder =
{# call fun unsafe gtk_builder_get_type #}
-- ***************************************************************** CellLayout
{#pointer *CellLayout foreign newtype #} deriving (Eq,Ord)
mkCellLayout = (CellLayout, objectUnrefFromMainloop)
unCellLayout (CellLayout o) = o
class GObjectClass o => CellLayoutClass o
toCellLayout :: CellLayoutClass o => o -> CellLayout
toCellLayout = unsafeCastGObject . toGObject
instance CellLayoutClass CellLayout
instance GObjectClass CellLayout where
toGObject = GObject . castForeignPtr . unCellLayout
unsafeCastGObject = CellLayout . castForeignPtr . unGObject
castToCellLayout :: GObjectClass obj => obj -> CellLayout
castToCellLayout = castTo gTypeCellLayout "CellLayout"
gTypeCellLayout :: GType
gTypeCellLayout =
{# call fun unsafe gtk_cell_layout_get_type #}
-- *************************************************************** TreeSortable
{#pointer *TreeSortable foreign newtype #} deriving (Eq,Ord)
mkTreeSortable = (TreeSortable, objectUnrefFromMainloop)
unTreeSortable (TreeSortable o) = o
class GObjectClass o => TreeSortableClass o
toTreeSortable :: TreeSortableClass o => o -> TreeSortable
toTreeSortable = unsafeCastGObject . toGObject
instance TreeSortableClass TreeSortable
instance GObjectClass TreeSortable where
toGObject = GObject . castForeignPtr . unTreeSortable
unsafeCastGObject = TreeSortable . castForeignPtr . unGObject
castToTreeSortable :: GObjectClass obj => obj -> TreeSortable
castToTreeSortable = castTo gTypeTreeSortable "TreeSortable"
gTypeTreeSortable :: GType
gTypeTreeSortable =
{# call fun unsafe gtk_tree_sortable_get_type #}
-- ***************************************************************** StatusIcon
{#pointer *StatusIcon foreign newtype #} deriving (Eq,Ord)
mkStatusIcon = (StatusIcon, objectUnrefFromMainloop)
unStatusIcon (StatusIcon o) = o
class TreeSortableClass o => StatusIconClass o
toStatusIcon :: StatusIconClass o => o -> StatusIcon
toStatusIcon = unsafeCastGObject . toGObject
instance StatusIconClass StatusIcon
instance TreeSortableClass StatusIcon
instance GObjectClass StatusIcon where
toGObject = GObject . castForeignPtr . unStatusIcon
unsafeCastGObject = StatusIcon . castForeignPtr . unGObject
castToStatusIcon :: GObjectClass obj => obj -> StatusIcon
castToStatusIcon = castTo gTypeStatusIcon "StatusIcon"
gTypeStatusIcon :: GType
gTypeStatusIcon =
{# call fun unsafe gtk_status_icon_get_type #}
-- ************************************************************** TreeSelection
{#pointer *TreeSelection foreign newtype #} deriving (Eq,Ord)
mkTreeSelection = (TreeSelection, objectUnrefFromMainloop)
unTreeSelection (TreeSelection o) = o
class GObjectClass o => TreeSelectionClass o
toTreeSelection :: TreeSelectionClass o => o -> TreeSelection
toTreeSelection = unsafeCastGObject . toGObject
instance TreeSelectionClass TreeSelection
instance GObjectClass TreeSelection where
toGObject = GObject . castForeignPtr . unTreeSelection
unsafeCastGObject = TreeSelection . castForeignPtr . unGObject
castToTreeSelection :: GObjectClass obj => obj -> TreeSelection
castToTreeSelection = castTo gTypeTreeSelection "TreeSelection"
gTypeTreeSelection :: GType
gTypeTreeSelection =
{# call fun unsafe gtk_tree_selection_get_type #}
-- ****************************************************************** TreeModel
{#pointer *TreeModel foreign newtype #} deriving (Eq,Ord)
mkTreeModel = (TreeModel, objectUnrefFromMainloop)
unTreeModel (TreeModel o) = o
class GObjectClass o => TreeModelClass o
toTreeModel :: TreeModelClass o => o -> TreeModel
toTreeModel = unsafeCastGObject . toGObject
instance TreeModelClass TreeModel
instance GObjectClass TreeModel where
toGObject = GObject . castForeignPtr . unTreeModel
unsafeCastGObject = TreeModel . castForeignPtr . unGObject
castToTreeModel :: GObjectClass obj => obj -> TreeModel
castToTreeModel = castTo gTypeTreeModel "TreeModel"
gTypeTreeModel :: GType
gTypeTreeModel =
{# call fun unsafe gtk_tree_model_get_type #}
-- ****************************************************************** TreeStore
{#pointer *TreeStore foreign newtype #} deriving (Eq,Ord)
mkTreeStore = (TreeStore, objectUnrefFromMainloop)
unTreeStore (TreeStore o) = o
class TreeModelClass o => TreeStoreClass o
toTreeStore :: TreeStoreClass o => o -> TreeStore
toTreeStore = unsafeCastGObject . toGObject
instance TreeStoreClass TreeStore
instance TreeModelClass TreeStore
instance GObjectClass TreeStore where
toGObject = GObject . castForeignPtr . unTreeStore
unsafeCastGObject = TreeStore . castForeignPtr . unGObject
castToTreeStore :: GObjectClass obj => obj -> TreeStore
castToTreeStore = castTo gTypeTreeStore "TreeStore"
gTypeTreeStore :: GType
gTypeTreeStore =
{# call fun unsafe gtk_tree_store_get_type #}
-- ****************************************************************** ListStore
{#pointer *ListStore foreign newtype #} deriving (Eq,Ord)
mkListStore = (ListStore, objectUnrefFromMainloop)
unListStore (ListStore o) = o
class TreeModelClass o => ListStoreClass o
toListStore :: ListStoreClass o => o -> ListStore
toListStore = unsafeCastGObject . toGObject
instance ListStoreClass ListStore
instance TreeModelClass ListStore
instance GObjectClass ListStore where
toGObject = GObject . castForeignPtr . unListStore
unsafeCastGObject = ListStore . castForeignPtr . unGObject
castToListStore :: GObjectClass obj => obj -> ListStore
castToListStore = castTo gTypeListStore "ListStore"
gTypeListStore :: GType
gTypeListStore =
{# call fun unsafe gtk_list_store_get_type #}
-- ************************************************************** TreeModelSort
{#pointer *TreeModelSort foreign newtype #} deriving (Eq,Ord)
mkTreeModelSort = (TreeModelSort, objectUnrefFromMainloop)
unTreeModelSort (TreeModelSort o) = o
class GObjectClass o => TreeModelSortClass o
toTreeModelSort :: TreeModelSortClass o => o -> TreeModelSort
toTreeModelSort = unsafeCastGObject . toGObject
instance TreeModelSortClass TreeModelSort
instance GObjectClass TreeModelSort where
toGObject = GObject . castForeignPtr . unTreeModelSort
unsafeCastGObject = TreeModelSort . castForeignPtr . unGObject
castToTreeModelSort :: GObjectClass obj => obj -> TreeModelSort
castToTreeModelSort = castTo gTypeTreeModelSort "TreeModelSort"
gTypeTreeModelSort :: GType
gTypeTreeModelSort =
{# call fun unsafe gtk_tree_model_sort_get_type #}
-- ************************************************************ TreeModelFilter
{#pointer *TreeModelFilter foreign newtype #} deriving (Eq,Ord)
mkTreeModelFilter = (TreeModelFilter, objectUnrefFromMainloop)
unTreeModelFilter (TreeModelFilter o) = o
class GObjectClass o => TreeModelFilterClass o
toTreeModelFilter :: TreeModelFilterClass o => o -> TreeModelFilter
toTreeModelFilter = unsafeCastGObject . toGObject
instance TreeModelFilterClass TreeModelFilter
instance GObjectClass TreeModelFilter where
toGObject = GObject . castForeignPtr . unTreeModelFilter
unsafeCastGObject = TreeModelFilter . castForeignPtr . unGObject
castToTreeModelFilter :: GObjectClass obj => obj -> TreeModelFilter
castToTreeModelFilter = castTo gTypeTreeModelFilter "TreeModelFilter"
gTypeTreeModelFilter :: GType
gTypeTreeModelFilter =
{# call fun unsafe gtk_tree_model_filter_get_type #}
-- **************************************************************** IconFactory
{#pointer *IconFactory foreign newtype #} deriving (Eq,Ord)
mkIconFactory = (IconFactory, objectUnrefFromMainloop)
unIconFactory (IconFactory o) = o
class GObjectClass o => IconFactoryClass o
toIconFactory :: IconFactoryClass o => o -> IconFactory
toIconFactory = unsafeCastGObject . toGObject
instance IconFactoryClass IconFactory
instance GObjectClass IconFactory where
toGObject = GObject . castForeignPtr . unIconFactory
unsafeCastGObject = IconFactory . castForeignPtr . unGObject
castToIconFactory :: GObjectClass obj => obj -> IconFactory
castToIconFactory = castTo gTypeIconFactory "IconFactory"
gTypeIconFactory :: GType
gTypeIconFactory =
{# call fun unsafe gtk_icon_factory_get_type #}
-- ****************************************************************** IconTheme
{#pointer *IconTheme foreign newtype #} deriving (Eq,Ord)
mkIconTheme = (IconTheme, objectUnrefFromMainloop)
unIconTheme (IconTheme o) = o
class GObjectClass o => IconThemeClass o
toIconTheme :: IconThemeClass o => o -> IconTheme
toIconTheme = unsafeCastGObject . toGObject
instance IconThemeClass IconTheme
instance GObjectClass IconTheme where
toGObject = GObject . castForeignPtr . unIconTheme
unsafeCastGObject = IconTheme . castForeignPtr . unGObject
castToIconTheme :: GObjectClass obj => obj -> IconTheme
castToIconTheme = castTo gTypeIconTheme "IconTheme"
gTypeIconTheme :: GType
gTypeIconTheme =
{# call fun unsafe gtk_icon_theme_get_type #}
-- ****************************************************************** SizeGroup
{#pointer *SizeGroup foreign newtype #} deriving (Eq,Ord)
mkSizeGroup = (SizeGroup, objectUnrefFromMainloop)
unSizeGroup (SizeGroup o) = o
class GObjectClass o => SizeGroupClass o
toSizeGroup :: SizeGroupClass o => o -> SizeGroup
toSizeGroup = unsafeCastGObject . toGObject
instance SizeGroupClass SizeGroup
instance GObjectClass SizeGroup where
toGObject = GObject . castForeignPtr . unSizeGroup
unsafeCastGObject = SizeGroup . castForeignPtr . unGObject
castToSizeGroup :: GObjectClass obj => obj -> SizeGroup
castToSizeGroup = castTo gTypeSizeGroup "SizeGroup"
gTypeSizeGroup :: GType
gTypeSizeGroup =
{# call fun unsafe gtk_size_group_get_type #}
-- ****************************************************************** Clipboard
{#pointer *Clipboard foreign newtype #} deriving (Eq,Ord)
mkClipboard = (Clipboard, objectUnrefFromMainloop)
unClipboard (Clipboard o) = o
class GObjectClass o => ClipboardClass o
toClipboard :: ClipboardClass o => o -> Clipboard
toClipboard = unsafeCastGObject . toGObject
instance ClipboardClass Clipboard
instance GObjectClass Clipboard where
toGObject = GObject . castForeignPtr . unClipboard
unsafeCastGObject = Clipboard . castForeignPtr . unGObject
castToClipboard :: GObjectClass obj => obj -> Clipboard
castToClipboard = castTo gTypeClipboard "Clipboard"
gTypeClipboard :: GType
gTypeClipboard =
{# call fun unsafe gtk_clipboard_get_type #}
-- ***************************************************************** AccelGroup
{#pointer *AccelGroup foreign newtype #} deriving (Eq,Ord)
mkAccelGroup = (AccelGroup, objectUnrefFromMainloop)
unAccelGroup (AccelGroup o) = o
class GObjectClass o => AccelGroupClass o
toAccelGroup :: AccelGroupClass o => o -> AccelGroup
toAccelGroup = unsafeCastGObject . toGObject
instance AccelGroupClass AccelGroup
instance GObjectClass AccelGroup where
toGObject = GObject . castForeignPtr . unAccelGroup
unsafeCastGObject = AccelGroup . castForeignPtr . unGObject
castToAccelGroup :: GObjectClass obj => obj -> AccelGroup
castToAccelGroup = castTo gTypeAccelGroup "AccelGroup"
gTypeAccelGroup :: GType
gTypeAccelGroup =
{# call fun unsafe gtk_accel_group_get_type #}
-- ******************************************************************* AccelMap
{#pointer *AccelMap foreign newtype #} deriving (Eq,Ord)
mkAccelMap = (AccelMap, objectUnrefFromMainloop)
unAccelMap (AccelMap o) = o
class GObjectClass o => AccelMapClass o
toAccelMap :: AccelMapClass o => o -> AccelMap
toAccelMap = unsafeCastGObject . toGObject
instance AccelMapClass AccelMap
instance GObjectClass AccelMap where
toGObject = GObject . castForeignPtr . unAccelMap
unsafeCastGObject = AccelMap . castForeignPtr . unGObject
castToAccelMap :: GObjectClass obj => obj -> AccelMap
castToAccelMap = castTo gTypeAccelMap "AccelMap"
gTypeAccelMap :: GType
gTypeAccelMap =
{# call fun unsafe gtk_accel_map_get_type #}
-- ************************************************************ EntryCompletion
{#pointer *EntryCompletion foreign newtype #} deriving (Eq,Ord)
mkEntryCompletion = (EntryCompletion, objectUnrefFromMainloop)
unEntryCompletion (EntryCompletion o) = o
class GObjectClass o => EntryCompletionClass o
toEntryCompletion :: EntryCompletionClass o => o -> EntryCompletion
toEntryCompletion = unsafeCastGObject . toGObject
instance EntryCompletionClass EntryCompletion
instance GObjectClass EntryCompletion where
toGObject = GObject . castForeignPtr . unEntryCompletion
unsafeCastGObject = EntryCompletion . castForeignPtr . unGObject
castToEntryCompletion :: GObjectClass obj => obj -> EntryCompletion
castToEntryCompletion = castTo gTypeEntryCompletion "EntryCompletion"
gTypeEntryCompletion :: GType
gTypeEntryCompletion =
{# call fun unsafe gtk_entry_completion_get_type #}
-- ********************************************************************* Action
{#pointer *Action foreign newtype #} deriving (Eq,Ord)
mkAction = (Action, objectUnrefFromMainloop)
unAction (Action o) = o
class GObjectClass o => ActionClass o
toAction :: ActionClass o => o -> Action
toAction = unsafeCastGObject . toGObject
instance ActionClass Action
instance GObjectClass Action where
toGObject = GObject . castForeignPtr . unAction
unsafeCastGObject = Action . castForeignPtr . unGObject
castToAction :: GObjectClass obj => obj -> Action
castToAction = castTo gTypeAction "Action"
gTypeAction :: GType
gTypeAction =
{# call fun unsafe gtk_action_get_type #}
-- *************************************************************** ToggleAction
{#pointer *ToggleAction foreign newtype #} deriving (Eq,Ord)
mkToggleAction = (ToggleAction, objectUnrefFromMainloop)
unToggleAction (ToggleAction o) = o
class ActionClass o => ToggleActionClass o
toToggleAction :: ToggleActionClass o => o -> ToggleAction
toToggleAction = unsafeCastGObject . toGObject
instance ToggleActionClass ToggleAction
instance ActionClass ToggleAction
instance GObjectClass ToggleAction where
toGObject = GObject . castForeignPtr . unToggleAction
unsafeCastGObject = ToggleAction . castForeignPtr . unGObject
castToToggleAction :: GObjectClass obj => obj -> ToggleAction
castToToggleAction = castTo gTypeToggleAction "ToggleAction"
gTypeToggleAction :: GType
gTypeToggleAction =
{# call fun unsafe gtk_toggle_action_get_type #}
-- **************************************************************** RadioAction
{#pointer *RadioAction foreign newtype #} deriving (Eq,Ord)
mkRadioAction = (RadioAction, objectUnrefFromMainloop)
unRadioAction (RadioAction o) = o
class ToggleActionClass o => RadioActionClass o
toRadioAction :: RadioActionClass o => o -> RadioAction
toRadioAction = unsafeCastGObject . toGObject
instance RadioActionClass RadioAction
instance ToggleActionClass RadioAction
instance ActionClass RadioAction
instance GObjectClass RadioAction where
toGObject = GObject . castForeignPtr . unRadioAction
unsafeCastGObject = RadioAction . castForeignPtr . unGObject
castToRadioAction :: GObjectClass obj => obj -> RadioAction
castToRadioAction = castTo gTypeRadioAction "RadioAction"
gTypeRadioAction :: GType
gTypeRadioAction =
{# call fun unsafe gtk_radio_action_get_type #}
-- **************************************************************** ActionGroup
{#pointer *ActionGroup foreign newtype #} deriving (Eq,Ord)
mkActionGroup = (ActionGroup, objectUnrefFromMainloop)
unActionGroup (ActionGroup o) = o
class GObjectClass o => ActionGroupClass o
toActionGroup :: ActionGroupClass o => o -> ActionGroup
toActionGroup = unsafeCastGObject . toGObject
instance ActionGroupClass ActionGroup
instance GObjectClass ActionGroup where
toGObject = GObject . castForeignPtr . unActionGroup
unsafeCastGObject = ActionGroup . castForeignPtr . unGObject
castToActionGroup :: GObjectClass obj => obj -> ActionGroup
castToActionGroup = castTo gTypeActionGroup "ActionGroup"
gTypeActionGroup :: GType
gTypeActionGroup =
{# call fun unsafe gtk_action_group_get_type #}
-- ****************************************************************** UIManager
{#pointer *UIManager foreign newtype #} deriving (Eq,Ord)
mkUIManager = (UIManager, objectUnrefFromMainloop)
unUIManager (UIManager o) = o
class GObjectClass o => UIManagerClass o
toUIManager :: UIManagerClass o => o -> UIManager
toUIManager = unsafeCastGObject . toGObject
instance UIManagerClass UIManager
instance GObjectClass UIManager where
toGObject = GObject . castForeignPtr . unUIManager
unsafeCastGObject = UIManager . castForeignPtr . unGObject
castToUIManager :: GObjectClass obj => obj -> UIManager
castToUIManager = castTo gTypeUIManager "UIManager"
gTypeUIManager :: GType
gTypeUIManager =
{# call fun unsafe gtk_ui_manager_get_type #}
-- **************************************************************** WindowGroup
{#pointer *WindowGroup foreign newtype #} deriving (Eq,Ord)
mkWindowGroup = (WindowGroup, objectUnrefFromMainloop)
unWindowGroup (WindowGroup o) = o
class GObjectClass o => WindowGroupClass o
toWindowGroup :: WindowGroupClass o => o -> WindowGroup
toWindowGroup = unsafeCastGObject . toGObject
instance WindowGroupClass WindowGroup
instance GObjectClass WindowGroup where
toGObject = GObject . castForeignPtr . unWindowGroup
unsafeCastGObject = WindowGroup . castForeignPtr . unGObject
castToWindowGroup :: GObjectClass obj => obj -> WindowGroup
castToWindowGroup = castTo gTypeWindowGroup "WindowGroup"
gTypeWindowGroup :: GType
gTypeWindowGroup =
{# call fun unsafe gtk_window_group_get_type #}
-- ******************************************************************* Editable
{#pointer *Editable foreign newtype #} deriving (Eq,Ord)
mkEditable = (Editable, objectUnrefFromMainloop)
unEditable (Editable o) = o
class GObjectClass o => EditableClass o
toEditable :: EditableClass o => o -> Editable
toEditable = unsafeCastGObject . toGObject
instance EditableClass Editable
instance GObjectClass Editable where
toGObject = GObject . castForeignPtr . unEditable
unsafeCastGObject = Editable . castForeignPtr . unGObject
castToEditable :: GObjectClass obj => obj -> Editable
castToEditable = castTo gTypeEditable "Editable"
gTypeEditable :: GType
gTypeEditable =
{# call fun unsafe gtk_editable_get_type #}
-- **************************************************************** FileChooser
{#pointer *FileChooser foreign newtype #} deriving (Eq,Ord)
mkFileChooser = (FileChooser, objectUnrefFromMainloop)
unFileChooser (FileChooser o) = o
class GObjectClass o => FileChooserClass o
toFileChooser :: FileChooserClass o => o -> FileChooser
toFileChooser = unsafeCastGObject . toGObject
instance FileChooserClass FileChooser
instance GObjectClass FileChooser where
toGObject = GObject . castForeignPtr . unFileChooser
unsafeCastGObject = FileChooser . castForeignPtr . unGObject
castToFileChooser :: GObjectClass obj => obj -> FileChooser
castToFileChooser = castTo gTypeFileChooser "FileChooser"
gTypeFileChooser :: GType
gTypeFileChooser =
{# call fun unsafe gtk_file_chooser_get_type #}
-- ************************************************************************* GC
{#pointer *GdkGC as GC foreign newtype #} deriving (Eq,Ord)
mkGC = (GC, objectUnrefFromMainloop)
unGC (GC o) = o
class GObjectClass o => GCClass o
toGC :: GCClass o => o -> GC
toGC = unsafeCastGObject . toGObject
instance GCClass GC
instance GObjectClass GC where
toGObject = GObject . castForeignPtr . unGC
unsafeCastGObject = GC . castForeignPtr . unGObject
castToGC :: GObjectClass obj => obj -> GC
castToGC = castTo gTypeGC "GC"
gTypeGC :: GType
gTypeGC =
{# call fun unsafe gdk_gc_get_type #}
|