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 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337
|
{-# LANGUAGE CPP #-}
{-# OPTIONS_HADDOCK hide #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- -*-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,
AtkObject(AtkObject), AtkObjectClass,
toAtkObject,
mkAtkObject, unAtkObject,
castToAtkObject, gTypeAtkObject,
Accessible(Accessible), AccessibleClass,
toAccessible,
mkAccessible, unAccessible,
castToAccessible, gTypeAccessible,
Keymap(Keymap), KeymapClass,
toKeymap,
mkKeymap, unKeymap,
castToKeymap, gTypeKeymap,
DisplayManager(DisplayManager), DisplayManagerClass,
toDisplayManager,
mkDisplayManager, unDisplayManager,
castToDisplayManager, gTypeDisplayManager,
AppLaunchContext(AppLaunchContext), AppLaunchContextClass,
toAppLaunchContext,
mkAppLaunchContext, unAppLaunchContext,
castToAppLaunchContext, gTypeAppLaunchContext,
PrintSettings(PrintSettings), PrintSettingsClass,
toPrintSettings,
mkPrintSettings, unPrintSettings,
castToPrintSettings, gTypePrintSettings,
PrintOperation(PrintOperation), PrintOperationClass,
toPrintOperation,
mkPrintOperation, unPrintOperation,
castToPrintOperation, gTypePrintOperation,
PrintOperationPreview(PrintOperationPreview), PrintOperationPreviewClass,
toPrintOperationPreview,
mkPrintOperationPreview, unPrintOperationPreview,
castToPrintOperationPreview, gTypePrintOperationPreview,
PageSetup(PageSetup), PageSetupClass,
toPageSetup,
mkPageSetup, unPageSetup,
castToPageSetup, gTypePageSetup,
PrintContext(PrintContext), PrintContextClass,
toPrintContext,
mkPrintContext, unPrintContext,
castToPrintContext, gTypePrintContext,
RecentChooser(RecentChooser), RecentChooserClass,
toRecentChooser,
mkRecentChooser, unRecentChooser,
castToRecentChooser, gTypeRecentChooser,
RecentManager(RecentManager), RecentManagerClass,
toRecentManager,
mkRecentManager, unRecentManager,
castToRecentManager, gTypeRecentManager,
DrawWindow(DrawWindow), DrawWindowClass,
toDrawWindow,
mkDrawWindow, unDrawWindow,
castToDrawWindow, gTypeDrawWindow,
GLContext(GLContext), GLContextClass,
toGLContext,
mkGLContext, unGLContext,
castToGLContext, gTypeGLContext,
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,
FrameClock(FrameClock), FrameClockClass,
toFrameClock,
mkFrameClock, unFrameClock,
castToFrameClock, gTypeFrameClock,
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,
RecentFilter(RecentFilter), RecentFilterClass,
toRecentFilter,
mkRecentFilter, unRecentFilter,
castToRecentFilter, gTypeRecentFilter,
Widget(Widget), WidgetClass,
toWidget,
mkWidget, unWidget,
castToWidget, gTypeWidget,
HSV(HSV), HSVClass,
toHSV,
mkHSV, unHSV,
castToHSV, gTypeHSV,
Misc(Misc), MiscClass,
toMisc,
mkMisc, unMisc,
castToMisc, gTypeMisc,
Label(Label), LabelClass,
toLabel,
mkLabel, unLabel,
castToLabel, gTypeLabel,
AccelLabel(AccelLabel), AccelLabelClass,
toAccelLabel,
mkAccelLabel, unAccelLabel,
castToAccelLabel, gTypeAccelLabel,
Arrow(Arrow), ArrowClass,
toArrow,
mkArrow, unArrow,
castToArrow, gTypeArrow,
Image(Image), ImageClass,
toImage,
mkImage, unImage,
castToImage, gTypeImage,
Switch(Switch), SwitchClass,
toSwitch,
mkSwitch, unSwitch,
castToSwitch, gTypeSwitch,
Container(Container), ContainerClass,
toContainer,
mkContainer, unContainer,
castToContainer, gTypeContainer,
ToolPalette(ToolPalette), ToolPaletteClass,
toToolPalette,
mkToolPalette, unToolPalette,
castToToolPalette, gTypeToolPalette,
ToolItemGroup(ToolItemGroup), ToolItemGroupClass,
toToolItemGroup,
mkToolItemGroup, unToolItemGroup,
castToToolItemGroup, gTypeToolItemGroup,
Stack(Stack), StackClass,
toStack,
mkStack, unStack,
castToStack, gTypeStack,
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,
ScaleButton(ScaleButton), ScaleButtonClass,
toScaleButton,
mkScaleButton, unScaleButton,
castToScaleButton, gTypeScaleButton,
VolumeButton(VolumeButton), VolumeButtonClass,
toVolumeButton,
mkVolumeButton, unVolumeButton,
castToVolumeButton, gTypeVolumeButton,
LinkButton(LinkButton), LinkButtonClass,
toLinkButton,
mkLinkButton, unLinkButton,
castToLinkButton, gTypeLinkButton,
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,
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,
Overlay(Overlay), OverlayClass,
toOverlay,
mkOverlay, unOverlay,
castToOverlay, gTypeOverlay,
Window(Window), WindowClass,
toWindow,
mkWindow, unWindow,
castToWindow, gTypeWindow,
Assistant(Assistant), AssistantClass,
toAssistant,
mkAssistant, unAssistant,
castToAssistant, gTypeAssistant,
OffscreenWindow(OffscreenWindow), OffscreenWindowClass,
toOffscreenWindow,
mkOffscreenWindow, unOffscreenWindow,
castToOffscreenWindow, gTypeOffscreenWindow,
Dialog(Dialog), DialogClass,
toDialog,
mkDialog, unDialog,
castToDialog, gTypeDialog,
AboutDialog(AboutDialog), AboutDialogClass,
toAboutDialog,
mkAboutDialog, unAboutDialog,
castToAboutDialog, gTypeAboutDialog,
ColorSelectionDialog(ColorSelectionDialog), ColorSelectionDialogClass,
toColorSelectionDialog,
mkColorSelectionDialog, unColorSelectionDialog,
castToColorSelectionDialog, gTypeColorSelectionDialog,
FileChooserDialog(FileChooserDialog), FileChooserDialogClass,
toFileChooserDialog,
mkFileChooserDialog, unFileChooserDialog,
castToFileChooserDialog, gTypeFileChooserDialog,
FontSelectionDialog(FontSelectionDialog), FontSelectionDialogClass,
toFontSelectionDialog,
mkFontSelectionDialog, unFontSelectionDialog,
castToFontSelectionDialog, gTypeFontSelectionDialog,
MessageDialog(MessageDialog), MessageDialogClass,
toMessageDialog,
mkMessageDialog, unMessageDialog,
castToMessageDialog, gTypeMessageDialog,
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,
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,
StackSwitcher(StackSwitcher), StackSwitcherClass,
toStackSwitcher,
mkStackSwitcher, unStackSwitcher,
castToStackSwitcher, gTypeStackSwitcher,
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,
RecentChooserWidget(RecentChooserWidget), RecentChooserWidgetClass,
toRecentChooserWidget,
mkRecentChooserWidget, unRecentChooserWidget,
castToRecentChooserWidget, gTypeRecentChooserWidget,
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,
InfoBar(InfoBar), InfoBarClass,
toInfoBar,
mkInfoBar, unInfoBar,
castToInfoBar, gTypeInfoBar,
FileChooserButton(FileChooserButton), FileChooserButtonClass,
toFileChooserButton,
mkFileChooserButton, unFileChooserButton,
castToFileChooserButton, gTypeFileChooserButton,
Statusbar(Statusbar), StatusbarClass,
toStatusbar,
mkStatusbar, unStatusbar,
castToStatusbar, gTypeStatusbar,
Grid(Grid), GridClass,
toGrid,
mkGrid, unGrid,
castToGrid, gTypeGrid,
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,
MenuShell(MenuShell), MenuShellClass,
toMenuShell,
mkMenuShell, unMenuShell,
castToMenuShell, gTypeMenuShell,
Menu(Menu), MenuClass,
toMenu,
mkMenu, unMenu,
castToMenu, gTypeMenu,
RecentChooserMenu(RecentChooserMenu), RecentChooserMenuClass,
toRecentChooserMenu,
mkRecentChooserMenu, unRecentChooserMenu,
castToRecentChooserMenu, gTypeRecentChooserMenu,
MenuBar(MenuBar), MenuBarClass,
toMenuBar,
mkMenuBar, unMenuBar,
castToMenuBar, gTypeMenuBar,
Notebook(Notebook), NotebookClass,
toNotebook,
mkNotebook, unNotebook,
castToNotebook, gTypeNotebook,
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,
GLArea(GLArea), GLAreaClass,
toGLArea,
mkGLArea, unGLArea,
castToGLArea, gTypeGLArea,
DrawingArea(DrawingArea), DrawingAreaClass,
toDrawingArea,
mkDrawingArea, unDrawingArea,
castToDrawingArea, gTypeDrawingArea,
Spinner(Spinner), SpinnerClass,
toSpinner,
mkSpinner, unSpinner,
castToSpinner, gTypeSpinner,
Entry(Entry), EntryClass,
toEntry,
mkEntry, unEntry,
castToEntry, gTypeEntry,
SpinButton(SpinButton), SpinButtonClass,
toSpinButton,
mkSpinButton, unSpinButton,
castToSpinButton, gTypeSpinButton,
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,
ProgressBar(ProgressBar), ProgressBarClass,
toProgressBar,
mkProgressBar, unProgressBar,
castToProgressBar, gTypeProgressBar,
LevelBar(LevelBar), LevelBarClass,
toLevelBar,
mkLevelBar, unLevelBar,
castToLevelBar, gTypeLevelBar,
Adjustment(Adjustment), AdjustmentClass,
toAdjustment,
mkAdjustment, unAdjustment,
castToAdjustment, gTypeAdjustment,
IMContext(IMContext), IMContextClass,
toIMContext,
mkIMContext, unIMContext,
castToIMContext, gTypeIMContext,
IMMulticontext(IMMulticontext), IMMulticontextClass,
toIMMulticontext,
mkIMMulticontext, unIMMulticontext,
castToIMMulticontext, gTypeIMMulticontext,
IMContextSimple(IMContextSimple), IMContextSimpleClass,
toIMContextSimple,
mkIMContextSimple, unIMContextSimple,
castToIMContextSimple, gTypeIMContextSimple,
TreeViewColumn(TreeViewColumn), TreeViewColumnClass,
toTreeViewColumn,
mkTreeViewColumn, unTreeViewColumn,
castToTreeViewColumn, gTypeTreeViewColumn,
CellRenderer(CellRenderer), CellRendererClass,
toCellRenderer,
mkCellRenderer, unCellRenderer,
castToCellRenderer, gTypeCellRenderer,
CellRendererSpinner(CellRendererSpinner), CellRendererSpinnerClass,
toCellRendererSpinner,
mkCellRendererSpinner, unCellRendererSpinner,
castToCellRendererSpinner, gTypeCellRendererSpinner,
CellRendererPixbuf(CellRendererPixbuf), CellRendererPixbufClass,
toCellRendererPixbuf,
mkCellRendererPixbuf, unCellRendererPixbuf,
castToCellRendererPixbuf, gTypeCellRendererPixbuf,
CellRendererText(CellRendererText), CellRendererTextClass,
toCellRendererText,
mkCellRendererText, unCellRendererText,
castToCellRendererText, gTypeCellRendererText,
CellRendererAccel(CellRendererAccel), CellRendererAccelClass,
toCellRendererAccel,
mkCellRendererAccel, unCellRendererAccel,
castToCellRendererAccel, gTypeCellRendererAccel,
CellRendererSpin(CellRendererSpin), CellRendererSpinClass,
toCellRendererSpin,
mkCellRendererSpin, unCellRendererSpin,
castToCellRendererSpin, gTypeCellRendererSpin,
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,
StyleContext(StyleContext), StyleContextClass,
toStyleContext,
mkStyleContext, unStyleContext,
castToStyleContext, gTypeStyleContext,
StyleProvider(StyleProvider), StyleProviderClass,
toStyleProvider,
mkStyleProvider, unStyleProvider,
castToStyleProvider, gTypeStyleProvider,
CssProvider(CssProvider), CssProviderClass,
toCssProvider,
mkCssProvider, unCssProvider,
castToCssProvider, gTypeCssProvider,
CellLayout(CellLayout), CellLayoutClass,
toCellLayout,
mkCellLayout, unCellLayout,
castToCellLayout, gTypeCellLayout,
TreeSortable(TreeSortable), TreeSortableClass,
toTreeSortable,
mkTreeSortable, unTreeSortable,
castToTreeSortable, gTypeTreeSortable,
Tooltip(Tooltip), TooltipClass,
toTooltip,
mkTooltip, unTooltip,
castToTooltip, gTypeTooltip,
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,
EntryBuffer(EntryBuffer), EntryBufferClass,
toEntryBuffer,
mkEntryBuffer, unEntryBuffer,
castToEntryBuffer, gTypeEntryBuffer,
Action(Action), ActionClass,
toAction,
mkAction, unAction,
castToAction, gTypeAction,
RecentAction(RecentAction), RecentActionClass,
toRecentAction,
mkRecentAction, unRecentAction,
castToRecentAction, gTypeRecentAction,
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,
CellEditable(CellEditable), CellEditableClass,
toCellEditable,
mkCellEditable, unCellEditable,
castToCellEditable, gTypeCellEditable,
Editable(Editable), EditableClass,
toEditable,
mkEditable, unEditable,
castToEditable, gTypeEditable,
FileChooser(FileChooser), FileChooserClass,
toFileChooser,
mkFileChooser, unFileChooser,
castToFileChooser, gTypeFileChooser
) where
import Foreign.ForeignPtr (ForeignPtr, castForeignPtr)
-- TODO work around cpphs https://ghc.haskell.org/trac/ghc/ticket/13553
#if __GLASGOW_HASKELL__ >= 707 || __GLASGOW_HASKELL__ == 0
import Foreign.ForeignPtr.Unsafe (unsafeForeignPtrToPtr)
#else
import Foreign.ForeignPtr (unsafeForeignPtrToPtr)
#endif
import Foreign.C.Types (CULong(..), CUInt(..), CULLong(..))
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
-- ****************************************************************** AtkObject
{#pointer *AtkObject as AtkObject foreign newtype #} deriving (Eq,Ord)
mkAtkObject = (AtkObject, objectUnrefFromMainloop)
unAtkObject (AtkObject o) = o
class GObjectClass o => AtkObjectClass o
toAtkObject :: AtkObjectClass o => o -> AtkObject
toAtkObject = unsafeCastGObject . toGObject
instance AtkObjectClass AtkObject
instance GObjectClass AtkObject where
toGObject = GObject . castForeignPtr . unAtkObject
unsafeCastGObject = AtkObject . castForeignPtr . unGObject
castToAtkObject :: GObjectClass obj => obj -> AtkObject
castToAtkObject = castTo gTypeAtkObject "AtkObject"
gTypeAtkObject :: GType
gTypeAtkObject =
{# call fun unsafe atk_object_get_type #}
-- ***************************************************************** Accessible
{#pointer *GtkAccessible as Accessible foreign newtype #} deriving (Eq,Ord)
mkAccessible = (Accessible, objectUnrefFromMainloop)
unAccessible (Accessible o) = o
class AtkObjectClass o => AccessibleClass o
toAccessible :: AccessibleClass o => o -> Accessible
toAccessible = unsafeCastGObject . toGObject
instance AccessibleClass Accessible
instance AtkObjectClass Accessible
instance GObjectClass Accessible where
toGObject = GObject . castForeignPtr . unAccessible
unsafeCastGObject = Accessible . castForeignPtr . unGObject
castToAccessible :: GObjectClass obj => obj -> Accessible
castToAccessible = castTo gTypeAccessible "Accessible"
gTypeAccessible :: GType
gTypeAccessible =
{# call fun unsafe gtk_accessible_get_type #}
-- ********************************************************************* Keymap
{#pointer *GdkKeymap as Keymap foreign newtype #} deriving (Eq,Ord)
mkKeymap = (Keymap, objectUnrefFromMainloop)
unKeymap (Keymap o) = o
class GObjectClass o => KeymapClass o
toKeymap :: KeymapClass o => o -> Keymap
toKeymap = unsafeCastGObject . toGObject
instance KeymapClass Keymap
instance GObjectClass Keymap where
toGObject = GObject . castForeignPtr . unKeymap
unsafeCastGObject = Keymap . castForeignPtr . unGObject
castToKeymap :: GObjectClass obj => obj -> Keymap
castToKeymap = castTo gTypeKeymap "Keymap"
gTypeKeymap :: GType
gTypeKeymap =
{# call fun unsafe gdk_keymap_get_type #}
-- ************************************************************* DisplayManager
{#pointer *GdkDisplayManager as DisplayManager foreign newtype #} deriving (Eq,Ord)
mkDisplayManager = (DisplayManager, objectUnrefFromMainloop)
unDisplayManager (DisplayManager o) = o
class GObjectClass o => DisplayManagerClass o
toDisplayManager :: DisplayManagerClass o => o -> DisplayManager
toDisplayManager = unsafeCastGObject . toGObject
instance DisplayManagerClass DisplayManager
instance GObjectClass DisplayManager where
toGObject = GObject . castForeignPtr . unDisplayManager
unsafeCastGObject = DisplayManager . castForeignPtr . unGObject
castToDisplayManager :: GObjectClass obj => obj -> DisplayManager
castToDisplayManager = castTo gTypeDisplayManager "DisplayManager"
gTypeDisplayManager :: GType
gTypeDisplayManager =
{# call fun unsafe gdk_display_manager_get_type #}
-- *********************************************************** AppLaunchContext
{#pointer *GdkAppLaunchContext as AppLaunchContext foreign newtype #} deriving (Eq,Ord)
mkAppLaunchContext = (AppLaunchContext, objectUnrefFromMainloop)
unAppLaunchContext (AppLaunchContext o) = o
class GObjectClass o => AppLaunchContextClass o
toAppLaunchContext :: AppLaunchContextClass o => o -> AppLaunchContext
toAppLaunchContext = unsafeCastGObject . toGObject
instance AppLaunchContextClass AppLaunchContext
instance GObjectClass AppLaunchContext where
toGObject = GObject . castForeignPtr . unAppLaunchContext
unsafeCastGObject = AppLaunchContext . castForeignPtr . unGObject
castToAppLaunchContext :: GObjectClass obj => obj -> AppLaunchContext
castToAppLaunchContext = castTo gTypeAppLaunchContext "AppLaunchContext"
gTypeAppLaunchContext :: GType
gTypeAppLaunchContext =
{# call fun unsafe gdk_app_launch_context_get_type #}
-- ************************************************************** PrintSettings
{#pointer *GtkPrintSettings as PrintSettings foreign newtype #} deriving (Eq,Ord)
mkPrintSettings = (PrintSettings, objectUnrefFromMainloop)
unPrintSettings (PrintSettings o) = o
class GObjectClass o => PrintSettingsClass o
toPrintSettings :: PrintSettingsClass o => o -> PrintSettings
toPrintSettings = unsafeCastGObject . toGObject
instance PrintSettingsClass PrintSettings
instance GObjectClass PrintSettings where
toGObject = GObject . castForeignPtr . unPrintSettings
unsafeCastGObject = PrintSettings . castForeignPtr . unGObject
castToPrintSettings :: GObjectClass obj => obj -> PrintSettings
castToPrintSettings = castTo gTypePrintSettings "PrintSettings"
gTypePrintSettings :: GType
gTypePrintSettings =
{# call fun unsafe gtk_print_settings_get_type #}
-- ************************************************************* PrintOperation
{#pointer *GtkPrintOperation as PrintOperation foreign newtype #} deriving (Eq,Ord)
mkPrintOperation = (PrintOperation, objectUnrefFromMainloop)
unPrintOperation (PrintOperation o) = o
class GObjectClass o => PrintOperationClass o
toPrintOperation :: PrintOperationClass o => o -> PrintOperation
toPrintOperation = unsafeCastGObject . toGObject
instance PrintOperationClass PrintOperation
instance GObjectClass PrintOperation where
toGObject = GObject . castForeignPtr . unPrintOperation
unsafeCastGObject = PrintOperation . castForeignPtr . unGObject
castToPrintOperation :: GObjectClass obj => obj -> PrintOperation
castToPrintOperation = castTo gTypePrintOperation "PrintOperation"
gTypePrintOperation :: GType
gTypePrintOperation =
{# call fun unsafe gtk_print_operation_get_type #}
-- ****************************************************** PrintOperationPreview
{#pointer *GtkPrintOperationPreview as PrintOperationPreview foreign newtype #} deriving (Eq,Ord)
mkPrintOperationPreview = (PrintOperationPreview, objectUnrefFromMainloop)
unPrintOperationPreview (PrintOperationPreview o) = o
class GObjectClass o => PrintOperationPreviewClass o
toPrintOperationPreview :: PrintOperationPreviewClass o => o -> PrintOperationPreview
toPrintOperationPreview = unsafeCastGObject . toGObject
instance PrintOperationPreviewClass PrintOperationPreview
instance GObjectClass PrintOperationPreview where
toGObject = GObject . castForeignPtr . unPrintOperationPreview
unsafeCastGObject = PrintOperationPreview . castForeignPtr . unGObject
castToPrintOperationPreview :: GObjectClass obj => obj -> PrintOperationPreview
castToPrintOperationPreview = castTo gTypePrintOperationPreview "PrintOperationPreview"
gTypePrintOperationPreview :: GType
gTypePrintOperationPreview =
{# call fun unsafe gtk_print_operation_preview_get_type #}
-- ****************************************************************** PageSetup
{#pointer *GtkPageSetup as PageSetup foreign newtype #} deriving (Eq,Ord)
mkPageSetup = (PageSetup, objectUnrefFromMainloop)
unPageSetup (PageSetup o) = o
class GObjectClass o => PageSetupClass o
toPageSetup :: PageSetupClass o => o -> PageSetup
toPageSetup = unsafeCastGObject . toGObject
instance PageSetupClass PageSetup
instance GObjectClass PageSetup where
toGObject = GObject . castForeignPtr . unPageSetup
unsafeCastGObject = PageSetup . castForeignPtr . unGObject
castToPageSetup :: GObjectClass obj => obj -> PageSetup
castToPageSetup = castTo gTypePageSetup "PageSetup"
gTypePageSetup :: GType
gTypePageSetup =
{# call fun unsafe gtk_page_setup_get_type #}
-- *************************************************************** PrintContext
{#pointer *GtkPrintContext as PrintContext foreign newtype #} deriving (Eq,Ord)
mkPrintContext = (PrintContext, objectUnrefFromMainloop)
unPrintContext (PrintContext o) = o
class GObjectClass o => PrintContextClass o
toPrintContext :: PrintContextClass o => o -> PrintContext
toPrintContext = unsafeCastGObject . toGObject
instance PrintContextClass PrintContext
instance GObjectClass PrintContext where
toGObject = GObject . castForeignPtr . unPrintContext
unsafeCastGObject = PrintContext . castForeignPtr . unGObject
castToPrintContext :: GObjectClass obj => obj -> PrintContext
castToPrintContext = castTo gTypePrintContext "PrintContext"
gTypePrintContext :: GType
gTypePrintContext =
{# call fun unsafe gtk_print_context_get_type #}
-- ************************************************************** RecentChooser
{#pointer *GtkRecentChooser as RecentChooser foreign newtype #} deriving (Eq,Ord)
mkRecentChooser = (RecentChooser, objectUnrefFromMainloop)
unRecentChooser (RecentChooser o) = o
class GObjectClass o => RecentChooserClass o
toRecentChooser :: RecentChooserClass o => o -> RecentChooser
toRecentChooser = unsafeCastGObject . toGObject
instance RecentChooserClass RecentChooser
instance GObjectClass RecentChooser where
toGObject = GObject . castForeignPtr . unRecentChooser
unsafeCastGObject = RecentChooser . castForeignPtr . unGObject
castToRecentChooser :: GObjectClass obj => obj -> RecentChooser
castToRecentChooser = castTo gTypeRecentChooser "RecentChooser"
gTypeRecentChooser :: GType
gTypeRecentChooser =
{# call fun unsafe gtk_recent_chooser_get_type #}
-- ************************************************************** RecentManager
{#pointer *GtkRecentManager as RecentManager foreign newtype #} deriving (Eq,Ord)
mkRecentManager = (RecentManager, objectUnrefFromMainloop)
unRecentManager (RecentManager o) = o
class GObjectClass o => RecentManagerClass o
toRecentManager :: RecentManagerClass o => o -> RecentManager
toRecentManager = unsafeCastGObject . toGObject
instance RecentManagerClass RecentManager
instance GObjectClass RecentManager where
toGObject = GObject . castForeignPtr . unRecentManager
unsafeCastGObject = RecentManager . castForeignPtr . unGObject
castToRecentManager :: GObjectClass obj => obj -> RecentManager
castToRecentManager = castTo gTypeRecentManager "RecentManager"
gTypeRecentManager :: GType
gTypeRecentManager =
{# call fun unsafe gtk_recent_manager_get_type #}
-- ***************************************************************** DrawWindow
{#pointer *GdkWindow as DrawWindow foreign newtype #} deriving (Eq,Ord)
mkDrawWindow = (DrawWindow, objectUnrefFromMainloop)
unDrawWindow (DrawWindow o) = o
class GObjectClass o => DrawWindowClass o
toDrawWindow :: DrawWindowClass o => o -> DrawWindow
toDrawWindow = unsafeCastGObject . toGObject
instance DrawWindowClass 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_get_type #}
-- ****************************************************************** GLContext
{#pointer *GdkGLContext as GLContext foreign newtype #} deriving (Eq,Ord)
mkGLContext = (GLContext, objectUnrefFromMainloop)
unGLContext (GLContext o) = o
class GObjectClass o => GLContextClass o
toGLContext :: GLContextClass o => o -> GLContext
toGLContext = unsafeCastGObject . toGObject
instance GLContextClass GLContext
instance GObjectClass GLContext where
toGObject = GObject . castForeignPtr . unGLContext
unsafeCastGObject = GLContext . castForeignPtr . unGObject
castToGLContext :: GObjectClass obj => obj -> GLContext
castToGLContext = castTo gTypeGLContext "GLContext"
gTypeGLContext :: GType
gTypeGLContext =
{# call fun unsafe gdk_gl_context_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 #}
-- ***************************************************************** FrameClock
{#pointer *GdkFrameClock as FrameClock foreign newtype #} deriving (Eq,Ord)
mkFrameClock = (FrameClock, objectUnrefFromMainloop)
unFrameClock (FrameClock o) = o
class GObjectClass o => FrameClockClass o
toFrameClock :: FrameClockClass o => o -> FrameClock
toFrameClock = unsafeCastGObject . toGObject
instance FrameClockClass FrameClock
instance GObjectClass FrameClock where
toGObject = GObject . castForeignPtr . unFrameClock
unsafeCastGObject = FrameClock . castForeignPtr . unGObject
castToFrameClock :: GObjectClass obj => obj -> FrameClock
castToFrameClock = castTo gTypeFrameClock "FrameClock"
gTypeFrameClock :: GType
gTypeFrameClock =
{# call fun unsafe gdk_frame_clock_get_type #}
-- ******************************************************************* Settings
{#pointer *GtkSettings as 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 *GtkTextBuffer as 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 *GtkTextTag as 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 *GtkTextTagTable as 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 *GtkStyle as 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 *GtkRcStyle as 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, objectUnref)
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, objectUnref)
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, objectUnref)
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, objectUnref)
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 *GtkTextChildAnchor as 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 *GtkTextMark as 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 #}
-- *************************************************************** RecentFilter
{#pointer *GtkRecentFilter as RecentFilter foreign newtype #} deriving (Eq,Ord)
mkRecentFilter = (RecentFilter, objectUnrefFromMainloop)
unRecentFilter (RecentFilter o) = o
class GObjectClass o => RecentFilterClass o
toRecentFilter :: RecentFilterClass o => o -> RecentFilter
toRecentFilter = unsafeCastGObject . toGObject
instance RecentFilterClass RecentFilter
instance GObjectClass RecentFilter where
toGObject = GObject . castForeignPtr . unRecentFilter
unsafeCastGObject = RecentFilter . castForeignPtr . unGObject
castToRecentFilter :: GObjectClass obj => obj -> RecentFilter
castToRecentFilter = castTo gTypeRecentFilter "RecentFilter"
gTypeRecentFilter :: GType
gTypeRecentFilter =
{# call fun unsafe gtk_recent_filter_get_type #}
-- ********************************************************************* Widget
{#pointer *GtkWidget as Widget foreign newtype #} deriving (Eq,Ord)
mkWidget = (Widget, objectUnrefFromMainloop)
unWidget (Widget o) = o
class GObjectClass o => WidgetClass o
toWidget :: WidgetClass o => o -> Widget
toWidget = unsafeCastGObject . toGObject
instance WidgetClass 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 #}
-- ************************************************************************ HSV
{#pointer *GtkHSV as HSV foreign newtype #} deriving (Eq,Ord)
mkHSV = (HSV, objectUnrefFromMainloop)
unHSV (HSV o) = o
class WidgetClass o => HSVClass o
toHSV :: HSVClass o => o -> HSV
toHSV = unsafeCastGObject . toGObject
instance HSVClass HSV
instance WidgetClass HSV
instance GObjectClass HSV where
toGObject = GObject . castForeignPtr . unHSV
unsafeCastGObject = HSV . castForeignPtr . unGObject
castToHSV :: GObjectClass obj => obj -> HSV
castToHSV = castTo gTypeHSV "HSV"
gTypeHSV :: GType
gTypeHSV =
{# call fun unsafe gtk_hsv_get_type #}
-- *********************************************************************** Misc
{#pointer *GtkMisc as 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 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 *GtkLabel as 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 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 *GtkAccelLabel as 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 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 #}
-- ********************************************************************** Arrow
{#pointer *GtkArrow as 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 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 *GtkImage as 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 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 #}
-- ********************************************************************* Switch
{#pointer *GtkSwitch as Switch foreign newtype #} deriving (Eq,Ord)
mkSwitch = (Switch, objectUnrefFromMainloop)
unSwitch (Switch o) = o
class WidgetClass o => SwitchClass o
toSwitch :: SwitchClass o => o -> Switch
toSwitch = unsafeCastGObject . toGObject
instance SwitchClass Switch
instance WidgetClass Switch
instance GObjectClass Switch where
toGObject = GObject . castForeignPtr . unSwitch
unsafeCastGObject = Switch . castForeignPtr . unGObject
castToSwitch :: GObjectClass obj => obj -> Switch
castToSwitch = castTo gTypeSwitch "Switch"
gTypeSwitch :: GType
gTypeSwitch =
{# call fun unsafe gtk_switch_get_type #}
-- ****************************************************************** Container
{#pointer *GtkContainer as 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 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 #}
-- **************************************************************** ToolPalette
{#pointer *GtkToolPalette as ToolPalette foreign newtype #} deriving (Eq,Ord)
mkToolPalette = (ToolPalette, objectUnrefFromMainloop)
unToolPalette (ToolPalette o) = o
class ContainerClass o => ToolPaletteClass o
toToolPalette :: ToolPaletteClass o => o -> ToolPalette
toToolPalette = unsafeCastGObject . toGObject
instance ToolPaletteClass ToolPalette
instance ContainerClass ToolPalette
instance WidgetClass ToolPalette
instance GObjectClass ToolPalette where
toGObject = GObject . castForeignPtr . unToolPalette
unsafeCastGObject = ToolPalette . castForeignPtr . unGObject
castToToolPalette :: GObjectClass obj => obj -> ToolPalette
castToToolPalette = castTo gTypeToolPalette "ToolPalette"
gTypeToolPalette :: GType
gTypeToolPalette =
{# call fun unsafe gtk_tool_palette_get_type #}
-- ************************************************************** ToolItemGroup
{#pointer *GtkToolItemGroup as ToolItemGroup foreign newtype #} deriving (Eq,Ord)
mkToolItemGroup = (ToolItemGroup, objectUnrefFromMainloop)
unToolItemGroup (ToolItemGroup o) = o
class ContainerClass o => ToolItemGroupClass o
toToolItemGroup :: ToolItemGroupClass o => o -> ToolItemGroup
toToolItemGroup = unsafeCastGObject . toGObject
instance ToolItemGroupClass ToolItemGroup
instance ContainerClass ToolItemGroup
instance WidgetClass ToolItemGroup
instance GObjectClass ToolItemGroup where
toGObject = GObject . castForeignPtr . unToolItemGroup
unsafeCastGObject = ToolItemGroup . castForeignPtr . unGObject
castToToolItemGroup :: GObjectClass obj => obj -> ToolItemGroup
castToToolItemGroup = castTo gTypeToolItemGroup "ToolItemGroup"
gTypeToolItemGroup :: GType
gTypeToolItemGroup =
{# call fun unsafe gtk_tool_item_group_get_type #}
-- ********************************************************************** Stack
{#pointer *GtkStack as Stack foreign newtype #} deriving (Eq,Ord)
mkStack = (Stack, objectUnrefFromMainloop)
unStack (Stack o) = o
class ContainerClass o => StackClass o
toStack :: StackClass o => o -> Stack
toStack = unsafeCastGObject . toGObject
instance StackClass Stack
instance ContainerClass Stack
instance WidgetClass Stack
instance GObjectClass Stack where
toGObject = GObject . castForeignPtr . unStack
unsafeCastGObject = Stack . castForeignPtr . unGObject
castToStack :: GObjectClass obj => obj -> Stack
castToStack = castTo gTypeStack "Stack"
gTypeStack :: GType
gTypeStack =
{# call fun unsafe gtk_stack_get_type #}
-- ************************************************************************ Bin
{#pointer *GtkBin as 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 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 *GtkAlignment as 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 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 *GtkFrame as 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 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 *GtkAspectFrame as 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 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 *GtkButton as 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 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 #}
-- **************************************************************** ScaleButton
{#pointer *GtkScaleButton as ScaleButton foreign newtype #} deriving (Eq,Ord)
mkScaleButton = (ScaleButton, objectUnrefFromMainloop)
unScaleButton (ScaleButton o) = o
class ButtonClass o => ScaleButtonClass o
toScaleButton :: ScaleButtonClass o => o -> ScaleButton
toScaleButton = unsafeCastGObject . toGObject
instance ScaleButtonClass ScaleButton
instance ButtonClass ScaleButton
instance BinClass ScaleButton
instance ContainerClass ScaleButton
instance WidgetClass ScaleButton
instance GObjectClass ScaleButton where
toGObject = GObject . castForeignPtr . unScaleButton
unsafeCastGObject = ScaleButton . castForeignPtr . unGObject
castToScaleButton :: GObjectClass obj => obj -> ScaleButton
castToScaleButton = castTo gTypeScaleButton "ScaleButton"
gTypeScaleButton :: GType
gTypeScaleButton =
{# call fun unsafe gtk_scale_button_get_type #}
-- *************************************************************** VolumeButton
{#pointer *GtkVolumeButton as VolumeButton foreign newtype #} deriving (Eq,Ord)
mkVolumeButton = (VolumeButton, objectUnrefFromMainloop)
unVolumeButton (VolumeButton o) = o
class ScaleButtonClass o => VolumeButtonClass o
toVolumeButton :: VolumeButtonClass o => o -> VolumeButton
toVolumeButton = unsafeCastGObject . toGObject
instance VolumeButtonClass VolumeButton
instance ScaleButtonClass VolumeButton
instance ButtonClass VolumeButton
instance BinClass VolumeButton
instance ContainerClass VolumeButton
instance WidgetClass VolumeButton
instance GObjectClass VolumeButton where
toGObject = GObject . castForeignPtr . unVolumeButton
unsafeCastGObject = VolumeButton . castForeignPtr . unGObject
castToVolumeButton :: GObjectClass obj => obj -> VolumeButton
castToVolumeButton = castTo gTypeVolumeButton "VolumeButton"
gTypeVolumeButton :: GType
gTypeVolumeButton =
{# call fun unsafe gtk_volume_button_get_type #}
-- ***************************************************************** LinkButton
{#pointer *GtkLinkButton as LinkButton foreign newtype #} deriving (Eq,Ord)
mkLinkButton = (LinkButton, objectUnrefFromMainloop)
unLinkButton (LinkButton o) = o
class ButtonClass o => LinkButtonClass o
toLinkButton :: LinkButtonClass o => o -> LinkButton
toLinkButton = unsafeCastGObject . toGObject
instance LinkButtonClass LinkButton
instance ButtonClass LinkButton
instance BinClass LinkButton
instance ContainerClass LinkButton
instance WidgetClass LinkButton
instance GObjectClass LinkButton where
toGObject = GObject . castForeignPtr . unLinkButton
unsafeCastGObject = LinkButton . castForeignPtr . unGObject
castToLinkButton :: GObjectClass obj => obj -> LinkButton
castToLinkButton = castTo gTypeLinkButton "LinkButton"
gTypeLinkButton :: GType
gTypeLinkButton =
{# call fun unsafe gtk_link_button_get_type #}
-- *************************************************************** ToggleButton
{#pointer *GtkToggleButton as 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 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 *GtkCheckButton as 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 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 *GtkRadioButton as 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 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 *GtkColorButton as 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 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 *GtkFontButton as 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 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 #}
-- ******************************************************************* MenuItem
{#pointer *GtkMenuItem as MenuItem foreign newtype #} deriving (Eq,Ord)
mkMenuItem = (MenuItem, objectUnrefFromMainloop)
unMenuItem (MenuItem o) = o
class BinClass o => MenuItemClass o
toMenuItem :: MenuItemClass o => o -> MenuItem
toMenuItem = unsafeCastGObject . toGObject
instance MenuItemClass MenuItem
instance BinClass MenuItem
instance ContainerClass MenuItem
instance WidgetClass 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 *GtkCheckMenuItem as 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 BinClass CheckMenuItem
instance ContainerClass CheckMenuItem
instance WidgetClass 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 *GtkRadioMenuItem as 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 BinClass RadioMenuItem
instance ContainerClass RadioMenuItem
instance WidgetClass 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 *GtkTearoffMenuItem as 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 BinClass TearoffMenuItem
instance ContainerClass TearoffMenuItem
instance WidgetClass 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 *GtkImageMenuItem as 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 BinClass ImageMenuItem
instance ContainerClass ImageMenuItem
instance WidgetClass 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 *GtkSeparatorMenuItem as 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 BinClass SeparatorMenuItem
instance ContainerClass SeparatorMenuItem
instance WidgetClass 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 #}
-- ******************************************************************** Overlay
{#pointer *GtkOverlay as Overlay foreign newtype #} deriving (Eq,Ord)
mkOverlay = (Overlay, objectUnrefFromMainloop)
unOverlay (Overlay o) = o
class BinClass o => OverlayClass o
toOverlay :: OverlayClass o => o -> Overlay
toOverlay = unsafeCastGObject . toGObject
instance OverlayClass Overlay
instance BinClass Overlay
instance ContainerClass Overlay
instance WidgetClass Overlay
instance GObjectClass Overlay where
toGObject = GObject . castForeignPtr . unOverlay
unsafeCastGObject = Overlay . castForeignPtr . unGObject
castToOverlay :: GObjectClass obj => obj -> Overlay
castToOverlay = castTo gTypeOverlay "Overlay"
gTypeOverlay :: GType
gTypeOverlay =
{# call fun unsafe gtk_overlay_get_type #}
-- ********************************************************************* Window
{#pointer *GtkWindow as 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 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 #}
-- ****************************************************************** Assistant
{#pointer *GtkAssistant as Assistant foreign newtype #} deriving (Eq,Ord)
mkAssistant = (Assistant, objectUnrefFromMainloop)
unAssistant (Assistant o) = o
class WindowClass o => AssistantClass o
toAssistant :: AssistantClass o => o -> Assistant
toAssistant = unsafeCastGObject . toGObject
instance AssistantClass Assistant
instance WindowClass Assistant
instance BinClass Assistant
instance ContainerClass Assistant
instance WidgetClass Assistant
instance GObjectClass Assistant where
toGObject = GObject . castForeignPtr . unAssistant
unsafeCastGObject = Assistant . castForeignPtr . unGObject
castToAssistant :: GObjectClass obj => obj -> Assistant
castToAssistant = castTo gTypeAssistant "Assistant"
gTypeAssistant :: GType
gTypeAssistant =
{# call fun unsafe gtk_assistant_get_type #}
-- ************************************************************ OffscreenWindow
{#pointer *GtkOffscreenWindow as OffscreenWindow foreign newtype #} deriving (Eq,Ord)
mkOffscreenWindow = (OffscreenWindow, objectUnrefFromMainloop)
unOffscreenWindow (OffscreenWindow o) = o
class WindowClass o => OffscreenWindowClass o
toOffscreenWindow :: OffscreenWindowClass o => o -> OffscreenWindow
toOffscreenWindow = unsafeCastGObject . toGObject
instance OffscreenWindowClass OffscreenWindow
instance WindowClass OffscreenWindow
instance BinClass OffscreenWindow
instance ContainerClass OffscreenWindow
instance WidgetClass OffscreenWindow
instance GObjectClass OffscreenWindow where
toGObject = GObject . castForeignPtr . unOffscreenWindow
unsafeCastGObject = OffscreenWindow . castForeignPtr . unGObject
castToOffscreenWindow :: GObjectClass obj => obj -> OffscreenWindow
castToOffscreenWindow = castTo gTypeOffscreenWindow "OffscreenWindow"
gTypeOffscreenWindow :: GType
gTypeOffscreenWindow =
{# call fun unsafe gtk_offscreen_window_get_type #}
-- ********************************************************************* Dialog
{#pointer *GtkDialog as 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 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 *GtkAboutDialog as 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 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 *GtkColorSelectionDialog as 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 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 #}
-- ********************************************************** FileChooserDialog
{#pointer *GtkFileChooserDialog as 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 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 *GtkFontSelectionDialog as 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 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 #}
-- ************************************************************** MessageDialog
{#pointer *GtkMessageDialog as 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 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 #}
-- ******************************************************************* EventBox
{#pointer *GtkEventBox as 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 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 *GtkHandleBox as 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 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 *GtkScrolledWindow as 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 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 *GtkViewport as 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 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 *GtkExpander as 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 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 *GtkComboBox as 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 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 #}
-- ******************************************************************* ToolItem
{#pointer *GtkToolItem as 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 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 *GtkToolButton as 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 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 *GtkMenuToolButton as 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 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 *GtkToggleToolButton as 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 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 *GtkRadioToolButton as 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 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 *GtkSeparatorToolItem as 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 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 #}
-- ************************************************************** StackSwitcher
{#pointer *GtkStackSwitcher as StackSwitcher foreign newtype #} deriving (Eq,Ord)
mkStackSwitcher = (StackSwitcher, objectUnrefFromMainloop)
unStackSwitcher (StackSwitcher o) = o
class BinClass o => StackSwitcherClass o
toStackSwitcher :: StackSwitcherClass o => o -> StackSwitcher
toStackSwitcher = unsafeCastGObject . toGObject
instance StackSwitcherClass StackSwitcher
instance BinClass StackSwitcher
instance ContainerClass StackSwitcher
instance WidgetClass StackSwitcher
instance GObjectClass StackSwitcher where
toGObject = GObject . castForeignPtr . unStackSwitcher
unsafeCastGObject = StackSwitcher . castForeignPtr . unGObject
castToStackSwitcher :: GObjectClass obj => obj -> StackSwitcher
castToStackSwitcher = castTo gTypeStackSwitcher "StackSwitcher"
gTypeStackSwitcher :: GType
gTypeStackSwitcher =
{# call fun unsafe gtk_stack_switcher_get_type #}
-- ************************************************************************ Box
{#pointer *GtkBox as 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 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 *GtkButtonBox as 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 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 *GtkHButtonBox as 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 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 *GtkVButtonBox as 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 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 *GtkVBox as 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 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 #}
-- ******************************************************** RecentChooserWidget
{#pointer *GtkRecentChooserWidget as RecentChooserWidget foreign newtype #} deriving (Eq,Ord)
mkRecentChooserWidget = (RecentChooserWidget, objectUnrefFromMainloop)
unRecentChooserWidget (RecentChooserWidget o) = o
class VBoxClass o => RecentChooserWidgetClass o
toRecentChooserWidget :: RecentChooserWidgetClass o => o -> RecentChooserWidget
toRecentChooserWidget = unsafeCastGObject . toGObject
instance RecentChooserWidgetClass RecentChooserWidget
instance VBoxClass RecentChooserWidget
instance BoxClass RecentChooserWidget
instance ContainerClass RecentChooserWidget
instance WidgetClass RecentChooserWidget
instance GObjectClass RecentChooserWidget where
toGObject = GObject . castForeignPtr . unRecentChooserWidget
unsafeCastGObject = RecentChooserWidget . castForeignPtr . unGObject
castToRecentChooserWidget :: GObjectClass obj => obj -> RecentChooserWidget
castToRecentChooserWidget = castTo gTypeRecentChooserWidget "RecentChooserWidget"
gTypeRecentChooserWidget :: GType
gTypeRecentChooserWidget =
{# call fun unsafe gtk_recent_chooser_widget_get_type #}
-- ************************************************************* ColorSelection
{#pointer *GtkColorSelection as 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 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 *GtkFontSelection as 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 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 *GtkFileChooserWidget as 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 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 *GtkHBox as 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 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 #}
-- ******************************************************************** InfoBar
{#pointer *GtkInfoBar as InfoBar foreign newtype #} deriving (Eq,Ord)
mkInfoBar = (InfoBar, objectUnrefFromMainloop)
unInfoBar (InfoBar o) = o
class HBoxClass o => InfoBarClass o
toInfoBar :: InfoBarClass o => o -> InfoBar
toInfoBar = unsafeCastGObject . toGObject
instance InfoBarClass InfoBar
instance HBoxClass InfoBar
instance BoxClass InfoBar
instance ContainerClass InfoBar
instance WidgetClass InfoBar
instance GObjectClass InfoBar where
toGObject = GObject . castForeignPtr . unInfoBar
unsafeCastGObject = InfoBar . castForeignPtr . unGObject
castToInfoBar :: GObjectClass obj => obj -> InfoBar
castToInfoBar = castTo gTypeInfoBar "InfoBar"
gTypeInfoBar :: GType
gTypeInfoBar =
{# call fun unsafe gtk_info_bar_get_type #}
-- ********************************************************** FileChooserButton
{#pointer *GtkFileChooserButton as 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 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 *GtkStatusbar as 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 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 #}
-- *********************************************************************** Grid
{#pointer *GtkGrid as Grid foreign newtype #} deriving (Eq,Ord)
mkGrid = (Grid, objectUnrefFromMainloop)
unGrid (Grid o) = o
class ContainerClass o => GridClass o
toGrid :: GridClass o => o -> Grid
toGrid = unsafeCastGObject . toGObject
instance GridClass Grid
instance ContainerClass Grid
instance WidgetClass Grid
instance GObjectClass Grid where
toGObject = GObject . castForeignPtr . unGrid
unsafeCastGObject = Grid . castForeignPtr . unGObject
castToGrid :: GObjectClass obj => obj -> Grid
castToGrid = castTo gTypeGrid "Grid"
gTypeGrid :: GType
gTypeGrid =
{# call fun unsafe gtk_grid_get_type #}
-- ********************************************************************** Fixed
{#pointer *GtkFixed as 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 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 *GtkPaned as 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 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 *GtkHPaned as 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 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 *GtkVPaned as 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 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 *GtkIconView as 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 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 *GtkLayout as 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 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 #}
-- ****************************************************************** MenuShell
{#pointer *GtkMenuShell as 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 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 *GtkMenu as 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 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 #}
-- ********************************************************** RecentChooserMenu
{#pointer *GtkRecentChooserMenu as RecentChooserMenu foreign newtype #} deriving (Eq,Ord)
mkRecentChooserMenu = (RecentChooserMenu, objectUnrefFromMainloop)
unRecentChooserMenu (RecentChooserMenu o) = o
class MenuClass o => RecentChooserMenuClass o
toRecentChooserMenu :: RecentChooserMenuClass o => o -> RecentChooserMenu
toRecentChooserMenu = unsafeCastGObject . toGObject
instance RecentChooserMenuClass RecentChooserMenu
instance MenuClass RecentChooserMenu
instance MenuShellClass RecentChooserMenu
instance ContainerClass RecentChooserMenu
instance WidgetClass RecentChooserMenu
instance GObjectClass RecentChooserMenu where
toGObject = GObject . castForeignPtr . unRecentChooserMenu
unsafeCastGObject = RecentChooserMenu . castForeignPtr . unGObject
castToRecentChooserMenu :: GObjectClass obj => obj -> RecentChooserMenu
castToRecentChooserMenu = castTo gTypeRecentChooserMenu "RecentChooserMenu"
gTypeRecentChooserMenu :: GType
gTypeRecentChooserMenu =
{# call fun unsafe gtk_recent_chooser_menu_get_type #}
-- ******************************************************************** MenuBar
{#pointer *GtkMenuBar as 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 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 *GtkNotebook as 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 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 #}
-- ********************************************************************** Table
{#pointer *GtkTable as 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 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 *GtkTextView as 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 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 *GtkToolbar as 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 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 *GtkTreeView as 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 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 *GtkCalendar as 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 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 *GtkCellView as 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 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 #}
-- ********************************************************************* GLArea
{#pointer *GtkGLArea as GLArea foreign newtype #} deriving (Eq,Ord)
mkGLArea = (GLArea, objectUnrefFromMainloop)
unGLArea (GLArea o) = o
class WidgetClass o => GLAreaClass o
toGLArea :: GLAreaClass o => o -> GLArea
toGLArea = unsafeCastGObject . toGObject
instance GLAreaClass GLArea
instance WidgetClass GLArea
instance GObjectClass GLArea where
toGObject = GObject . castForeignPtr . unGLArea
unsafeCastGObject = GLArea . castForeignPtr . unGObject
castToGLArea :: GObjectClass obj => obj -> GLArea
castToGLArea = castTo gTypeGLArea "GLArea"
gTypeGLArea :: GType
gTypeGLArea =
{# call fun unsafe gtk_gl_area_get_type #}
-- **************************************************************** DrawingArea
{#pointer *GtkDrawingArea as 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 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 #}
-- ******************************************************************** Spinner
{#pointer *GtkSpinner as Spinner foreign newtype #} deriving (Eq,Ord)
mkSpinner = (Spinner, objectUnrefFromMainloop)
unSpinner (Spinner o) = o
class DrawingAreaClass o => SpinnerClass o
toSpinner :: SpinnerClass o => o -> Spinner
toSpinner = unsafeCastGObject . toGObject
instance SpinnerClass Spinner
instance DrawingAreaClass Spinner
instance WidgetClass Spinner
instance GObjectClass Spinner where
toGObject = GObject . castForeignPtr . unSpinner
unsafeCastGObject = Spinner . castForeignPtr . unGObject
castToSpinner :: GObjectClass obj => obj -> Spinner
castToSpinner = castTo gTypeSpinner "Spinner"
gTypeSpinner :: GType
gTypeSpinner =
{# call fun unsafe gtk_spinner_get_type #}
-- ********************************************************************** Entry
{#pointer *GtkEntry as 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 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 *GtkSpinButton as 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 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 #}
-- ********************************************************************** Range
{#pointer *GtkRange as 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 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 *GtkScale as 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 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 *GtkHScale as 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 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 *GtkVScale as 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 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 *GtkScrollbar as 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 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 *GtkHScrollbar as 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 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 *GtkVScrollbar as 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 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 *GtkSeparator as 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 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 *GtkHSeparator as 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 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 *GtkVSeparator as 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 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 *GtkInvisible as 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 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 #}
-- **************************************************************** ProgressBar
{#pointer *GtkProgressBar as 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 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 #}
-- ******************************************************************* LevelBar
{#pointer *GtkLevelBar as LevelBar foreign newtype #} deriving (Eq,Ord)
mkLevelBar = (LevelBar, objectUnrefFromMainloop)
unLevelBar (LevelBar o) = o
class WidgetClass o => LevelBarClass o
toLevelBar :: LevelBarClass o => o -> LevelBar
toLevelBar = unsafeCastGObject . toGObject
instance LevelBarClass LevelBar
instance WidgetClass LevelBar
instance GObjectClass LevelBar where
toGObject = GObject . castForeignPtr . unLevelBar
unsafeCastGObject = LevelBar . castForeignPtr . unGObject
castToLevelBar :: GObjectClass obj => obj -> LevelBar
castToLevelBar = castTo gTypeLevelBar "LevelBar"
gTypeLevelBar :: GType
gTypeLevelBar =
{# call fun unsafe gtk_level_bar_get_type #}
-- ***************************************************************** Adjustment
{#pointer *GtkAdjustment as Adjustment foreign newtype #} deriving (Eq,Ord)
mkAdjustment = (Adjustment, objectUnrefFromMainloop)
unAdjustment (Adjustment o) = o
class GObjectClass o => AdjustmentClass o
toAdjustment :: AdjustmentClass o => o -> Adjustment
toAdjustment = unsafeCastGObject . toGObject
instance AdjustmentClass 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 *GtkIMContext as IMContext foreign newtype #} deriving (Eq,Ord)
mkIMContext = (IMContext, objectUnrefFromMainloop)
unIMContext (IMContext o) = o
class GObjectClass o => IMContextClass o
toIMContext :: IMContextClass o => o -> IMContext
toIMContext = unsafeCastGObject . toGObject
instance IMContextClass 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 *GtkIMMulticontext as 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 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 #}
-- ************************************************************ IMContextSimple
{#pointer *GtkIMContextSimple as IMContextSimple foreign newtype #} deriving (Eq,Ord)
mkIMContextSimple = (IMContextSimple, objectUnrefFromMainloop)
unIMContextSimple (IMContextSimple o) = o
class IMContextClass o => IMContextSimpleClass o
toIMContextSimple :: IMContextSimpleClass o => o -> IMContextSimple
toIMContextSimple = unsafeCastGObject . toGObject
instance IMContextSimpleClass IMContextSimple
instance IMContextClass IMContextSimple
instance GObjectClass IMContextSimple where
toGObject = GObject . castForeignPtr . unIMContextSimple
unsafeCastGObject = IMContextSimple . castForeignPtr . unGObject
castToIMContextSimple :: GObjectClass obj => obj -> IMContextSimple
castToIMContextSimple = castTo gTypeIMContextSimple "IMContextSimple"
gTypeIMContextSimple :: GType
gTypeIMContextSimple =
{# call fun unsafe gtk_im_context_simple_get_type #}
-- ************************************************************* TreeViewColumn
{#pointer *GtkTreeViewColumn as TreeViewColumn foreign newtype #} deriving (Eq,Ord)
mkTreeViewColumn = (TreeViewColumn, objectUnrefFromMainloop)
unTreeViewColumn (TreeViewColumn o) = o
class GObjectClass o => TreeViewColumnClass o
toTreeViewColumn :: TreeViewColumnClass o => o -> TreeViewColumn
toTreeViewColumn = unsafeCastGObject . toGObject
instance TreeViewColumnClass 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 *GtkCellRenderer as CellRenderer foreign newtype #} deriving (Eq,Ord)
mkCellRenderer = (CellRenderer, objectUnrefFromMainloop)
unCellRenderer (CellRenderer o) = o
class GObjectClass o => CellRendererClass o
toCellRenderer :: CellRendererClass o => o -> CellRenderer
toCellRenderer = unsafeCastGObject . toGObject
instance CellRendererClass 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 #}
-- ******************************************************** CellRendererSpinner
{#pointer *GtkCellRendererSpinner as CellRendererSpinner foreign newtype #} deriving (Eq,Ord)
mkCellRendererSpinner = (CellRendererSpinner, objectUnrefFromMainloop)
unCellRendererSpinner (CellRendererSpinner o) = o
class CellRendererClass o => CellRendererSpinnerClass o
toCellRendererSpinner :: CellRendererSpinnerClass o => o -> CellRendererSpinner
toCellRendererSpinner = unsafeCastGObject . toGObject
instance CellRendererSpinnerClass CellRendererSpinner
instance CellRendererClass CellRendererSpinner
instance GObjectClass CellRendererSpinner where
toGObject = GObject . castForeignPtr . unCellRendererSpinner
unsafeCastGObject = CellRendererSpinner . castForeignPtr . unGObject
castToCellRendererSpinner :: GObjectClass obj => obj -> CellRendererSpinner
castToCellRendererSpinner = castTo gTypeCellRendererSpinner "CellRendererSpinner"
gTypeCellRendererSpinner :: GType
gTypeCellRendererSpinner =
{# call fun unsafe gtk_cell_renderer_spinner_get_type #}
-- ********************************************************* CellRendererPixbuf
{#pointer *GtkCellRendererPixbuf as 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 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 *GtkCellRendererText as 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 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 #}
-- ********************************************************** CellRendererAccel
{#pointer *GtkCellRendererAccel as CellRendererAccel foreign newtype #} deriving (Eq,Ord)
mkCellRendererAccel = (CellRendererAccel, objectUnrefFromMainloop)
unCellRendererAccel (CellRendererAccel o) = o
class CellRendererTextClass o => CellRendererAccelClass o
toCellRendererAccel :: CellRendererAccelClass o => o -> CellRendererAccel
toCellRendererAccel = unsafeCastGObject . toGObject
instance CellRendererAccelClass CellRendererAccel
instance CellRendererTextClass CellRendererAccel
instance CellRendererClass CellRendererAccel
instance GObjectClass CellRendererAccel where
toGObject = GObject . castForeignPtr . unCellRendererAccel
unsafeCastGObject = CellRendererAccel . castForeignPtr . unGObject
castToCellRendererAccel :: GObjectClass obj => obj -> CellRendererAccel
castToCellRendererAccel = castTo gTypeCellRendererAccel "CellRendererAccel"
gTypeCellRendererAccel :: GType
gTypeCellRendererAccel =
{# call fun unsafe gtk_cell_renderer_accel_get_type #}
-- *********************************************************** CellRendererSpin
{#pointer *GtkCellRendererSpin as CellRendererSpin foreign newtype #} deriving (Eq,Ord)
mkCellRendererSpin = (CellRendererSpin, objectUnrefFromMainloop)
unCellRendererSpin (CellRendererSpin o) = o
class CellRendererTextClass o => CellRendererSpinClass o
toCellRendererSpin :: CellRendererSpinClass o => o -> CellRendererSpin
toCellRendererSpin = unsafeCastGObject . toGObject
instance CellRendererSpinClass CellRendererSpin
instance CellRendererTextClass CellRendererSpin
instance CellRendererClass CellRendererSpin
instance GObjectClass CellRendererSpin where
toGObject = GObject . castForeignPtr . unCellRendererSpin
unsafeCastGObject = CellRendererSpin . castForeignPtr . unGObject
castToCellRendererSpin :: GObjectClass obj => obj -> CellRendererSpin
castToCellRendererSpin = castTo gTypeCellRendererSpin "CellRendererSpin"
gTypeCellRendererSpin :: GType
gTypeCellRendererSpin =
{# call fun unsafe gtk_cell_renderer_spin_get_type #}
-- ********************************************************** CellRendererCombo
{#pointer *GtkCellRendererCombo as 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 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 *GtkCellRendererToggle as 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 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 *GtkCellRendererProgress as 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 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 *GtkFileFilter as FileFilter foreign newtype #} deriving (Eq,Ord)
mkFileFilter = (FileFilter, objectUnrefFromMainloop)
unFileFilter (FileFilter o) = o
class GObjectClass o => FileFilterClass o
toFileFilter :: FileFilterClass o => o -> FileFilter
toFileFilter = unsafeCastGObject . toGObject
instance FileFilterClass 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 *GtkBuilder as Builder foreign newtype #} deriving (Eq,Ord)
mkBuilder = (Builder, objectUnrefFromMainloop)
unBuilder (Builder o) = o
class GObjectClass o => BuilderClass o
toBuilder :: BuilderClass o => o -> Builder
toBuilder = unsafeCastGObject . toGObject
instance BuilderClass 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 #}
-- *************************************************************** StyleContext
{#pointer *GtkStyleContext as StyleContext foreign newtype #} deriving (Eq,Ord)
mkStyleContext = (StyleContext, objectUnrefFromMainloop)
unStyleContext (StyleContext o) = o
class GObjectClass o => StyleContextClass o
toStyleContext :: StyleContextClass o => o -> StyleContext
toStyleContext = unsafeCastGObject . toGObject
instance StyleContextClass StyleContext
instance GObjectClass StyleContext where
toGObject = GObject . castForeignPtr . unStyleContext
unsafeCastGObject = StyleContext . castForeignPtr . unGObject
castToStyleContext :: GObjectClass obj => obj -> StyleContext
castToStyleContext = castTo gTypeStyleContext "StyleContext"
gTypeStyleContext :: GType
gTypeStyleContext =
{# call fun unsafe gtk_style_context_get_type #}
-- ************************************************************** StyleProvider
{#pointer *GtkStyleProvider as StyleProvider foreign newtype #} deriving (Eq,Ord)
mkStyleProvider = (StyleProvider, objectUnrefFromMainloop)
unStyleProvider (StyleProvider o) = o
class GObjectClass o => StyleProviderClass o
toStyleProvider :: StyleProviderClass o => o -> StyleProvider
toStyleProvider = unsafeCastGObject . toGObject
instance StyleProviderClass StyleProvider
instance GObjectClass StyleProvider where
toGObject = GObject . castForeignPtr . unStyleProvider
unsafeCastGObject = StyleProvider . castForeignPtr . unGObject
castToStyleProvider :: GObjectClass obj => obj -> StyleProvider
castToStyleProvider = castTo gTypeStyleProvider "StyleProvider"
gTypeStyleProvider :: GType
gTypeStyleProvider =
{# call fun unsafe gtk_style_provider_get_type #}
-- **************************************************************** CssProvider
{#pointer *GtkCssProvider as CssProvider foreign newtype #} deriving (Eq,Ord)
mkCssProvider = (CssProvider, objectUnrefFromMainloop)
unCssProvider (CssProvider o) = o
class GObjectClass o => CssProviderClass o
toCssProvider :: CssProviderClass o => o -> CssProvider
toCssProvider = unsafeCastGObject . toGObject
instance CssProviderClass CssProvider
instance GObjectClass CssProvider where
toGObject = GObject . castForeignPtr . unCssProvider
unsafeCastGObject = CssProvider . castForeignPtr . unGObject
castToCssProvider :: GObjectClass obj => obj -> CssProvider
castToCssProvider = castTo gTypeCssProvider "CssProvider"
gTypeCssProvider :: GType
gTypeCssProvider =
{# call fun unsafe gtk_css_provider_get_type #}
-- ***************************************************************** CellLayout
{#pointer *GtkCellLayout as 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 *GtkTreeSortable as 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 #}
-- ******************************************************************** Tooltip
{#pointer *GtkTooltip as Tooltip foreign newtype #} deriving (Eq,Ord)
mkTooltip = (Tooltip, objectUnrefFromMainloop)
unTooltip (Tooltip o) = o
class GObjectClass o => TooltipClass o
toTooltip :: TooltipClass o => o -> Tooltip
toTooltip = unsafeCastGObject . toGObject
instance TooltipClass Tooltip
instance GObjectClass Tooltip where
toGObject = GObject . castForeignPtr . unTooltip
unsafeCastGObject = Tooltip . castForeignPtr . unGObject
castToTooltip :: GObjectClass obj => obj -> Tooltip
castToTooltip = castTo gTypeTooltip "Tooltip"
gTypeTooltip :: GType
gTypeTooltip =
{# call fun unsafe gtk_tooltip_get_type #}
-- ***************************************************************** StatusIcon
{#pointer *GtkStatusIcon as StatusIcon foreign newtype #} deriving (Eq,Ord)
mkStatusIcon = (StatusIcon, objectUnrefFromMainloop)
unStatusIcon (StatusIcon o) = o
class TooltipClass o => StatusIconClass o
toStatusIcon :: StatusIconClass o => o -> StatusIcon
toStatusIcon = unsafeCastGObject . toGObject
instance StatusIconClass StatusIcon
instance TooltipClass 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 *GtkTreeSelection as 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 *GtkTreeModel as 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 *GtkTreeStore as 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 *GtkListStore as 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 *GtkTreeModelSort as 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 *GtkTreeModelFilter as 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 *GtkIconFactory as 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 *GtkIconTheme as 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 *GtkSizeGroup as 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 *GtkClipboard as 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 *GtkAccelGroup as 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 *GtkAccelMap as 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 *GtkEntryCompletion as 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 #}
-- **************************************************************** EntryBuffer
{#pointer *GtkEntryBuffer as EntryBuffer foreign newtype #} deriving (Eq,Ord)
mkEntryBuffer = (EntryBuffer, objectUnrefFromMainloop)
unEntryBuffer (EntryBuffer o) = o
class GObjectClass o => EntryBufferClass o
toEntryBuffer :: EntryBufferClass o => o -> EntryBuffer
toEntryBuffer = unsafeCastGObject . toGObject
instance EntryBufferClass EntryBuffer
instance GObjectClass EntryBuffer where
toGObject = GObject . castForeignPtr . unEntryBuffer
unsafeCastGObject = EntryBuffer . castForeignPtr . unGObject
castToEntryBuffer :: GObjectClass obj => obj -> EntryBuffer
castToEntryBuffer = castTo gTypeEntryBuffer "EntryBuffer"
gTypeEntryBuffer :: GType
gTypeEntryBuffer =
{# call fun unsafe gtk_entry_buffer_get_type #}
-- ********************************************************************* Action
{#pointer *GtkAction as 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 #}
-- *************************************************************** RecentAction
{#pointer *GtkRecentAction as RecentAction foreign newtype #} deriving (Eq,Ord)
mkRecentAction = (RecentAction, objectUnrefFromMainloop)
unRecentAction (RecentAction o) = o
class ActionClass o => RecentActionClass o
toRecentAction :: RecentActionClass o => o -> RecentAction
toRecentAction = unsafeCastGObject . toGObject
instance RecentActionClass RecentAction
instance ActionClass RecentAction
instance GObjectClass RecentAction where
toGObject = GObject . castForeignPtr . unRecentAction
unsafeCastGObject = RecentAction . castForeignPtr . unGObject
castToRecentAction :: GObjectClass obj => obj -> RecentAction
castToRecentAction = castTo gTypeRecentAction "RecentAction"
gTypeRecentAction :: GType
gTypeRecentAction =
{# call fun unsafe gtk_recent_action_get_type #}
-- *************************************************************** ToggleAction
{#pointer *GtkToggleAction as 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 *GtkRadioAction as 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 *GtkActionGroup as 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 *GtkUIManager as 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 *GtkWindowGroup as 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 #}
-- *************************************************************** CellEditable
{#pointer *GtkCellEditable as CellEditable foreign newtype #} deriving (Eq,Ord)
mkCellEditable = (CellEditable, objectUnrefFromMainloop)
unCellEditable (CellEditable o) = o
class GObjectClass o => CellEditableClass o
toCellEditable :: CellEditableClass o => o -> CellEditable
toCellEditable = unsafeCastGObject . toGObject
instance CellEditableClass CellEditable
instance GObjectClass CellEditable where
toGObject = GObject . castForeignPtr . unCellEditable
unsafeCastGObject = CellEditable . castForeignPtr . unGObject
castToCellEditable :: GObjectClass obj => obj -> CellEditable
castToCellEditable = castTo gTypeCellEditable "CellEditable"
gTypeCellEditable :: GType
gTypeCellEditable =
{# call fun unsafe gtk_cell_editable_get_type #}
-- ******************************************************************* Editable
{#pointer *GtkEditable as 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 *GtkFileChooser as 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 #}
|