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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WWidget Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WWidget.html">WWidget</a>
</div>
</div>
<div class="contents">
<h1>Wt::WWidget Class Reference</h1><!-- doxytag: class="Wt::WWidget" --><!-- doxytag: inherits="Wt::WObject" -->The abstract base class for a user-interface component.
<a href="#_details">More...</a>
<p>
<code>#include <Wt/WWidget></code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WWidget:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WWidget__inherit__graph.png" border="0" usemap="#Wt_1_1WWidget__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WWidget__inherit__map">
<area shape="rect" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets." alt="" coords="296,512,456,539"><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="315,1196,437,1223"><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="5,867,101,893"><area shape="rect" href="classWt_1_1WAbstractItemView.html" title="An abstract base class for item views." alt="" coords="504,5,664,32"><area shape="rect" href="classWt_1_1WCalendar.html" title="A calendar." alt="" coords="531,56,637,83"><area shape="rect" href="classWt_1_1WDatePicker.html" title="A date picker." alt="" coords="524,107,644,133"><area shape="rect" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog." alt="" coords="537,157,631,184"><area shape="rect" href="classWt_1_1WGoogleMap.html" title="A widget that displays a google map." alt="" coords="523,208,645,235"><area shape="rect" href="classWt_1_1WIconPair.html" title="A widget that shows one of two icons depending on its state." alt="" coords="532,259,636,285"><area shape="rect" href="classWt_1_1WInPlaceEdit.html" title="A widget that provides in-place-editable text." alt="" coords="523,309,645,336"><area shape="rect" href="classWt_1_1WMenu.html" title="A widget that shows a menu of options." alt="" coords="540,360,628,387"><area shape="rect" href="classWt_1_1WPanel.html" title="A WPanel provides a container with a title bar." alt="" coords="539,411,629,437"><area shape="rect" href="classWt_1_1WPopupMenu.html" title="A menu presented in a popup window." alt="" coords="521,461,647,488"><area shape="rect" href="classWt_1_1WPopupMenuItem.html" title="An item in a popup menu." alt="" coords="508,512,660,539"><area shape="rect" href="classWt_1_1WSlider.html" title="A horizontal or vertical slider control." alt="" coords="539,563,629,589"><area shape="rect" href="classWt_1_1WSuggestionPopup.html" title="A widget which popups to assist in editing a textarea or lineedit." alt="" coords="504,613,664,640"><area shape="rect" href="classWt_1_1WTableView.html" title="A container widget which provides a view implementation of a WTable." alt="" coords="527,664,641,691"><area shape="rect" href="classWt_1_1WTabWidget.html" title="A widget that organizes contents in tab panes." alt="" coords="525,715,643,741"><area shape="rect" href="classWt_1_1WTree.html" title="A widget that represents a navigatable tree." alt="" coords="543,765,625,792"><area shape="rect" href="classWt_1_1WTreeNode.html" title="A single node in a tree." alt="" coords="528,816,640,843"><area shape="rect" href="classWt_1_1WTreeTable.html" title="A table with a navigatable tree in the first column." alt="" coords="528,867,640,893"><area shape="rect" href="classWt_1_1WValidationStatus.html" title="A widget that keeps track of the validation status of a form widget." alt="" coords="508,917,660,944"><area shape="rect" href="classWt_1_1WVirtualImage.html" title="An abstract widget that shows a viewport to a virtually large image." alt="" coords="519,968,649,995"><area shape="rect" href="classWt_1_1WTreeView.html" title="A view class that displays a model as a tree or tree table." alt="" coords="773,5,883,32"><area shape="rect" href="classWt_1_1WMessageBox.html" title="A standard dialog for confirmation or to get simple user input." alt="" coords="761,157,895,184"><area shape="rect" href="classWt_1_1WTreeTableNode.html" title="A specialized tree node which allows additional data to be associated with each node..." alt="" coords="756,816,900,843"><area shape="rect" href="classWt_1_1Ext_1_1Widget.html" title="An abstract base class for all Ext widgets." alt="" coords="528,1019,640,1045"><area shape="rect" href="classWt_1_1WBreak.html" title="A widget that provides a line break between inline widgets." alt="" coords="539,1145,629,1172"><area shape="rect" href="classWt_1_1WFileUpload.html" title="A widget that allows a file to be uploaded." alt="" coords="525,1196,643,1223"><area shape="rect" href="classWt_1_1WInteractWidget.html" title="An abstract widget that can receive user-interface interaction." alt="" coords="513,1247,655,1273"><area shape="rect" href="classWt_1_1WScrollArea.html" title="A widget that adds scrolling capabilities to its content." alt="" coords="525,1297,643,1324"><area shape="rect" href="classWt_1_1WViewWidget.html" title="An abstract base class for an MVC view that is rendered using a widget." alt="" coords="521,1424,647,1451"><area shape="rect" href="classWt_1_1Ext_1_1Component.html" title="An abstract base class for widgets that can be visually disabled." alt="" coords="759,892,897,919"><area shape="rect" href="classWt_1_1Ext_1_1Menu.html" title="A menu presented in a popup window." alt="" coords="776,943,880,969"><area shape="rect" href="classWt_1_1Ext_1_1SplitterHandle.html" title="A handle inside a splitter." alt="" coords="751,993,905,1020"><area shape="rect" href="classWt_1_1Ext_1_1ToolBar.html" title="A class that represents a tool bar (or a menu bar)." alt="" coords="769,1044,887,1071"><area shape="rect" href="classWt_1_1Ext_1_1AbstractButton.html" title="Abstract base class for a (toolbar) button or menu item." alt="" coords="992,841,1152,868"><area shape="rect" href="classWt_1_1Ext_1_1Calendar.html" title="A calendar." alt="" coords="1011,892,1133,919"><area shape="rect" href="classWt_1_1Ext_1_1Container.html" title="A container class which manages its contents using layout managers." alt="" coords="1008,943,1136,969"><area shape="rect" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets." alt="" coords="752,1095,904,1121"><area shape="rect" href="classWt_1_1WFormWidget.html" title="An abstract widget that corresponds to an HTML form element." alt="" coords="764,1145,892,1172"><area shape="rect" href="classWt_1_1WImage.html" title="A widget that displays an image." alt="" coords="781,1196,875,1223"><area shape="rect" href="classWt_1_1WLabel.html" title="A label for a form field." alt="" coords="784,1247,872,1273"><area shape="rect" href="classWt_1_1WPaintedWidget.html" title="A widget that is painted using vector graphics." alt="" coords="757,1297,899,1324"><area shape="rect" href="classWt_1_1WTable.html" title="A container widget which provides layout of children in a table grid." alt="" coords="784,1348,872,1375"><area shape="rect" href="classWt_1_1WTemplate.html" title="A widget that renders an XHTML template." alt="" coords="773,1399,883,1425"><area shape="rect" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text." alt="" coords="787,1449,869,1476"><area shape="rect" href="classWt_1_1WStaticModelView.html" title="A widget that implements a view for a non-changing model." alt="" coords="713,1500,943,1527"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classWt_1_1WWidget-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#cbe32dd454131720fa9712bc866efb4b">~WWidget</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#cbe32dd454131720fa9712bc866efb4b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WWidget.html">WWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#3461e31818c4d2f516641bdaf508312a">parent</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent widget. <a href="#3461e31818c4d2f516641bdaf508312a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#e15ffe92fdc5c394013d61b5bebb2f11">setPositionScheme</a> (<a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> scheme)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the CSS position scheme. <a href="#e15ffe92fdc5c394013d61b5bebb2f11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ea3a7c21d936d34f28b42143aba4edd5">positionScheme</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the CSS position scheme. <a href="#ea3a7c21d936d34f28b42143aba4edd5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#0b60b3e6d868689071fe3f828d550ae2">setOffsets</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &offset, WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > sides=<a class="el" href="namespaceWt.html#3358b8309fdb63a402efcb1a577855e8">All</a>)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets CSS offsets for a non-statically positioned widget. <a href="#0b60b3e6d868689071fe3f828d550ae2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#08e07b6d0ca355a3fe2c7dead3dde228">offset</a> (<a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> side) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a CSS offset. <a href="#08e07b6d0ca355a3fe2c7dead3dde228"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972">resize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resizes the widget. <a href="#5bebad8f1582b8bebf01a9ed0ee11972"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#3f423e20a9b0792c1bc3d52899065e82">width</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the width. <a href="#3f423e20a9b0792c1bc3d52899065e82"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#9454454144fe3729378c87c3b90372b4">height</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the height. <a href="#9454454144fe3729378c87c3b90372b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#092c7d1ecfde7f004ef120389d91775d">setMinimumSize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &height)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a minimum size. <a href="#092c7d1ecfde7f004ef120389d91775d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#f5847c8028f501b51d74184107ccdde6">minimumWidth</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum width. <a href="#f5847c8028f501b51d74184107ccdde6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#411b6bbac918eeb19946d65c4352beb1">minimumHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum height. <a href="#411b6bbac918eeb19946d65c4352beb1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#f023064cf8007bda6baeb5277d79bbd9">setMaximumSize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &height)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a maximum size. <a href="#f023064cf8007bda6baeb5277d79bbd9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#733c78b3d54dc355adf6ee05c69bf219">maximumWidth</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum width. <a href="#733c78b3d54dc355adf6ee05c69bf219"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#f2f6d29c4e5a88bdd12a180e125490cd">maximumHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum height. <a href="#f2f6d29c4e5a88bdd12a180e125490cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ef120ad789aec5ee406c2e312efeb4b5">positionAt</a> (const <a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget, <a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Vertical)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Positions a widget next to another widget. <a href="#ef120ad789aec5ee406c2e312efeb4b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0763f0e672e5cf673141405dc8e796bb"></a><!-- doxytag: member="Wt::WWidget::setLineHeight" ref="0763f0e672e5cf673141405dc8e796bb" args="(const WLength &height)=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#0763f0e672e5cf673141405dc8e796bb">setLineHeight</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &height)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the CSS line height for contained text. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#162f32ce7482e7c3121d18585555909a">lineHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the CSS line height for contained text. <a href="#162f32ce7482e7c3121d18585555909a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#2915d313e6934173c087bf8212024289">setFloatSide</a> (<a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> s)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies a CSS float side. <a href="#2915d313e6934173c087bf8212024289"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#78041b1bcd9b811fa4771d19005a585a">floatSide</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the CSS float side. <a href="#78041b1bcd9b811fa4771d19005a585a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#1919e2e3628bb4e4b74517605b5062c5">setClearSides</a> (WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > sides)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the sides that should be cleared of floats. <a href="#1919e2e3628bb4e4b74517605b5062c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#7657fb67f7ec42b7374b7f64f85e6030">clearSides</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the sides that should remain empty. <a href="#7657fb67f7ec42b7374b7f64f85e6030"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a4f27573eae7875d0fc538e37bc191a0">setMargin</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &margin, WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > sides=<a class="el" href="namespaceWt.html#3358b8309fdb63a402efcb1a577855e8">All</a>)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets CSS margins around the widget. <a href="#a4f27573eae7875d0fc538e37bc191a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#8b7c40b966518e22543d290229fbd29f">margin</a> (<a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> side) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a CSS margin set. <a href="#8b7c40b966518e22543d290229fbd29f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#8cd985ab1dfcee828c7b6189a7e052a5">setHiddenKeepsGeometry</a> (bool enabled)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the widget keeps its geometry when hidden. <a href="#8cd985ab1dfcee828c7b6189a7e052a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#c556bf0e3087b238a98f25b77b9d529c">hiddenKeepsGeometry</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget keeps its geometry when hidden. <a href="#c556bf0e3087b238a98f25b77b9d529c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#11bd299d9afd0d83f17ac454c85c43a2">setHidden</a> (bool hidden)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the widget is hidden. <a href="#11bd299d9afd0d83f17ac454c85c43a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#76a29fd7fa9fa9a6e15e3a450f24a381">isHidden</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is set hidden. <a href="#76a29fd7fa9fa9a6e15e3a450f24a381"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#450f94dc5a28737625cdb6bde3fdc788">isVisible</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is visible. <a href="#450f94dc5a28737625cdb6bde3fdc788"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#e29fe35b633ec166f922419cd3ca9d96">setDisabled</a> (bool disabled)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the widget is disabled. <a href="#e29fe35b633ec166f922419cd3ca9d96"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#8c806a873adad31035122a3b465d3da2">isDisabled</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is set disabled. <a href="#8c806a873adad31035122a3b465d3da2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#e091783ebd393c04f026133069b874d3">isEnabled</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is enabled. <a href="#e091783ebd393c04f026133069b874d3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#3890a2ef04571b6d36e7468583457091">setPopup</a> (bool popup)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lets the widget overlay over other sibling widgets. <a href="#3890a2ef04571b6d36e7468583457091"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#29f3361a8c518dabc1251892da55dd6d">isPopup</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is overlayed. <a href="#29f3361a8c518dabc1251892da55dd6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#c78e3af143883334c82031790c87416e">setInline</a> (bool inlined)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the widget is displayed inline or as a block. <a href="#c78e3af143883334c82031790c87416e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#fa7a21fbd173d6ee83c2aa9cc11e2ac1">isInline</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is displayed inline or as block. <a href="#fa7a21fbd173d6ee83c2aa9cc11e2ac1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#091e1fb88d9bbd8818d061af43c618b4">setDecorationStyle</a> (const <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> &style)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a CSS decoration style. <a href="#091e1fb88d9bbd8818d061af43c618b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#c1833c7c01599b3733712ab0bf3c3a0a">decorationStyle</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the decoration style of this widget. <a href="#c1833c7c01599b3733712ab0bf3c3a0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#4be23ecf48d5968efb5d926e38e01708">setStyleClass</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &styleClass)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets (one or more) CSS style classes. <a href="#4be23ecf48d5968efb5d926e38e01708"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#d5a84cacbaa1e4da97f7ba68de060330">styleClass</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the CSS style class. <a href="#d5a84cacbaa1e4da97f7ba68de060330"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#4f911e2f62cf35c34cb603eaca0d9a3f">setVerticalAlignment</a> (<a class="el" href="namespaceWt.html#b8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> alignment, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &length=<a class="el" href="classWt_1_1WLength.html#0cf39ca4225776879d56ade60320c31a">WLength::Auto</a>)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the vertical alignment. <a href="#4f911e2f62cf35c34cb603eaca0d9a3f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceWt.html#b8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#0ae4522f15e80ff00d246a19604f6c7f">verticalAlignment</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the vertical alignment. <a href="#0ae4522f15e80ff00d246a19604f6c7f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#9faaa6c2b46c0adf6606ad1496c4e52b">verticalAlignmentLength</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the fixed vertical alignment that was set. <a href="#9faaa6c2b46c0adf6606ad1496c4e52b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#7a7d40a35444c397b17d831996720557">setToolTip</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a tooltip. <a href="#7a7d40a35444c397b17d831996720557"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e67a8d8c573e44f02ab165fe80b2eec6"></a><!-- doxytag: member="Wt::WWidget::toolTip" ref="e67a8d8c573e44f02ab165fe80b2eec6" args="() const =0" -->
virtual <a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#e67a8d8c573e44f02ab165fe80b2eec6">toolTip</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the tooltip. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#15e1efb1c2e1030a3ad9565ef7fb0e15">refresh</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Refresh the widget. <a href="#15e1efb1c2e1030a3ad9565ef7fb0e15"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a2b7078b3b43d53a85e5244b45d504f7">jsRef</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a JavaScript expression to the corresponding DOM node. <a href="#a2b7078b3b43d53a85e5244b45d504f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#d629ef6b7b9bc84999ff31dc0f2f3a12">setAttributeValue</a> (const std::string &name, const <a class="el" href="classWt_1_1WString.html">WString</a> &value)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets an attribute value. <a href="#d629ef6b7b9bc84999ff31dc0f2f3a12"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#44679c4df92658912866d5a0469bbe95">attributeValue</a> (const std::string &name) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an attribute value. <a href="#44679c4df92658912866d5a0469bbe95"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#b876fc1b7d2e4e5dfc631e380d406ae2">setJavaScriptMember</a> (const std::string &name, const std::string &value)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a JavaScript member. <a href="#b876fc1b7d2e4e5dfc631e380d406ae2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#78a539cfd49a8927a196de66362c37e9">javaScriptMember</a> (const std::string &name) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of a JavaScript member. <a href="#78a539cfd49a8927a196de66362c37e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#c9839a243ba5f98e7962d1c0dfc20813">callJavaScriptMember</a> (const std::string &name, const std::string &args)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls a JavaScript member. <a href="#c9839a243ba5f98e7962d1c0dfc20813"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#1ee433705523b2b79c4c3539e0852c92">load</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Loads content just before the widget is used. <a href="#1ee433705523b2b79c4c3539e0852c92"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#1aa5c2496715bb582a584ebcdd97a6d0">loaded</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this widget has been loaded. <a href="#1aa5c2496715bb582a584ebcdd97a6d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ebee4b24e8128c08ae4aa3682adf6d8f">acceptDrops</a> (const std::string &mimeType, const <a class="el" href="classWt_1_1WString.html">WString</a> &hoverStyleClass=<a class="el" href="classWt_1_1WString.html">WString</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a mime type to be accepted for dropping. <a href="#ebee4b24e8128c08ae4aa3682adf6d8f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#89e4d70592dd34c277923cb793f73b66">stopAcceptDrops</a> (const std::string &mimeType)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates that a mime type is no longer accepted for dropping. <a href="#89e4d70592dd34c277923cb793f73b66"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#93ff9d1ca04e733cd54cd40a06775f7e">setId</a> (const std::string &id)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the CSS Id. <a href="#93ff9d1ca04e733cd54cd40a06775f7e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#96e9c88d9ed79acccf3edf2bb00c0126">find</a> (const std::string &name)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finds a descendend widget by name. <a href="#96e9c88d9ed79acccf3edf2bb00c0126"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aae07190fb97d856149226ea315a75d0">htmlText</a> (std::ostream &out)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Streams the (X)HTML representation. <a href="#aae07190fb97d856149226ea315a75d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#3ccd308793bbf124aa2aeebfb1b4f42e">setSelectable</a> (bool selectable)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets as selectable. <a href="#3ccd308793bbf124aa2aeebfb1b4f42e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#20624c7c7cdd8b0dd3c3b51ed36c3bb1">isRendered</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the widget is rendered. <a href="#20624c7c7cdd8b0dd3c3b51ed36c3bb1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hides the widget. <a href="#0825c3ccbd4999afc1a88fafa6aa6fc7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#52dcef5a385ddfa0a8c3e6c20000f181">show</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shows the widget. <a href="#52dcef5a385ddfa0a8c3e6c20000f181"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#e6935d8baca9d37dd1d080b4383da87c">enable</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enables the widget. <a href="#e6935d8baca9d37dd1d080b4383da87c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#5f68ea0ab29adfb8e559153fca281e03">disable</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disable thes widget. <a href="#5f68ea0ab29adfb8e559153fca281e03"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a651f107ec7cf080faef6c435705fc44">tr</a> (const char *key)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Short hand for <a class="el" href="classWt_1_1WString.html#0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a>. <a href="#a651f107ec7cf080faef6c435705fc44"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#4f83592912a7f8fa4fd35dadde78ee74">setLayoutSizeAware</a> (bool sizeAware)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the widget to be aware of its size set by a layout manager. <a href="#4f83592912a7f8fa4fd35dadde78ee74"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#f432588db3d599f89b54121f2ede8d63">layoutSizeChanged</a> (int width, int height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual method that indicates a size change. <a href="#f432588db3d599f89b54121f2ede8d63"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#95c22589beb69717356b859bbfd20479">WWidget</a> (<a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a widget. <a href="#95c22589beb69717356b859bbfd20479"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#c436c4b99710b9199a9df3a8b4151a69">dropEvent</a> (<a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a> dropEvent)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handles a drop event. <a href="#c436c4b99710b9199a9df3a8b4151a69"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#919a4eaf68ff52f06f6a726d55dfb768">enableAjax</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Progresses to an Ajax-enabled widget. <a href="#919a4eaf68ff52f06f6a726d55dfb768"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#b4cfd6bd5bea1a6182731ec79a78792c">boxPadding</a> (<a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the widget's built-in padding. <a href="#b4cfd6bd5bea1a6182731ec79a78792c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#6bd6a9d01afbc4f96c4ec7dd48db9126">boxBorder</a> (<a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the widget's built-in border width. <a href="#6bd6a9d01afbc4f96c4ec7dd48db9126"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The abstract base class for a user-interface component.
<p>
The user-interface is organized in a tree structure, in which each nodes is a widgets. All widgets, except for the application's root widget and dialogs, have a parent which is usually a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>.<p>
When a widget is deleted, it is also visually removed from the user-interface and all children are deleted recursively.<p>
This is an abstract base class. Implementations derive either from the abstract <a class="el" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart.">WWebWidget</a> (for basic widgets with a direct HTML counter-part) or from the abstract <a class="el" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets.">WCompositeWidget</a> (for anything else). To add a WWebWidget directly to a parent container, either specify the parent in the constructor (which is conventionally the last constructor argument), or add the widget to the parent using <a class="el" href="classWt_1_1WContainerWidget.html#2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>. Alternatively, you may add the widget to a layout manager set for a WContainerWidget.<p>
A widget provides methods to manage its decorative style base on CSS. It also provides access to CSS-based layout, which you may not use when the widget is not inserted into a layout manager. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="cbe32dd454131720fa9712bc866efb4b"></a><!-- doxytag: member="Wt::WWidget::~WWidget" ref="cbe32dd454131720fa9712bc866efb4b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WWidget::~WWidget </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
Deletes a widget and all children (recursively). If the widget is contained in another widget, it is removed first.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WContainerWidget.html#4292867b1872bd31c7d0c3346d988470" title="Removes a child widget from this container.">WContainerWidget::removeWidget()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="95c22589beb69717356b859bbfd20479"></a><!-- doxytag: member="Wt::WWidget::WWidget" ref="95c22589beb69717356b859bbfd20479" args="(WContainerWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WWidget::WWidget </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> * </td>
<td class="paramname"> <em>parent</em> = <code>0</code> </td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a widget.
<p>
When a parent container is specified, the widget is added to the container, using <a class="el" href="classWt_1_1WContainerWidget.html#2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3461e31818c4d2f516641bdaf508312a"></a><!-- doxytag: member="Wt::WWidget::parent" ref="3461e31818c4d2f516641bdaf508312a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WWidget.html">WWidget</a>* Wt::WWidget::parent </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the parent widget.
<p>
With a few exceptions, the parent is a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>, and has been set implicitly when adding the widget to a container using <a class="el" href="classWt_1_1WContainerWidget.html#2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>, by passing a container as a parent to the constructor, or by inserting the widget into a layout manager.
<p>Reimplemented from <a class="el" href="classWt_1_1WObject.html#2af8f7ec8d3807d434e1f70d1245c6b4">Wt::WObject</a>.</p>
</div>
</div><p>
<a class="anchor" name="e15ffe92fdc5c394013d61b5bebb2f11"></a><!-- doxytag: member="Wt::WWidget::setPositionScheme" ref="e15ffe92fdc5c394013d61b5bebb2f11" args="(PositionScheme scheme)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setPositionScheme </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> </td>
<td class="paramname"> <em>scheme</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the CSS position scheme.
<p>
Establishes how the widget must be layed-out relative to its siblings. The default position scheme is Static.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40" title="Enumeration that specifies a layout mechanism for a widget.">Wt::PositionScheme</a>, <a class="el" href="classWt_1_1WWidget.html#ea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#332ea77de7e6adb5b0ac25cc1b417ef8">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#d4258f03ed3dcadc71b4f2217f4fc76a">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="ea3a7c21d936d34f28b42143aba4edd5"></a><!-- doxytag: member="Wt::WWidget::positionScheme" ref="ea3a7c21d936d34f28b42143aba4edd5" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> Wt::WWidget::positionScheme </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the CSS position scheme.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40" title="Enumeration that specifies a layout mechanism for a widget.">Wt::PositionScheme</a>, <a class="el" href="classWt_1_1WWidget.html#e15ffe92fdc5c394013d61b5bebb2f11" title="Sets the CSS position scheme.">setPositionScheme(PositionScheme)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#e7e478fe175f9af64e0de726494bbab6">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#088c12ff7345acb1e028192c399f072c">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="0b60b3e6d868689071fe3f828d550ae2"></a><!-- doxytag: member="Wt::WWidget::setOffsets" ref="0b60b3e6d868689071fe3f828d550ae2" args="(const WLength &offset, WFlags< Side > sides=All)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setOffsets </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > </td>
<td class="paramname"> <em>sides</em> = <code><a class="el" href="namespaceWt.html#3358b8309fdb63a402efcb1a577855e8">All</a></code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets CSS offsets for a non-statically positioned widget.
<p>
The argument <code>sides</code> may be a combination of <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a36568fecac7c7d7223afaed240bcfdd9e">Left</a>, <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3cf431c3ce5eb6f14c0390feb14a68004">Right</a>, <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a368b058364f8c2380c1d369a321f22f92">Top</a>, and <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a387ae7d3cb692a5a4e8f18a7fea93a8a8">Bottom</a>.<p>
This applies only to widgets that have a position scheme that is <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40cceb16577ef89ec5d7dec10507e3142a">Relative</a>, <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40f924d8e24cb9e55dbeac9284c5640c69">Absolute</a>, or <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae402e157222a2018e8665c15c1ba56df530">Fixed</a>, and has a slightly different meaning for these three cases.<p>
For a relatively positioned widget, an offset applies relative to the position the widget would have when layed-out using a <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40ab8d71e0c30250d77e05b6c1708e020f">Static</a> position scheme. The widget may be shifted to the left or right by specifying an offset to the <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a36568fecac7c7d7223afaed240bcfdd9e">Left</a> or <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3cf431c3ce5eb6f14c0390feb14a68004">Right</a>). The widget may be shifted vertically, by specifying an offset for the <a class="el" href="namespaceWt.html#b8f772c69bc8180c31f9e4f4593b143f58fe5182bd266132c59718c6d30945a9">Top</a> or <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a387ae7d3cb692a5a4e8f18a7fea93a8a8">Bottom</a>.<p>
For an absolutely positioned widget, an offset specifies a distance of the corresponding side of the widget with respect to the corresponding side of the reference parent widget. Thus, setting all offsets to 0 result in a widget that spans the entire reference widget. The reference parent widget is the first ancestor widget that is a table cell, or a widget with a relative, absolute or fixed position scheme.<p>
For an fixed positioned widget, an offset specifies a distance of the corresponding side of the widget with respect to the browser window, regardless of scrolling. Thus, setting all offsets to 0 result in a widget that spans the entire browser window.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#08e07b6d0ca355a3fe2c7dead3dde228" title="Returns a CSS offset.">offset(Side) const</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#de05ff99765584997aaa4e1d94522f49">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#b0cd0d77586b275af9bbab2cd5e41c0e">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="08e07b6d0ca355a3fe2c7dead3dde228"></a><!-- doxytag: member="Wt::WWidget::offset" ref="08e07b6d0ca355a3fe2c7dead3dde228" args="(Side side) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::offset </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> </td>
<td class="paramname"> <em>side</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a CSS offset.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#0b60b3e6d868689071fe3f828d550ae2" title="Sets CSS offsets for a non-statically positioned widget.">setOffsets(const WLength&, WFlags<Side>)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#55d5b1a5d852863ed29dbea622e67efc">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#b1f5e123a5c110da277cbe91645cb7ee">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="5bebad8f1582b8bebf01a9ed0ee11972"></a><!-- doxytag: member="Wt::WWidget::resize" ref="5bebad8f1582b8bebf01a9ed0ee11972" args="(const WLength &width, const WLength &height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::resize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Resizes the widget.
<p>
Specify a new size for this widget, by specifying width and height. By default a widget has automatic width and height, see <a class="el" href="classWt_1_1WLength.html#b4c9733029342fdbc1dee34a523ee40d" title="Returns whether the ength is 'auto'.">WLength::isAuto()</a>.<p>
This applies to CSS-based layout, and only <a class="el" href="classWt_1_1WWidget.html#c78e3af143883334c82031790c87416e">block</a> widgets can be given a size reliably.<p>
When inserted in a layout manager, the widget may be informed about its current size using <a class="el" href="classWt_1_1WWidget.html#4f83592912a7f8fa4fd35dadde78ee74" title="Sets the widget to be aware of its size set by a layout manager.">setLayoutSizeAware()</a>. If you have defined a "wtResize()" JavaScript method for the widget, then this method will also be called. operation.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width()</a>, <a class="el" href="classWt_1_1WWidget.html#9454454144fe3729378c87c3b90372b4" title="Returns the height.">height()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1TextEdit.html#d558bceb9ebca8c1ef8c937ce92786e9">Wt::Ext::TextEdit</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#976e94e38c7a9cc0f212e13a9792912e">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WFlashObject.html#d4cb831ed24e824d7feeb2426994e2e3">Wt::WFlashObject</a>, <a class="el" href="classWt_1_1WPaintedWidget.html#a57b940110d240951d0e3a6d03390319">Wt::WPaintedWidget</a>, <a class="el" href="classWt_1_1WSlider.html#b2c74e01222219a65b799cd78800a114">Wt::WSlider</a>, <a class="el" href="classWt_1_1WTextEdit.html#c9f80e652fc361512aa2587c54f4ecb5">Wt::WTextEdit</a>, <a class="el" href="classWt_1_1WTreeView.html#482314306c8404d7ed941fd986e32623">Wt::WTreeView</a>, and <a class="el" href="classWt_1_1WWebWidget.html#e1b84e31581405358b6d57ec14505234">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="3f423e20a9b0792c1bc3d52899065e82"></a><!-- doxytag: member="Wt::WWidget::width" ref="3f423e20a9b0792c1bc3d52899065e82" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::width </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the width.
<p>
Returns the width set for this widget. This is not a calculated width, based on layout, but the width as specified with <a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&, const WLength&)</a>.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&, const WLength&)</a>, <a class="el" href="classWt_1_1WWidget.html#9454454144fe3729378c87c3b90372b4" title="Returns the height.">height()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#3358bb9a93e5c7999c4f6d39d9880c8f">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#4187ef41415521e545106c970c2679f2">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="9454454144fe3729378c87c3b90372b4"></a><!-- doxytag: member="Wt::WWidget::height" ref="9454454144fe3729378c87c3b90372b4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::height </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the height.
<p>
Returns the height set for this widget. This is not a calculated height, based on layout, but the height as specified previously with <a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength& width, const WLength& height)</a>.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&, const WLength&)</a>, <a class="el" href="classWt_1_1WWidget.html#3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#b20c559ba960c80be16572293df7fd96">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#7321103dca90574bbc3ac6ea9a91ccff">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="092c7d1ecfde7f004ef120389d91775d"></a><!-- doxytag: member="Wt::WWidget::setMinimumSize" ref="092c7d1ecfde7f004ef120389d91775d" args="(const WLength &width, const WLength &height)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setMinimumSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a minimum size.
<p>
Specify a minimum size for this widget. When the widget is managed using a layout manager, these sizes are also taken into account.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#f5847c8028f501b51d74184107ccdde6" title="Returns the minimum width.">minimumWidth()</a>, <a class="el" href="classWt_1_1WWidget.html#411b6bbac918eeb19946d65c4352beb1" title="Returns the minimum height.">minimumHeight()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#cf95c795e47eee85425c98509aa8e57a">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#19abf65cadc0b761b9405157e4b3dfc1">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="f5847c8028f501b51d74184107ccdde6"></a><!-- doxytag: member="Wt::WWidget::minimumWidth" ref="f5847c8028f501b51d74184107ccdde6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::minimumWidth </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the minimum width.
<p>
Returns the minimum width set for this widget with <a class="el" href="classWt_1_1WWidget.html#092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#411b6bbac918eeb19946d65c4352beb1" title="Returns the minimum height.">minimumHeight()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#b14d3fa5b63d36c1df1148f49b62e92a">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#f7bcbca473c81fdba308d0f230bb30ad">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="411b6bbac918eeb19946d65c4352beb1"></a><!-- doxytag: member="Wt::WWidget::minimumHeight" ref="411b6bbac918eeb19946d65c4352beb1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::minimumHeight </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the minimum height.
<p>
Returns the minmum height set for this widget with <a class="el" href="classWt_1_1WWidget.html#092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#f5847c8028f501b51d74184107ccdde6" title="Returns the minimum width.">minimumWidth()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#3289852d4a8a268fc8ee2c4c474bce15">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#fc7317102a63be41ffa390ee5ed5f964">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="f023064cf8007bda6baeb5277d79bbd9"></a><!-- doxytag: member="Wt::WWidget::setMaximumSize" ref="f023064cf8007bda6baeb5277d79bbd9" args="(const WLength &width, const WLength &height)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setMaximumSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a maximum size.
<p>
Specify a minimum size for this widget.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#733c78b3d54dc355adf6ee05c69bf219" title="Returns the maximum width.">maximumWidth()</a>, <a class="el" href="classWt_1_1WWidget.html#f2f6d29c4e5a88bdd12a180e125490cd" title="Returns the maximum height.">maximumHeight()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#7ba5622622b118e72b9a407d10df7ece">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#efc1760ce369631bb332b244a4ec8503">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="733c78b3d54dc355adf6ee05c69bf219"></a><!-- doxytag: member="Wt::WWidget::maximumWidth" ref="733c78b3d54dc355adf6ee05c69bf219" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::maximumWidth </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the maximum width.
<p>
Returns the maximum width set for this widget with <a class="el" href="classWt_1_1WWidget.html#f023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#f023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#f2f6d29c4e5a88bdd12a180e125490cd" title="Returns the maximum height.">maximumHeight()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#24acfbaf36c581e0d1bd07d2c477decb">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#be3382f250f11a12f76782991ac5b6d1">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="f2f6d29c4e5a88bdd12a180e125490cd"></a><!-- doxytag: member="Wt::WWidget::maximumHeight" ref="f2f6d29c4e5a88bdd12a180e125490cd" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::maximumHeight </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the maximum height.
<p>
Returns the minmum height set for this widget with <a class="el" href="classWt_1_1WWidget.html#f023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#f023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#733c78b3d54dc355adf6ee05c69bf219" title="Returns the maximum width.">maximumWidth()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#2b37e2f64cd18ec77b0fdcd5e2adf791">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#db6f0acea854671ef901c070ca632678">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="ef120ad789aec5ee406c2e312efeb4b5"></a><!-- doxytag: member="Wt::WWidget::positionAt" ref="ef120ad789aec5ee406c2e312efeb4b5" args="(const WWidget *widget, Orientation orientation=Vertical)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::positionAt </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WWidget.html">WWidget</a> * </td>
<td class="paramname"> <em>widget</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> </td>
<td class="paramname"> <em>orientation</em> = <code>Vertical</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Positions a widget next to another widget.
<p>
Positions this absolutely positioned widget next to another <code>widget</code>. Both widgets must be visible.<p>
When <code>orientation</code> = Vertical, the widget is displayed below the other widget (or above in case there is not enough room below). It is aligned so that the left edges align (or the right edges if there is not enough room to the right).<p>
Conversely, when <code>orientation</code> = Horizontal, the widget is displayed to the right of the other widget (or to the left in case there is not enough room to the right). It is aligned so that the top edges align (or the bottom edges if there is not enough room below).<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This only works if JavaScript is available. </dd></dl>
</div>
</div><p>
<a class="anchor" name="162f32ce7482e7c3121d18585555909a"></a><!-- doxytag: member="Wt::WWidget::lineHeight" ref="162f32ce7482e7c3121d18585555909a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::lineHeight </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the CSS line height for contained text.
<p>
sa <a class="el" href="classWt_1_1WWidget.html#0763f0e672e5cf673141405dc8e796bb" title="Sets the CSS line height for contained text.">setLineHeight()</a>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#2132b8941b1f5d7febfea902f9625d39">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#eb2aa5ba892f8a17bee435312d04777d">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="2915d313e6934173c087bf8212024289"></a><!-- doxytag: member="Wt::WWidget::setFloatSide" ref="2915d313e6934173c087bf8212024289" args="(Side s)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setFloatSide </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> </td>
<td class="paramname"> <em>s</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Specifies a CSS float side.
<p>
This only applies to widgets with a <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40ab8d71e0c30250d77e05b6c1708e020f">Static </a> <a class="el" href="classWt_1_1WWidget.html#ea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a>.<p>
This lets the widget float to one of the sides of the parent widget, at the current line. A typical use is to position images within text. Valid values for Side or <a class="el" href="namespaceWt.html#6181c1f1a8c81efbcf9ebe03fab48a3f">None </a> , <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a36568fecac7c7d7223afaed240bcfdd9e">Left </a> or <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3cf431c3ce5eb6f14c0390feb14a68004">Right </a>.<p>
This applies to CSS-based layout.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#afed7408935752c6b0c8195ac49f2e9c">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#98310fe1bfd94010bd5c613f28778fca">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="78041b1bcd9b811fa4771d19005a585a"></a><!-- doxytag: member="Wt::WWidget::floatSide" ref="78041b1bcd9b811fa4771d19005a585a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> Wt::WWidget::floatSide </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the CSS float side.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#2915d313e6934173c087bf8212024289" title="Specifies a CSS float side.">setFloatSide(Side)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#26b73581331aebc3f50036442aa5e107">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#dbacc8da47aa64cc177b4d2aac0c41be">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="1919e2e3628bb4e4b74517605b5062c5"></a><!-- doxytag: member="Wt::WWidget::setClearSides" ref="1919e2e3628bb4e4b74517605b5062c5" args="(WFlags< Side > sides)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setClearSides </td>
<td>(</td>
<td class="paramtype">WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > </td>
<td class="paramname"> <em>sides</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the sides that should be cleared of floats.
<p>
This pushes the widget down until it is not surrounded by floats at the <code>sides</code> (which may be a combination of <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a36568fecac7c7d7223afaed240bcfdd9e">Left</a> and <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3cf431c3ce5eb6f14c0390feb14a68004">Right</a>.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#2915d313e6934173c087bf8212024289" title="Specifies a CSS float side.">setFloatSide()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#08b3487d9af9606fc3c6243adb7bf7ff">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#f6e241a53dba62acf2eebaee1a040ddf">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="7657fb67f7ec42b7374b7f64f85e6030"></a><!-- doxytag: member="Wt::WWidget::clearSides" ref="7657fb67f7ec42b7374b7f64f85e6030" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual WFlags<<a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>> Wt::WWidget::clearSides </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the sides that should remain empty.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#1919e2e3628bb4e4b74517605b5062c5" title="Sets the sides that should be cleared of floats.">setClearSides(WFlags<Side>)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#bcd53cd6a4b27ef01576ea2525fd6a92">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#09c1246a2d6b7137b6ac5042ace97157">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="a4f27573eae7875d0fc538e37bc191a0"></a><!-- doxytag: member="Wt::WWidget::setMargin" ref="a4f27573eae7875d0fc538e37bc191a0" args="(const WLength &margin, WFlags< Side > sides=All)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setMargin </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>margin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">WFlags< <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> > </td>
<td class="paramname"> <em>sides</em> = <code><a class="el" href="namespaceWt.html#3358b8309fdb63a402efcb1a577855e8">All</a></code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets CSS margins around the widget.
<p>
Setting margin has the effect of adding a distance between the widget and surrounding widgets. The default margin (with an automatic length) is zero.<p>
Use any combination of <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a36568fecac7c7d7223afaed240bcfdd9e">Left </a>, <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3cf431c3ce5eb6f14c0390feb14a68004">Right </a>, <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a387ae7d3cb692a5a4e8f18a7fea93a8a8">Bottom </a>, or <a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a368b058364f8c2380c1d369a321f22f92">Top </a>.<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#8b7c40b966518e22543d290229fbd29f" title="Returns a CSS margin set.">margin()</a>; </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#ddf49ace29b76331067c86bc4ae6ac38">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#07719d06da0dd17af2381c663e8fb0b7">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="8b7c40b966518e22543d290229fbd29f"></a><!-- doxytag: member="Wt::WWidget::margin" ref="8b7c40b966518e22543d290229fbd29f" args="(Side side) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::margin </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> </td>
<td class="paramname"> <em>side</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a CSS margin set.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4f27573eae7875d0fc538e37bc191a0" title="Sets CSS margins around the widget.">setMargin()</a>; </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#06555482bd1410ce970165c71a8e22e8">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#2c0381fd3e59c8d84da23fe6af564725">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="8cd985ab1dfcee828c7b6189a7e052a5"></a><!-- doxytag: member="Wt::WWidget::setHiddenKeepsGeometry" ref="8cd985ab1dfcee828c7b6189a7e052a5" args="(bool enabled)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setHiddenKeepsGeometry </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>enabled</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets whether the widget keeps its geometry when hidden.
<p>
Normally, a widget that is hidden will no longer occupy space, causing a reflow of sibling widgets. Using this method you may change this behavior to keep an (open) space when hidden.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Currently you can only set this before initial rendering.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#11bd299d9afd0d83f17ac454c85c43a2" title="Sets whether the widget is hidden.">setHidden()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#870eeab54f7591c7a1ec9da90561f326">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#d49fd69557c2889905878e1ecfd72a3f">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="c556bf0e3087b238a98f25b77b9d529c"></a><!-- doxytag: member="Wt::WWidget::hiddenKeepsGeometry" ref="c556bf0e3087b238a98f25b77b9d529c" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::hiddenKeepsGeometry </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget keeps its geometry when hidden.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#8cd985ab1dfcee828c7b6189a7e052a5" title="Sets whether the widget keeps its geometry when hidden.">setHiddenKeepsGeometry()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#e2f77711839f8dfe9dcc378ced66099b">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#0ba2f0668948e568a5c737e10c215af0">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="11bd299d9afd0d83f17ac454c85c43a2"></a><!-- doxytag: member="Wt::WWidget::setHidden" ref="11bd299d9afd0d83f17ac454c85c43a2" args="(bool hidden)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setHidden </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>hidden</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets whether the widget is hidden.
<p>
Hides or show the widget (including all its descendant widgets). setHidden(false) will show this widget and all descendant widgets that are not hidden. A widget is only visible if it and all its ancestors in the widget tree are visible, which may be checked using <a class="el" href="classWt_1_1WWidget.html#450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#0825c3ccbd4999afc1a88fafa6aa6fc7" title="Hides the widget.">hide()</a>, <a class="el" href="classWt_1_1WWidget.html#52dcef5a385ddfa0a8c3e6c20000f181" title="Shows the widget.">show()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1Ext_1_1Dialog.html#720b01d56ab479fad6b749e27bbd444c">Wt::Ext::Dialog</a>, <a class="el" href="classWt_1_1Ext_1_1MessageBox.html#1886eef5b4b8e903b6f1455f3a864045">Wt::Ext::MessageBox</a>, <a class="el" href="classWt_1_1Ext_1_1Widget.html#3102617fe37dd91e053317f268aa2f63">Wt::Ext::Widget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#ff347ab5d4d5cdbfb0a07aad1636f2d5">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WDatePicker.html#a559e3b283aff87cdcbfd48d3edb78c7">Wt::WDatePicker</a>, <a class="el" href="classWt_1_1WDialog.html#a3c85e704c0d7825bd342713f50b35f9">Wt::WDialog</a>, <a class="el" href="classWt_1_1WFormWidget.html#f7db6da14a0530408a7b68668d0d11ff">Wt::WFormWidget</a>, <a class="el" href="classWt_1_1WPopupMenu.html#c4cb24c44b31cec44008396f202d432c">Wt::WPopupMenu</a>, and <a class="el" href="classWt_1_1WWebWidget.html#bf00d84015803f7553c9e6650dc10bd4">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="76a29fd7fa9fa9a6e15e3a450f24a381"></a><!-- doxytag: member="Wt::WWidget::isHidden" ref="76a29fd7fa9fa9a6e15e3a450f24a381" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isHidden </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is set hidden.
<p>
A widget that is not hidden may still be not visible when one of its ancestor widgets is hidden. Use <a class="el" href="classWt_1_1WWidget.html#450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a> to check the visibility of a widget.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#11bd299d9afd0d83f17ac454c85c43a2" title="Sets whether the widget is hidden.">setHidden()</a>, <a class="el" href="classWt_1_1WWidget.html#450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#c22140fb020018e0d855ad524c6effff">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#594cbc1789cb8e2123bc5d968aa320ea">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="450f94dc5a28737625cdb6bde3fdc788"></a><!-- doxytag: member="Wt::WWidget::isVisible" ref="450f94dc5a28737625cdb6bde3fdc788" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isVisible </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is visible.
<p>
A widget is visible if it is not hidden, and none of its ancestors are hidden. This method returns the true visibility, while <a class="el" href="classWt_1_1WWidget.html#76a29fd7fa9fa9a6e15e3a450f24a381" title="Returns whether the widget is set hidden.">isHidden()</a> returns whether a widget has been explicitly hidden.<p>
Note that a widget may be at the same time not hidden, and not visible, in case one of its ancestors was hidden.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#76a29fd7fa9fa9a6e15e3a450f24a381" title="Returns whether the widget is set hidden.">isHidden()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#1ae4501ce5807c22b71532d9fd564337">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#5d78412910dc5c876db09371d8a423e8">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="e29fe35b633ec166f922419cd3ca9d96"></a><!-- doxytag: member="Wt::WWidget::setDisabled" ref="e29fe35b633ec166f922419cd3ca9d96" args="(bool disabled)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setDisabled </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>disabled</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets whether the widget is disabled.
<p>
Enables or disables the widget (including all its descendant widgets). setDisabled(false) will enable this widget and all descendant widgets that are not disabled. A widget is only enabled if it and all its ancestors in the widget tree are disabled.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#5f68ea0ab29adfb8e559153fca281e03" title="Disable thes widget.">disable()</a>, <a class="el" href="classWt_1_1WWidget.html#e6935d8baca9d37dd1d080b4383da87c" title="Enables the widget.">enable()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#bca811e17066c225404419d0ee5249a1">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WDatePicker.html#1c632c278617c650b5cafcbc3b4e6d91">Wt::WDatePicker</a>, and <a class="el" href="classWt_1_1WWebWidget.html#0d73f278ece864ab5322e92ff5f6de6c">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="8c806a873adad31035122a3b465d3da2"></a><!-- doxytag: member="Wt::WWidget::isDisabled" ref="8c806a873adad31035122a3b465d3da2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isDisabled </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is set disabled.
<p>
A widget that is not set disabled may still be disabled when one of its ancestor widgets is set disabled. Use <a class="el" href="classWt_1_1WWidget.html#e091783ebd393c04f026133069b874d3" title="Returns whether the widget is enabled.">isEnabled()</a> to find out whether a widget is enabled.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#e29fe35b633ec166f922419cd3ca9d96" title="Sets whether the widget is disabled.">setDisabled()</a>, <a class="el" href="classWt_1_1WWidget.html#e091783ebd393c04f026133069b874d3" title="Returns whether the widget is enabled.">isEnabled()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#9f814b5ca1939d1e43a4f4c8b00bfbf2">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#811c383ceedd1ea956f4085761b97628">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="e091783ebd393c04f026133069b874d3"></a><!-- doxytag: member="Wt::WWidget::isEnabled" ref="e091783ebd393c04f026133069b874d3" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isEnabled </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is enabled.
<p>
A widget is enabled if it is not disabled, and none of its ancestors are disabled. This method returns whether the widget is rendered as enabled, while <a class="el" href="classWt_1_1WWidget.html#8c806a873adad31035122a3b465d3da2" title="Returns whether the widget is set disabled.">isDisabled()</a> returns whether a widget has been explicitly disabled.<p>
Note that a widget may be at the same time not enabled, and not disabled, in case one of its ancestors was disabled.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#8c806a873adad31035122a3b465d3da2" title="Returns whether the widget is set disabled.">isDisabled()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1Ext_1_1Component.html#04b4d592da0721773de0bf6740c6d1de">Wt::Ext::Component</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#8dd8bb72da33fd11072acb25ed585c2b">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#2deb694af3f3ab8f65b91e40b89342ce">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="3890a2ef04571b6d36e7468583457091"></a><!-- doxytag: member="Wt::WWidget::setPopup" ref="3890a2ef04571b6d36e7468583457091" args="(bool popup)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setPopup </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>popup</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Lets the widget overlay over other sibling widgets.
<p>
A widget that <a class="el" href="classWt_1_1WWidget.html#29f3361a8c518dabc1251892da55dd6d" title="Returns whether the widget is overlayed.">isPopup()</a> will be rendered on top of any other sibling widget contained within the same parent (including other popup widgets previously added to the container).<p>
This will only have an effect when the widgetis either <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae40f924d8e24cb9e55dbeac9284c5640c69">Absolute </a> or <a class="el" href="namespaceWt.html#2551043da5512cfe7b857c5db6e5ae402e157222a2018e8665c15c1ba56df530">Fixed </a> <a class="el" href="classWt_1_1WWidget.html#ea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a>.<p>
This applies to CSS-based layout, and configures the z-index property.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#247b586fcafc027db2ba6f1ffa37dc0b">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#783f46384456e792ead27a613f63a900">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="29f3361a8c518dabc1251892da55dd6d"></a><!-- doxytag: member="Wt::WWidget::isPopup" ref="29f3361a8c518dabc1251892da55dd6d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isPopup </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is overlayed.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#3890a2ef04571b6d36e7468583457091" title="Lets the widget overlay over other sibling widgets.">setPopup(bool)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#6b2ad79236863c701e08553146987045">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#f81cf5fbd4bd92ba81ffcad303355d2c">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="c78e3af143883334c82031790c87416e"></a><!-- doxytag: member="Wt::WWidget::setInline" ref="c78e3af143883334c82031790c87416e" args="(bool inlined)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setInline </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>inlined</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets whether the widget is displayed inline or as a block.
<p>
This option changes whether this widget must be rendered in line with sibling widgets wrapping at the right edge of the parent container (like text), or whether this widget must be rendered as a rectangular block that stacks vertically with sibling widgets (unless a CSS float property is applied). Depending on the widget type, the default value is inline (such as for example for <a class="el" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">WText</a>, or <a class="el" href="classWt_1_1WPushButton.html" title="A widget that represents a push button.">WPushButton</a>), or block (such as for example for a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>).<p>
This applies to CSS-based layout.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#ed7eec7b9a562b84fdb97f68f37ce694">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#73c0244d363cd2f8bd4814fe1ebee2b1">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="fa7a21fbd173d6ee83c2aa9cc11e2ac1"></a><!-- doxytag: member="Wt::WWidget::isInline" ref="fa7a21fbd173d6ee83c2aa9cc11e2ac1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::isInline </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is displayed inline or as block.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#c78e3af143883334c82031790c87416e" title="Sets whether the widget is displayed inline or as a block.">setInline(bool)</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#a82c263fd93dda5dd21baa74b979441f">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#00435f54c71b074785ee25fa955fbf27">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="091e1fb88d9bbd8818d061af43c618b4"></a><!-- doxytag: member="Wt::WWidget::setDecorationStyle" ref="091e1fb88d9bbd8818d061af43c618b4" args="(const WCssDecorationStyle &style)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setDecorationStyle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> & </td>
<td class="paramname"> <em>style</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a CSS decoration style.
<p>
This copies the style over its current <a class="el" href="classWt_1_1WWidget.html#c1833c7c01599b3733712ab0bf3c3a0a" title="Returns the decoration style of this widget.">decorationStyle()</a>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#bf72fb5ef4b107be2d986ba144047372">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#0c22f849e8e6ab8b1e9b9353e5868294">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="c1833c7c01599b3733712ab0bf3c3a0a"></a><!-- doxytag: member="Wt::WWidget::decorationStyle" ref="c1833c7c01599b3733712ab0bf3c3a0a" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a>& Wt::WWidget::decorationStyle </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the decoration style of this widget.
<p>
This groups all decorative aspects of the widget, which do not affect the widget layout (except for the border properties which may behave like extra margin around the widget).<p>
When a decoration style has not been previously set, it returns a default decoration style object.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#091e1fb88d9bbd8818d061af43c618b4" title="Sets a CSS decoration style.">setDecorationStyle()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#d1eb3d24f374cb311ef88e43b3036503">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#ee0157eb927635094425c6f91cc7bd16">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="4be23ecf48d5968efb5d926e38e01708"></a><!-- doxytag: member="Wt::WWidget::setStyleClass" ref="4be23ecf48d5968efb5d926e38e01708" args="(const WString &styleClass)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setStyleClass </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"> <em>styleClass</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets (one or more) CSS style classes.
<p>
You may set one or more space separated style classes. CSS style class works in conjunction with style sheet, and provides a flexible way to provide many widgets the same markup.<p>
Setting an empty string removes the style class(es).<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#6a9a20d65ce9e7c2f62b27387c94e10d" title="Returns a reference to the inline style sheet.">WApplication::styleSheet()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#f9a8abf4e8b5be186a31cd951e60bdc6">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#6fd43dced1a62f7e79bc3522eeb16216">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="d5a84cacbaa1e4da97f7ba68de060330"></a><!-- doxytag: member="Wt::WWidget::styleClass" ref="d5a84cacbaa1e4da97f7ba68de060330" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::styleClass </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the CSS style class.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#4be23ecf48d5968efb5d926e38e01708" title="Sets (one or more) CSS style classes.">setStyleClass()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#dd2437d41d367251cbfa98fa18dedba8">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#e867729c36e0976e5e5ee295f1c40d48">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="4f911e2f62cf35c34cb603eaca0d9a3f"></a><!-- doxytag: member="Wt::WWidget::setVerticalAlignment" ref="4f911e2f62cf35c34cb603eaca0d9a3f" args="(AlignmentFlag alignment, const WLength &length=WLength::Auto)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setVerticalAlignment </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#b8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> </td>
<td class="paramname"> <em>alignment</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> & </td>
<td class="paramname"> <em>length</em> = <code><a class="el" href="classWt_1_1WLength.html#0cf39ca4225776879d56ade60320c31a">WLength::Auto</a></code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the vertical alignment.
<p>
This only applies to inline widgets, and determines how to position itself on the current line, with respect to sibling inline widgets.<p>
This applies to CSS-based layout.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#f548a47d09382c9413a688c0eb65df14">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#4b69458117dbeed309fc3109e4789125">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="0ae4522f15e80ff00d246a19604f6c7f"></a><!-- doxytag: member="Wt::WWidget::verticalAlignment" ref="0ae4522f15e80ff00d246a19604f6c7f" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespaceWt.html#b8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> Wt::WWidget::verticalAlignment </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the vertical alignment.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#4f911e2f62cf35c34cb603eaca0d9a3f" title="Sets the vertical alignment.">setVerticalAlignment()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#078108fab89c90dc540bc7bbd47a85f1">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#d345daea37cc9abc5cb2cbb1b554bc26">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="9faaa6c2b46c0adf6606ad1496c4e52b"></a><!-- doxytag: member="Wt::WWidget::verticalAlignmentLength" ref="9faaa6c2b46c0adf6606ad1496c4e52b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::verticalAlignmentLength </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the fixed vertical alignment that was set.
<p>
This applies to CSS-based layout.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#4f911e2f62cf35c34cb603eaca0d9a3f" title="Sets the vertical alignment.">setVerticalAlignment()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#9f45784318e94541bb490979d418a968">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#eda559ae51111ba51a70be86c6c4fdfe">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="7a7d40a35444c397b17d831996720557"></a><!-- doxytag: member="Wt::WWidget::setToolTip" ref="7a7d40a35444c397b17d831996720557" args="(const WString &text)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setToolTip </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"> <em>text</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a tooltip.
<p>
The tooltip is displayed when the cursor hovers over the widget.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#a18741866255b277604b97a04730b86b">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#4d676bbb5d54bd5bf5ba1edff996800d">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="15e1efb1c2e1030a3ad9565ef7fb0e15"></a><!-- doxytag: member="Wt::WWidget::refresh" ref="15e1efb1c2e1030a3ad9565ef7fb0e15" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::refresh </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Refresh the widget.
<p>
The refresh method is invoked when the locale is changed using <a class="el" href="classWt_1_1WApplication.html#5c9cc1350019d69f154a2b44cdaf2596" title="Changes the locale.">WApplication::setLocale()</a> or when the user hit the refresh button.<p>
The widget must actualize its contents in response.
<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1AbstractButton.html#2cab98fae87f87209c9999e086253fb0">Wt::Ext::AbstractButton</a>, <a class="el" href="classWt_1_1Ext_1_1ComboBox.html#48b20b2d00b523a28e2c1bd0a1a9bfcd">Wt::Ext::ComboBox</a>, <a class="el" href="classWt_1_1Ext_1_1FormField.html#0ac56f725de8a68fd7931b9319286485">Wt::Ext::FormField</a>, <a class="el" href="classWt_1_1Ext_1_1MessageBox.html#ba9efcb3903259caa0981f5ecc0cb7cb">Wt::Ext::MessageBox</a>, <a class="el" href="classWt_1_1Ext_1_1Panel.html#960a266d0c5427a2786cc45a4b05ffa1">Wt::Ext::Panel</a>, <a class="el" href="classWt_1_1Ext_1_1TableView.html#925ffae0caed4dff0e0bb9da0440e20a">Wt::Ext::TableView</a>, <a class="el" href="classWt_1_1Ext_1_1TabWidget.html#030f39b4e70def47d3379bdd505aa5e0">Wt::Ext::TabWidget</a>, <a class="el" href="classWt_1_1WComboBox.html#ea94ab9c31cd5030906d73a8134e6e00">Wt::WComboBox</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#2c7709c1b62475863600551a10728ef1">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WGroupBox.html#44bbe83b4a9af80c5d50e5671c2d2df6">Wt::WGroupBox</a>, <a class="el" href="classWt_1_1WPushButton.html#57084964c8ecf099bcf3e4767a5cca68">Wt::WPushButton</a>, <a class="el" href="classWt_1_1WTemplate.html#74f07dc026d40156769ef6d858e21538">Wt::WTemplate</a>, <a class="el" href="classWt_1_1WText.html#465517b955bf7bbe086401b57d888552">Wt::WText</a>, <a class="el" href="classWt_1_1WViewWidget.html#3481f6ab6f0db72c4489f31216b40c8b">Wt::WViewWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#8d0b7883f2f77a0c24b8fb911a8086a8">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="a2b7078b3b43d53a85e5244b45d504f7"></a><!-- doxytag: member="Wt::WWidget::jsRef" ref="a2b7078b3b43d53a85e5244b45d504f7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Wt::WWidget::jsRef </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a JavaScript expression to the corresponding DOM node.
<p>
You may want to use this in conjunction with <a class="el" href="classWt_1_1JSlot.html" title="A slot that is only implemented in client side JavaScript code.">JSlot</a> or <a class="el" href="classWt_1_1WApplication.html#2a92457b9212cef4057cb54e56183967" title="Executes some JavaScript code.">WApplication::doJavaScript()</a> in custom JavaScript code.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#20624c7c7cdd8b0dd3c3b51ed36c3bb1" title="Returns whether the widget is rendered.">isRendered()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="d629ef6b7b9bc84999ff31dc0f2f3a12"></a><!-- doxytag: member="Wt::WWidget::setAttributeValue" ref="d629ef6b7b9bc84999ff31dc0f2f3a12" args="(const std::string &name, const WString &value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setAttributeValue </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets an attribute value.
<p>
Associate an extra attribute with this widget, with the given value. This is only useful when processing dom nodes associated with widgets in custom JavaScript code.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1JSlot.html" title="A slot that is only implemented in client side JavaScript code.">JSlot</a>, <a class="el" href="classWt_1_1WApplication.html#2a92457b9212cef4057cb54e56183967" title="Executes some JavaScript code.">WApplication::doJavaScript()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#874b7a77d0785623f5059ad4dfe93266">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#f105d1bda14a0b85d486fa9ffb77f445">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="44679c4df92658912866d5a0469bbe95"></a><!-- doxytag: member="Wt::WWidget::attributeValue" ref="44679c4df92658912866d5a0469bbe95" args="(const std::string &name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::attributeValue </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns an attribute value.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#d629ef6b7b9bc84999ff31dc0f2f3a12" title="Sets an attribute value.">setAttributeValue()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#e4917baf01b575063686110c54726773">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#036ebd10e69ad7daf2c1d1533d3ef8bf">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="b876fc1b7d2e4e5dfc631e380d406ae2"></a><!-- doxytag: member="Wt::WWidget::setJavaScriptMember" ref="b876fc1b7d2e4e5dfc631e380d406ae2" args="(const std::string &name, const std::string &value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setJavaScriptMember </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a JavaScript member.
<p>
This binds a JavaScript member, which is set as a JavaScript property to the DOM object that implements this widget. The value may be any JavaScript expression, including a function.<p>
Members that start with "wt" are reserved for internal use. You may define a member "wtResize(self, width, height)" method if your widget needs active layout management. If defined, this method will be used by layout managers and when doing <a class="el" href="classWt_1_1WWidget.html#5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a> to set the size of the widget, instead of setting the CSS width and height properties.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#d0263a7415b2219566a193ff4b9fe10b">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#fa530ff48b788bb6cd6ed24ee2f445d4">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="78a539cfd49a8927a196de66362c37e9"></a><!-- doxytag: member="Wt::WWidget::javaScriptMember" ref="78a539cfd49a8927a196de66362c37e9" args="(const std::string &name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string Wt::WWidget::javaScriptMember </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the value of a JavaScript member.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#b876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#138b2c77df870d0c294416a44bcf99f9">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#e4fcc0c1a9842f7658f2725b9a3f67ad">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="c9839a243ba5f98e7962d1c0dfc20813"></a><!-- doxytag: member="Wt::WWidget::callJavaScriptMember" ref="c9839a243ba5f98e7962d1c0dfc20813" args="(const std::string &name, const std::string &args)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::callJavaScriptMember </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>args</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Calls a JavaScript member.
<p>
This calls a JavaScript member.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#b876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#1e46b28cb1c06e7ffe2acf0eac474fe2">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#c71ff33efc989bbcc0e92bb8b95138a9">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="a651f107ec7cf080faef6c435705fc44"></a><!-- doxytag: member="Wt::WWidget::tr" ref="a651f107ec7cf080faef6c435705fc44" args="(const char *key)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::tr </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>key</em> </td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Short hand for <a class="el" href="classWt_1_1WString.html#0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a>.
<p>
Creates a localized string with the given key.
</div>
</div><p>
<a class="anchor" name="1ee433705523b2b79c4c3539e0852c92"></a><!-- doxytag: member="Wt::WWidget::load" ref="1ee433705523b2b79c4c3539e0852c92" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::load </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Loads content just before the widget is used.
<p>
When the widget is inserted in the widget hierarchy, this method is called. Widgets that get inserted in the widget hierarchy will be rendered. Visible widgets are rendered immediately, and invisible widgets in the back-ground (or not for a plain HTML session). This method is called when the widget is directly or indirectly inserted into the widget tree.<p>
The default implementation simply propagates the load signal to its children. You may want to override this method to delay loading of resource-intensive contents.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#dab4431e472ee5398e6c97420003ffdb">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WPopupMenuItem.html#c5bc72416b24de408e5a8c61362e6230">Wt::WPopupMenuItem</a>, <a class="el" href="classWt_1_1WViewWidget.html#a7865b89645f229c4dbfc6eb9ddf46d4">Wt::WViewWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#9204a57ea6fb213be5845c01007bb944">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="1aa5c2496715bb582a584ebcdd97a6d0"></a><!-- doxytag: member="Wt::WWidget::loaded" ref="1aa5c2496715bb582a584ebcdd97a6d0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Wt::WWidget::loaded </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether this widget has been loaded.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#1ee433705523b2b79c4c3539e0852c92" title="Loads content just before the widget is used.">load()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#23066e3ab76634bef5ed39396603f56c">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#31fa118eaced94d9ea8de9f9f407db40">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="ebee4b24e8128c08ae4aa3682adf6d8f"></a><!-- doxytag: member="Wt::WWidget::acceptDrops" ref="ebee4b24e8128c08ae4aa3682adf6d8f" args="(const std::string &mimeType, const WString &hoverStyleClass=WString())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::acceptDrops </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>mimeType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"> <em>hoverStyleClass</em> = <code><a class="el" href="classWt_1_1WString.html">WString</a> ()</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a mime type to be accepted for dropping.
<p>
You may specify a style class that is applied to the widget when the specified mimetype hovers on top of it.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#c436c4b99710b9199a9df3a8b4151a69" title="Handles a drop event.">dropEvent()</a>, <a class="el" href="classWt_1_1WInteractWidget.html#556c14d02388720b1d95b2149be2e867" title="Configure dragging.">WInteractWidget::setDraggable()</a>, <a class="el" href="classWt_1_1WWidget.html#89e4d70592dd34c277923cb793f73b66" title="Indicates that a mime type is no longer accepted for dropping.">stopAcceptDrops()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="89e4d70592dd34c277923cb793f73b66"></a><!-- doxytag: member="Wt::WWidget::stopAcceptDrops" ref="89e4d70592dd34c277923cb793f73b66" args="(const std::string &mimeType)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::stopAcceptDrops </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>mimeType</em> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Indicates that a mime type is no longer accepted for dropping.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ebee4b24e8128c08ae4aa3682adf6d8f" title="Sets a mime type to be accepted for dropping.">acceptDrops()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="93ff9d1ca04e733cd54cd40a06775f7e"></a><!-- doxytag: member="Wt::WWidget::setId" ref="93ff9d1ca04e733cd54cd40a06775f7e" args="(const std::string &id)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setId </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>id</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the CSS Id.
<p>
Sets a custom Id. Note that the Id must be unique across the whole widget tree, can only be set right after construction and cannot be changed. This is mostly useful for in tests using a test plan that manipulates DOM elements by Id.<p>
By default, auto-generated id's are used.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WObject.html#5c5cc1d7aada99baf97d0dc203e42154" title="Returns the (unique) identifier for this object.">WObject::id()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#c348ec52af6565bf37c6d52b7bae2ef2">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#7e7bbac438e2535359085880144b0456">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="96e9c88d9ed79acccf3edf2bb00c0126"></a><!-- doxytag: member="Wt::WWidget::find" ref="96e9c88d9ed79acccf3edf2bb00c0126" args="(const std::string &name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a>* Wt::WWidget::find </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Finds a descendend widget by name.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WObject.html#64ce31cadb378c4eba81224f43bf493d" title="Sets an object name.">setObjectName()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#7afbf99afdb3fca030b01ac0b958f42d">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WWebWidget.html#21435f5f3fa9f70c3948a05046f90b92">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="aae07190fb97d856149226ea315a75d0"></a><!-- doxytag: member="Wt::WWidget::htmlText" ref="aae07190fb97d856149226ea315a75d0" args="(std::ostream &out)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::htmlText </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"> <em>out</em> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Streams the (X)HTML representation.
<p>
Streams the widget as UTF8-encoded (HTML-compatible) XHTML.<p>
This may be useful as a debugging tool for the web-savvy, or in other rare situations. Usually, you will not deal directly with HTML, and calling this method on a widget that is rendered may interfere with the library keeping track of changes to the widget.
</div>
</div><p>
<a class="anchor" name="3ccd308793bbf124aa2aeebfb1b4f42e"></a><!-- doxytag: member="Wt::WWidget::setSelectable" ref="3ccd308793bbf124aa2aeebfb1b4f42e" args="(bool selectable)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::setSelectable </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>selectable</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets as selectable.
<p>
When a widget is made unselectable, a selection of text (or images) will not be visible (but may still be possible).<p>
By default, the widget inherits this property from its parent, and this property propagates to all children. The top level container (<a class="el" href="classWt_1_1WApplication.html#17e118a04d962459484a12989a80bc05" title="Returns the root container.">WApplication::root()</a>) selectable by default.
<p>Implemented in <a class="el" href="classWt_1_1WCompositeWidget.html#1cf4a59e433df7c28e7917a5e03fdac1">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WTreeNode.html#60428cfc48b2a39550efc308b38406b2">Wt::WTreeNode</a>, and <a class="el" href="classWt_1_1WWebWidget.html#5975750206b667b0fe84a803889e0771">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="20624c7c7cdd8b0dd3c3b51ed36c3bb1"></a><!-- doxytag: member="Wt::WWidget::isRendered" ref="20624c7c7cdd8b0dd3c3b51ed36c3bb1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Wt::WWidget::isRendered </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the widget is rendered.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a2b7078b3b43d53a85e5244b45d504f7" title="Returns a JavaScript expression to the corresponding DOM node.">jsRef()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classWt_1_1WWebWidget.html#f08f5d8edb83b73aef3a93ef446d3231">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="0825c3ccbd4999afc1a88fafa6aa6fc7"></a><!-- doxytag: member="Wt::WWidget::hide" ref="0825c3ccbd4999afc1a88fafa6aa6fc7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::hide </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Hides the widget.
<p>
This calls <a class="el" href="classWt_1_1WWidget.html#11bd299d9afd0d83f17ac454c85c43a2">setHidden(true)</a>.
</div>
</div><p>
<a class="anchor" name="52dcef5a385ddfa0a8c3e6c20000f181"></a><!-- doxytag: member="Wt::WWidget::show" ref="52dcef5a385ddfa0a8c3e6c20000f181" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::show </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Shows the widget.
<p>
This calls <a class="el" href="classWt_1_1WWidget.html#11bd299d9afd0d83f17ac454c85c43a2">setHidden(false)</a>.
</div>
</div><p>
<a class="anchor" name="e6935d8baca9d37dd1d080b4383da87c"></a><!-- doxytag: member="Wt::WWidget::enable" ref="e6935d8baca9d37dd1d080b4383da87c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::enable </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Enables the widget.
<p>
This calls <a class="el" href="classWt_1_1WWidget.html#e29fe35b633ec166f922419cd3ca9d96">setDisabled(false)</a>.
<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1Component.html#9f1bbc312ef663d05191b777f1bc9052">Wt::Ext::Component</a>.</p>
</div>
</div><p>
<a class="anchor" name="5f68ea0ab29adfb8e559153fca281e03"></a><!-- doxytag: member="Wt::WWidget::disable" ref="5f68ea0ab29adfb8e559153fca281e03" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::disable </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Disable thes widget.
<p>
This calls <a class="el" href="classWt_1_1WWidget.html#e29fe35b633ec166f922419cd3ca9d96">setDisabled(true)</a>.
<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1Component.html#70cd13699ca9e39c41b774b77d8c0c3d">Wt::Ext::Component</a>.</p>
</div>
</div><p>
<a class="anchor" name="4f83592912a7f8fa4fd35dadde78ee74"></a><!-- doxytag: member="Wt::WWidget::setLayoutSizeAware" ref="4f83592912a7f8fa4fd35dadde78ee74" args="(bool sizeAware)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::setLayoutSizeAware </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>sizeAware</em> </td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the widget to be aware of its size set by a layout manager.
<p>
When the widget is inserted in a layout manager, it will be resized to fit within the constraints imposed by the layout manager. By default, this done client-side only by setting the CSS height (and if needed, width) properties of the DOM element corresponding to the widget.<p>
A widget may define a JavaScript method, "wtResize(self, width, height)", to actively manage its client-side width and height, if it wants to react to these client-side size hints in a custom way (see <a class="el" href="classWt_1_1WWidget.html#b876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a>).<p>
By setting <code>sizeAware</code> to true, the widget will propagate the width and height provided by the layout manager to the virtual <a class="el" href="classWt_1_1WWidget.html#f432588db3d599f89b54121f2ede8d63" title="Virtual method that indicates a size change.">layoutSizeChanged()</a> method, so that you may for example change the size of contained children in a particular way (doing a custom, manual, layout).<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#f432588db3d599f89b54121f2ede8d63" title="Virtual method that indicates a size change.">layoutSizeChanged()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="f432588db3d599f89b54121f2ede8d63"></a><!-- doxytag: member="Wt::WWidget::layoutSizeChanged" ref="f432588db3d599f89b54121f2ede8d63" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::layoutSizeChanged </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Virtual method that indicates a size change.
<p>
This method propagates the client-side width and height of the widget when the widget is contained by a layout manager and setLayoutSizeAware(true) was called.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#4f83592912a7f8fa4fd35dadde78ee74" title="Sets the widget to be aware of its size set by a layout manager.">setLayoutSizeAware()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classWt_1_1WPaintedWidget.html#0c4a7fd06c6e3092283dedc02214f64e">Wt::WPaintedWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="c436c4b99710b9199a9df3a8b4151a69"></a><!-- doxytag: member="Wt::WWidget::dropEvent" ref="c436c4b99710b9199a9df3a8b4151a69" args="(WDropEvent dropEvent)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WWidget::dropEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a> </td>
<td class="paramname"> <em>dropEvent</em> </td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Handles a drop event.
<p>
Reimplement this method to handle a drop events for mime types you declared to accept using acceptDrops.<p>
The default implementation simply completes the drag and drop operation as if nothing happened.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ebee4b24e8128c08ae4aa3682adf6d8f" title="Sets a mime type to be accepted for dropping.">acceptDrops()</a>, <a class="el" href="classWt_1_1WInteractWidget.html#556c14d02388720b1d95b2149be2e867" title="Configure dragging.">WInteractWidget::setDraggable()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="919a4eaf68ff52f06f6a726d55dfb768"></a><!-- doxytag: member="Wt::WWidget::enableAjax" ref="919a4eaf68ff52f06f6a726d55dfb768" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Wt::WWidget::enableAjax </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [protected, pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Progresses to an Ajax-enabled widget.
<p>
This method is called when the progressive bootstrap method is used, and support for AJAX has been detected. The default behavior will upgrade the widget's event handling to use AJAX instead of full page reloads, and propagate the call to its children.<p>
You may want to reimplement this method if you want to make changes to widget when AJAX is enabled. You should always call the base implementation.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#78016406c4746c56b2c2ffce7c5e181f" title="Progresses to an Ajax-enabled user interface.">WApplication::enableAjax()</a> </dd></dl>
<p>Implemented in <a class="el" href="classWt_1_1WAnchor.html#188c6f7fa64408e9214c08292974834d">Wt::WAnchor</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#90e07c1bb6c48732ed4b5d98f91cfda0">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WFileUpload.html#d23982f1823db145b0da23508a7aa7fa">Wt::WFileUpload</a>, <a class="el" href="classWt_1_1WFormWidget.html#503448cefdd06c5fe18bf13e911e8bb8">Wt::WFormWidget</a>, <a class="el" href="classWt_1_1WMenu.html#ea92a8e3abe2ac6130eb93acec605ec9">Wt::WMenu</a>, <a class="el" href="classWt_1_1WPaintedWidget.html#15c48f15b7b920ab2577caade798a2fd">Wt::WPaintedWidget</a>, <a class="el" href="classWt_1_1WTemplate.html#afe27c3c2f89359a5c02112da3b155ab">Wt::WTemplate</a>, <a class="el" href="classWt_1_1WTreeView.html#11f8eb2390ce4585b99344e540fef8b1">Wt::WTreeView</a>, and <a class="el" href="classWt_1_1WWebWidget.html#2893433f4aa1d6775875f1ebddd7c5ba">Wt::WWebWidget</a>.</p>
</div>
</div><p>
<a class="anchor" name="b4cfd6bd5bea1a6182731ec79a78792c"></a><!-- doxytag: member="Wt::WWidget::boxPadding" ref="b4cfd6bd5bea1a6182731ec79a78792c" args="(Orientation orientation) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Wt::WWidget::boxPadding </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> </td>
<td class="paramname"> <em>orientation</em> </td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the widget's built-in padding.
<p>
This is used by the layout managers to correct for a built-in padding which interferes with setting a widget's width (or height) to 100%.<p>
A layout manager needs to set the width to 100% only for form widgets (<a class="el" href="classWt_1_1WTextArea.html" title="A widget that provides a multi-line edit.">WTextArea</a>, <a class="el" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">WLineEdit</a>, <a class="el" href="classWt_1_1WComboBox.html" title="A widget that provides a drop-down combo-box control.">WComboBox</a>, etc...). Therefore, only for those widgets this needs to return the padding (the default implementation returns 0).<p>
For form widgets, the padding depends on the specific browser/platform combination, unless an explicit padding is set for the widget.<p>
When setting an explicit padding for the widget using a style class, you will want to reimplement this method to return this padding in case you want to set the widget inside a layout manager.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#6bd6a9d01afbc4f96c4ec7dd48db9126" title="Returns the widget's built-in border width.">boxBorder()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classWt_1_1WCompositeWidget.html#2f8fa4fb1ac7bd056ad9801f9b4cbd6c">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WLineEdit.html#f347d0ad651b76abea5ee5dcae295db1">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WTextArea.html#83a327ce1d6408a99991cd6b5ddc74e4">Wt::WTextArea</a>, and <a class="el" href="classWt_1_1WTextEdit.html#b268ab5bfd2edda2bf64dad5cd068abe">Wt::WTextEdit</a>.</p>
</div>
</div><p>
<a class="anchor" name="6bd6a9d01afbc4f96c4ec7dd48db9126"></a><!-- doxytag: member="Wt::WWidget::boxBorder" ref="6bd6a9d01afbc4f96c4ec7dd48db9126" args="(Orientation orientation) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Wt::WWidget::boxBorder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#2a8d45559e16a0185bf61bfad0a67912">Orientation</a> </td>
<td class="paramname"> <em>orientation</em> </td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the widget's built-in border width.
<p>
This is used by the layout managers to correct for a built-in border which interferes with setting a widget's width (or height) to 100%.<p>
A layout manager needs to set the width to 100% only for form widgets (<a class="el" href="classWt_1_1WTextArea.html" title="A widget that provides a multi-line edit.">WTextArea</a>, <a class="el" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">WLineEdit</a>, <a class="el" href="classWt_1_1WComboBox.html" title="A widget that provides a drop-down combo-box control.">WComboBox</a>, etc...). Therefore, only for those widgets this needs to return the border width (the default implementation returns 0).<p>
For form widgets, the border width depends on the specific browser/platform combination, unless an explicit border is set for the widget.<p>
When setting an explicit border for the widget using a style class, you will want to reimplement this method to return this border width, in case you want to set the widget inside a layout manager.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#b4cfd6bd5bea1a6182731ec79a78792c" title="Returns the widget's built-in padding.">boxPadding()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classWt_1_1WCompositeWidget.html#ba02aeb3e18700f8e530021b0131b5ef">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WLineEdit.html#337dcba8f79f886b86c0d9bf7b721c75">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WTextArea.html#3379006d7dbe832b617303b72924019c">Wt::WTextArea</a>, and <a class="el" href="classWt_1_1WTextEdit.html#c946e268b85e49d1155c656f354f00cb">Wt::WTextEdit</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:08 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|