/usr/share/gtk-doc/html/cinnamon-st/StWidget.html is in cinnamon-doc 3.6.7-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>StWidget: Cinnamon St Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Cinnamon St Reference Manual">
<link rel="up" href="base.html" title="Abstract classes and Interfaces">
<link rel="prev" href="base.html" title="Abstract classes and Interfaces">
<link rel="next" href="StWidgetAccessible.html" title="StWidgetAccessible">
<meta name="generator" content="GTK-Doc V1.27 (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="#StWidget.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#StWidget.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
<a href="#StWidget.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#StWidget.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#StWidget.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="base.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="base.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="StWidgetAccessible.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="StWidget"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="StWidget.top_of_page"></a>StWidget</span></h2>
<p>StWidget — Base class for stylable actors</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="StWidget.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">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-set-style-pseudo-class" title="st_widget_set_style_pseudo_class ()">st_widget_set_style_pseudo_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="StWidget.html#st-widget-change-style-pseudo-class" title="st_widget_change_style_pseudo_class ()">st_widget_change_style_pseudo_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="StWidget.html#st-widget-add-style-pseudo-class" title="st_widget_add_style_pseudo_class ()">st_widget_add_style_pseudo_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="StWidget.html#st-widget-remove-style-pseudo-class" title="st_widget_remove_style_pseudo_class ()">st_widget_remove_style_pseudo_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-style-pseudo-class" title="st_widget_get_style_pseudo_class ()">st_widget_get_style_pseudo_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-has-style-pseudo-class" title="st_widget_has_style_pseudo_class ()">st_widget_has_style_pseudo_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="StWidget.html#st-widget-set-style-class-name" title="st_widget_set_style_class_name ()">st_widget_set_style_class_name</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="StWidget.html#st-widget-add-style-class-name" title="st_widget_add_style_class_name ()">st_widget_add_style_class_name</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="StWidget.html#st-widget-remove-style-class-name" title="st_widget_remove_style_class_name ()">st_widget_remove_style_class_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-style-class-name" title="st_widget_get_style_class_name ()">st_widget_get_style_class_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-has-style-class-name" title="st_widget_has_style_class_name ()">st_widget_has_style_class_name</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="StWidget.html#st-widget-set-style" title="st_widget_set_style ()">st_widget_set_style</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-style" title="st_widget_get_style ()">st_widget_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="StWidget.html#st-widget-set-important" title="st_widget_set_important ()">st_widget_set_important</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-important" title="st_widget_get_important ()">st_widget_get_important</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="StWidget.html#st-widget-set-theme" title="st_widget_set_theme ()">st_widget_set_theme</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="cinnamon-st-st-theme-node.html#StTheme"><span class="returnvalue">StTheme</span></a> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-theme" title="st_widget_get_theme ()">st_widget_get_theme</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="StWidget.html#st-widget-set-track-hover" title="st_widget_set_track_hover ()">st_widget_set_track_hover</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-track-hover" title="st_widget_get_track_hover ()">st_widget_get_track_hover</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="StWidget.html#st-widget-set-hover" title="st_widget_set_hover ()">st_widget_set_hover</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="StWidget.html#st-widget-sync-hover" title="st_widget_sync_hover ()">st_widget_sync_hover</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-hover" title="st_widget_get_hover ()">st_widget_get_hover</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="StWidget.html#st-widget-popup-menu" title="st_widget_popup_menu ()">st_widget_popup_menu</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="StWidget.html#st-widget-ensure-style" title="st_widget_ensure_style ()">st_widget_ensure_style</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="returnvalue">StTextDirection</span></a>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-default-direction" title="st_widget_get_default_direction ()">st_widget_get_default_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="StWidget.html#st-widget-set-default-direction" title="st_widget_set_default_direction ()">st_widget_set_default_direction</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="returnvalue">StTextDirection</span></a>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-direction" title="st_widget_get_direction ()">st_widget_get_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="StWidget.html#st-widget-set-direction" title="st_widget_set_direction ()">st_widget_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="StWidget.html#st-widget-set-can-focus" title="st_widget_set_can_focus ()">st_widget_set_can_focus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-can-focus" title="st_widget_get_can_focus ()">st_widget_get_can_focus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-navigate-focus" title="st_widget_navigate_focus ()">st_widget_navigate_focus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ClutterActor</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-label-actor" title="st_widget_get_label_actor ()">st_widget_get_label_actor</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="StWidget.html#st-widget-set-label-actor" title="st_widget_set_label_actor ()">st_widget_set_label_actor</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="StWidget.html#st-widget-style-changed" title="st_widget_style_changed ()">st_widget_style_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="cinnamon-st-st-theme-node.html#StThemeNode"><span class="returnvalue">StThemeNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-theme-node" title="st_widget_get_theme_node ()">st_widget_get_theme_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="cinnamon-st-st-theme-node.html#StThemeNode"><span class="returnvalue">StThemeNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-peek-theme-node" title="st_widget_peek_theme_node ()">st_widget_peek_theme_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-focus-chain" title="st_widget_get_focus_chain ()">st_widget_get_focus_chain</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="StWidget.html#st-widget-paint-background" title="st_widget_paint_background ()">st_widget_paint_background</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="StWidget.html#st-describe-actor" title="st_describe_actor ()">st_describe_actor</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="StWidget.html#st-set-slow-down-factor" title="st_set_slow_down_factor ()">st_set_slow_down_factor</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gfloat</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-get-slow-down-factor" title="st_get_slow_down_factor ()">st_get_slow_down_factor</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="StWidget.html#st-widget-destroy-children" title="st_widget_destroy_children ()">st_widget_destroy_children</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="StWidget.html#st-widget-move-child" title="st_widget_move_child ()">st_widget_move_child</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="StWidget.html#st-widget-move-before" title="st_widget_move_before ()">st_widget_move_before</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="StWidget.html#st-widget-set-accessible-role" title="st_widget_set_accessible_role ()">st_widget_set_accessible_role</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">AtkRole</span>
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-accessible-role" title="st_widget_get_accessible_role ()">st_widget_get_accessible_role</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="StWidget.html#st-widget-add-accessible-state" title="st_widget_add_accessible_state ()">st_widget_add_accessible_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="StWidget.html#st-widget-remove-accessible-state" title="st_widget_remove_accessible_state ()">st_widget_remove_accessible_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="StWidget.html#st-widget-set-accessible-name" title="st_widget_set_accessible_name ()">st_widget_set_accessible_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="StWidget.html#st-widget-get-accessible-name" title="st_widget_get_accessible_name ()">st_widget_get_accessible_name</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="StWidget.html#st-widget-set-accessible" title="st_widget_set_accessible ()">st_widget_set_accessible</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="StWidget.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">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--accessible-name" title="The “accessible-name” property">accessible-name</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">AtkRole</span></td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--accessible-role" title="The “accessible-role” property">accessible-role</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--can-focus" title="The “can-focus” property">can-focus</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--hover" title="The “hover” property">hover</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--important" title="The “important” property">important</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">ClutterActor</span> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--label-actor" title="The “label-actor” property">label-actor</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--pseudo-class" title="The “pseudo-class” property">pseudo-class</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--style" title="The “style” property">style</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--style-class" title="The “style-class” property">style-class</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="cinnamon-st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *</td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--theme" title="The “theme” property">theme</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="StWidget.html#StWidget--track-hover" title="The “track-hover” property">track-hover</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="StWidget.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="StWidget.html#StWidget-popup-menu" title="The “popup-menu” signal">popup-menu</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="StWidget.html#StWidget-style-changed" title="The “style-changed” signal">style-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="StWidget.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="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection">StTextDirection</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="StWidget.html#StWidget-struct" title="struct StWidget">StWidget</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="StWidget.html#StWidgetClass" title="struct StWidgetClass">StWidgetClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="StWidget.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> GInitiallyUnowned
<span class="lineart">╰──</span> ClutterActor
<span class="lineart">╰──</span> StWidget
<span class="lineart">├──</span> <a class="link" href="StBin.html" title="StBin">StBin</a>
<span class="lineart">├──</span> <a class="link" href="StBoxLayout.html" title="StBoxLayout">StBoxLayout</a>
<span class="lineart">├──</span> <a class="link" href="StDrawingArea.html" title="StDrawingArea">StDrawingArea</a>
<span class="lineart">├──</span> <a class="link" href="StEntry.html" title="StEntry">StEntry</a>
<span class="lineart">├──</span> StGroup
<span class="lineart">├──</span> <a class="link" href="StIcon.html" title="StIcon">StIcon</a>
<span class="lineart">├──</span> <a class="link" href="StLabel.html" title="StLabel">StLabel</a>
<span class="lineart">├──</span> StScrollBar
<span class="lineart">╰──</span> <a class="link" href="StTable.html" title="StTable">StTable</a>
</pre>
</div>
<div class="refsect1">
<a name="StWidget.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
StWidget implements
ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.</p>
</div>
<div class="refsect1">
<a name="StWidget.description"></a><h2>Description</h2>
<p><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> is a simple abstract class on top of <span class="type">ClutterActor</span>. It
provides basic themeing properties.</p>
<p>Actors in the St library should subclass <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> if they plan
to obey to a certain <span class="type">StStyle</span>.</p>
</div>
<div class="refsect1">
<a name="StWidget.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="st-widget-set-style-pseudo-class"></a><h3>st_widget_set_style_pseudo_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *pseudo_class_list</code></em>);</pre>
<p>Set the style pseudo class list. <em class="parameter"><code>pseudo_class_list</code></em>
can either be
<code class="literal">NULL</code>, for no classes, or a space-separated list of pseudo class
names. See also <a class="link" href="StWidget.html#st-widget-add-style-pseudo-class" title="st_widget_add_style_pseudo_class ()"><code class="function">st_widget_add_style_pseudo_class()</code></a> and
<a class="link" href="StWidget.html#st-widget-remove-style-pseudo-class" title="st_widget_remove_style_pseudo_class ()"><code class="function">st_widget_remove_style_pseudo_class()</code></a>.</p>
<div class="refsect3">
<a name="st-widget-set-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pseudo_class_list</p></td>
<td class="parameter_description"><p>a new pseudo class list string. </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>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-change-style-pseudo-class"></a><h3>st_widget_change_style_pseudo_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_change_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *pseudo_class</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> add</code></em>);</pre>
<p>Adds <em class="parameter"><code>pseudo_class</code></em>
to <em class="parameter"><code>actor</code></em>
's pseudo class list if <em class="parameter"><code>add</code></em>
is true,
removes if <em class="parameter"><code>add</code></em>
is false.</p>
<div class="refsect3">
<a name="st-widget-change-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pseudo_class</p></td>
<td class="parameter_description"><p>a pseudo class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>add</p></td>
<td class="parameter_description"><p>whether to add or remove pseudo class</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-add-style-pseudo-class"></a><h3>st_widget_add_style_pseudo_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_add_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *pseudo_class</code></em>);</pre>
<p>Adds <em class="parameter"><code>pseudo_class</code></em>
to <em class="parameter"><code>actor</code></em>
's pseudo class list, if it is not
already present.</p>
<div class="refsect3">
<a name="st-widget-add-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pseudo_class</p></td>
<td class="parameter_description"><p>a pseudo class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-remove-style-pseudo-class"></a><h3>st_widget_remove_style_pseudo_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_remove_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *pseudo_class</code></em>);</pre>
<p>Removes <em class="parameter"><code>pseudo_class</code></em>
from <em class="parameter"><code>actor</code></em>
's pseudo class, if it is present.</p>
<div class="refsect3">
<a name="st-widget-remove-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pseudo_class</p></td>
<td class="parameter_description"><p>a pseudo class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-style-pseudo-class"></a><h3>st_widget_get_style_pseudo_class ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
st_widget_get_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>);</pre>
<p>Get the current style pseudo class list.</p>
<p>Note that an actor can have multiple pseudo classes; if you just
want to test for the presence of a specific pseudo class, use
<a class="link" href="StWidget.html#st-widget-has-style-pseudo-class" title="st_widget_has_style_pseudo_class ()"><code class="function">st_widget_has_style_pseudo_class()</code></a>.</p>
<div class="refsect3">
<a name="st-widget-get-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-style-pseudo-class.returns"></a><h4>Returns</h4>
<p> the pseudo class list string. The string is owned by the
<a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> and should not be modified or freed.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-has-style-pseudo-class"></a><h3>st_widget_has_style_pseudo_class ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_has_style_pseudo_class (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *pseudo_class</code></em>);</pre>
<p>Tests if <em class="parameter"><code>actor</code></em>
's pseudo class list includes <em class="parameter"><code>pseudo_class</code></em>
.</p>
<div class="refsect3">
<a name="st-widget-has-style-pseudo-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pseudo_class</p></td>
<td class="parameter_description"><p>a pseudo class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-has-style-pseudo-class.returns"></a><h4>Returns</h4>
<p> whether or not <em class="parameter"><code>actor</code></em>
's pseudo class list includes
<em class="parameter"><code>pseudo_class</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-style-class-name"></a><h3>st_widget_set_style_class_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_style_class_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *style_class_list</code></em>);</pre>
<p>Set the style class name list. <em class="parameter"><code>style_class_list</code></em>
can either be
<code class="literal">NULL</code>, for no classes, or a space-separated list of style class
names. See also <a class="link" href="StWidget.html#st-widget-add-style-class-name" title="st_widget_add_style_class_name ()"><code class="function">st_widget_add_style_class_name()</code></a> and
<a class="link" href="StWidget.html#st-widget-remove-style-class-name" title="st_widget_remove_style_class_name ()"><code class="function">st_widget_remove_style_class_name()</code></a>.</p>
<div class="refsect3">
<a name="st-widget-set-style-class-name.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>style_class_list</p></td>
<td class="parameter_description"><p>a new style class list string. </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>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-add-style-class-name"></a><h3>st_widget_add_style_class_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_add_style_class_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *style_class</code></em>);</pre>
<p>Adds <em class="parameter"><code>style_class</code></em>
to <em class="parameter"><code>actor</code></em>
's style class name list, if it is not
already present.</p>
<div class="refsect3">
<a name="st-widget-add-style-class-name.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>style_class</p></td>
<td class="parameter_description"><p>a style class name string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-remove-style-class-name"></a><h3>st_widget_remove_style_class_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_remove_style_class_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *style_class</code></em>);</pre>
<p>Removes <em class="parameter"><code>style_class</code></em>
from <em class="parameter"><code>actor</code></em>
's style class name, if it is
present.</p>
<div class="refsect3">
<a name="st-widget-remove-style-class-name.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>style_class</p></td>
<td class="parameter_description"><p>a style class name string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-style-class-name"></a><h3>st_widget_get_style_class_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
st_widget_get_style_class_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>);</pre>
<p>Get the current style class name</p>
<div class="refsect3">
<a name="st-widget-get-style-class-name.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-style-class-name.returns"></a><h4>Returns</h4>
<p> the class name string. The string is owned by the <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> and
should not be modified or freed.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-has-style-class-name"></a><h3>st_widget_has_style_class_name ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_has_style_class_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *style_class</code></em>);</pre>
<p>Tests if <em class="parameter"><code>actor</code></em>
's style class list includes <em class="parameter"><code>style_class</code></em>
.</p>
<div class="refsect3">
<a name="st-widget-has-style-class-name.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>style_class</p></td>
<td class="parameter_description"><p>a style class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-has-style-class-name.returns"></a><h4>Returns</h4>
<p> whether or not <em class="parameter"><code>actor</code></em>
's style class list includes
<em class="parameter"><code>style_class</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-style"></a><h3>st_widget_set_style ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_style (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *style</code></em>);</pre>
<p>Set the inline style string for this widget. The inline style string is an
optional ';'-separated list of CSS properties that override the style as
determined from the stylesheets of the current theme.</p>
<div class="refsect3">
<a name="st-widget-set-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>style</p></td>
<td class="parameter_description"><p>a inline style string, or <code class="literal">NULL</code>. </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>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-style"></a><h3>st_widget_get_style ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
st_widget_get_style (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>);</pre>
<p>Get the current inline style string. See <a class="link" href="StWidget.html#st-widget-set-style" title="st_widget_set_style ()"><code class="function">st_widget_set_style()</code></a>.</p>
<div class="refsect3">
<a name="st-widget-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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-style.returns"></a><h4>Returns</h4>
<p> The inline style string, or <code class="literal">NULL</code>. The string is owned by the
<a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> and should not be modified or freed.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-important"></a><h3>st_widget_set_important ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_important (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> important</code></em>);</pre>
<p>When an actor is set to important, and the active theme does not
account for it, a fallback lookup is made to the default cinnamon theme
which (presumably) will always have support for all stock elements
of the desktop.</p>
<p>This property is inherited by the actor's children.</p>
<div class="refsect3">
<a name="st-widget-set-important.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>important</p></td>
<td class="parameter_description"><p>whether the actor is to be considered important.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-important"></a><h3>st_widget_get_important ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_get_important (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>);</pre>
<p>Returns if the <em class="parameter"><code>actor</code></em>
is flagged set as important</p>
<div class="refsect3">
<a name="st-widget-get-important.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-theme"></a><h3>st_widget_set_theme ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_theme (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>,
<em class="parameter"><code><a class="link" href="cinnamon-st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>);</pre>
<p>Overrides the theme that would be inherited from the actor's parent
or the stage with an entirely new theme (set of stylesheets).</p>
<div class="refsect3">
<a name="st-widget-set-theme.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>theme</p></td>
<td class="parameter_description"><p>a new style class string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-theme"></a><h3>st_widget_get_theme ()</h3>
<pre class="programlisting"><a class="link" href="cinnamon-st-st-theme-node.html#StTheme"><span class="returnvalue">StTheme</span></a> *
st_widget_get_theme (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *actor</code></em>);</pre>
<p>Gets the overriding theme set on the actor. See <a class="link" href="StWidget.html#st-widget-set-theme" title="st_widget_set_theme ()"><code class="function">st_widget_set_theme()</code></a></p>
<div class="refsect3">
<a name="st-widget-get-theme.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>actor</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-theme.returns"></a><h4>Returns</h4>
<p>the overriding theme, or <code class="literal">NULL</code>. </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="st-widget-set-track-hover"></a><h3>st_widget_set_track_hover ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_track_hover (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> track_hover</code></em>);</pre>
<p>Enables hover tracking on the <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a>.</p>
<p>If hover tracking is enabled, and the widget is visible and
reactive, then <em class="parameter"><code>widget</code></em>
's <a class="link" href="StWidget.html#StWidget--hover" title="The “hover” property"><span class="type">“hover”</span></a> property will be updated
automatically to reflect whether the pointer is in <em class="parameter"><code>widget</code></em>
(or one
of its children), and <em class="parameter"><code>widget</code></em>
's <a class="link" href="StWidget.html#StWidget--pseudo-class" title="The “pseudo-class” property"><span class="type">“pseudo-class”</span></a> will have
the "hover" class added and removed from it accordingly.</p>
<p>Note that currently it is not possible to correctly track the hover
state when another actor has a pointer grab. You can use
<a class="link" href="StWidget.html#st-widget-sync-hover" title="st_widget_sync_hover ()"><code class="function">st_widget_sync_hover()</code></a> to update the property manually in this
case.</p>
<div class="refsect3">
<a name="st-widget-set-track-hover.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>track_hover</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the widget should track the pointer hover state</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-track-hover"></a><h3>st_widget_get_track_hover ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_get_track_hover (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Returns the current value of the track-hover property. See
<a class="link" href="StWidget.html#st-widget-set-track-hover" title="st_widget_set_track_hover ()"><code class="function">st_widget_set_track_hover()</code></a> for more information.</p>
<div class="refsect3">
<a name="st-widget-get-track-hover.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-track-hover.returns"></a><h4>Returns</h4>
<p> current value of track-hover on <em class="parameter"><code>widget</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-hover"></a><h3>st_widget_set_hover ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_hover (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> hover</code></em>);</pre>
<p>Sets <em class="parameter"><code>widget</code></em>
's hover property and adds or removes "hover" from its
pseudo class accordingly</p>
<p>If you have set <a class="link" href="StWidget.html#StWidget--track-hover" title="The “track-hover” property"><span class="type">“track-hover”</span></a>, you should not need to call
this directly. You can call <a class="link" href="StWidget.html#st-widget-sync-hover" title="st_widget_sync_hover ()"><code class="function">st_widget_sync_hover()</code></a> if the hover
state might be out of sync due to another actor's pointer grab.</p>
<div class="refsect3">
<a name="st-widget-set-hover.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hover</p></td>
<td class="parameter_description"><p>whether the pointer is hovering over the widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-sync-hover"></a><h3>st_widget_sync_hover ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_sync_hover (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Sets <em class="parameter"><code>widget</code></em>
's hover state according to the current pointer
position. This can be used to ensure that it is correct after
(or during) a pointer grab.</p>
<div class="refsect3">
<a name="st-widget-sync-hover.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-hover"></a><h3>st_widget_get_hover ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_get_hover (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>If <a class="link" href="StWidget.html#StWidget--track-hover" title="The “track-hover” property"><span class="type">“track-hover”</span></a> is set, this returns whether the pointer
is currently over the widget.</p>
<div class="refsect3">
<a name="st-widget-get-hover.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-hover.returns"></a><h4>Returns</h4>
<p> current value of hover on <em class="parameter"><code>widget</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-popup-menu"></a><h3>st_widget_popup_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_popup_menu (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *self</code></em>);</pre>
<p>Asks the widget to pop-up a context menu.</p>
<div class="refsect3">
<a name="st-widget-popup-menu.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>self</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-ensure-style"></a><h3>st_widget_ensure_style ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_ensure_style (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Ensures that <em class="parameter"><code>widget</code></em>
has read its style information.</p>
<div class="refsect3">
<a name="st-widget-ensure-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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-default-direction"></a><h3>st_widget_get_default_direction ()</h3>
<pre class="programlisting"><a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="returnvalue">StTextDirection</span></a>
st_widget_get_default_direction (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-default-direction"></a><h3>st_widget_set_default_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_default_direction (<em class="parameter"><code><a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="type">StTextDirection</span></a> dir</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-direction"></a><h3>st_widget_get_direction ()</h3>
<pre class="programlisting"><a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="returnvalue">StTextDirection</span></a>
st_widget_get_direction (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *self</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-direction"></a><h3>st_widget_set_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_direction (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="StWidget.html#StTextDirection" title="enum StTextDirection"><span class="type">StTextDirection</span></a> dir</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-can-focus"></a><h3>st_widget_set_can_focus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_can_focus (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> can_focus</code></em>);</pre>
<p>Marks <em class="parameter"><code>widget</code></em>
as being able to receive keyboard focus via
keyboard navigation.</p>
<div class="refsect3">
<a name="st-widget-set-can-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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>can_focus</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the widget can receive keyboard focus
via keyboard navigation</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-can-focus"></a><h3>st_widget_get_can_focus ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_get_can_focus (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Returns the current value of the can-focus property. See
<a class="link" href="StWidget.html#st-widget-set-can-focus" title="st_widget_set_can_focus ()"><code class="function">st_widget_set_can_focus()</code></a> for more information.</p>
<div class="refsect3">
<a name="st-widget-get-can-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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-can-focus.returns"></a><h4>Returns</h4>
<p> current value of can-focus on <em class="parameter"><code>widget</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-navigate-focus"></a><h3>st_widget_navigate_focus ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
st_widget_navigate_focus (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *from</code></em>,
<em class="parameter"><code><span class="type">GtkDirectionType</span> direction</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> wrap_around</code></em>);</pre>
<p>Tries to update the keyboard focus within <em class="parameter"><code>widget</code></em>
in response to a
keyboard event.</p>
<p>If <em class="parameter"><code>from</code></em>
is a descendant of <em class="parameter"><code>widget</code></em>
, this attempts to move the
keyboard focus to the next descendant of <em class="parameter"><code>widget</code></em>
(in the order
implied by <em class="parameter"><code>direction</code></em>
) that has the <a class="link" href="StWidget.html#StWidget--can-focus" title="The “can-focus” property"><span class="type">“can-focus”</span></a> property
set. If <em class="parameter"><code>from</code></em>
is <code class="literal">NULL</code>, or outside of <em class="parameter"><code>widget</code></em>
, this attempts to
focus either <em class="parameter"><code>widget</code></em>
itself, or its first descendant in the order
implied by <em class="parameter"><code>direction</code></em>
.</p>
<p>If a container type is marked <a class="link" href="StWidget.html#StWidget--can-focus" title="The “can-focus” property"><span class="type">“can-focus”</span></a>, the expected
behavior is that it will only take up a single slot on the focus
chain as a whole, rather than allowing navigation between its child
actors (or having a distinction between itself being focused and
one of its children being focused).</p>
<p>Some widget classes might have slightly different behavior from the
above, where that would make more sense.</p>
<p>If <em class="parameter"><code>wrap_around</code></em>
is <code class="literal">TRUE</code> and <em class="parameter"><code>from</code></em>
is a child of <em class="parameter"><code>widget</code></em>
, but the
widget has no further children that can accept the focus in the
given direction, then <a class="link" href="StWidget.html#st-widget-navigate-focus" title="st_widget_navigate_focus ()"><code class="function">st_widget_navigate_focus()</code></a> will try a second
time, using a <code class="literal">NULL</code> <em class="parameter"><code>from</code></em>
, which should cause it to reset the focus
to the first available widget in the given direction.</p>
<div class="refsect3">
<a name="st-widget-navigate-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>widget</p></td>
<td class="parameter_description"><p>the "top level" container</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>the actor that the focus is coming from. </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>direction</p></td>
<td class="parameter_description"><p>the direction focus is moving in</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wrap_around</p></td>
<td class="parameter_description"><p>whether focus should wrap around</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-navigate-focus.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <code class="function">clutter_actor_grab_key_focus()</code> has been
called on an actor. <code class="literal">FALSE</code> if not.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-label-actor"></a><h3>st_widget_get_label_actor ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> *
st_widget_get_label_actor (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Gets the label that identifies <em class="parameter"><code>widget</code></em>
if it is defined</p>
<div class="refsect3">
<a name="st-widget-get-label-actor.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>widget</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-label-actor.returns"></a><h4>Returns</h4>
<p>the label that identifies the widget. </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="st-widget-set-label-actor"></a><h3>st_widget_set_label_actor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_label_actor (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *label</code></em>);</pre>
<p>Sets <em class="parameter"><code>label</code></em>
as the <span class="type">ClutterActor</span> that identifies (labels)
<em class="parameter"><code>widget</code></em>
. <em class="parameter"><code>label</code></em>
can be <code class="literal">NULL</code> to indicate that <em class="parameter"><code>widget</code></em>
is not
labelled any more</p>
<div class="refsect3">
<a name="st-widget-set-label-actor.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>widget</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p>a <span class="type">ClutterActor</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-style-changed"></a><h3>st_widget_style_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_style_changed (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-theme-node"></a><h3>st_widget_get_theme_node ()</h3>
<pre class="programlisting"><a class="link" href="cinnamon-st-st-theme-node.html#StThemeNode"><span class="returnvalue">StThemeNode</span></a> *
st_widget_get_theme_node (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Gets the theme node holding style information for the widget.
The theme node is used to access standard and custom CSS
properties of the widget.</p>
<p>Note: this should only be called on a widget that has been
added to the stage</p>
<div class="refsect3">
<a name="st-widget-get-theme-node.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>widget</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-theme-node.returns"></a><h4>Returns</h4>
<p>the theme node for the widget.
This is owned by the widget. When attributes of the widget
or the environment that affect the styling change (for example
the style_class property of the widget), it will be recreated,
and the ::style-changed signal will be emitted on the widget. </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="st-widget-peek-theme-node"></a><h3>st_widget_peek_theme_node ()</h3>
<pre class="programlisting"><a class="link" href="cinnamon-st-st-theme-node.html#StThemeNode"><span class="returnvalue">StThemeNode</span></a> *
st_widget_peek_theme_node (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Returns the theme node for the widget if it has already been
computed, <code class="literal">NULL</code> if the widget hasn't been added to a stage or the theme
node hasn't been computed. If <code class="literal">NULL</code> is returned, then ::style-changed
will be reliably emitted before the widget is allocated or painted.</p>
<div class="refsect3">
<a name="st-widget-peek-theme-node.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>widget</p></td>
<td class="parameter_description"><p>a <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-peek-theme-node.returns"></a><h4>Returns</h4>
<p>the theme node for the widget.
This is owned by the widget. When attributes of the widget
or the environment that affect the styling change (for example
the style_class property of the widget), it will be recreated,
and the ::style-changed signal will be emitted on the widget. </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="st-widget-get-focus-chain"></a><h3>st_widget_get_focus_chain ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
st_widget_get_focus_chain (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Gets a list of the focusable children of <em class="parameter"><code>widget</code></em>
, in "Tab"
order. By default, this returns all visible
(as in <code class="function">clutter_actor_is_visible()</code>) children of <em class="parameter"><code>widget</code></em>
.</p>
<div class="refsect3">
<a name="st-widget-get-focus-chain.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>widget</p></td>
<td class="parameter_description"><p>An <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-focus-chain.returns"></a><h4>Returns</h4>
<p><em class="parameter"><code>widget</code></em>
's focusable children. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.Actor][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-paint-background"></a><h3>st_widget_paint_background ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_paint_background (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Paint the background of the widget. This is meant to be called by
subclasses of StWiget that need to paint the background without
painting children.</p>
<div class="refsect3">
<a name="st-widget-paint-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>widget</p></td>
<td class="parameter_description"><p>The <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-describe-actor"></a><h3>st_describe_actor ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
st_describe_actor (<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);</pre>
<p>Creates a string describing <em class="parameter"><code>actor</code></em>
, for use in debugging. This
includes the class name and actor name (if any), plus if <em class="parameter"><code>actor</code></em>
is an <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a>, its style class and pseudo class names.</p>
<div class="refsect3">
<a name="st-describe-actor.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>actor</p></td>
<td class="parameter_description"><p>a <span class="type">ClutterActor</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-describe-actor.returns"></a><h4>Returns</h4>
<p> the debug name.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-set-slow-down-factor"></a><h3>st_set_slow_down_factor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_set_slow_down_factor (<em class="parameter"><code><span class="type">gfloat</span> factor</code></em>);</pre>
<p>Set a global factor applied to all animation durations</p>
<div class="refsect3">
<a name="st-set-slow-down-factor.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>factor</p></td>
<td class="parameter_description"><p>new slow-down factor</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-get-slow-down-factor"></a><h3>st_get_slow_down_factor ()</h3>
<pre class="programlisting"><span class="returnvalue">gfloat</span>
st_get_slow_down_factor (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="st-get-slow-down-factor.returns"></a><h4>Returns</h4>
<p> the global factor applied to all animation durations</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-destroy-children"></a><h3>st_widget_destroy_children ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_destroy_children (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<div class="warning">
<p><code class="literal">st_widget_destroy_children</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
<p>Use clutter_actor_destroy_all_children instead</p>
</div>
<p>Destroys all child actors from <em class="parameter"><code>widget</code></em>
.</p>
<div class="refsect3">
<a name="st-widget-destroy-children.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>widget</p></td>
<td class="parameter_description"><p>An <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-move-child"></a><h3>st_widget_move_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_move_child (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>,
<em class="parameter"><code><span class="type">int</span> pos</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-move-before"></a><h3>st_widget_move_before ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_move_before (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *sibling</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-accessible-role"></a><h3>st_widget_set_accessible_role ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_accessible_role (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">AtkRole</span> role</code></em>);</pre>
<p>This method sets <em class="parameter"><code>role</code></em>
as the accessible role for <em class="parameter"><code>widget</code></em>
. This
role describes what kind of user interface element <em class="parameter"><code>widget</code></em>
is and
is provided so that assistive technologies know how to present
<em class="parameter"><code>widget</code></em>
to the user.</p>
<p>Usually you will have no need to set the accessible role for an
object, as this information is extracted from the context of the
object (ie: a <a class="link" href="StButton.html" title="StButton"><span class="type">StButton</span></a> has by default a push button role). This
method is only required when you need to redefine the role
currently associated with the widget, for instance if it is being
used in an unusual way (ie: a <a class="link" href="StButton.html" title="StButton"><span class="type">StButton</span></a> used as a togglebutton), or
if a generic object is used directly (ie: a container as a menu
item).</p>
<p>If <em class="parameter"><code>role</code></em>
is <span class="type">ATK_ROLE_INVALID</span>, the role will not be changed
and the accessible's default role will be used instead.</p>
<div class="refsect3">
<a name="st-widget-set-accessible-role.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>widget</p></td>
<td class="parameter_description"><p>widget to set the accessible role for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>role</p></td>
<td class="parameter_description"><p>The role to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-accessible-role"></a><h3>st_widget_get_accessible_role ()</h3>
<pre class="programlisting"><span class="returnvalue">AtkRole</span>
st_widget_get_accessible_role (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Gets the <span class="type">AtkRole</span> for this widget. See
<a class="link" href="StWidget.html#st-widget-set-accessible-role" title="st_widget_set_accessible_role ()"><code class="function">st_widget_set_accessible_role()</code></a> for more information.</p>
<div class="refsect3">
<a name="st-widget-get-accessible-role.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>widget</p></td>
<td class="parameter_description"><p>widget to get the accessible role for</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-accessible-role.returns"></a><h4>Returns</h4>
<p> accessible <span class="type">AtkRole</span> for this widget</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-add-accessible-state"></a><h3>st_widget_add_accessible_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_add_accessible_state (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">AtkStateType</span> state</code></em>);</pre>
<p>This method adds <em class="parameter"><code>state</code></em>
as one of the accessible states for
<em class="parameter"><code>widget</code></em>
. The list of states of a widget describes the current state
of user interface element <em class="parameter"><code>widget</code></em>
and is provided so that assistive
technologies know how to present <em class="parameter"><code>widget</code></em>
to the user.</p>
<p>Usually you will have no need to add accessible states for an
object, as the accessible object can extract most of the states
from the object itself (ie: a <a class="link" href="StButton.html" title="StButton"><span class="type">StButton</span></a> knows when it is pressed).
This method is only required when one cannot extract the
information automatically from the object itself (i.e.: a generic
container used as a toggle menu item will not automatically include
the toggled state).</p>
<div class="refsect3">
<a name="st-widget-add-accessible-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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p><span class="type">AtkStateType</span> state to add</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-remove-accessible-state"></a><h3>st_widget_remove_accessible_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_remove_accessible_state (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">AtkStateType</span> state</code></em>);</pre>
<p>This method removes <em class="parameter"><code>state</code></em>
as on of the accessible states for
<em class="parameter"><code>widget</code></em>
. See <a class="link" href="StWidget.html#st-widget-add-accessible-state" title="st_widget_add_accessible_state ()"><code class="function">st_widget_add_accessible_state()</code></a> for more information.</p>
<div class="refsect3">
<a name="st-widget-remove-accessible-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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p><span class="type">AtkState</span> state to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-accessible-name"></a><h3>st_widget_set_accessible_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_accessible_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>This method sets <em class="parameter"><code>name</code></em>
as the accessible name for <em class="parameter"><code>widget</code></em>
.</p>
<p>Usually you will have no need to set the accessible name for an
object, as usually there is a label for most of the interface
elements. So in general it is better to just use
<em class="parameter"><code>st_widget_set_label_actor</code></em>
. This method is only required when you
need to set an accessible name and there is no available label
object.</p>
<div class="refsect3">
<a name="st-widget-set-accessible-name.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>widget</p></td>
<td class="parameter_description"><p>widget to set the accessible name for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a character string to be set as the accessible name. </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>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-get-accessible-name"></a><h3>st_widget_get_accessible_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
st_widget_get_accessible_name (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>);</pre>
<p>Gets the accessible name for this widget. See
<a class="link" href="StWidget.html#st-widget-set-accessible-name" title="st_widget_set_accessible_name ()"><code class="function">st_widget_set_accessible_name()</code></a> for more information.</p>
<div class="refsect3">
<a name="st-widget-get-accessible-name.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>widget</p></td>
<td class="parameter_description"><p>widget to get the accessible name for</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="st-widget-get-accessible-name.returns"></a><h4>Returns</h4>
<p> a character string representing the accessible name
of the widget.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="st-widget-set-accessible"></a><h3>st_widget_set_accessible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
st_widget_set_accessible (<em class="parameter"><code><a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget</code></em>,
<em class="parameter"><code><span class="type">AtkObject</span> *accessible</code></em>);</pre>
<p>This method allows to set a customly created accessible object to
this widget. For example if you define a new subclass of
<a class="link" href="StWidgetAccessible.html" title="StWidgetAccessible"><span class="type">StWidgetAccessible</span></a> at the javascript code.</p>
<p>NULL is a valid value for <em class="parameter"><code>accessible</code></em>
. That contemplates the
hypothetical case of not needing anymore a custom accessible object
for the widget. Next call of <code class="function">st_widget_get_accessible()</code> would
create and return a default accessible.</p>
<p>It assumes that the call to atk_object_initialize that bound the
gobject with the custom accessible object was already called, so
not a responsibility of this method.</p>
<div class="refsect3">
<a name="st-widget-set-accessible.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>widget</p></td>
<td class="parameter_description"><p>A <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>accessible</p></td>
<td class="parameter_description"><p>an accessible (<span class="type">AtkObject</span>)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="StWidget.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="StTextDirection"></a><h3>enum StTextDirection</h3>
<div class="refsect3">
<a name="StTextDirection.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="ST-TEXT-DIRECTION-NONE:CAPS"></a>ST_TEXT_DIRECTION_NONE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="ST-TEXT-DIRECTION-LTR:CAPS"></a>ST_TEXT_DIRECTION_LTR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="ST-TEXT-DIRECTION-RTL:CAPS"></a>ST_TEXT_DIRECTION_RTL</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="StWidget-struct"></a><h3>struct StWidget</h3>
<pre class="programlisting">struct StWidget;</pre>
<p>Base class for stylable actors. The contents of the <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a>
structure are private and should only be accessed through the
public API.</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidgetClass"></a><h3>struct StWidgetClass</h3>
<pre class="programlisting">struct StWidgetClass {
};
</pre>
<p>Base class for stylable actors.</p>
</div>
</div>
<div class="refsect1">
<a name="StWidget.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="StWidget--accessible-name"></a><h3>The <code class="literal">“accessible-name”</code> property</h3>
<pre class="programlisting"> “accessible-name” <span class="type">gchar</span> *</pre>
<p>Object instance's name for assistive technology access.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--accessible-role"></a><h3>The <code class="literal">“accessible-role”</code> property</h3>
<pre class="programlisting"> “accessible-role” <span class="type">AtkRole</span></pre>
<p>The accessible role of this object</p>
<p>Flags: Read / Write</p>
<p>Default value: ATK_ROLE_INVALID</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--can-focus"></a><h3>The <code class="literal">“can-focus”</code> property</h3>
<pre class="programlisting"> “can-focus” <span class="type">gboolean</span></pre>
<p>Whether or not the widget can be focused via keyboard navigation.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--hover"></a><h3>The <code class="literal">“hover”</code> property</h3>
<pre class="programlisting"> “hover” <span class="type">gboolean</span></pre>
<p>Whether or not the pointer is currently hovering over the widget. This is
only tracked automatically if <a class="link" href="StWidget.html#StWidget--track-hover" title="The “track-hover” property"><span class="type">“track-hover”</span></a> is <code class="literal">TRUE</code>, but you can
adjust it manually in any case.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--important"></a><h3>The <code class="literal">“important”</code> property</h3>
<pre class="programlisting"> “important” <span class="type">gboolean</span></pre>
<p>Whether or not the fallback theme should be used for lookups in case the user theme fails.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--label-actor"></a><h3>The <code class="literal">“label-actor”</code> property</h3>
<pre class="programlisting"> “label-actor” <span class="type">ClutterActor</span> *</pre>
<p>Label that identifies this widget.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--pseudo-class"></a><h3>The <code class="literal">“pseudo-class”</code> property</h3>
<pre class="programlisting"> “pseudo-class” <span class="type">gchar</span> *</pre>
<p>The pseudo-class of the actor. Typical values include "hover", "active",
"focus".</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--style"></a><h3>The <code class="literal">“style”</code> property</h3>
<pre class="programlisting"> “style” <span class="type">gchar</span> *</pre>
<p>Inline style information for the actor as a ';'-separated list of
CSS properties.</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--style-class"></a><h3>The <code class="literal">“style-class”</code> property</h3>
<pre class="programlisting"> “style-class” <span class="type">gchar</span> *</pre>
<p>The style-class of the actor for use in styling.</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--theme"></a><h3>The <code class="literal">“theme”</code> property</h3>
<pre class="programlisting"> “theme” <a class="link" href="cinnamon-st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *</pre>
<p>A theme set on this actor overriding the global theming for this actor
and its descendants</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget--track-hover"></a><h3>The <code class="literal">“track-hover”</code> property</h3>
<pre class="programlisting"> “track-hover” <span class="type">gboolean</span></pre>
<p>Determines whether the widget tracks pointer hover state. If
<code class="literal">TRUE</code> (and the widget is visible and reactive), the
<a class="link" href="StWidget.html#StWidget--hover" title="The “hover” property"><span class="type">“hover”</span></a> property and "hover" style pseudo class will be
adjusted automatically as the pointer moves in and out of the
widget.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="StWidget.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="StWidget-popup-menu"></a><h3>The <code class="literal">“popup-menu”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget,
<span class="type">gpointer</span> user_data)</pre>
<p>Emitted when the user has requested a context menu (eg, via a
keybinding)</p>
<div class="refsect3">
<a name="StWidget-popup-menu.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>widget</p></td>
<td class="parameter_description"><p>the <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<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: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="StWidget-style-changed"></a><h3>The <code class="literal">“style-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a> *widget,
<span class="type">gpointer</span> user_data)</pre>
<p>Emitted when the style information that the widget derives from the
theme changes</p>
<div class="refsect3">
<a name="StWidget-style-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>widget</p></td>
<td class="parameter_description"><p>the <a class="link" href="StWidget.html" title="StWidget"><span class="type">StWidget</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<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: Run Last</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|