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 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkStyleContext: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="theming.html" title="Part IV. Theming in GTK+">
<link rel="prev" href="chap-css-properties.html" title="GTK+ CSS">
<link rel="next" href="GtkCssProvider.html" title="GtkCssProvider">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#GtkStyleContext.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#GtkStyleContext.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#GtkStyleContext.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#GtkStyleContext.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="theming.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="chap-css-properties.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkCssProvider.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkStyleContext"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkStyleContext.top_of_page"></a>GtkStyleContext</span></h2>
<p>GtkStyleContext — Rendering UI elements</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkStyleContext.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="returnvalue">GtkStyleContext</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-new" title="gtk_style_context_new ()">gtk_style_context_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider" title="gtk_style_context_add_provider ()">gtk_style_context_add_provider</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider-for-screen" title="gtk_style_context_add_provider_for_screen ()">gtk_style_context_add_provider_for_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get" title="gtk_style_context_get ()">gtk_style_context_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-direction" title="gtk_style_context_get_direction ()">gtk_style_context_get_direction</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides"><span class="returnvalue">GtkJunctionSides</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-junction-sides" title="gtk_style_context_get_junction_sides ()">gtk_style_context_get_junction_sides</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="returnvalue">GtkStyleContext</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-parent" title="gtk_style_context_get_parent ()">gtk_style_context_get_parent</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-path" title="gtk_style_context_get_path ()">gtk_style_context_get_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()">gtk_style_context_get_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-screen" title="gtk_style_context_get_screen ()">gtk_style_context_get_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="returnvalue">GdkFrameClock</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-frame-clock" title="gtk_style_context_get_frame_clock ()">gtk_style_context_get_frame_clock</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-state" title="gtk_style_context_get_state ()">gtk_style_context_get_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-style" title="gtk_style_context_get_style ()">gtk_style_context_get_style</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-style-property" title="gtk_style_context_get_style_property ()">gtk_style_context_get_style_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-style-valist" title="gtk_style_context_get_style_valist ()">gtk_style_context_get_style_valist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-valist" title="gtk_style_context_get_valist ()">gtk_style_context_get_valist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkCssProvider.html#GtkCssSection"><span class="returnvalue">GtkCssSection</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-section" title="gtk_style_context_get_section ()">gtk_style_context_get_section</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-color" title="gtk_style_context_get_color ()">gtk_style_context_get_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-background-color" title="gtk_style_context_get_background_color ()">gtk_style_context_get_background_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-border-color" title="gtk_style_context_get_border_color ()">gtk_style_context_get_border_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-border" title="gtk_style_context_get_border ()">gtk_style_context_get_border</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-padding" title="gtk_style_context_get_padding ()">gtk_style_context_get_padding</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-margin" title="gtk_style_context_get_margin ()">gtk_style_context_get_margin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="returnvalue">PangoFontDescription</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-font" title="gtk_style_context_get_font ()">gtk_style_context_get_font</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-invalidate" title="gtk_style_context_invalidate ()">gtk_style_context_invalidate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-state-is-running" title="gtk_style_context_state_is_running ()">gtk_style_context_state_is_running</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-lookup-color" title="gtk_style_context_lookup_color ()">gtk_style_context_lookup_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-lookup-icon-set" title="gtk_style_context_lookup_icon_set ()">gtk_style_context_lookup_icon_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-notify-state-change" title="gtk_style_context_notify_state_change ()">gtk_style_context_notify_state_change</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-pop-animatable-region" title="gtk_style_context_pop_animatable_region ()">gtk_style_context_pop_animatable_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()">gtk_style_context_push_animatable_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-cancel-animations" title="gtk_style_context_cancel_animations ()">gtk_style_context_cancel_animations</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-scroll-animations" title="gtk_style_context_scroll_animations ()">gtk_style_context_scroll_animations</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-remove-provider" title="gtk_style_context_remove_provider ()">gtk_style_context_remove_provider</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-remove-provider-for-screen" title="gtk_style_context_remove_provider_for_screen ()">gtk_style_context_remove_provider_for_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-reset-widgets" title="gtk_style_context_reset_widgets ()">gtk_style_context_reset_widgets</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-background" title="gtk_style_context_set_background ()">gtk_style_context_set_background</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-restore" title="gtk_style_context_restore ()">gtk_style_context_restore</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-save" title="gtk_style_context_save ()">gtk_style_context_save</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-direction" title="gtk_style_context_set_direction ()">gtk_style_context_set_direction</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-junction-sides" title="gtk_style_context_set_junction_sides ()">gtk_style_context_set_junction_sides</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-parent" title="gtk_style_context_set_parent ()">gtk_style_context_set_parent</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-path" title="gtk_style_context_set_path ()">gtk_style_context_set_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-class" title="gtk_style_context_add_class ()">gtk_style_context_add_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-remove-class" title="gtk_style_context_remove_class ()">gtk_style_context_remove_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-has-class" title="gtk_style_context_has_class ()">gtk_style_context_has_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-list-classes" title="gtk_style_context_list_classes ()">gtk_style_context_list_classes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-region" title="gtk_style_context_add_region ()">gtk_style_context_add_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-remove-region" title="gtk_style_context_remove_region ()">gtk_style_context_remove_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-has-region" title="gtk_style_context_has_region ()">gtk_style_context_has_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-list-regions" title="gtk_style_context_list_regions ()">gtk_style_context_list_regions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-screen" title="gtk_style_context_set_screen ()">gtk_style_context_set_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-frame-clock" title="gtk_style_context_set_frame_clock ()">gtk_style_context_set_frame_clock</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-state" title="gtk_style_context_set_state ()">gtk_style_context_set_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-scale" title="gtk_style_context_set_scale ()">gtk_style_context_set_scale</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-scale" title="gtk_style_context_get_scale ()">gtk_style_context_get_scale</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-style-context-to-string" title="gtk_style_context_to_string ()">gtk_style_context_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkStyleContext.html#GtkBorder"><span class="returnvalue">GtkBorder</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-border-new" title="gtk_border_new ()">gtk_border_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkStyleContext.html#GtkBorder"><span class="returnvalue">GtkBorder</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-border-copy" title="gtk_border_copy ()">gtk_border_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-border-free" title="gtk_border_free ()">gtk_border_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-arrow" title="gtk_render_arrow ()">gtk_render_arrow</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()">gtk_render_background</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-background-get-clip" title="gtk_render_background_get_clip ()">gtk_render_background_get_clip</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-check" title="gtk_render_check ()">gtk_render_check</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-expander" title="gtk_render_expander ()">gtk_render_expander</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-extension" title="gtk_render_extension ()">gtk_render_extension</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-focus" title="gtk_render_focus ()">gtk_render_focus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-frame" title="gtk_render_frame ()">gtk_render_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-frame-gap" title="gtk_render_frame_gap ()">gtk_render_frame_gap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-handle" title="gtk_render_handle ()">gtk_render_handle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-layout" title="gtk_render_layout ()">gtk_render_layout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-line" title="gtk_render_line ()">gtk_render_line</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-option" title="gtk_render_option ()">gtk_render_option</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-slider" title="gtk_render_slider ()">gtk_render_slider</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-activity" title="gtk_render_activity ()">gtk_render_activity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-icon-pixbuf" title="gtk_render_icon_pixbuf ()">gtk_render_icon_pixbuf</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-icon-surface" title="gtk_render_icon_surface ()">gtk_render_icon_surface</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-icon" title="gtk_render_icon ()">gtk_render_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkStyleContext.html#gtk-render-insertion-cursor" title="gtk_render_insertion_cursor ()">gtk_render_insertion_cursor</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a></td>
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--direction" title="The “direction” property">direction</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *</td>
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--paint-clock" title="The “paint-clock” property">paint-clock</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *</td>
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--parent" title="The “parent” property">parent</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</td>
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--screen" title="The “screen” property">screen</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext-changed" title="The “changed” signal">changed</a></td>
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr></tbody>
</table></div>
</div>
<a name="GtkBorder"></a><div class="refsect1">
<a name="GtkStyleContext.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BACKGROUND-COLOR:CAPS" title="GTK_STYLE_PROPERTY_BACKGROUND_COLOR">GTK_STYLE_PROPERTY_BACKGROUND_COLOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-COLOR:CAPS" title="GTK_STYLE_PROPERTY_COLOR">GTK_STYLE_PROPERTY_COLOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-FONT:CAPS" title="GTK_STYLE_PROPERTY_FONT">GTK_STYLE_PROPERTY_FONT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-MARGIN:CAPS" title="GTK_STYLE_PROPERTY_MARGIN">GTK_STYLE_PROPERTY_MARGIN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-PADDING:CAPS" title="GTK_STYLE_PROPERTY_PADDING">GTK_STYLE_PROPERTY_PADDING</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BORDER-WIDTH:CAPS" title="GTK_STYLE_PROPERTY_BORDER_WIDTH">GTK_STYLE_PROPERTY_BORDER_WIDTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BORDER-RADIUS:CAPS" title="GTK_STYLE_PROPERTY_BORDER_RADIUS">GTK_STYLE_PROPERTY_BORDER_RADIUS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BORDER-STYLE:CAPS" title="GTK_STYLE_PROPERTY_BORDER_STYLE">GTK_STYLE_PROPERTY_BORDER_STYLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BORDER-COLOR:CAPS" title="GTK_STYLE_PROPERTY_BORDER_COLOR">GTK_STYLE_PROPERTY_BORDER_COLOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BACKGROUND-IMAGE:CAPS" title="GTK_STYLE_PROPERTY_BACKGROUND_IMAGE">GTK_STYLE_PROPERTY_BACKGROUND_IMAGE</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkBorderStyle" title="enum GtkBorderStyle">GtkBorderStyle</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-ACCELERATOR:CAPS" title="GTK_STYLE_CLASS_ACCELERATOR">GTK_STYLE_CLASS_ACCELERATOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-ARROW:CAPS" title="GTK_STYLE_CLASS_ARROW">GTK_STYLE_CLASS_ARROW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-BACKGROUND:CAPS" title="GTK_STYLE_CLASS_BACKGROUND">GTK_STYLE_CLASS_BACKGROUND</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-BOTTOM:CAPS" title="GTK_STYLE_CLASS_BOTTOM">GTK_STYLE_CLASS_BOTTOM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-BUTTON:CAPS" title="GTK_STYLE_CLASS_BUTTON">GTK_STYLE_CLASS_BUTTON</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CALENDAR:CAPS" title="GTK_STYLE_CLASS_CALENDAR">GTK_STYLE_CLASS_CALENDAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CELL:CAPS" title="GTK_STYLE_CLASS_CELL">GTK_STYLE_CLASS_CELL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-COMBOBOX-ENTRY:CAPS" title="GTK_STYLE_CLASS_COMBOBOX_ENTRY">GTK_STYLE_CLASS_COMBOBOX_ENTRY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CONTEXT-MENU:CAPS" title="GTK_STYLE_CLASS_CONTEXT_MENU">GTK_STYLE_CLASS_CONTEXT_MENU</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CHECK:CAPS" title="GTK_STYLE_CLASS_CHECK">GTK_STYLE_CLASS_CHECK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CSD:CAPS" title="GTK_STYLE_CLASS_CSD">GTK_STYLE_CLASS_CSD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-CURSOR-HANDLE:CAPS" title="GTK_STYLE_CLASS_CURSOR_HANDLE">GTK_STYLE_CLASS_CURSOR_HANDLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-DEFAULT:CAPS" title="GTK_STYLE_CLASS_DEFAULT">GTK_STYLE_CLASS_DEFAULT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-DESTRUCTIVE-ACTION:CAPS" title="GTK_STYLE_CLASS_DESTRUCTIVE_ACTION">GTK_STYLE_CLASS_DESTRUCTIVE_ACTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-DIM-LABEL:CAPS" title="GTK_STYLE_CLASS_DIM_LABEL">GTK_STYLE_CLASS_DIM_LABEL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-DND:CAPS" title="GTK_STYLE_CLASS_DND">GTK_STYLE_CLASS_DND</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-DOCK:CAPS" title="GTK_STYLE_CLASS_DOCK">GTK_STYLE_CLASS_DOCK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-ENTRY:CAPS" title="GTK_STYLE_CLASS_ENTRY">GTK_STYLE_CLASS_ENTRY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-ERROR:CAPS" title="GTK_STYLE_CLASS_ERROR">GTK_STYLE_CLASS_ERROR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-EXPANDER:CAPS" title="GTK_STYLE_CLASS_EXPANDER">GTK_STYLE_CLASS_EXPANDER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-FRAME:CAPS" title="GTK_STYLE_CLASS_FRAME">GTK_STYLE_CLASS_FRAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-FLAT:CAPS" title="GTK_STYLE_CLASS_FLAT">GTK_STYLE_CLASS_FLAT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-GRIP:CAPS" title="GTK_STYLE_CLASS_GRIP">GTK_STYLE_CLASS_GRIP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-HEADER:CAPS" title="GTK_STYLE_CLASS_HEADER">GTK_STYLE_CLASS_HEADER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-HIGHLIGHT:CAPS" title="GTK_STYLE_CLASS_HIGHLIGHT">GTK_STYLE_CLASS_HIGHLIGHT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-HORIZONTAL:CAPS" title="GTK_STYLE_CLASS_HORIZONTAL">GTK_STYLE_CLASS_HORIZONTAL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-IMAGE:CAPS" title="GTK_STYLE_CLASS_IMAGE">GTK_STYLE_CLASS_IMAGE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-INFO:CAPS" title="GTK_STYLE_CLASS_INFO">GTK_STYLE_CLASS_INFO</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-INLINE-TOOLBAR:CAPS" title="GTK_STYLE_CLASS_INLINE_TOOLBAR">GTK_STYLE_CLASS_INLINE_TOOLBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-INSERTION-CURSOR:CAPS" title="GTK_STYLE_CLASS_INSERTION_CURSOR">GTK_STYLE_CLASS_INSERTION_CURSOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LABEL:CAPS" title="GTK_STYLE_CLASS_LABEL">GTK_STYLE_CLASS_LABEL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LEFT:CAPS" title="GTK_STYLE_CLASS_LEFT">GTK_STYLE_CLASS_LEFT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LEVEL-BAR:CAPS" title="GTK_STYLE_CLASS_LEVEL_BAR">GTK_STYLE_CLASS_LEVEL_BAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LINKED:CAPS" title="GTK_STYLE_CLASS_LINKED">GTK_STYLE_CLASS_LINKED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LIST:CAPS" title="GTK_STYLE_CLASS_LIST">GTK_STYLE_CLASS_LIST</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-LIST-ROW:CAPS" title="GTK_STYLE_CLASS_LIST_ROW">GTK_STYLE_CLASS_LIST_ROW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MARK:CAPS" title="GTK_STYLE_CLASS_MARK">GTK_STYLE_CLASS_MARK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MENU:CAPS" title="GTK_STYLE_CLASS_MENU">GTK_STYLE_CLASS_MENU</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MENUBAR:CAPS" title="GTK_STYLE_CLASS_MENUBAR">GTK_STYLE_CLASS_MENUBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MENUITEM:CAPS" title="GTK_STYLE_CLASS_MENUITEM">GTK_STYLE_CLASS_MENUITEM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MESSAGE-DIALOG:CAPS" title="GTK_STYLE_CLASS_MESSAGE_DIALOG">GTK_STYLE_CLASS_MESSAGE_DIALOG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-MONOSPACE:CAPS" title="GTK_STYLE_CLASS_MONOSPACE">GTK_STYLE_CLASS_MONOSPACE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-NEEDS-ATTENTION:CAPS" title="GTK_STYLE_CLASS_NEEDS_ATTENTION">GTK_STYLE_CLASS_NEEDS_ATTENTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-NOTEBOOK:CAPS" title="GTK_STYLE_CLASS_NOTEBOOK">GTK_STYLE_CLASS_NOTEBOOK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-OSD:CAPS" title="GTK_STYLE_CLASS_OSD">GTK_STYLE_CLASS_OSD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-OVERSHOOT:CAPS" title="GTK_STYLE_CLASS_OVERSHOOT">GTK_STYLE_CLASS_OVERSHOOT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-PANE-SEPARATOR:CAPS" title="GTK_STYLE_CLASS_PANE_SEPARATOR">GTK_STYLE_CLASS_PANE_SEPARATOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-PAPER:CAPS" title="GTK_STYLE_CLASS_PAPER">GTK_STYLE_CLASS_PAPER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-POPUP:CAPS" title="GTK_STYLE_CLASS_POPUP">GTK_STYLE_CLASS_POPUP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-POPOVER:CAPS" title="GTK_STYLE_CLASS_POPOVER">GTK_STYLE_CLASS_POPOVER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-PRIMARY-TOOLBAR:CAPS" title="GTK_STYLE_CLASS_PRIMARY_TOOLBAR">GTK_STYLE_CLASS_PRIMARY_TOOLBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-PROGRESSBAR:CAPS" title="GTK_STYLE_CLASS_PROGRESSBAR">GTK_STYLE_CLASS_PROGRESSBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-PULSE:CAPS" title="GTK_STYLE_CLASS_PULSE">GTK_STYLE_CLASS_PULSE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-QUESTION:CAPS" title="GTK_STYLE_CLASS_QUESTION">GTK_STYLE_CLASS_QUESTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-RADIO:CAPS" title="GTK_STYLE_CLASS_RADIO">GTK_STYLE_CLASS_RADIO</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-RAISED:CAPS" title="GTK_STYLE_CLASS_RAISED">GTK_STYLE_CLASS_RAISED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-READ-ONLY:CAPS" title="GTK_STYLE_CLASS_READ_ONLY">GTK_STYLE_CLASS_READ_ONLY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-RIGHT:CAPS" title="GTK_STYLE_CLASS_RIGHT">GTK_STYLE_CLASS_RIGHT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-RUBBERBAND:CAPS" title="GTK_STYLE_CLASS_RUBBERBAND">GTK_STYLE_CLASS_RUBBERBAND</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SCALE:CAPS" title="GTK_STYLE_CLASS_SCALE">GTK_STYLE_CLASS_SCALE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SCALE-HAS-MARKS-ABOVE:CAPS" title="GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE">GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SCALE-HAS-MARKS-BELOW:CAPS" title="GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW">GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SCROLLBAR:CAPS" title="GTK_STYLE_CLASS_SCROLLBAR">GTK_STYLE_CLASS_SCROLLBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SCROLLBARS-JUNCTION:CAPS" title="GTK_STYLE_CLASS_SCROLLBARS_JUNCTION">GTK_STYLE_CLASS_SCROLLBARS_JUNCTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SEPARATOR:CAPS" title="GTK_STYLE_CLASS_SEPARATOR">GTK_STYLE_CLASS_SEPARATOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SIDEBAR:CAPS" title="GTK_STYLE_CLASS_SIDEBAR">GTK_STYLE_CLASS_SIDEBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SLIDER:CAPS" title="GTK_STYLE_CLASS_SLIDER">GTK_STYLE_CLASS_SLIDER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SPINBUTTON:CAPS" title="GTK_STYLE_CLASS_SPINBUTTON">GTK_STYLE_CLASS_SPINBUTTON</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SPINNER:CAPS" title="GTK_STYLE_CLASS_SPINNER">GTK_STYLE_CLASS_SPINNER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-STATUSBAR:CAPS" title="GTK_STYLE_CLASS_STATUSBAR">GTK_STYLE_CLASS_STATUSBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SUBTITLE:CAPS" title="GTK_STYLE_CLASS_SUBTITLE">GTK_STYLE_CLASS_SUBTITLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-SUGGESTED-ACTION:CAPS" title="GTK_STYLE_CLASS_SUGGESTED_ACTION">GTK_STYLE_CLASS_SUGGESTED_ACTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TITLE:CAPS" title="GTK_STYLE_CLASS_TITLE">GTK_STYLE_CLASS_TITLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TITLEBAR:CAPS" title="GTK_STYLE_CLASS_TITLEBAR">GTK_STYLE_CLASS_TITLEBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TOOLBAR:CAPS" title="GTK_STYLE_CLASS_TOOLBAR">GTK_STYLE_CLASS_TOOLBAR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TOOLTIP:CAPS" title="GTK_STYLE_CLASS_TOOLTIP">GTK_STYLE_CLASS_TOOLTIP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TOUCH-SELECTION:CAPS" title="GTK_STYLE_CLASS_TOUCH_SELECTION">GTK_STYLE_CLASS_TOUCH_SELECTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TOP:CAPS" title="GTK_STYLE_CLASS_TOP">GTK_STYLE_CLASS_TOP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-TROUGH:CAPS" title="GTK_STYLE_CLASS_TROUGH">GTK_STYLE_CLASS_TROUGH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-UNDERSHOOT:CAPS" title="GTK_STYLE_CLASS_UNDERSHOOT">GTK_STYLE_CLASS_UNDERSHOOT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-VERTICAL:CAPS" title="GTK_STYLE_CLASS_VERTICAL">GTK_STYLE_CLASS_VERTICAL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-VIEW:CAPS" title="GTK_STYLE_CLASS_VIEW">GTK_STYLE_CLASS_VIEW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-WARNING:CAPS" title="GTK_STYLE_CLASS_WARNING">GTK_STYLE_CLASS_WARNING</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-CLASS-WIDE:CAPS" title="GTK_STYLE_CLASS_WIDE">GTK_STYLE_CLASS_WIDE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-REGION-COLUMN:CAPS" title="GTK_STYLE_REGION_COLUMN">GTK_STYLE_REGION_COLUMN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-REGION-COLUMN-HEADER:CAPS" title="GTK_STYLE_REGION_COLUMN_HEADER">GTK_STYLE_REGION_COLUMN_HEADER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-REGION-ROW:CAPS" title="GTK_STYLE_REGION_ROW">GTK_STYLE_REGION_ROW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GTK-STYLE-REGION-TAB:CAPS" title="GTK_STYLE_REGION_TAB">GTK_STYLE_REGION_TAB</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext-struct" title="GtkStyleContext">GtkStyleContext</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides">GtkJunctionSides</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkRegionFlags" title="enum GtkRegionFlags">GtkRegionFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkStyleContextPrintFlags" title="enum GtkStyleContextPrintFlags">GtkStyleContextPrintFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder">GtkBorder</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
<span class="lineart">╰──</span> GtkBorder
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> GtkStyleContext
</pre>
</div>
<div class="refsect1">
<a name="GtkStyleContext.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <gtk/gtk.h>
</pre>
</div>
<div class="refsect1">
<a name="GtkStyleContext.description"></a><h2>Description</h2>
<p><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> is an object that stores styling information affecting
a widget defined by <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>.</p>
<p>In order to construct the final style information, <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>
queries information from all attached <a href="GtkStyleProvider.html#GtkStyleProvider-struct"><span class="type">GtkStyleProviders</span></a>. Style providers
can be either attached explicitly to the context through
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider" title="gtk_style_context_add_provider ()"><code class="function">gtk_style_context_add_provider()</code></a>, or to the screen through
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider-for-screen" title="gtk_style_context_add_provider_for_screen ()"><code class="function">gtk_style_context_add_provider_for_screen()</code></a>. The resulting style is a
combination of all providers’ information in priority order.</p>
<p>For GTK+ widgets, any <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned by
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a> will already have a <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>, a
<a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> and RTL/LTR information set. The style context will also be
updated automatically if any of these settings change on the widget.</p>
<p>If you are using the theming layer standalone, you will need to set a
widget path and a screen yourself to the created style context through
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-path" title="gtk_style_context_set_path ()"><code class="function">gtk_style_context_set_path()</code></a> and <a class="link" href="GtkStyleContext.html#gtk-style-context-set-screen" title="gtk_style_context_set_screen ()"><code class="function">gtk_style_context_set_screen()</code></a>, as well
as updating the context yourself using <a class="link" href="GtkStyleContext.html#gtk-style-context-invalidate" title="gtk_style_context_invalidate ()"><code class="function">gtk_style_context_invalidate()</code></a>
whenever any of the conditions change, such as a change in the
<a class="link" href="GtkSettings.html#GtkSettings--gtk-theme-name" title="The “gtk-theme-name” property"><span class="type">“gtk-theme-name”</span></a> setting or a hierarchy change in the rendered
widget. See the “Foreign drawing“ example in gtk3-demo.</p>
<div class="refsect2">
<a name="gtkstylecontext-classes"></a><h3>Style Classes</h3>
<p>Widgets can add style classes to their context, which can be used to associate
different styles by class. The documentation for individual widgets lists
which style classes it uses itself, and which style classes may be added by
applications to affect their appearance.</p>
<p>GTK+ defines macros for a number of style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="id-1.5.4.10.7"></a><h3>Style Regions</h3>
<p>Widgets can also add regions with flags to their context. This feature is
deprecated and will be removed in a future GTK+ update. Please use style
classes instead.</p>
<p>GTK+ defines macros for a number of style regions.</p>
</div>
<hr>
<div class="refsect2">
<a name="id-1.5.4.10.8"></a><h3>Custom styling in UI libraries and applications</h3>
<p>If you are developing a library with custom <a href="GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidgets</span></a> that
render differently than standard components, you may need to add a
<a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> yourself with the <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_FALLBACK"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</code></a>
priority, either a <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> or a custom object implementing the
<a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> interface. This way themes may still attempt
to style your UI elements in a different way if needed so.</p>
<p>If you are using custom styling on an applications, you probably want then
to make your style information prevail to the theme’s, so you must use
a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> with the <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-APPLICATION:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_APPLICATION"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_APPLICATION</code></a>
priority, keep in mind that the user settings in
<code class="literal">XDG_CONFIG_HOME/gtk-3.0/gtk.css</code> will
still take precedence over your changes, as it uses the
<a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_USER"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_USER</code></a> priority.</p>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-style-context-new"></a><h3>gtk_style_context_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="returnvalue">GtkStyleContext</span></a> *
gtk_style_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a standalone <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>, this style context
won’t be attached to any widget, so you may want
to call <a class="link" href="GtkStyleContext.html#gtk-style-context-set-path" title="gtk_style_context_set_path ()"><code class="function">gtk_style_context_set_path()</code></a> yourself.</p>
<p>This function is only useful when using the theming layer
separated from GTK+, if you are using <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> to
theme <a href="GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidgets</span></a>, use <a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>
in order to get a style context ready to theme the widget.</p>
<div class="refsect3">
<a name="gtk-style-context-new.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-add-provider"></a><h3>gtk_style_context_add_provider ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_add_provider (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> priority</code></em>);</pre>
<p>Adds a style provider to <em class="parameter"><code>context</code></em>
, to be used in style construction.
Note that a style provider added by this function only affects
the style of the widget to which <em class="parameter"><code>context</code></em>
belongs. If you want
to affect the style of all widgets, use
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider-for-screen" title="gtk_style_context_add_provider_for_screen ()"><code class="function">gtk_style_context_add_provider_for_screen()</code></a>.</p>
<p>Note: If both priorities are the same, a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a>
added through this function takes precedence over another added
through <a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider-for-screen" title="gtk_style_context_add_provider_for_screen ()"><code class="function">gtk_style_context_add_provider_for_screen()</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-add-provider.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>provider</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>priority</p></td>
<td class="parameter_description"><p>the priority of the style provider. The lower
it is, the earlier it will be used in the style
construction. Typically this will be in the range
between <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_FALLBACK"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</code></a> and
<a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_USER"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_USER</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-add-provider-for-screen"></a><h3>gtk_style_context_add_provider_for_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_add_provider_for_screen
(<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> priority</code></em>);</pre>
<p>Adds a global style provider to <em class="parameter"><code>screen</code></em>
, which will be used
in style construction for all <a href="GtkStyleContext.html#GtkStyleContext-struct"><span class="type">GtkStyleContexts</span></a> under <em class="parameter"><code>screen</code></em>
.</p>
<p>GTK+ uses this to make styling information from <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a>
available.</p>
<p>Note: If both priorities are the same, A <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a>
added through <a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider" title="gtk_style_context_add_provider ()"><code class="function">gtk_style_context_add_provider()</code></a> takes precedence
over another added through this function.</p>
<div class="refsect3">
<a name="gtk-style-context-add-provider-for-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>screen</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>provider</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>priority</p></td>
<td class="parameter_description"><p>the priority of the style provider. The lower
it is, the earlier it will be used in the style
construction. Typically this will be in the range
between <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_FALLBACK"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</code></a> and
<a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_USER"><code class="literal">GTK_STYLE_PROVIDER_PRIORITY_USER</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get"></a><h3>gtk_style_context_get ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Retrieves several style property values from <em class="parameter"><code>context</code></em>
for a
given state.</p>
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the property values for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>property name /return value pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-direction"></a><h3>gtk_style_context_get_direction ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
gtk_style_context_get_direction (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_get_direction</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-style-context-get-state" title="gtk_style_context_get_state ()"><code class="function">gtk_style_context_get_state()</code></a> and
check for <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-LTR:CAPS"><span class="type">GTK_STATE_FLAG_DIR_LTR</span></a> and
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-RTL:CAPS"><span class="type">GTK_STATE_FLAG_DIR_RTL</span></a> instead.</p>
</div>
<p>Returns the widget direction used for rendering.</p>
<div class="refsect3">
<a name="gtk-style-context-get-direction.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-direction.returns"></a><h4>Returns</h4>
<p> the widget direction</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-junction-sides"></a><h3>gtk_style_context_get_junction_sides ()</h3>
<pre class="programlisting"><a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides"><span class="returnvalue">GtkJunctionSides</span></a>
gtk_style_context_get_junction_sides (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the sides where rendered elements connect visually with others.</p>
<div class="refsect3">
<a name="gtk-style-context-get-junction-sides.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-junction-sides.returns"></a><h4>Returns</h4>
<p> the junction sides</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-parent"></a><h3>gtk_style_context_get_parent ()</h3>
<pre class="programlisting"><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="returnvalue">GtkStyleContext</span></a> *
gtk_style_context_get_parent (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Gets the parent context set via <a class="link" href="GtkStyleContext.html#gtk-style-context-set-parent" title="gtk_style_context_set_parent ()"><code class="function">gtk_style_context_set_parent()</code></a>.
See that function for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-parent.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-parent.returns"></a><h4>Returns</h4>
<p> the parent context or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-path"></a><h3>gtk_style_context_get_path ()</h3>
<pre class="programlisting">const <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
gtk_style_context_get_path (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the widget path used for style matching.</p>
<div class="refsect3">
<a name="gtk-style-context-get-path.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-path.returns"></a><h4>Returns</h4>
<p> A <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-property"></a><h3>gtk_style_context_get_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_property (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Gets a style property from <em class="parameter"><code>context</code></em>
for the given state.</p>
<p>Note that not all CSS properties that are supported by GTK+ can be
retrieved in this way, since they may not be representable as <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
GTK+ defines macros for a number of properties that can be used
with this function.</p>
<p>Note that passing a state other than the current state of <em class="parameter"><code>context</code></em>
is not recommended unless the style context has been saved with
<a class="link" href="GtkStyleContext.html#gtk-style-context-save" title="gtk_style_context_save ()"><code class="function">gtk_style_context_save()</code></a>.</p>
<p>When <em class="parameter"><code>value</code></em>
is no longer needed, <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#g-value-unset"><code class="function">g_value_unset()</code></a> must be called
to free any allocated memory.</p>
<div class="refsect3">
<a name="gtk-style-context-get-property.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property</p></td>
<td class="parameter_description"><p>style property name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the property value for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p> return location for the style property value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-screen"></a><h3>gtk_style_context_get_screen ()</h3>
<pre class="programlisting"><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
gtk_style_context_get_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> to which <em class="parameter"><code>context</code></em>
is attached.</p>
<div class="refsect3">
<a name="gtk-style-context-get-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-screen.returns"></a><h4>Returns</h4>
<p> a <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-frame-clock"></a><h3>gtk_style_context_get_frame_clock ()</h3>
<pre class="programlisting"><a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="returnvalue">GdkFrameClock</span></a> *
gtk_style_context_get_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the <a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> to which <em class="parameter"><code>context</code></em>
is attached.</p>
<div class="refsect3">
<a name="gtk-style-context-get-frame-clock.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-frame-clock.returns"></a><h4>Returns</h4>
<p> a <a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
if <em class="parameter"><code>context</code></em>
does not have an attached frame clock. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-state"></a><h3>gtk_style_context_get_state ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
gtk_style_context_get_state (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the state used for style matching.</p>
<p>This method should only be used to retrieve the <a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a>
to pass to <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> methods, like <a class="link" href="GtkStyleContext.html#gtk-style-context-get-padding" title="gtk_style_context_get_padding ()"><code class="function">gtk_style_context_get_padding()</code></a>.
If you need to retrieve the current state of a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, use
<a class="link" href="GtkWidget.html#gtk-widget-get-state-flags" title="gtk_widget_get_state_flags ()"><code class="function">gtk_widget_get_state_flags()</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-get-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-state.returns"></a><h4>Returns</h4>
<p> the state flags</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-style"></a><h3>gtk_style_context_get_style ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_style (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Retrieves several widget style properties from <em class="parameter"><code>context</code></em>
according to the
current style.</p>
<div class="refsect3">
<a name="gtk-style-context-get-style.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>property name /return value pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-style-property"></a><h3>gtk_style_context_get_style_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_style_property (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Gets the value for a widget style property.</p>
<p>When <em class="parameter"><code>value</code></em>
is no longer needed, <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#g-value-unset"><code class="function">g_value_unset()</code></a> must be called
to free any allocated memory.</p>
<div class="refsect3">
<a name="gtk-style-context-get-style-property.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property_name</p></td>
<td class="parameter_description"><p>the name of the widget style property</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>Return location for the property value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-style-valist"></a><h3>gtk_style_context_get_style_valist ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_style_valist (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
<p>Retrieves several widget style properties from <em class="parameter"><code>context</code></em>
according to the
current style.</p>
<div class="refsect3">
<a name="gtk-style-context-get-style-valist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>args</p></td>
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-valist"></a><h3>gtk_style_context_get_valist ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_valist (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
<p>Retrieves several style property values from <em class="parameter"><code>context</code></em>
for a given state.</p>
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-valist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the property values for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>args</p></td>
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-section"></a><h3>gtk_style_context_get_section ()</h3>
<pre class="programlisting"><a class="link" href="GtkCssProvider.html#GtkCssSection"><span class="returnvalue">GtkCssSection</span></a> *
gtk_style_context_get_section (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property</code></em>);</pre>
<p>Queries the location in the CSS where <em class="parameter"><code>property</code></em>
was defined for the
current <em class="parameter"><code>context</code></em>
. Note that the state to be queried is taken from
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-state" title="gtk_style_context_get_state ()"><code class="function">gtk_style_context_get_state()</code></a>.</p>
<p>If the location is not available, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. The
location might not be available for various reasons, such as the
property being overridden, <em class="parameter"><code>property</code></em>
not naming a supported CSS
property or tracking of definitions being disabled for performance
reasons.</p>
<p>Shorthand CSS properties cannot be queried for a location and will
always return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-get-section.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property</p></td>
<td class="parameter_description"><p>style property name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-section.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> or the section where a value
for <em class="parameter"><code>property</code></em>
was defined. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-color"></a><h3>gtk_style_context_get_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
<p>Gets the foreground color for a given state.</p>
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> and
<a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-COLOR:CAPS" title="GTK_STYLE_PROPERTY_COLOR"><span class="type">GTK_STYLE_PROPERTY_COLOR</span></a> for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the color for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p> return value for the foreground color. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-background-color"></a><h3>gtk_style_context_get_background_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_background_color
(<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_get_background_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.</p>
</div>
<p>Gets the background color for a given state.</p>
<p>This function is far less useful than it seems, and it should not be used in
newly written code. CSS has no concept of "background color", as a background
can be an image, or a gradient, or any other pattern including solid colors.</p>
<p>The only reason why you would call <a class="link" href="GtkStyleContext.html#gtk-style-context-get-background-color" title="gtk_style_context_get_background_color ()"><code class="function">gtk_style_context_get_background_color()</code></a> is
to use the returned value to draw the background with it; the correct way to
achieve this result is to use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead, along with CSS
style classes to modify the color to be rendered.</p>
<div class="refsect3">
<a name="gtk-style-context-get-background-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the color for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p> return value for the background color. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-border-color"></a><h3>gtk_style_context_get_border_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_border_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_get_border_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-frame" title="gtk_render_frame ()"><code class="function">gtk_render_frame()</code></a> instead.</p>
</div>
<p>Gets the border color for a given state.</p>
<div class="refsect3">
<a name="gtk-style-context-get-border-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the color for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p> return value for the border color. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-border"></a><h3>gtk_style_context_get_border ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_border (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *border</code></em>);</pre>
<p>Gets the border for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.</p>
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> and
<a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-BORDER-WIDTH:CAPS" title="GTK_STYLE_PROPERTY_BORDER_WIDTH"><span class="type">GTK_STYLE_PROPERTY_BORDER_WIDTH</span></a> for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-border.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the border for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>border</p></td>
<td class="parameter_description"><p> return value for the border settings. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-padding"></a><h3>gtk_style_context_get_padding ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_padding (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *padding</code></em>);</pre>
<p>Gets the padding for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.
See <a class="link" href="GtkStyleContext.html#gtk-style-context-get" title="gtk_style_context_get ()"><code class="function">gtk_style_context_get()</code></a> and <a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-PADDING:CAPS" title="GTK_STYLE_PROPERTY_PADDING"><span class="type">GTK_STYLE_PROPERTY_PADDING</span></a>
for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-padding.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the padding for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>padding</p></td>
<td class="parameter_description"><p> return value for the padding settings. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-margin"></a><h3>gtk_style_context_get_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_get_margin (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *margin</code></em>);</pre>
<p>Gets the margin for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.
See <code class="function">gtk_style_property_get()</code> and <a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-MARGIN:CAPS" title="GTK_STYLE_PROPERTY_MARGIN"><span class="type">GTK_STYLE_PROPERTY_MARGIN</span></a>
for details.</p>
<div class="refsect3">
<a name="gtk-style-context-get-margin.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the border for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>margin</p></td>
<td class="parameter_description"><p> return value for the margin settings. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-font"></a><h3>gtk_style_context_get_font ()</h3>
<pre class="programlisting">const <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="returnvalue">PangoFontDescription</span></a> *
gtk_style_context_get_font (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_get_font</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-style-context-get" title="gtk_style_context_get ()"><code class="function">gtk_style_context_get()</code></a> for "font" or
subproperties instead.</p>
</div>
<p>Returns the font description for a given state. The returned
object is const and will remain valid until the
<a class="link" href="GtkStyleContext.html#GtkStyleContext-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal happens.</p>
<div class="refsect3">
<a name="gtk-style-context-get-font.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to retrieve the font for</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-font.returns"></a><h4>Returns</h4>
<p> the <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> for the given
state. This object is owned by GTK+ and should not be
freed. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-invalidate"></a><h3>gtk_style_context_invalidate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_invalidate (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_invalidate</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
<p>Style contexts are invalidated automatically.</p>
</div>
<p>Invalidates <em class="parameter"><code>context</code></em>
style information, so it will be reconstructed
again. It is useful if you modify the <em class="parameter"><code>context</code></em>
and need the new
information immediately.</p>
<div class="refsect3">
<a name="gtk-style-context-invalidate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-state-is-running"></a><h3>gtk_style_context_state_is_running ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_style_context_state_is_running (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *progress</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_state_is_running</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function always returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
</div>
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a transition animation running for the
current region (see <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()"><code class="function">gtk_style_context_push_animatable_region()</code></a>).</p>
<p>If <em class="parameter"><code>progress</code></em>
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the animation progress will be returned
there, 0.0 means the state is closest to being unset, while 1.0 means
it’s closest to being set. This means transition animation will
run from 0 to 1 when <em class="parameter"><code>state</code></em>
is being set and from 1 to 0 when
it’s being unset.</p>
<div class="refsect3">
<a name="gtk-style-context-state-is-running.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>a widget state</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>progress</p></td>
<td class="parameter_description"><p> return location for the transition progress. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-state-is-running.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a running transition animation for <em class="parameter"><code>state</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-lookup-color"></a><h3>gtk_style_context_lookup_color ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_style_context_lookup_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color_name</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
<p>Looks up and resolves a color name in the <em class="parameter"><code>context</code></em>
color map.</p>
<div class="refsect3">
<a name="gtk-style-context-lookup-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color_name</p></td>
<td class="parameter_description"><p>color name to lookup</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p> Return location for the looked up color. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-lookup-color.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color_name</code></em>
was found and resolved, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-lookup-icon-set"></a><h3>gtk_style_context_lookup_icon_set ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> *
gtk_style_context_lookup_icon_set (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_lookup_icon_set</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a> instead.</p>
</div>
<p>Looks up <em class="parameter"><code>stock_id</code></em>
in the icon factories associated to <em class="parameter"><code>context</code></em>
and
the default icon factory, returning an icon set if found, otherwise
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-lookup-icon-set.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stock_id</p></td>
<td class="parameter_description"><p>an icon name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-lookup-icon-set.returns"></a><h4>Returns</h4>
<p> The looked up <a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSet"><code class="literal">GtkIconSet</code></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-notify-state-change"></a><h3>gtk_style_context_notify_state_change ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_notify_state_change (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> region_id</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> state_value</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_notify_state_change</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function does nothing.</p>
</div>
<p>Notifies a state change on <em class="parameter"><code>context</code></em>
, so if the current style makes use
of transition animations, one will be started so all rendered elements
under <em class="parameter"><code>region_id</code></em>
are animated for state <em class="parameter"><code>state</code></em>
being set to value
<em class="parameter"><code>state_value</code></em>
.</p>
<p>The <em class="parameter"><code>window</code></em>
parameter is used in order to invalidate the rendered area
as the animation runs, so make sure it is the same window that is being
rendered on by the gtk_render_*() functions.</p>
<p>If <em class="parameter"><code>region_id</code></em>
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, all rendered elements using <em class="parameter"><code>context</code></em>
will be
affected by this state transition.</p>
<p>As a practical example, a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> notifying a state transition on
the prelight state:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkStyleContext.html#gtk-style-context-notify-state-change">gtk_style_context_notify_state_change</a></span> <span class="gtkdoc opt">(</span>context<span class="gtkdoc opt">,</span>
<span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">),</span>
NULL<span class="gtkdoc opt">,</span>
GTK_STATE_PRELIGHT<span class="gtkdoc opt">,</span>
button<span class="gtkdoc opt">-></span>in_button<span class="gtkdoc opt">);</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>Can be handled in the CSS file like this:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8</pre></td>
<td class="listing_code"><pre class="programlisting">GtkButton <span class="gtkdoc opt">{</span>
background<span class="gtkdoc opt">-</span>color<span class="gtkdoc opt">:</span> <span class="gtkdoc ppc">#f00</span>
<span class="gtkdoc opt">}</span>
GtkButton<span class="gtkdoc opt">:</span>hover <span class="gtkdoc opt">{</span>
background<span class="gtkdoc opt">-</span>color<span class="gtkdoc opt">:</span> <span class="gtkdoc ppc">#fff;</span>
transition<span class="gtkdoc opt">:</span> <span class="number">200</span>ms linear
<span class="gtkdoc opt">}</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>This combination will animate the button background from red to white
if a pointer enters the button, and back to red if the pointer leaves
the button.</p>
<p>Note that <em class="parameter"><code>state</code></em>
is used when finding the transition parameters, which
is why the style places the transition under the :hover pseudo-class.</p>
<div class="refsect3">
<a name="gtk-style-context-notify-state-change.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_id</p></td>
<td class="parameter_description"><p> animatable region to notify on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
See <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()"><code class="function">gtk_style_context_push_animatable_region()</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>state to trigger transition for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state_value</p></td>
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>state</code></em>
is the state we are changing to,
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we are changing away from it</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-pop-animatable-region"></a><h3>gtk_style_context_pop_animatable_region ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_pop_animatable_region
(<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_pop_animatable_region</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function does nothing.</p>
</div>
<p>Pops an animatable region from <em class="parameter"><code>context</code></em>
.
See <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()"><code class="function">gtk_style_context_push_animatable_region()</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-pop-animatable-region.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-push-animatable-region"></a><h3>gtk_style_context_push_animatable_region ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_push_animatable_region
(<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> region_id</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_push_animatable_region</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function does nothing.</p>
</div>
<p>Pushes an animatable region, so all further gtk_render_*() calls between
this call and the following <a class="link" href="GtkStyleContext.html#gtk-style-context-pop-animatable-region" title="gtk_style_context_pop_animatable_region ()"><code class="function">gtk_style_context_pop_animatable_region()</code></a>
will potentially show transition animations for this region if
<a class="link" href="GtkStyleContext.html#gtk-style-context-notify-state-change" title="gtk_style_context_notify_state_change ()"><code class="function">gtk_style_context_notify_state_change()</code></a> is called for a given state,
and the current theme/style defines transition animations for state
changes.</p>
<p>The <em class="parameter"><code>region_id</code></em>
used must be unique in <em class="parameter"><code>context</code></em>
so the themes
can uniquely identify rendered elements subject to a state transition.</p>
<div class="refsect3">
<a name="gtk-style-context-push-animatable-region.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_id</p></td>
<td class="parameter_description"><p>unique identifier for the animatable region</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-cancel-animations"></a><h3>gtk_style_context_cancel_animations ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_cancel_animations (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> region_id</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_cancel_animations</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function does nothing.</p>
</div>
<p>Stops all running animations for <em class="parameter"><code>region_id</code></em>
and all animatable
regions underneath.</p>
<p>A <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>region_id</code></em>
will stop all ongoing animations in <em class="parameter"><code>context</code></em>
,
when dealing with a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> obtained through
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, this is normally done for you
in all circumstances you would expect all widget to be stopped,
so this should be only used in complex widgets with different
animatable regions.</p>
<div class="refsect3">
<a name="gtk-style-context-cancel-animations.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_id</p></td>
<td class="parameter_description"><p> animatable region to stop, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
See <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()"><code class="function">gtk_style_context_push_animatable_region()</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-scroll-animations"></a><h3>gtk_style_context_scroll_animations ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_scroll_animations (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_scroll_animations</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
<p>This function does nothing.</p>
</div>
<p>This function is analogous to <a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#gdk-window-scroll"><code class="function">gdk_window_scroll()</code></a>, and
should be called together with it so the invalidation
areas for any ongoing animation are scrolled together
with it.</p>
<div class="refsect3">
<a name="gtk-style-context-scroll-animations.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> used previously in
<a class="link" href="GtkStyleContext.html#gtk-style-context-notify-state-change" title="gtk_style_context_notify_state_change ()"><code class="function">gtk_style_context_notify_state_change()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dx</p></td>
<td class="parameter_description"><p>Amount to scroll in the X axis</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dy</p></td>
<td class="parameter_description"><p>Amount to scroll in the Y axis</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-remove-provider"></a><h3>gtk_style_context_remove_provider ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_remove_provider (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>);</pre>
<p>Removes <em class="parameter"><code>provider</code></em>
from the style providers list in <em class="parameter"><code>context</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-remove-provider.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>provider</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-remove-provider-for-screen"></a><h3>gtk_style_context_remove_provider_for_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_remove_provider_for_screen
(<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>);</pre>
<p>Removes <em class="parameter"><code>provider</code></em>
from the global style providers list in <em class="parameter"><code>screen</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-remove-provider-for-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>screen</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>provider</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-reset-widgets"></a><h3>gtk_style_context_reset_widgets ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_reset_widgets (<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
<p>This function recomputes the styles for all widgets under a particular
<a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. This is useful when some global parameter has changed that
affects the appearance of all widgets, because when a widget gets a new
style, it will both redraw and recompute any cached information about
its appearance. As an example, it is used when the color scheme changes
in the related <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object.</p>
<div class="refsect3">
<a name="gtk-style-context-reset-widgets.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>screen</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-background"></a><h3>gtk_style_context_set_background ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_background (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_set_background</code> has been deprecated since version 3.18 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.
Note that clients still using this function are now responsible
for calling this function again whenever <em class="parameter"><code>context</code></em>
is invalidated.</p>
</div>
<p>Sets the background of <em class="parameter"><code>window</code></em>
to the background pattern or
color specified in <em class="parameter"><code>context</code></em>
for its current state.</p>
<div class="refsect3">
<a name="gtk-style-context-set-background.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-restore"></a><h3>gtk_style_context_restore ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_restore (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Restores <em class="parameter"><code>context</code></em>
state to a previous stage.
See <a class="link" href="GtkStyleContext.html#gtk-style-context-save" title="gtk_style_context_save ()"><code class="function">gtk_style_context_save()</code></a>.</p>
<div class="refsect3">
<a name="gtk-style-context-restore.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-save"></a><h3>gtk_style_context_save ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_save (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Saves the <em class="parameter"><code>context</code></em>
state, so temporary modifications done through
<a class="link" href="GtkStyleContext.html#gtk-style-context-add-class" title="gtk_style_context_add_class ()"><code class="function">gtk_style_context_add_class()</code></a>, <a class="link" href="GtkStyleContext.html#gtk-style-context-remove-class" title="gtk_style_context_remove_class ()"><code class="function">gtk_style_context_remove_class()</code></a>,
<a class="link" href="GtkStyleContext.html#gtk-style-context-set-state" title="gtk_style_context_set_state ()"><code class="function">gtk_style_context_set_state()</code></a>, etc. can quickly be reverted
in one go through <a class="link" href="GtkStyleContext.html#gtk-style-context-restore" title="gtk_style_context_restore ()"><code class="function">gtk_style_context_restore()</code></a>.</p>
<p>The matching call to <a class="link" href="GtkStyleContext.html#gtk-style-context-restore" title="gtk_style_context_restore ()"><code class="function">gtk_style_context_restore()</code></a> must be done
before GTK returns to the main loop.</p>
<div class="refsect3">
<a name="gtk-style-context-save.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-direction"></a><h3>gtk_style_context_set_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_direction (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_context_set_direction</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkStyleContext.html#gtk-style-context-set-state" title="gtk_style_context_set_state ()"><code class="function">gtk_style_context_set_state()</code></a> with
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-LTR:CAPS"><span class="type">GTK_STATE_FLAG_DIR_LTR</span></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-RTL:CAPS"><span class="type">GTK_STATE_FLAG_DIR_RTL</span></a>
instead.</p>
</div>
<p>Sets the reading direction for rendering purposes.</p>
<p>If you are using a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned from
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, you do not need to
call this yourself.</p>
<div class="refsect3">
<a name="gtk-style-context-set-direction.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>direction</p></td>
<td class="parameter_description"><p>the new direction.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-junction-sides"></a><h3>gtk_style_context_set_junction_sides ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_junction_sides (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides"><span class="type">GtkJunctionSides</span></a> sides</code></em>);</pre>
<p>Sets the sides where rendered elements (mostly through
<a class="link" href="GtkStyleContext.html#gtk-render-frame" title="gtk_render_frame ()"><code class="function">gtk_render_frame()</code></a>) will visually connect with other visual elements.</p>
<p>This is merely a hint that may or may not be honored
by themes.</p>
<p>Container widgets are expected to set junction hints as appropriate
for their children, so it should not normally be necessary to call
this function manually.</p>
<div class="refsect3">
<a name="gtk-style-context-set-junction-sides.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sides</p></td>
<td class="parameter_description"><p>sides where rendered elements are visually connected to
other elements</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-parent"></a><h3>gtk_style_context_set_parent ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_parent (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *parent</code></em>);</pre>
<p>Sets the parent style context for <em class="parameter"><code>context</code></em>
. The parent style
context is used to implement
<a class="ulink" href="http://www.w3.org/TR/css3-cascade/#inheritance" target="_top">inheritance</a>
of properties.</p>
<p>If you are using a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned from
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, the parent will be set for you.</p>
<div class="refsect3">
<a name="gtk-style-context-set-parent.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p> the new parent or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-path"></a><h3>gtk_style_context_set_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_path (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>);</pre>
<p>Sets the <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> used for style matching. As a
consequence, the style will be regenerated to match
the new given path.</p>
<p>If you are using a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned from
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, you do not need to call
this yourself.</p>
<div class="refsect3">
<a name="gtk-style-context-set-path.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-add-class"></a><h3>gtk_style_context_add_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_add_class (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *class_name</code></em>);</pre>
<p>Adds a style class to <em class="parameter"><code>context</code></em>
, so posterior calls to
<a class="link" href="GtkStyleContext.html#gtk-style-context-get" title="gtk_style_context_get ()"><code class="function">gtk_style_context_get()</code></a> or any of the gtk_render_*()
functions will make use of this new class for styling.</p>
<p>In the CSS file format, a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> defining a “search”
class, would be matched by:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting">entry<span class="gtkdoc opt">.</span>search <span class="gtkdoc opt">{ ... }</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>While any widget defining a “search” class would be
matched by:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc opt">.</span>search <span class="gtkdoc opt">{ ... }</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<div class="refsect3">
<a name="gtk-style-context-add-class.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>class_name</p></td>
<td class="parameter_description"><p>class name to use in styling</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-remove-class"></a><h3>gtk_style_context_remove_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_remove_class (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *class_name</code></em>);</pre>
<p>Removes <em class="parameter"><code>class_name</code></em>
from <em class="parameter"><code>context</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-remove-class.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>class_name</p></td>
<td class="parameter_description"><p>class name to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-has-class"></a><h3>gtk_style_context_has_class ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_style_context_has_class (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *class_name</code></em>);</pre>
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>context</code></em>
currently has defined the
given class name.</p>
<div class="refsect3">
<a name="gtk-style-context-has-class.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>class_name</p></td>
<td class="parameter_description"><p>a class name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-has-class.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>context</code></em>
has <em class="parameter"><code>class_name</code></em>
defined</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-list-classes"></a><h3>gtk_style_context_list_classes ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gtk_style_context_list_classes (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the list of classes currently defined in <em class="parameter"><code>context</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-list-classes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-list-classes.returns"></a><h4>Returns</h4>
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
strings with the currently defined classes. The contents
of the list are owned by GTK+, but you must free the list
itself with <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> when you are done with it. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-add-region"></a><h3>gtk_style_context_add_region ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_add_region (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *region_name</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkRegionFlags" title="enum GtkRegionFlags"><span class="type">GtkRegionFlags</span></a> flags</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_style_context_add_region</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Adds a region to <em class="parameter"><code>context</code></em>
, so posterior calls to
<a class="link" href="GtkStyleContext.html#gtk-style-context-get" title="gtk_style_context_get ()"><code class="function">gtk_style_context_get()</code></a> or any of the gtk_render_*()
functions will make use of this new region for styling.</p>
<p>In the CSS file format, a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> defining a “row”
region, would be matched by:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting">GtkTreeView row <span class="gtkdoc opt">{ ... }</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>Pseudo-classes are used for matching <em class="parameter"><code>flags</code></em>
, so the two
following rules:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2</pre></td>
<td class="listing_code"><pre class="programlisting">GtkTreeView row<span class="gtkdoc opt">:</span>nth<span class="gtkdoc opt">-</span><span class="function">child</span><span class="gtkdoc opt">(</span>even<span class="gtkdoc opt">) { ... }</span>
GtkTreeView row<span class="gtkdoc opt">:</span>nth<span class="gtkdoc opt">-</span><span class="function">child</span><span class="gtkdoc opt">(</span>odd<span class="gtkdoc opt">) { ... }</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>would apply to even and odd rows, respectively.</p>
<p>Region names must only contain lowercase letters
and “-”, starting always with a lowercase letter.</p>
<div class="refsect3">
<a name="gtk-style-context-add-region.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_name</p></td>
<td class="parameter_description"><p>region name to use in styling</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>flags that apply to the region</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-remove-region"></a><h3>gtk_style_context_remove_region ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_remove_region (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *region_name</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_style_context_remove_region</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Removes a region from <em class="parameter"><code>context</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-remove-region.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_name</p></td>
<td class="parameter_description"><p>region name to unset</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-has-region"></a><h3>gtk_style_context_has_region ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_style_context_has_region (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *region_name</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkRegionFlags" title="enum GtkRegionFlags"><span class="type">GtkRegionFlags</span></a> *flags_return</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_style_context_has_region</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>context</code></em>
has the region defined.
If <em class="parameter"><code>flags_return</code></em>
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it is set to the flags
affecting the region.</p>
<div class="refsect3">
<a name="gtk-style-context-has-region.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_name</p></td>
<td class="parameter_description"><p>a region name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags_return</p></td>
<td class="parameter_description"><p> return location for region flags. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-has-region.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if region is defined</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-list-regions"></a><h3>gtk_style_context_list_regions ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gtk_style_context_list_regions (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_style_context_list_regions</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Returns the list of regions currently defined in <em class="parameter"><code>context</code></em>
.</p>
<div class="refsect3">
<a name="gtk-style-context-list-regions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-list-regions.returns"></a><h4>Returns</h4>
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
strings with the currently defined regions. The contents
of the list are owned by GTK+, but you must free the list
itself with <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> when you are done with it. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-screen"></a><h3>gtk_style_context_set_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
<p>Attaches <em class="parameter"><code>context</code></em>
to the given screen.</p>
<p>The screen is used to add style information from “global” style
providers, such as the screens <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> instance.</p>
<p>If you are using a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned from
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, you do not need to
call this yourself.</p>
<div class="refsect3">
<a name="gtk-style-context-set-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>screen</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-frame-clock"></a><h3>gtk_style_context_set_frame_clock ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>);</pre>
<p>Attaches <em class="parameter"><code>context</code></em>
to the given frame clock.</p>
<p>The frame clock is used for the timing of animations.</p>
<p>If you are using a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned from
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, you do not need to
call this yourself.</p>
<div class="refsect3">
<a name="gtk-style-context-set-frame-clock.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frame_clock</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-state"></a><h3>gtk_style_context_set_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_state (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> flags</code></em>);</pre>
<p>Sets the state to be used for style matching.</p>
<div class="refsect3">
<a name="gtk-style-context-set-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>state to represent</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-set-scale"></a><h3>gtk_style_context_set_scale ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_style_context_set_scale (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scale</code></em>);</pre>
<p>Sets the scale to use when getting image assets for the style.</p>
<div class="refsect3">
<a name="gtk-style-context-set-scale.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>scale</p></td>
<td class="parameter_description"><p>scale</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-get-scale"></a><h3>gtk_style_context_get_scale ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gtk_style_context_get_scale (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<p>Returns the scale used for assets.</p>
<div class="refsect3">
<a name="gtk-style-context-get-scale.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-get-scale.returns"></a><h4>Returns</h4>
<p> the scale</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-style-context-to-string"></a><h3>gtk_style_context_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
gtk_style_context_to_string (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkStyleContextPrintFlags" title="enum GtkStyleContextPrintFlags"><span class="type">GtkStyleContextPrintFlags</span></a> flags</code></em>);</pre>
<p>Converts the style context into a string representation.</p>
<p>The string representation always includes information about
the name, state, id, visibility and style classes of the CSS
node that is backing <em class="parameter"><code>context</code></em>
. Depending on the flags, more
information may be included.</p>
<p>This function is intended for testing and debugging of the
CSS implementation in GTK+. There are no guarantees about
the format of the returned string, it may change.</p>
<div class="refsect3">
<a name="gtk-style-context-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Flags that determine what to print</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-style-context-to-string.returns"></a><h4>Returns</h4>
<p> a newly allocated string representing <em class="parameter"><code>context</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-border-new"></a><h3>gtk_border_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="returnvalue">GtkBorder</span></a> *
gtk_border_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Allocates a new <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a> and initializes its elements to zero.</p>
<div class="refsect3">
<a name="gtk-border-new.returns"></a><h4>Returns</h4>
<p> a newly allocated <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a>.
Free with <a class="link" href="GtkStyleContext.html#gtk-border-free" title="gtk_border_free ()"><code class="function">gtk_border_free()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-border-copy"></a><h3>gtk_border_copy ()</h3>
<pre class="programlisting"><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="returnvalue">GtkBorder</span></a> *
gtk_border_copy (<em class="parameter"><code>const <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *border_</code></em>);</pre>
<p>Copies a <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a>.</p>
<div class="refsect3">
<a name="gtk-border-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>border_</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-border-copy.returns"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>border_</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-border-free"></a><h3>gtk_border_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_border_free (<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *border_</code></em>);</pre>
<p>Frees a <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a>.</p>
<div class="refsect3">
<a name="gtk-border-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>border_</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html#GtkBorder-struct" title="struct GtkBorder"><span class="type">GtkBorder</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-arrow"></a><h3>gtk_render_arrow ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_arrow (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> size</code></em>);</pre>
<p>Renders an arrow pointing to <em class="parameter"><code>angle</code></em>
.</p>
<p>Typical arrow rendering at 0, 1⁄2 π;, π; and 3⁄2 π:</p>
<p><span class="inlinemediaobject"><img src="arrows.png"></span></p>
<div class="refsect3">
<a name="gtk-render-arrow.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>angle</p></td>
<td class="parameter_description"><p>arrow angle from 0 to 2 * <a href="https://developer.gnome.org/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS"><code class="literal">G_PI</code></a>, being 0 the arrow pointing to the north</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the render area</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the render area</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>square side for render area</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-background"></a><h3>gtk_render_background ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_background (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders the background of an element.</p>
<p>Typical background rendering, showing the effect of
<code class="literal">background-image</code>, <code class="literal">border-width</code> and <code class="literal">border-radius</code>:</p>
<p><span class="inlinemediaobject"><img src="background.png"></span></p>
<div class="refsect3">
<a name="gtk-render-background.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 3.0.</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-background-get-clip"></a><h3>gtk_render_background_get_clip ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_background_get_clip (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/gdk3/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *out_clip</code></em>);</pre>
<p>Returns the area that will be affected (i.e. drawn to) when
calling <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> for the given <em class="parameter"><code>context</code></em>
and
rectangle.</p>
<div class="refsect3">
<a name="gtk-render-background-get-clip.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_clip</p></td>
<td class="parameter_description"><p> return location for the clip. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-check"></a><h3>gtk_render_check ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_check (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders a checkmark (as in a <a class="link" href="GtkCheckButton.html" title="GtkCheckButton"><span class="type">GtkCheckButton</span></a>).</p>
<p>The <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-CHECKED:CAPS"><code class="literal">GTK_STATE_FLAG_CHECKED</code></a> state determines whether the check is
on or off, and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-INCONSISTENT:CAPS"><code class="literal">GTK_STATE_FLAG_INCONSISTENT</code></a> determines whether it
should be marked as undefined.</p>
<p>Typical checkmark rendering:</p>
<p><span class="inlinemediaobject"><img src="checks.png"></span></p>
<div class="refsect3">
<a name="gtk-render-check.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-expander"></a><h3>gtk_render_expander ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_expander (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders an expander (as used in <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> and <a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a>) in the area
defined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
. The state <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-CHECKED:CAPS"><code class="literal">GTK_STATE_FLAG_CHECKED</code></a>
determines whether the expander is collapsed or expanded.</p>
<p>Typical expander rendering:</p>
<p><span class="inlinemediaobject"><img src="expanders.png"></span></p>
<div class="refsect3">
<a name="gtk-render-expander.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-extension"></a><h3>gtk_render_extension ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_extension (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> gap_side</code></em>);</pre>
<p>Renders a extension (as in a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> tab) in the rectangle
defined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
. The side where the extension
connects to is defined by <em class="parameter"><code>gap_side</code></em>
.</p>
<p>Typical extension rendering:</p>
<p><span class="inlinemediaobject"><img src="extensions.png"></span></p>
<div class="refsect3">
<a name="gtk-render-extension.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>gap_side</p></td>
<td class="parameter_description"><p>side where the gap is</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-focus"></a><h3>gtk_render_focus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_focus (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders a focus indicator on the rectangle determined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
.</p>
<p>Typical focus rendering:</p>
<p><span class="inlinemediaobject"><img src="focus.png"></span></p>
<div class="refsect3">
<a name="gtk-render-focus.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-frame"></a><h3>gtk_render_frame ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_frame (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders a frame around the rectangle defined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
.</p>
<p>Examples of frame rendering, showing the effect of <code class="literal">border-image</code>,
<code class="literal">border-color</code>, <code class="literal">border-width</code>, <code class="literal">border-radius</code> and junctions:</p>
<p><span class="inlinemediaobject"><img src="frames.png"></span></p>
<div class="refsect3">
<a name="gtk-render-frame.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-frame-gap"></a><h3>gtk_render_frame_gap ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_frame_gap (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> gap_side</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> xy0_gap</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> xy1_gap</code></em>);</pre>
<p>Renders a frame around the rectangle defined by (<em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
),
leaving a gap on one side. <em class="parameter"><code>xy0_gap</code></em>
and <em class="parameter"><code>xy1_gap</code></em>
will mean X coordinates
for <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-TOP:CAPS"><code class="literal">GTK_POS_TOP</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-BOTTOM:CAPS"><code class="literal">GTK_POS_BOTTOM</code></a> gap sides, and Y coordinates for
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-LEFT:CAPS"><code class="literal">GTK_POS_LEFT</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-RIGHT:CAPS"><code class="literal">GTK_POS_RIGHT</code></a>.</p>
<p>Typical rendering of a frame with a gap:</p>
<p><span class="inlinemediaobject"><img src="frame-gap.png"></span></p>
<div class="refsect3">
<a name="gtk-render-frame-gap.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>gap_side</p></td>
<td class="parameter_description"><p>side where the gap is</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>xy0_gap</p></td>
<td class="parameter_description"><p>initial coordinate (X or Y depending on <em class="parameter"><code>gap_side</code></em>
) for the gap</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>xy1_gap</p></td>
<td class="parameter_description"><p>end coordinate (X or Y depending on <em class="parameter"><code>gap_side</code></em>
) for the gap</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-handle"></a><h3>gtk_render_handle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_handle (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders a handle (as in <a class="link" href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>, <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> and
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>’s resize grip), in the rectangle
determined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
, <em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
.</p>
<p>Handles rendered for the paned and grip classes:</p>
<p><span class="inlinemediaobject"><img src="handles.png"></span></p>
<div class="refsect3">
<a name="gtk-render-handle.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-layout"></a><h3>gtk_render_layout ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_layout (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
<p>Renders <em class="parameter"><code>layout</code></em>
on the coordinates <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
</p>
<div class="refsect3">
<a name="gtk-render-layout.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>layout</p></td>
<td class="parameter_description"><p>the <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> to render</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-line"></a><h3>gtk_render_line ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_line (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>);</pre>
<p>Renders a line from (x0, y0) to (x1, y1).</p>
<div class="refsect3">
<a name="gtk-render-line.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x0</p></td>
<td class="parameter_description"><p>X coordinate for the origin of the line</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y0</p></td>
<td class="parameter_description"><p>Y coordinate for the origin of the line</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x1</p></td>
<td class="parameter_description"><p>X coordinate for the end of the line</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y1</p></td>
<td class="parameter_description"><p>Y coordinate for the end of the line</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-option"></a><h3>gtk_render_option ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_option (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders an option mark (as in a <a class="link" href="GtkRadioButton.html" title="GtkRadioButton"><span class="type">GtkRadioButton</span></a>), the <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-CHECKED:CAPS"><code class="literal">GTK_STATE_FLAG_CHECKED</code></a>
state will determine whether the option is on or off, and
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-INCONSISTENT:CAPS"><code class="literal">GTK_STATE_FLAG_INCONSISTENT</code></a> whether it should be marked as undefined.</p>
<p>Typical option mark rendering:</p>
<p><span class="inlinemediaobject"><img src="options.png"></span></p>
<div class="refsect3">
<a name="gtk-render-option.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-slider"></a><h3>gtk_render_slider ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_slider (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
<p>Renders a slider (as in <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>) in the rectangle defined by <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
,
<em class="parameter"><code>width</code></em>
, <em class="parameter"><code>height</code></em>
. <em class="parameter"><code>orientation</code></em>
defines whether the slider is vertical
or horizontal.</p>
<p>Typical slider rendering:</p>
<p><span class="inlinemediaobject"><img src="sliders.png"></span></p>
<div class="refsect3">
<a name="gtk-render-slider.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>orientation</p></td>
<td class="parameter_description"><p>orientation of the slider</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-activity"></a><h3>gtk_render_activity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_activity (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
<p>Renders an activity indicator (such as in <a class="link" href="GtkSpinner.html" title="GtkSpinner"><span class="type">GtkSpinner</span></a>).
The state <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-CHECKED:CAPS"><code class="literal">GTK_STATE_FLAG_CHECKED</code></a> determines whether there is
activity going on.</p>
<div class="refsect3">
<a name="gtk-render-activity.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin of the rectangle</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>rectangle width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>rectangle height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-icon-pixbuf"></a><h3>gtk_render_icon_pixbuf ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
gtk_render_icon_pixbuf (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_render_icon_pixbuf</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkIconTheme.html#gtk-icon-theme-load-icon" title="gtk_icon_theme_load_icon ()"><code class="function">gtk_icon_theme_load_icon()</code></a> instead.</p>
</div>
<p>Renders the icon specified by <em class="parameter"><code>source</code></em>
at the given <em class="parameter"><code>size</code></em>
, returning the result
in a pixbuf.</p>
<div class="refsect3">
<a name="gtk-render-icon-pixbuf.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>the <a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> specifying the icon to render</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p> the size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>) to render the icon at.
A size of <code class="literal">(GtkIconSize) -1</code> means render at the size of the source
and don’t scale. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> int]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-render-icon-pixbuf.returns"></a><h4>Returns</h4>
<p> a newly-created <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> containing the rendered icon. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-icon-surface"></a><h3>gtk_render_icon_surface ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_icon_surface (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);</pre>
<p>Renders the icon in <em class="parameter"><code>surface</code></em>
at the specified <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
coordinates.</p>
<div class="refsect3">
<a name="gtk-render-icon-surface.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>surface</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_surface_t</span> containing the icon to draw</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X position for the <em class="parameter"><code>icon</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y position for the <em class="parameter"><code>incon</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-icon"></a><h3>gtk_render_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_icon (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);</pre>
<p>Renders the icon in <em class="parameter"><code>pixbuf</code></em>
at the specified <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
coordinates.</p>
<p>This function will render the icon in <em class="parameter"><code>pixbuf</code></em>
at exactly its size,
regardless of scaling factors, which may not be appropriate when
drawing on displays with high pixel densities.</p>
<p>You probably want to use <a class="link" href="GtkStyleContext.html#gtk-render-icon-surface" title="gtk_render_icon_surface ()"><code class="function">gtk_render_icon_surface()</code></a> instead, if you
already have a Cairo surface.</p>
<div class="refsect3">
<a name="gtk-render-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pixbuf</p></td>
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> containing the icon to draw</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X position for the <em class="parameter"><code>pixbuf</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y position for the <em class="parameter"><code>pixbuf</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-render-insertion-cursor"></a><h3>gtk_render_insertion_cursor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_render_insertion_cursor (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> *layout</code></em>,
<em class="parameter"><code><span class="type">int</span> index</code></em>,
<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> direction</code></em>);</pre>
<p>Draws a text caret on <em class="parameter"><code>cr</code></em>
at the specified index of <em class="parameter"><code>layout</code></em>
.</p>
<div class="refsect3">
<a name="gtk-render-insertion-cursor.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cr</p></td>
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X origin</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y origin</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>layout</p></td>
<td class="parameter_description"><p>the <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> of the text</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>index</p></td>
<td class="parameter_description"><p>the index in the <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>direction</p></td>
<td class="parameter_description"><p>the <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> of the text</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BACKGROUND-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BACKGROUND_COLOR</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BACKGROUND_COLOR "background-color"
</pre>
<p>A property holding the background color of rendered elements as a <a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_COLOR</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_COLOR "color"
</pre>
<p>A property holding the foreground color of rendered elements as a <a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-FONT:CAPS"></a><h3>GTK_STYLE_PROPERTY_FONT</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_FONT "font"
</pre>
<p>A property holding the font properties used when rendering text
as a <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-MARGIN:CAPS"></a><h3>GTK_STYLE_PROPERTY_MARGIN</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_MARGIN "margin"
</pre>
<p>A property holding the rendered element’s margin as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>. The
margin is defined as the spacing between the border of the element
and its surrounding elements. It is external to <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>'s
size allocations, and the most external spacing property of the
padding/border/margin series.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-PADDING:CAPS"></a><h3>GTK_STYLE_PROPERTY_PADDING</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_PADDING "padding"
</pre>
<p>A property holding the rendered element’s padding as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>. The
padding is defined as the spacing between the inner part of the element border
and its child. It’s the innermost spacing property of the padding/border/margin
series.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BORDER-WIDTH:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_WIDTH</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_WIDTH "border-width"
</pre>
<p>A property holding the rendered element’s border width in pixels as
a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>. The border is the intermediary spacing property of the
padding/border/margin series.</p>
<p>gtk_render_frame() uses this property to find out the frame line width,
so <a href="GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidgets</span></a> rendering frames may need to add up this padding when
requesting size</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BORDER-RADIUS:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_RADIUS</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_RADIUS "border-radius"
</pre>
<p>A property holding the rendered element’s border radius in pixels as a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BORDER-STYLE:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_STYLE</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_STYLE "border-style"
</pre>
<p>A property holding the element’s border style as a <a class="link" href="GtkStyleContext.html#GtkBorderStyle" title="enum GtkBorderStyle"><span class="type">GtkBorderStyle</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BORDER-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_COLOR</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_COLOR "border-color"
</pre>
<p>A property holding the element’s border color as a <a href="http://developer.gnome.org/gdk3/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROPERTY-BACKGROUND-IMAGE:CAPS"></a><h3>GTK_STYLE_PROPERTY_BACKGROUND_IMAGE</h3>
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BACKGROUND_IMAGE "background-image"
</pre>
<p>A property holding the element’s background as a <span class="type">cairo_pattern_t</span>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkBorderStyle"></a><h3>enum GtkBorderStyle</h3>
<p>Describes how the border of a UI element should be rendered.</p>
<div class="refsect3">
<a name="GtkBorderStyle.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-NONE:CAPS"></a>GTK_BORDER_STYLE_NONE</p></td>
<td class="enum_member_description">
<p>No visible border</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-SOLID:CAPS"></a>GTK_BORDER_STYLE_SOLID</p></td>
<td class="enum_member_description">
<p>A single line segment</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-INSET:CAPS"></a>GTK_BORDER_STYLE_INSET</p></td>
<td class="enum_member_description">
<p>Looks as if the content is sunken into the canvas</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-OUTSET:CAPS"></a>GTK_BORDER_STYLE_OUTSET</p></td>
<td class="enum_member_description">
<p>Looks as if the content is coming out of the canvas</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-HIDDEN:CAPS"></a>GTK_BORDER_STYLE_HIDDEN</p></td>
<td class="enum_member_description">
<p>Same as <em class="parameter"><code>GTK_BORDER_STYLE_NONE</code></em>
</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-DOTTED:CAPS"></a>GTK_BORDER_STYLE_DOTTED</p></td>
<td class="enum_member_description">
<p>A series of round dots</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-DASHED:CAPS"></a>GTK_BORDER_STYLE_DASHED</p></td>
<td class="enum_member_description">
<p>A series of square-ended dashes</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-DOUBLE:CAPS"></a>GTK_BORDER_STYLE_DOUBLE</p></td>
<td class="enum_member_description">
<p>Two parallel lines with some space between them</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-GROOVE:CAPS"></a>GTK_BORDER_STYLE_GROOVE</p></td>
<td class="enum_member_description">
<p>Looks as if it were carved in the canvas</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-BORDER-STYLE-RIDGE:CAPS"></a>GTK_BORDER_STYLE_RIDGE</p></td>
<td class="enum_member_description">
<p>Looks as if it were coming out of the canvas</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-ACCELERATOR:CAPS"></a><h3>GTK_STYLE_CLASS_ACCELERATOR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
</pre>
<p>A CSS class to match an accelerator.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-ARROW:CAPS"></a><h3>GTK_STYLE_CLASS_ARROW</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_ARROW "arrow"
</pre>
<p>A CSS class used when rendering an arrow element.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-BACKGROUND:CAPS"></a><h3>GTK_STYLE_CLASS_BACKGROUND</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_BACKGROUND "background"
</pre>
<p>A CSS class to match the window background.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-BOTTOM:CAPS"></a><h3>GTK_STYLE_CLASS_BOTTOM</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_BOTTOM "bottom"
</pre>
<p>A CSS class to indicate an area at the bottom of a widget.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-BUTTON:CAPS"></a><h3>GTK_STYLE_CLASS_BUTTON</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_BUTTON "button"
</pre>
<p>A CSS class to match buttons.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CALENDAR:CAPS"></a><h3>GTK_STYLE_CLASS_CALENDAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CALENDAR "calendar"
</pre>
<p>A CSS class to match calendars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CELL:CAPS"></a><h3>GTK_STYLE_CLASS_CELL</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CELL "cell"
</pre>
<p>A CSS class to match content rendered in cell views.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-COMBOBOX-ENTRY:CAPS"></a><h3>GTK_STYLE_CLASS_COMBOBOX_ENTRY</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_COMBOBOX_ENTRY "combobox-entry"
</pre>
<p>A CSS class to match combobox entries.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CONTEXT-MENU:CAPS"></a><h3>GTK_STYLE_CLASS_CONTEXT_MENU</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CONTEXT_MENU "context-menu"
</pre>
<p>A CSS class to match context menus.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CHECK:CAPS"></a><h3>GTK_STYLE_CLASS_CHECK</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CHECK "check"
</pre>
<p>A CSS class to match check boxes.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CSD:CAPS"></a><h3>GTK_STYLE_CLASS_CSD</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CSD "csd"
</pre>
<p>A CSS class that gets added to windows which have client-side decorations.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-CURSOR-HANDLE:CAPS"></a><h3>GTK_STYLE_CLASS_CURSOR_HANDLE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_CURSOR_HANDLE "cursor-handle"
</pre>
<p>A CSS class used when rendering a drag handle for
text selection.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-DEFAULT:CAPS"></a><h3>GTK_STYLE_CLASS_DEFAULT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_DEFAULT "default"
</pre>
<p>A CSS class to match the default widget.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-DESTRUCTIVE-ACTION:CAPS"></a><h3>GTK_STYLE_CLASS_DESTRUCTIVE_ACTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action"
</pre>
<p>A CSS class used when an action (usually a button) is
one that is expected to remove or destroy something visible
to the user.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-DIM-LABEL:CAPS"></a><h3>GTK_STYLE_CLASS_DIM_LABEL</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_DIM_LABEL "dim-label"
</pre>
<p>A CSS class to match dimmed labels.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-DND:CAPS"></a><h3>GTK_STYLE_CLASS_DND</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_DND "dnd"
</pre>
<p>A CSS class for a drag-and-drop indicator.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-DOCK:CAPS"></a><h3>GTK_STYLE_CLASS_DOCK</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_DOCK "dock"
</pre>
<p>A CSS class defining a dock area.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-ENTRY:CAPS"></a><h3>GTK_STYLE_CLASS_ENTRY</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_ENTRY "entry"
</pre>
<p>A CSS class to match text entries.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-ERROR:CAPS"></a><h3>GTK_STYLE_CLASS_ERROR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_ERROR "error"
</pre>
<p>A CSS class for an area displaying an error message,
such as those in infobars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-EXPANDER:CAPS"></a><h3>GTK_STYLE_CLASS_EXPANDER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_EXPANDER "expander"
</pre>
<p>A CSS class defining an expander, such as those in treeviews.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-FRAME:CAPS"></a><h3>GTK_STYLE_CLASS_FRAME</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_FRAME "frame"
</pre>
<p>A CSS class defining a frame delimiting content, such as
<a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> or the scrolled window frame around the
scrollable area.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-FLAT:CAPS"></a><h3>GTK_STYLE_CLASS_FLAT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_FLAT "flat"
</pre>
<p>A CSS class that is added when widgets that usually have
a frame or border (like buttons or entries) should appear
without it.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-GRIP:CAPS"></a><h3>GTK_STYLE_CLASS_GRIP</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_GRIP "grip"
</pre>
<p>A CSS class defining a resize grip.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-HEADER:CAPS"></a><h3>GTK_STYLE_CLASS_HEADER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_HEADER "header"
</pre>
<p>A CSS class to match a header element.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-HIGHLIGHT:CAPS"></a><h3>GTK_STYLE_CLASS_HIGHLIGHT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_HIGHLIGHT "highlight"
</pre>
<p>A CSS class defining a highlighted area, such as headings in
assistants and calendars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-HORIZONTAL:CAPS"></a><h3>GTK_STYLE_CLASS_HORIZONTAL</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_HORIZONTAL "horizontal"
</pre>
<p>A CSS class for horizontally layered widgets.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-IMAGE:CAPS"></a><h3>GTK_STYLE_CLASS_IMAGE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_IMAGE "image"
</pre>
<p>A CSS class defining an image, such as the icon in an entry.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-INFO:CAPS"></a><h3>GTK_STYLE_CLASS_INFO</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_INFO "info"
</pre>
<p>A CSS class for an area displaying an informational message,
such as those in infobars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-INLINE-TOOLBAR:CAPS"></a><h3>GTK_STYLE_CLASS_INLINE_TOOLBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_INLINE_TOOLBAR "inline-toolbar"
</pre>
<p>A CSS class to match inline toolbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-INSERTION-CURSOR:CAPS"></a><h3>GTK_STYLE_CLASS_INSERTION_CURSOR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_INSERTION_CURSOR "insertion-cursor"
</pre>
<p>A CSS class used when rendering a drag handle for
the insertion cursor position.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LABEL:CAPS"></a><h3>GTK_STYLE_CLASS_LABEL</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LABEL "label"
</pre>
<p>A CSS class to match labels.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LEFT:CAPS"></a><h3>GTK_STYLE_CLASS_LEFT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LEFT "left"
</pre>
<p>A CSS class to indicate an area at the left of a widget.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LEVEL-BAR:CAPS"></a><h3>GTK_STYLE_CLASS_LEVEL_BAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LEVEL_BAR "level-bar"
</pre>
<p>A CSS class used when rendering a level indicator, such
as a battery charge level, or a password strength.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LINKED:CAPS"></a><h3>GTK_STYLE_CLASS_LINKED</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LINKED "linked"
</pre>
<p>A CSS class to match a linked area, such as a box containing buttons
belonging to the same control.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LIST:CAPS"></a><h3>GTK_STYLE_CLASS_LIST</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LIST "list"
</pre>
<p>A CSS class to match lists.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-LIST-ROW:CAPS"></a><h3>GTK_STYLE_CLASS_LIST_ROW</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_LIST_ROW "list-row"
</pre>
<p>A CSS class to match list rows.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MARK:CAPS"></a><h3>GTK_STYLE_CLASS_MARK</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MARK "mark"
</pre>
<p>A CSS class defining marks in a widget, such as in scales.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MENU:CAPS"></a><h3>GTK_STYLE_CLASS_MENU</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MENU "menu"
</pre>
<p>A CSS class to match menus.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MENUBAR:CAPS"></a><h3>GTK_STYLE_CLASS_MENUBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MENUBAR "menubar"
</pre>
<p>A CSS class to menubars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MENUITEM:CAPS"></a><h3>GTK_STYLE_CLASS_MENUITEM</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MENUITEM "menuitem"
</pre>
<p>A CSS class to match menu items.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MESSAGE-DIALOG:CAPS"></a><h3>GTK_STYLE_CLASS_MESSAGE_DIALOG</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
</pre>
<p>A CSS class that is added to message dialogs.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-MONOSPACE:CAPS"></a><h3>GTK_STYLE_CLASS_MONOSPACE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_MONOSPACE "monospace"
</pre>
<p>A CSS class that is added to text view that should use
a monospace font.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-NEEDS-ATTENTION:CAPS"></a><h3>GTK_STYLE_CLASS_NEEDS_ATTENTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_NEEDS_ATTENTION "needs-attention"
</pre>
<p>A CSS class used when an element needs the user attention,
for instance a button in a stack switcher corresponding to
a hidden page that changed state.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-NOTEBOOK:CAPS"></a><h3>GTK_STYLE_CLASS_NOTEBOOK</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_NOTEBOOK "notebook"
</pre>
<p>A CSS class defining a notebook.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-OSD:CAPS"></a><h3>GTK_STYLE_CLASS_OSD</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_OSD "osd"
</pre>
<p>A CSS class used when rendering an OSD (On Screen Display) element,
on top of another container.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-OVERSHOOT:CAPS"></a><h3>GTK_STYLE_CLASS_OVERSHOOT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
</pre>
<p>A CSS class that is added on the visual hints that happen
when scrolling is attempted past the limits of a scrollable
area.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-PANE-SEPARATOR:CAPS"></a><h3>GTK_STYLE_CLASS_PANE_SEPARATOR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_PANE_SEPARATOR "pane-separator"
</pre>
<p>A CSS class for a pane separator, such as those in <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a>.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-PAPER:CAPS"></a><h3>GTK_STYLE_CLASS_PAPER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_PAPER "paper"
</pre>
<p>A CSS class that is added to areas that should look like paper.</p>
<p>This is used in print previews and themes are encouraged to
style it as black text on white background.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-POPUP:CAPS"></a><h3>GTK_STYLE_CLASS_POPUP</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_POPUP "popup"
</pre>
<p>A CSS class that is added to the toplevel windows used for menus.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-POPOVER:CAPS"></a><h3>GTK_STYLE_CLASS_POPOVER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_POPOVER "popover"
</pre>
<p>A CSS class that matches popovers.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-PRIMARY-TOOLBAR:CAPS"></a><h3>GTK_STYLE_CLASS_PRIMARY_TOOLBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_PRIMARY_TOOLBAR "primary-toolbar"
</pre>
<p>A CSS class to match primary toolbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-PROGRESSBAR:CAPS"></a><h3>GTK_STYLE_CLASS_PROGRESSBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_PROGRESSBAR "progressbar"
</pre>
<p>A CSS class to use when rendering activity as a progressbar.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-PULSE:CAPS"></a><h3>GTK_STYLE_CLASS_PULSE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_PULSE "pulse"
</pre>
<p>A CSS class to use when rendering a pulse in an indeterminate progress bar.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-QUESTION:CAPS"></a><h3>GTK_STYLE_CLASS_QUESTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_QUESTION "question"
</pre>
<p>A CSS class for an area displaying a question to the user,
such as those in infobars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-RADIO:CAPS"></a><h3>GTK_STYLE_CLASS_RADIO</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_RADIO "radio"
</pre>
<p>A CSS class to match radio buttons.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-RAISED:CAPS"></a><h3>GTK_STYLE_CLASS_RAISED</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_RAISED "raised"
</pre>
<p>A CSS class to match a raised control, such as a raised
button on a toolbar.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-READ-ONLY:CAPS"></a><h3>GTK_STYLE_CLASS_READ_ONLY</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_READ_ONLY "read-only"
</pre>
<p>A CSS class used to indicate a read-only state.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-RIGHT:CAPS"></a><h3>GTK_STYLE_CLASS_RIGHT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_RIGHT "right"
</pre>
<p>A CSS class to indicate an area at the right of a widget.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-RUBBERBAND:CAPS"></a><h3>GTK_STYLE_CLASS_RUBBERBAND</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_RUBBERBAND "rubberband"
</pre>
<p>A CSS class to match the rubberband selection rectangle.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SCALE:CAPS"></a><h3>GTK_STYLE_CLASS_SCALE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SCALE "scale"
</pre>
<p>A CSS class to match scale widgets.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SCALE-HAS-MARKS-ABOVE:CAPS"></a><h3>GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE "scale-has-marks-above"
</pre>
<p>A CSS class to match scale widgets with marks attached,
all the marks are above for horizontal <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>.
left for vertical <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SCALE-HAS-MARKS-BELOW:CAPS"></a><h3>GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW "scale-has-marks-below"
</pre>
<p>A CSS class to match scale widgets with marks attached,
all the marks are below for horizontal <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>,
right for vertical <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SCROLLBAR:CAPS"></a><h3>GTK_STYLE_CLASS_SCROLLBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SCROLLBAR "scrollbar"
</pre>
<p>A CSS class to match scrollbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SCROLLBARS-JUNCTION:CAPS"></a><h3>GTK_STYLE_CLASS_SCROLLBARS_JUNCTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION "scrollbars-junction"
</pre>
<p>A CSS class to match the junction area between an horizontal
and vertical scrollbar, when they’re both shown.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SEPARATOR:CAPS"></a><h3>GTK_STYLE_CLASS_SEPARATOR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SEPARATOR "separator"
</pre>
<p>A CSS class for a separator.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SIDEBAR:CAPS"></a><h3>GTK_STYLE_CLASS_SIDEBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
</pre>
<p>A CSS class defining a sidebar, such as the left side in
a file chooser.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SLIDER:CAPS"></a><h3>GTK_STYLE_CLASS_SLIDER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SLIDER "slider"
</pre>
<p>A CSS class to match sliders.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SPINBUTTON:CAPS"></a><h3>GTK_STYLE_CLASS_SPINBUTTON</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SPINBUTTON "spinbutton"
</pre>
<p>A CSS class defining an spinbutton.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SPINNER:CAPS"></a><h3>GTK_STYLE_CLASS_SPINNER</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SPINNER "spinner"
</pre>
<p>A CSS class to use when rendering activity as a “spinner”.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-STATUSBAR:CAPS"></a><h3>GTK_STYLE_CLASS_STATUSBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_STATUSBAR "statusbar"
</pre>
<p>A CSS class to match statusbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SUBTITLE:CAPS"></a><h3>GTK_STYLE_CLASS_SUBTITLE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SUBTITLE "subtitle"
</pre>
<p>A CSS class used for the subtitle label in a titlebar in
a toplevel window.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-SUGGESTED-ACTION:CAPS"></a><h3>GTK_STYLE_CLASS_SUGGESTED_ACTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action"
</pre>
<p>A CSS class used when an action (usually a button) is the
primary suggested action in a specific context.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TITLE:CAPS"></a><h3>GTK_STYLE_CLASS_TITLE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TITLE "title"
</pre>
<p>A CSS class used for the title label in a titlebar in
a toplevel window.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TITLEBAR:CAPS"></a><h3>GTK_STYLE_CLASS_TITLEBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TITLEBAR "titlebar"
</pre>
<p>A CSS class used when rendering a titlebar in a toplevel window.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TOOLBAR:CAPS"></a><h3>GTK_STYLE_CLASS_TOOLBAR</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TOOLBAR "toolbar"
</pre>
<p>A CSS class to match toolbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TOOLTIP:CAPS"></a><h3>GTK_STYLE_CLASS_TOOLTIP</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TOOLTIP "tooltip"
</pre>
<p>A CSS class to match tooltip windows.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TOUCH-SELECTION:CAPS"></a><h3>GTK_STYLE_CLASS_TOUCH_SELECTION</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TOUCH_SELECTION "touch-selection"
</pre>
<p>A CSS class for touch selection popups on entries
and text views.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TOP:CAPS"></a><h3>GTK_STYLE_CLASS_TOP</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TOP "top"
</pre>
<p>A CSS class to indicate an area at the top of a widget.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-TROUGH:CAPS"></a><h3>GTK_STYLE_CLASS_TROUGH</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_TROUGH "trough"
</pre>
<p>A CSS class to match troughs, as in scrollbars and progressbars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-UNDERSHOOT:CAPS"></a><h3>GTK_STYLE_CLASS_UNDERSHOOT</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_UNDERSHOOT "undershoot"
</pre>
<p>A CSS class that is added on the visual hints that happen
where content is 'scrolled off' and can be made visible
by scrolling.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-VERTICAL:CAPS"></a><h3>GTK_STYLE_CLASS_VERTICAL</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_VERTICAL "vertical"
</pre>
<p>A CSS class for vertically layered widgets.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-VIEW:CAPS"></a><h3>GTK_STYLE_CLASS_VIEW</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_VIEW "view"
</pre>
<p>A CSS class defining a view, such as iconviews or treeviews.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-WARNING:CAPS"></a><h3>GTK_STYLE_CLASS_WARNING</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_WARNING "warning"
</pre>
<p>A CSS class for an area displaying a warning message,
such as those in infobars.</p>
<p>Refer to individual widget documentation for used style classes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-CLASS-WIDE:CAPS"></a><h3>GTK_STYLE_CLASS_WIDE</h3>
<pre class="programlisting">#define GTK_STYLE_CLASS_WIDE "wide"
</pre>
<p>A CSS class to indicate that a UI element should be 'wide'.
Used by <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a>.</p>
<p>Refer to individual widget documentation for used style classes.</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-REGION-COLUMN:CAPS"></a><h3>GTK_STYLE_REGION_COLUMN</h3>
<pre class="programlisting">#define GTK_STYLE_REGION_COLUMN "column"
</pre>
<div class="warning">
<p><code class="literal">GTK_STYLE_REGION_COLUMN</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
<p>Don't use regions.</p>
</div>
<p>A widget region name to define a treeview column.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-REGION-COLUMN-HEADER:CAPS"></a><h3>GTK_STYLE_REGION_COLUMN_HEADER</h3>
<pre class="programlisting">#define GTK_STYLE_REGION_COLUMN_HEADER "column-header"
</pre>
<div class="warning">
<p><code class="literal">GTK_STYLE_REGION_COLUMN_HEADER</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
<p>Don't use regions.</p>
</div>
<p>A widget region name to define a treeview column header.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-REGION-ROW:CAPS"></a><h3>GTK_STYLE_REGION_ROW</h3>
<pre class="programlisting">#define GTK_STYLE_REGION_ROW "row"
</pre>
<div class="warning">
<p><code class="literal">GTK_STYLE_REGION_ROW</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
<p>Don't use regions.</p>
</div>
<p>A widget region name to define a treeview row.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-REGION-TAB:CAPS"></a><h3>GTK_STYLE_REGION_TAB</h3>
<pre class="programlisting">#define GTK_STYLE_REGION_TAB "tab"
</pre>
<div class="warning">
<p><code class="literal">GTK_STYLE_REGION_TAB</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
<p>Don't use regions.</p>
</div>
<p>A widget region name to define a notebook tab.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleContext-struct"></a><h3>GtkStyleContext</h3>
<pre class="programlisting">typedef struct _GtkStyleContext GtkStyleContext;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkJunctionSides"></a><h3>enum GtkJunctionSides</h3>
<p>Describes how a rendered element connects to adjacent elements.</p>
<div class="refsect3">
<a name="GtkJunctionSides.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-NONE:CAPS"></a>GTK_JUNCTION_NONE</p></td>
<td class="enum_member_description">
<p>No junctions.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-CORNER-TOPLEFT:CAPS"></a>GTK_JUNCTION_CORNER_TOPLEFT</p></td>
<td class="enum_member_description">
<p>Element connects on the top-left corner.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-CORNER-TOPRIGHT:CAPS"></a>GTK_JUNCTION_CORNER_TOPRIGHT</p></td>
<td class="enum_member_description">
<p>Element connects on the top-right corner.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-CORNER-BOTTOMLEFT:CAPS"></a>GTK_JUNCTION_CORNER_BOTTOMLEFT</p></td>
<td class="enum_member_description">
<p>Element connects on the bottom-left corner.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-CORNER-BOTTOMRIGHT:CAPS"></a>GTK_JUNCTION_CORNER_BOTTOMRIGHT</p></td>
<td class="enum_member_description">
<p>Element connects on the bottom-right corner.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-TOP:CAPS"></a>GTK_JUNCTION_TOP</p></td>
<td class="enum_member_description">
<p>Element connects on the top side.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-BOTTOM:CAPS"></a>GTK_JUNCTION_BOTTOM</p></td>
<td class="enum_member_description">
<p>Element connects on the bottom side.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-LEFT:CAPS"></a>GTK_JUNCTION_LEFT</p></td>
<td class="enum_member_description">
<p>Element connects on the left side.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-JUNCTION-RIGHT:CAPS"></a>GTK_JUNCTION_RIGHT</p></td>
<td class="enum_member_description">
<p>Element connects on the right side.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkRegionFlags"></a><h3>enum GtkRegionFlags</h3>
<p>Describes a region within a widget.</p>
<div class="refsect3">
<a name="GtkRegionFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-EVEN:CAPS"></a>GTK_REGION_EVEN</p></td>
<td class="enum_member_description">
<p>Region has an even number within a set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-ODD:CAPS"></a>GTK_REGION_ODD</p></td>
<td class="enum_member_description">
<p>Region has an odd number within a set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-FIRST:CAPS"></a>GTK_REGION_FIRST</p></td>
<td class="enum_member_description">
<p>Region is the first one within a set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-LAST:CAPS"></a>GTK_REGION_LAST</p></td>
<td class="enum_member_description">
<p>Region is the last one within a set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-ONLY:CAPS"></a>GTK_REGION_ONLY</p></td>
<td class="enum_member_description">
<p>Region is the only one within a set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-REGION-SORTED:CAPS"></a>GTK_REGION_SORTED</p></td>
<td class="enum_member_description">
<p>Region is part of a sorted area.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleContextPrintFlags"></a><h3>enum GtkStyleContextPrintFlags</h3>
<p>Flags that modify the behavior of <a class="link" href="GtkStyleContext.html#gtk-style-context-to-string" title="gtk_style_context_to_string ()"><code class="function">gtk_style_context_to_string()</code></a>.
New values may be added to this enumeration.</p>
<div class="refsect3">
<a name="GtkStyleContextPrintFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-STYLE-CONTEXT-PRINT-NONE:CAPS"></a>GTK_STYLE_CONTEXT_PRINT_NONE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-STYLE-CONTEXT-PRINT-RECURSE:CAPS"></a>GTK_STYLE_CONTEXT_PRINT_RECURSE</p></td>
<td class="enum_member_description">
<p>Print the entire tree of
CSS nodes starting at the style context's node</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-STYLE-CONTEXT-PRINT-SHOW-STYLE:CAPS"></a>GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE</p></td>
<td class="enum_member_description">
<p>Show the values of the
CSS properties for each node</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkBorder-struct"></a><h3>struct GtkBorder</h3>
<pre class="programlisting">struct GtkBorder {
gint16 left;
gint16 right;
gint16 top;
gint16 bottom;
};
</pre>
<p>A struct that specifies a border around a rectangular area
that can be of different width on each side.</p>
<div class="refsect3">
<a name="GtkBorder.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GtkBorder-struct.left"></a>left</code></em>;</p></td>
<td class="struct_member_description"><p>The width of the left border</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GtkBorder-struct.right"></a>right</code></em>;</p></td>
<td class="struct_member_description"><p>The width of the right border</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GtkBorder-struct.top"></a>top</code></em>;</p></td>
<td class="struct_member_description"><p>The width of the top border</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GtkBorder-struct.bottom"></a>bottom</code></em>;</p></td>
<td class="struct_member_description"><p>The width of the bottom border</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkStyleContext--direction"></a><h3>The <code class="literal">“direction”</code> property</h3>
<pre class="programlisting"> “direction” <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a></pre>
<p>Text direction.</p>
<p>Flags: Read / Write</p>
<p>Default value: GTK_TEXT_DIR_LTR</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleContext--paint-clock"></a><h3>The <code class="literal">“paint-clock”</code> property</h3>
<pre class="programlisting"> “paint-clock” <a href="http://developer.gnome.org/gdk3/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *</pre>
<p>The associated GdkFrameClock.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleContext--parent"></a><h3>The <code class="literal">“parent”</code> property</h3>
<pre class="programlisting"> “parent” <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *</pre>
<p>Sets or gets the style context’s parent. See <a class="link" href="GtkStyleContext.html#gtk-style-context-set-parent" title="gtk_style_context_set_parent ()"><code class="function">gtk_style_context_set_parent()</code></a>
for details.</p>
<p>Flags: Read / Write</p>
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleContext--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
<pre class="programlisting"> “screen” <a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
<p>The associated GdkScreen.</p>
<p>Flags: Read / Write</p>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleContext.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkStyleContext-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *arg0,
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>The ::changed signal is emitted when there is a change in the
<a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>.</p>
<p>For a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned by <a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a>, the
<a class="link" href="GtkWidget.html#GtkWidget-style-updated" title="The “style-updated” signal"><span class="type">“style-updated”</span></a> signal/vfunc might be more convenient to use.</p>
<p>This signal is useful when using the theming layer standalone.</p>
<div class="refsect3">
<a name="GtkStyleContext-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>
|