/usr/share/pyshared/wx-2.8-gtk2-unicode/wx/html.py is in python-wxgtk2.8 2.8.12.1-6ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 | # This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
"""
Classes for a simple HTML rendering window, HTML Help Window, etc.
"""
import _html
import new
new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'PySwigObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if (name == "thisown"): return self.this.own(value)
if hasattr(self,name) or (name == "this"):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
#---------------------------------------------------------------------------
HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT
HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER
HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT
HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM
HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP
HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND
HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND
HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS
HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT
HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT
HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT
HTML_INDENT_TOP = _html.HTML_INDENT_TOP
HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM
HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL
HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL
HTML_INDENT_ALL = _html.HTML_INDENT_ALL
HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR
HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP
HTML_COND_USER = _html.HTML_COND_USER
HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER
HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO
HW_NO_SELECTION = _html.HW_NO_SELECTION
HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE
HTML_OPEN = _html.HTML_OPEN
HTML_BLOCK = _html.HTML_BLOCK
HTML_REDIRECT = _html.HTML_REDIRECT
HTML_URL_PAGE = _html.HTML_URL_PAGE
HTML_URL_IMAGE = _html.HTML_URL_IMAGE
HTML_URL_OTHER = _html.HTML_URL_OTHER
class HtmlLinkInfo(_core.Object):
"""Proxy of C++ HtmlLinkInfo class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
_html.HtmlLinkInfo_swiginit(self,_html.new_HtmlLinkInfo(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlLinkInfo
__del__ = lambda self : None;
def GetHref(*args, **kwargs):
"""GetHref(self) -> String"""
return _html.HtmlLinkInfo_GetHref(*args, **kwargs)
def GetTarget(*args, **kwargs):
"""GetTarget(self) -> String"""
return _html.HtmlLinkInfo_GetTarget(*args, **kwargs)
def GetEvent(*args, **kwargs):
"""GetEvent(self) -> MouseEvent"""
return _html.HtmlLinkInfo_GetEvent(*args, **kwargs)
def GetHtmlCell(*args, **kwargs):
"""GetHtmlCell(self) -> HtmlCell"""
return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs)
def SetEvent(*args, **kwargs):
"""SetEvent(self, MouseEvent e)"""
return _html.HtmlLinkInfo_SetEvent(*args, **kwargs)
def SetHtmlCell(*args, **kwargs):
"""SetHtmlCell(self, HtmlCell e)"""
return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
Event = property(GetEvent,SetEvent,doc="See `GetEvent` and `SetEvent`")
Href = property(GetHref,doc="See `GetHref`")
HtmlCell = property(GetHtmlCell,SetHtmlCell,doc="See `GetHtmlCell` and `SetHtmlCell`")
Target = property(GetTarget,doc="See `GetTarget`")
_html.HtmlLinkInfo_swigregister(HtmlLinkInfo)
cvar = _html.cvar
HtmlWindowNameStr = cvar.HtmlWindowNameStr
HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
class HtmlTag(_core.Object):
"""Proxy of C++ HtmlTag class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def GetName(*args, **kwargs):
"""GetName(self) -> String"""
return _html.HtmlTag_GetName(*args, **kwargs)
def HasParam(*args, **kwargs):
"""HasParam(self, String par) -> bool"""
return _html.HtmlTag_HasParam(*args, **kwargs)
def GetParam(*args, **kwargs):
"""GetParam(self, String par, int with_commas=False) -> String"""
return _html.HtmlTag_GetParam(*args, **kwargs)
def GetAllParams(*args, **kwargs):
"""GetAllParams(self) -> String"""
return _html.HtmlTag_GetAllParams(*args, **kwargs)
def HasEnding(*args, **kwargs):
"""HasEnding(self) -> bool"""
return _html.HtmlTag_HasEnding(*args, **kwargs)
def GetBeginPos(*args, **kwargs):
"""GetBeginPos(self) -> int"""
return _html.HtmlTag_GetBeginPos(*args, **kwargs)
def GetEndPos1(*args, **kwargs):
"""GetEndPos1(self) -> int"""
return _html.HtmlTag_GetEndPos1(*args, **kwargs)
def GetEndPos2(*args, **kwargs):
"""GetEndPos2(self) -> int"""
return _html.HtmlTag_GetEndPos2(*args, **kwargs)
AllParams = property(GetAllParams,doc="See `GetAllParams`")
BeginPos = property(GetBeginPos,doc="See `GetBeginPos`")
EndPos1 = property(GetEndPos1,doc="See `GetEndPos1`")
EndPos2 = property(GetEndPos2,doc="See `GetEndPos2`")
Name = property(GetName,doc="See `GetName`")
_html.HtmlTag_swigregister(HtmlTag)
class HtmlParser(_core.Object):
"""Proxy of C++ HtmlParser class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def SetFS(*args, **kwargs):
"""SetFS(self, FileSystem fs)"""
return _html.HtmlParser_SetFS(*args, **kwargs)
def GetFS(*args, **kwargs):
"""GetFS(self) -> FileSystem"""
return _html.HtmlParser_GetFS(*args, **kwargs)
def Parse(*args, **kwargs):
"""Parse(self, String source) -> Object"""
return _html.HtmlParser_Parse(*args, **kwargs)
def InitParser(*args, **kwargs):
"""InitParser(self, String source)"""
return _html.HtmlParser_InitParser(*args, **kwargs)
def DoneParser(*args, **kwargs):
"""DoneParser(self)"""
return _html.HtmlParser_DoneParser(*args, **kwargs)
def DoParsing(*args, **kwargs):
"""DoParsing(self, int begin_pos, int end_pos)"""
return _html.HtmlParser_DoParsing(*args, **kwargs)
def StopParsing(*args, **kwargs):
"""StopParsing(self)"""
return _html.HtmlParser_StopParsing(*args, **kwargs)
def AddTagHandler(*args, **kwargs):
"""AddTagHandler(self, HtmlTagHandler handler)"""
return _html.HtmlParser_AddTagHandler(*args, **kwargs)
def GetSource(*args, **kwargs):
"""GetSource(self) -> String"""
return _html.HtmlParser_GetSource(*args, **kwargs)
def PushTagHandler(*args, **kwargs):
"""PushTagHandler(self, HtmlTagHandler handler, String tags)"""
return _html.HtmlParser_PushTagHandler(*args, **kwargs)
def PopTagHandler(*args, **kwargs):
"""PopTagHandler(self)"""
return _html.HtmlParser_PopTagHandler(*args, **kwargs)
def GetInnerSource(*args, **kwargs):
"""GetInnerSource(self, HtmlTag tag) -> String"""
return _html.HtmlParser_GetInnerSource(*args, **kwargs)
FS = property(GetFS,SetFS,doc="See `GetFS` and `SetFS`")
Source = property(GetSource,doc="See `GetSource`")
_html.HtmlParser_swigregister(HtmlParser)
class HtmlWinParser(HtmlParser):
"""Proxy of C++ HtmlWinParser class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
_html.HtmlWinParser_swiginit(self,_html.new_HtmlWinParser(*args, **kwargs))
def SetDC(*args, **kwargs):
"""SetDC(self, DC dc)"""
return _html.HtmlWinParser_SetDC(*args, **kwargs)
def GetDC(*args, **kwargs):
"""GetDC(self) -> DC"""
return _html.HtmlWinParser_GetDC(*args, **kwargs)
def GetCharHeight(*args, **kwargs):
"""GetCharHeight(self) -> int"""
return _html.HtmlWinParser_GetCharHeight(*args, **kwargs)
def GetCharWidth(*args, **kwargs):
"""GetCharWidth(self) -> int"""
return _html.HtmlWinParser_GetCharWidth(*args, **kwargs)
def GetWindow(*args, **kwargs):
"""GetWindow(self) -> HtmlWindow"""
return _html.HtmlWinParser_GetWindow(*args, **kwargs)
GetWindow = wx._deprecated(GetWindow)
def GetWindowInterface(*args, **kwargs):
"""GetWindowInterface(self) -> HtmlWindowInterface"""
return _html.HtmlWinParser_GetWindowInterface(*args, **kwargs)
def SetFonts(*args, **kwargs):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
def GetContainer(*args, **kwargs):
"""GetContainer(self) -> HtmlContainerCell"""
return _html.HtmlWinParser_GetContainer(*args, **kwargs)
def OpenContainer(*args, **kwargs):
"""OpenContainer(self) -> HtmlContainerCell"""
return _html.HtmlWinParser_OpenContainer(*args, **kwargs)
def SetContainer(*args, **kwargs):
"""SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
return _html.HtmlWinParser_SetContainer(*args, **kwargs)
def CloseContainer(*args, **kwargs):
"""CloseContainer(self) -> HtmlContainerCell"""
return _html.HtmlWinParser_CloseContainer(*args, **kwargs)
def GetFontSize(*args, **kwargs):
"""GetFontSize(self) -> int"""
return _html.HtmlWinParser_GetFontSize(*args, **kwargs)
def SetFontSize(*args, **kwargs):
"""SetFontSize(self, int s)"""
return _html.HtmlWinParser_SetFontSize(*args, **kwargs)
def GetFontBold(*args, **kwargs):
"""GetFontBold(self) -> int"""
return _html.HtmlWinParser_GetFontBold(*args, **kwargs)
def SetFontBold(*args, **kwargs):
"""SetFontBold(self, int x)"""
return _html.HtmlWinParser_SetFontBold(*args, **kwargs)
def GetFontItalic(*args, **kwargs):
"""GetFontItalic(self) -> int"""
return _html.HtmlWinParser_GetFontItalic(*args, **kwargs)
def SetFontItalic(*args, **kwargs):
"""SetFontItalic(self, int x)"""
return _html.HtmlWinParser_SetFontItalic(*args, **kwargs)
def GetFontUnderlined(*args, **kwargs):
"""GetFontUnderlined(self) -> int"""
return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs)
def SetFontUnderlined(*args, **kwargs):
"""SetFontUnderlined(self, int x)"""
return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs)
def GetFontFixed(*args, **kwargs):
"""GetFontFixed(self) -> int"""
return _html.HtmlWinParser_GetFontFixed(*args, **kwargs)
def SetFontFixed(*args, **kwargs):
"""SetFontFixed(self, int x)"""
return _html.HtmlWinParser_SetFontFixed(*args, **kwargs)
def GetAlign(*args, **kwargs):
"""GetAlign(self) -> int"""
return _html.HtmlWinParser_GetAlign(*args, **kwargs)
def SetAlign(*args, **kwargs):
"""SetAlign(self, int a)"""
return _html.HtmlWinParser_SetAlign(*args, **kwargs)
def GetLinkColor(*args, **kwargs):
"""GetLinkColor(self) -> Colour"""
return _html.HtmlWinParser_GetLinkColor(*args, **kwargs)
def SetLinkColor(*args, **kwargs):
"""SetLinkColor(self, Colour clr)"""
return _html.HtmlWinParser_SetLinkColor(*args, **kwargs)
def GetActualColor(*args, **kwargs):
"""GetActualColor(self) -> Colour"""
return _html.HtmlWinParser_GetActualColor(*args, **kwargs)
def SetActualColor(*args, **kwargs):
"""SetActualColor(self, Colour clr)"""
return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
GetActualColour = GetActualColor
SetActualColour = SetActualColor
def SetLink(*args, **kwargs):
"""SetLink(self, String link)"""
return _html.HtmlWinParser_SetLink(*args, **kwargs)
def CreateCurrentFont(*args, **kwargs):
"""CreateCurrentFont(self) -> Font"""
return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs)
def GetLink(*args, **kwargs):
"""GetLink(self) -> HtmlLinkInfo"""
return _html.HtmlWinParser_GetLink(*args, **kwargs)
ActualColor = property(GetActualColor,SetActualColor,doc="See `GetActualColor` and `SetActualColor`")
ActualColour = property(GetActualColour,SetActualColour,doc="See `GetActualColour` and `SetActualColour`")
Align = property(GetAlign,SetAlign,doc="See `GetAlign` and `SetAlign`")
CharHeight = property(GetCharHeight,doc="See `GetCharHeight`")
CharWidth = property(GetCharWidth,doc="See `GetCharWidth`")
Container = property(GetContainer,SetContainer,doc="See `GetContainer` and `SetContainer`")
DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
FontBold = property(GetFontBold,SetFontBold,doc="See `GetFontBold` and `SetFontBold`")
FontFixed = property(GetFontFixed,SetFontFixed,doc="See `GetFontFixed` and `SetFontFixed`")
FontItalic = property(GetFontItalic,SetFontItalic,doc="See `GetFontItalic` and `SetFontItalic`")
FontSize = property(GetFontSize,SetFontSize,doc="See `GetFontSize` and `SetFontSize`")
FontUnderlined = property(GetFontUnderlined,SetFontUnderlined,doc="See `GetFontUnderlined` and `SetFontUnderlined`")
Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
LinkColor = property(GetLinkColor,SetLinkColor,doc="See `GetLinkColor` and `SetLinkColor`")
WindowInterface = property(GetWindowInterface,doc="See `GetWindowInterface`")
_html.HtmlWinParser_swigregister(HtmlWinParser)
class HtmlTagHandler(_core.Object):
"""Proxy of C++ HtmlTagHandler class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlTagHandler"""
_html.HtmlTagHandler_swiginit(self,_html.new_HtmlTagHandler(*args, **kwargs))
HtmlTagHandler._setCallbackInfo(self, self, HtmlTagHandler)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs)
def SetParser(*args, **kwargs):
"""SetParser(self, HtmlParser parser)"""
return _html.HtmlTagHandler_SetParser(*args, **kwargs)
def GetParser(*args, **kwargs):
"""GetParser(self) -> HtmlParser"""
return _html.HtmlTagHandler_GetParser(*args, **kwargs)
def ParseInner(*args, **kwargs):
"""ParseInner(self, HtmlTag tag)"""
return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
_html.HtmlTagHandler_swigregister(HtmlTagHandler)
class HtmlWinTagHandler(HtmlTagHandler):
"""Proxy of C++ HtmlWinTagHandler class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlWinTagHandler"""
_html.HtmlWinTagHandler_swiginit(self,_html.new_HtmlWinTagHandler(*args, **kwargs))
HtmlWinTagHandler._setCallbackInfo(self, self, HtmlWinTagHandler)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs)
def SetParser(*args, **kwargs):
"""SetParser(self, HtmlParser parser)"""
return _html.HtmlWinTagHandler_SetParser(*args, **kwargs)
def GetParser(*args, **kwargs):
"""GetParser(self) -> HtmlWinParser"""
return _html.HtmlWinTagHandler_GetParser(*args, **kwargs)
def ParseInner(*args, **kwargs):
"""ParseInner(self, HtmlTag tag)"""
return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
_html.HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
def HtmlWinParser_AddTagHandler(*args, **kwargs):
"""HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
return _html.HtmlWinParser_AddTagHandler(*args, **kwargs)
#---------------------------------------------------------------------------
class HtmlSelection(object):
"""Proxy of C++ HtmlSelection class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlSelection"""
_html.HtmlSelection_swiginit(self,_html.new_HtmlSelection(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlSelection
__del__ = lambda self : None;
def Set(*args, **kwargs):
"""Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
return _html.HtmlSelection_Set(*args, **kwargs)
def SetCells(*args, **kwargs):
"""SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
return _html.HtmlSelection_SetCells(*args, **kwargs)
def GetFromCell(*args, **kwargs):
"""GetFromCell(self) -> HtmlCell"""
return _html.HtmlSelection_GetFromCell(*args, **kwargs)
def GetToCell(*args, **kwargs):
"""GetToCell(self) -> HtmlCell"""
return _html.HtmlSelection_GetToCell(*args, **kwargs)
def GetFromPos(*args, **kwargs):
"""GetFromPos(self) -> Point"""
return _html.HtmlSelection_GetFromPos(*args, **kwargs)
def GetToPos(*args, **kwargs):
"""GetToPos(self) -> Point"""
return _html.HtmlSelection_GetToPos(*args, **kwargs)
def GetFromPrivPos(*args, **kwargs):
"""GetFromPrivPos(self) -> Point"""
return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs)
def GetToPrivPos(*args, **kwargs):
"""GetToPrivPos(self) -> Point"""
return _html.HtmlSelection_GetToPrivPos(*args, **kwargs)
def SetFromPrivPos(*args, **kwargs):
"""SetFromPrivPos(self, Point pos)"""
return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs)
def SetToPrivPos(*args, **kwargs):
"""SetToPrivPos(self, Point pos)"""
return _html.HtmlSelection_SetToPrivPos(*args, **kwargs)
def ClearPrivPos(*args, **kwargs):
"""ClearPrivPos(self)"""
return _html.HtmlSelection_ClearPrivPos(*args, **kwargs)
def IsEmpty(*args, **kwargs):
"""IsEmpty(self) -> bool"""
return _html.HtmlSelection_IsEmpty(*args, **kwargs)
FromCell = property(GetFromCell,doc="See `GetFromCell`")
FromPos = property(GetFromPos,doc="See `GetFromPos`")
FromPrivPos = property(GetFromPrivPos,SetFromPrivPos,doc="See `GetFromPrivPos` and `SetFromPrivPos`")
ToCell = property(GetToCell,doc="See `GetToCell`")
ToPos = property(GetToPos,doc="See `GetToPos`")
ToPrivPos = property(GetToPrivPos,SetToPrivPos,doc="See `GetToPrivPos` and `SetToPrivPos`")
_html.HtmlSelection_swigregister(HtmlSelection)
HTML_SEL_OUT = _html.HTML_SEL_OUT
HTML_SEL_IN = _html.HTML_SEL_IN
HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
class HtmlRenderingState(object):
"""Proxy of C++ HtmlRenderingState class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlRenderingState"""
_html.HtmlRenderingState_swiginit(self,_html.new_HtmlRenderingState(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlRenderingState
__del__ = lambda self : None;
def SetSelectionState(*args, **kwargs):
"""SetSelectionState(self, int s)"""
return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
def GetSelectionState(*args, **kwargs):
"""GetSelectionState(self) -> int"""
return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
def SetFgColour(*args, **kwargs):
"""SetFgColour(self, Colour c)"""
return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
def GetFgColour(*args, **kwargs):
"""GetFgColour(self) -> Colour"""
return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
def SetBgColour(*args, **kwargs):
"""SetBgColour(self, Colour c)"""
return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
def GetBgColour(*args, **kwargs):
"""GetBgColour(self) -> Colour"""
return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
BgColour = property(GetBgColour,SetBgColour,doc="See `GetBgColour` and `SetBgColour`")
FgColour = property(GetFgColour,SetFgColour,doc="See `GetFgColour` and `SetFgColour`")
SelectionState = property(GetSelectionState,SetSelectionState,doc="See `GetSelectionState` and `SetSelectionState`")
_html.HtmlRenderingState_swigregister(HtmlRenderingState)
class HtmlRenderingStyle(object):
"""Proxy of C++ HtmlRenderingStyle class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def GetSelectedTextColour(*args, **kwargs):
"""GetSelectedTextColour(self, Colour clr) -> Colour"""
return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
def GetSelectedTextBgColour(*args, **kwargs):
"""GetSelectedTextBgColour(self, Colour clr) -> Colour"""
return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
SelectedTextBgColour = property(GetSelectedTextBgColour,doc="See `GetSelectedTextBgColour`")
SelectedTextColour = property(GetSelectedTextColour,doc="See `GetSelectedTextColour`")
_html.HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
"""Proxy of C++ DefaultHtmlRenderingStyle class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle)
class HtmlRenderingInfo(object):
"""Proxy of C++ HtmlRenderingInfo class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlRenderingInfo"""
_html.HtmlRenderingInfo_swiginit(self,_html.new_HtmlRenderingInfo(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlRenderingInfo
__del__ = lambda self : None;
def SetSelection(*args, **kwargs):
"""SetSelection(self, HtmlSelection s)"""
return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs)
def GetSelection(*args, **kwargs):
"""GetSelection(self) -> HtmlSelection"""
return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs)
def SetStyle(*args, **kwargs):
"""SetStyle(self, HtmlRenderingStyle style)"""
return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs)
def GetStyle(*args, **kwargs):
"""GetStyle(self) -> HtmlRenderingStyle"""
return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs)
def GetState(*args, **kwargs):
"""GetState(self) -> HtmlRenderingState"""
return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
State = property(GetState,doc="See `GetState`")
Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`")
_html.HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
#---------------------------------------------------------------------------
HTML_FIND_EXACT = _html.HTML_FIND_EXACT
HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
class HtmlCell(_core.Object):
"""Proxy of C++ HtmlCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlCell"""
_html.HtmlCell_swiginit(self,_html.new_HtmlCell(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlCell
__del__ = lambda self : None;
def GetPosX(*args, **kwargs):
"""GetPosX(self) -> int"""
return _html.HtmlCell_GetPosX(*args, **kwargs)
def GetPosY(*args, **kwargs):
"""GetPosY(self) -> int"""
return _html.HtmlCell_GetPosY(*args, **kwargs)
def GetWidth(*args, **kwargs):
"""GetWidth(self) -> int"""
return _html.HtmlCell_GetWidth(*args, **kwargs)
def GetHeight(*args, **kwargs):
"""GetHeight(self) -> int"""
return _html.HtmlCell_GetHeight(*args, **kwargs)
def GetDescent(*args, **kwargs):
"""GetDescent(self) -> int"""
return _html.HtmlCell_GetDescent(*args, **kwargs)
def GetMaxTotalWidth(*args, **kwargs):
"""GetMaxTotalWidth(self) -> int"""
return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs)
def GetId(*args, **kwargs):
"""GetId(self) -> String"""
return _html.HtmlCell_GetId(*args, **kwargs)
def SetId(*args, **kwargs):
"""SetId(self, String id)"""
return _html.HtmlCell_SetId(*args, **kwargs)
def GetLink(*args, **kwargs):
"""GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
return _html.HtmlCell_GetLink(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext(self) -> HtmlCell"""
return _html.HtmlCell_GetNext(*args, **kwargs)
def GetParent(*args, **kwargs):
"""GetParent(self) -> HtmlContainerCell"""
return _html.HtmlCell_GetParent(*args, **kwargs)
def GetFirstChild(*args, **kwargs):
"""GetFirstChild(self) -> HtmlCell"""
return _html.HtmlCell_GetFirstChild(*args, **kwargs)
def GetMouseCursor(*args, **kwargs):
"""GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
return _html.HtmlCell_GetMouseCursor(*args, **kwargs)
def GetCursor(*args, **kwargs):
"""GetCursor(self) -> Cursor"""
return _html.HtmlCell_GetCursor(*args, **kwargs)
GetCursor = wx._deprecated(GetCursor)
def IsFormattingCell(*args, **kwargs):
"""IsFormattingCell(self) -> bool"""
return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
def SetLink(*args, **kwargs):
"""SetLink(self, HtmlLinkInfo link)"""
return _html.HtmlCell_SetLink(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(self, HtmlCell cell)"""
return _html.HtmlCell_SetNext(*args, **kwargs)
def SetParent(*args, **kwargs):
"""SetParent(self, HtmlContainerCell p)"""
return _html.HtmlCell_SetParent(*args, **kwargs)
def SetPos(*args, **kwargs):
"""SetPos(self, int x, int y)"""
return _html.HtmlCell_SetPos(*args, **kwargs)
def Layout(*args, **kwargs):
"""Layout(self, int w)"""
return _html.HtmlCell_Layout(*args, **kwargs)
def Draw(*args, **kwargs):
"""Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
return _html.HtmlCell_Draw(*args, **kwargs)
def DrawInvisible(*args, **kwargs):
"""DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
return _html.HtmlCell_DrawInvisible(*args, **kwargs)
def Find(*args, **kwargs):
"""Find(self, int condition, void param) -> HtmlCell"""
return _html.HtmlCell_Find(*args, **kwargs)
def ProcessMouseClick(*args, **kwargs):
"""ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
return _html.HtmlCell_ProcessMouseClick(*args, **kwargs)
def SetCanLiveOnPagebreak(*args, **kwargs):
"""SetCanLiveOnPagebreak(self, bool can)"""
return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
def IsLinebreakAllowed(*args, **kwargs):
"""IsLinebreakAllowed(self) -> bool"""
return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
def IsTerminalCell(*args, **kwargs):
"""IsTerminalCell(self) -> bool"""
return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
def FindCellByPos(*args, **kwargs):
"""FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
return _html.HtmlCell_FindCellByPos(*args, **kwargs)
def GetAbsPos(*args, **kwargs):
"""GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
return _html.HtmlCell_GetAbsPos(*args, **kwargs)
def GetRootCell(*args, **kwargs):
"""GetRootCell(self) -> HtmlCell"""
return _html.HtmlCell_GetRootCell(*args, **kwargs)
def GetFirstTerminal(*args, **kwargs):
"""GetFirstTerminal(self) -> HtmlCell"""
return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
def GetLastTerminal(*args, **kwargs):
"""GetLastTerminal(self) -> HtmlCell"""
return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
def GetDepth(*args, **kwargs):
"""GetDepth(self) -> unsigned int"""
return _html.HtmlCell_GetDepth(*args, **kwargs)
def IsBefore(*args, **kwargs):
"""IsBefore(self, HtmlCell cell) -> bool"""
return _html.HtmlCell_IsBefore(*args, **kwargs)
def ConvertToText(*args, **kwargs):
"""ConvertToText(self, HtmlSelection sel) -> String"""
return _html.HtmlCell_ConvertToText(*args, **kwargs)
Cursor = property(GetCursor,doc="See `GetCursor`")
Depth = property(GetDepth,doc="See `GetDepth`")
Descent = property(GetDescent,doc="See `GetDescent`")
FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
FirstTerminal = property(GetFirstTerminal,doc="See `GetFirstTerminal`")
Height = property(GetHeight,doc="See `GetHeight`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
LastTerminal = property(GetLastTerminal,doc="See `GetLastTerminal`")
Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
MaxTotalWidth = property(GetMaxTotalWidth,doc="See `GetMaxTotalWidth`")
MouseCursor = property(GetMouseCursor,doc="See `GetMouseCursor`")
Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
Parent = property(GetParent,SetParent,doc="See `GetParent` and `SetParent`")
PosX = property(GetPosX,doc="See `GetPosX`")
PosY = property(GetPosY,doc="See `GetPosY`")
RootCell = property(GetRootCell,doc="See `GetRootCell`")
Width = property(GetWidth,doc="See `GetWidth`")
_html.HtmlCell_swigregister(HtmlCell)
class HtmlWordCell(HtmlCell):
"""Proxy of C++ HtmlWordCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, String word, DC dc) -> HtmlWordCell"""
_html.HtmlWordCell_swiginit(self,_html.new_HtmlWordCell(*args, **kwargs))
def ConvertToText(*args, **kwargs):
"""ConvertToText(self, HtmlSelection sel) -> String"""
return _html.HtmlWordCell_ConvertToText(*args, **kwargs)
def IsLinebreakAllowed(*args, **kwargs):
"""IsLinebreakAllowed(self) -> bool"""
return _html.HtmlWordCell_IsLinebreakAllowed(*args, **kwargs)
def SetPreviousWord(*args, **kwargs):
"""SetPreviousWord(self, HtmlWordCell cell)"""
return _html.HtmlWordCell_SetPreviousWord(*args, **kwargs)
_html.HtmlWordCell_swigregister(HtmlWordCell)
class HtmlContainerCell(HtmlCell):
"""Proxy of C++ HtmlContainerCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
_html.HtmlContainerCell_swiginit(self,_html.new_HtmlContainerCell(*args, **kwargs))
def InsertCell(*args, **kwargs):
"""InsertCell(self, HtmlCell cell)"""
return _html.HtmlContainerCell_InsertCell(*args, **kwargs)
def SetAlignHor(*args, **kwargs):
"""SetAlignHor(self, int al)"""
return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs)
def GetAlignHor(*args, **kwargs):
"""GetAlignHor(self) -> int"""
return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs)
def SetAlignVer(*args, **kwargs):
"""SetAlignVer(self, int al)"""
return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs)
def GetAlignVer(*args, **kwargs):
"""GetAlignVer(self) -> int"""
return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs)
def SetIndent(*args, **kwargs):
"""SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
return _html.HtmlContainerCell_SetIndent(*args, **kwargs)
def GetIndent(*args, **kwargs):
"""GetIndent(self, int ind) -> int"""
return _html.HtmlContainerCell_GetIndent(*args, **kwargs)
def GetIndentUnits(*args, **kwargs):
"""GetIndentUnits(self, int ind) -> int"""
return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs)
def SetAlign(*args, **kwargs):
"""SetAlign(self, HtmlTag tag)"""
return _html.HtmlContainerCell_SetAlign(*args, **kwargs)
def SetWidthFloat(*args, **kwargs):
"""SetWidthFloat(self, int w, int units)"""
return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
def SetWidthFloatFromTag(*args, **kwargs):
"""SetWidthFloatFromTag(self, HtmlTag tag)"""
return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
def SetMinHeight(*args, **kwargs):
"""SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs):
"""SetBackgroundColour(self, Colour clr)"""
return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
def GetBackgroundColour(*args, **kwargs):
"""GetBackgroundColour(self) -> Colour"""
return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
def SetBorder(*args, **kwargs):
"""SetBorder(self, Colour clr1, Colour clr2)"""
return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
def GetFirstChild(*args, **kwargs):
"""GetFirstChild(self) -> HtmlCell"""
return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
AlignHor = property(GetAlignHor,SetAlignHor,doc="See `GetAlignHor` and `SetAlignHor`")
AlignVer = property(GetAlignVer,SetAlignVer,doc="See `GetAlignVer` and `SetAlignVer`")
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
IndentUnits = property(GetIndentUnits,doc="See `GetIndentUnits`")
_html.HtmlContainerCell_swigregister(HtmlContainerCell)
class HtmlColourCell(HtmlCell):
"""Proxy of C++ HtmlColourCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
_html.HtmlColourCell_swiginit(self,_html.new_HtmlColourCell(*args, **kwargs))
_html.HtmlColourCell_swigregister(HtmlColourCell)
class HtmlFontCell(HtmlCell):
"""Proxy of C++ HtmlFontCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, Font font) -> HtmlFontCell"""
_html.HtmlFontCell_swiginit(self,_html.new_HtmlFontCell(*args, **kwargs))
_html.HtmlFontCell_swigregister(HtmlFontCell)
class HtmlWidgetCell(HtmlCell):
"""Proxy of C++ HtmlWidgetCell class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
_html.HtmlWidgetCell_swiginit(self,_html.new_HtmlWidgetCell(*args, **kwargs))
_html.HtmlWidgetCell_swigregister(HtmlWidgetCell)
#---------------------------------------------------------------------------
class HtmlFilter(_core.Object):
"""Proxy of C++ HtmlFilter class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlFilter"""
_html.HtmlFilter_swiginit(self,_html.new_HtmlFilter(*args, **kwargs))
HtmlFilter._setCallbackInfo(self, self, HtmlFilter)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
_html.HtmlFilter_swigregister(HtmlFilter)
class HtmlWindowInterface(object):
"""Proxy of C++ HtmlWindowInterface class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _html.delete_HtmlWindowInterface
__del__ = lambda self : None;
def SetHTMLWindowTitle(*args, **kwargs):
"""SetHTMLWindowTitle(self, String title)"""
return _html.HtmlWindowInterface_SetHTMLWindowTitle(*args, **kwargs)
def HTMLCoordsToWindow(*args, **kwargs):
"""HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
return _html.HtmlWindowInterface_HTMLCoordsToWindow(*args, **kwargs)
def GetHTMLWindow(*args, **kwargs):
"""GetHTMLWindow(self) -> Window"""
return _html.HtmlWindowInterface_GetHTMLWindow(*args, **kwargs)
def GetHTMLBackgroundColour(*args, **kwargs):
"""GetHTMLBackgroundColour(self) -> Colour"""
return _html.HtmlWindowInterface_GetHTMLBackgroundColour(*args, **kwargs)
def SetHTMLBackgroundColour(*args, **kwargs):
"""SetHTMLBackgroundColour(self, Colour clr)"""
return _html.HtmlWindowInterface_SetHTMLBackgroundColour(*args, **kwargs)
def SetHTMLBackgroundImage(*args, **kwargs):
"""SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
return _html.HtmlWindowInterface_SetHTMLBackgroundImage(*args, **kwargs)
def SetHTMLStatusText(*args, **kwargs):
"""SetHTMLStatusText(self, String text)"""
return _html.HtmlWindowInterface_SetHTMLStatusText(*args, **kwargs)
HTMLCursor_Default = _html.HtmlWindowInterface_HTMLCursor_Default
HTMLCursor_Link = _html.HtmlWindowInterface_HTMLCursor_Link
HTMLCursor_Text = _html.HtmlWindowInterface_HTMLCursor_Text
HTMLBackgroundColour = property(GetHTMLBackgroundColour,SetHTMLBackgroundColour,doc="See `GetHTMLBackgroundColour` and `SetHTMLBackgroundColour`")
HTMLWindow = property(GetHTMLWindow,doc="See `GetHTMLWindow`")
_html.HtmlWindowInterface_swigregister(HtmlWindowInterface)
#---------------------------------------------------------------------------
class HtmlWindow(_windows.ScrolledWindow):
"""Proxy of C++ HtmlWindow class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
String name=HtmlWindowNameStr) -> HtmlWindow
"""
_html.HtmlWindow_swiginit(self,_html.new_HtmlWindow(*args, **kwargs))
self._setOORInfo(self);HtmlWindow._setCallbackInfo(self, self, HtmlWindow)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
String name=HtmlWindowNameStr) -> bool
"""
return _html.HtmlWindow_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
def SetPage(*args, **kwargs):
"""SetPage(self, String source) -> bool"""
return _html.HtmlWindow_SetPage(*args, **kwargs)
def LoadPage(*args, **kwargs):
"""LoadPage(self, String location) -> bool"""
return _html.HtmlWindow_LoadPage(*args, **kwargs)
def LoadFile(*args, **kwargs):
"""LoadFile(self, String filename) -> bool"""
return _html.HtmlWindow_LoadFile(*args, **kwargs)
def AppendToPage(*args, **kwargs):
"""AppendToPage(self, String source) -> bool"""
return _html.HtmlWindow_AppendToPage(*args, **kwargs)
def GetOpenedPage(*args, **kwargs):
"""GetOpenedPage(self) -> String"""
return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
def GetOpenedAnchor(*args, **kwargs):
"""GetOpenedAnchor(self) -> String"""
return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
def GetOpenedPageTitle(*args, **kwargs):
"""GetOpenedPageTitle(self) -> String"""
return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
def SetRelatedFrame(*args, **kwargs):
"""SetRelatedFrame(self, Frame frame, String format)"""
return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
def GetRelatedFrame(*args, **kwargs):
"""GetRelatedFrame(self) -> Frame"""
return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
def SetRelatedStatusBar(*args, **kwargs):
"""SetRelatedStatusBar(self, int bar)"""
return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
def SetFonts(*args, **kwargs):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWindow_SetFonts(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
def SetBorders(*args, **kwargs):
"""SetBorders(self, int b)"""
return _html.HtmlWindow_SetBorders(*args, **kwargs)
def SetBackgroundImage(*args, **kwargs):
"""SetBackgroundImage(self, Bitmap bmpBg)"""
return _html.HtmlWindow_SetBackgroundImage(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
"""ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
"""WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
def HistoryBack(*args, **kwargs):
"""HistoryBack(self) -> bool"""
return _html.HtmlWindow_HistoryBack(*args, **kwargs)
def HistoryForward(*args, **kwargs):
"""HistoryForward(self) -> bool"""
return _html.HtmlWindow_HistoryForward(*args, **kwargs)
def HistoryCanBack(*args, **kwargs):
"""HistoryCanBack(self) -> bool"""
return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
def HistoryCanForward(*args, **kwargs):
"""HistoryCanForward(self) -> bool"""
return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
def HistoryClear(*args, **kwargs):
"""HistoryClear(self)"""
return _html.HtmlWindow_HistoryClear(*args, **kwargs)
def GetInternalRepresentation(*args, **kwargs):
"""GetInternalRepresentation(self) -> HtmlContainerCell"""
return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
def GetParser(*args, **kwargs):
"""GetParser(self) -> HtmlWinParser"""
return _html.HtmlWindow_GetParser(*args, **kwargs)
def ScrollToAnchor(*args, **kwargs):
"""ScrollToAnchor(self, String anchor) -> bool"""
return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
def HasAnchor(*args, **kwargs):
"""HasAnchor(self, String anchor) -> bool"""
return _html.HtmlWindow_HasAnchor(*args, **kwargs)
def AddFilter(*args, **kwargs):
"""AddFilter(HtmlFilter filter)"""
return _html.HtmlWindow_AddFilter(*args, **kwargs)
AddFilter = staticmethod(AddFilter)
def SelectWord(*args, **kwargs):
"""SelectWord(self, Point pos)"""
return _html.HtmlWindow_SelectWord(*args, **kwargs)
def SelectLine(*args, **kwargs):
"""SelectLine(self, Point pos)"""
return _html.HtmlWindow_SelectLine(*args, **kwargs)
def SelectAll(*args, **kwargs):
"""SelectAll(self)"""
return _html.HtmlWindow_SelectAll(*args, **kwargs)
def SelectionToText(*args, **kwargs):
"""SelectionToText(self) -> String"""
return _html.HtmlWindow_SelectionToText(*args, **kwargs)
def ToText(*args, **kwargs):
"""ToText(self) -> String"""
return _html.HtmlWindow_ToText(*args, **kwargs)
def OnLinkClicked(*args, **kwargs):
"""OnLinkClicked(self, HtmlLinkInfo link)"""
return _html.HtmlWindow_OnLinkClicked(*args, **kwargs)
def OnSetTitle(*args, **kwargs):
"""OnSetTitle(self, String title)"""
return _html.HtmlWindow_OnSetTitle(*args, **kwargs)
def OnCellMouseHover(*args, **kwargs):
"""OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs)
def OnCellClicked(*args, **kwargs):
"""OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
return _html.HtmlWindow_OnCellClicked(*args, **kwargs)
def OnOpeningURL(*args, **kwargs):
"""OnOpeningURL(self, int type, String url, String redirect) -> int"""
return _html.HtmlWindow_OnOpeningURL(*args, **kwargs)
def base_OnLinkClicked(*args, **kw):
return HtmlWindow.OnLinkClicked(*args, **kw)
base_OnLinkClicked = wx._deprecated(base_OnLinkClicked,
"Please use HtmlWindow.OnLinkClicked instead.")
def base_OnSetTitle(*args, **kw):
return HtmlWindow.OnSetTitle(*args, **kw)
base_OnSetTitle = wx._deprecated(base_OnSetTitle,
"Please use HtmlWindow.OnSetTitle instead.")
def base_OnCellMouseHover(*args, **kw):
return HtmlWindow.OnCellMouseHover(*args, **kw)
base_OnCellMouseHover = wx._deprecated(base_OnCellMouseHover,
"Please use HtmlWindow.OnCellMouseHover instead.")
def base_OnCellClicked(*args, **kw):
return HtmlWindow.OnCellClicked(*args, **kw)
base_OnCellClicked = wx._deprecated(base_OnCellClicked,
"Please use HtmlWindow.OnCellClicked instead.")
def GetClassDefaultAttributes(*args, **kwargs):
"""
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if you want
to use the same font or colour in your own control as in a standard
control -- which is a much better idea than hard coding specific
colours or fonts which might look completely out of place on the
user's system, especially if it uses themes.
The variant parameter is only relevant under Mac currently and is
ignore under other platforms. Under Mac, it will change the size of
the returned font. See `wx.Window.SetWindowVariant` for more about
this.
"""
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
HTMLCursor_Default = _html.HtmlWindow_HTMLCursor_Default
HTMLCursor_Link = _html.HtmlWindow_HTMLCursor_Link
HTMLCursor_Text = _html.HtmlWindow_HTMLCursor_Text
def GetDefaultHTMLCursor(*args, **kwargs):
"""GetDefaultHTMLCursor(int type) -> Cursor"""
return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
GetDefaultHTMLCursor = staticmethod(GetDefaultHTMLCursor)
InternalRepresentation = property(GetInternalRepresentation,doc="See `GetInternalRepresentation`")
OpenedAnchor = property(GetOpenedAnchor,doc="See `GetOpenedAnchor`")
OpenedPage = property(GetOpenedPage,doc="See `GetOpenedPage`")
OpenedPageTitle = property(GetOpenedPageTitle,doc="See `GetOpenedPageTitle`")
Parser = property(GetParser,doc="See `GetParser`")
RelatedFrame = property(GetRelatedFrame,doc="See `GetRelatedFrame`")
_html.HtmlWindow_swigregister(HtmlWindow)
def PreHtmlWindow(*args, **kwargs):
"""PreHtmlWindow() -> HtmlWindow"""
val = _html.new_PreHtmlWindow(*args, **kwargs)
return val
def HtmlWindow_AddFilter(*args, **kwargs):
"""HtmlWindow_AddFilter(HtmlFilter filter)"""
return _html.HtmlWindow_AddFilter(*args, **kwargs)
def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
"""
HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if you want
to use the same font or colour in your own control as in a standard
control -- which is a much better idea than hard coding specific
colours or fonts which might look completely out of place on the
user's system, especially if it uses themes.
The variant parameter is only relevant under Mac currently and is
ignore under other platforms. Under Mac, it will change the size of
the returned font. See `wx.Window.SetWindowVariant` for more about
this.
"""
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
def HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs):
"""HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
#---------------------------------------------------------------------------
class HtmlDCRenderer(_core.Object):
"""Proxy of C++ HtmlDCRenderer class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlDCRenderer"""
_html.HtmlDCRenderer_swiginit(self,_html.new_HtmlDCRenderer(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlDCRenderer
__del__ = lambda self : None;
def SetDC(*args, **kwargs):
"""SetDC(self, DC dc, int maxwidth)"""
return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
def SetSize(*args, **kwargs):
"""SetSize(self, int width, int height)"""
return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
def SetHtmlText(*args, **kwargs):
"""SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
def SetFonts(*args, **kwargs):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
def Render(*args, **kwargs):
"""
Render(self, int x, int y, wxArrayInt known_pagebreaks, int from=0,
int dont_render=False, int to=INT_MAX) -> int
"""
return _html.HtmlDCRenderer_Render(*args, **kwargs)
def GetTotalHeight(*args, **kwargs):
"""GetTotalHeight(self) -> int"""
return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
TotalHeight = property(GetTotalHeight,doc="See `GetTotalHeight`")
_html.HtmlDCRenderer_swigregister(HtmlDCRenderer)
PAGE_ODD = _html.PAGE_ODD
PAGE_EVEN = _html.PAGE_EVEN
PAGE_ALL = _html.PAGE_ALL
class HtmlPrintout(_windows.Printout):
"""Proxy of C++ HtmlPrintout class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
_html.HtmlPrintout_swiginit(self,_html.new_HtmlPrintout(*args, **kwargs))
def SetHtmlText(*args, **kwargs):
"""SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
def SetHtmlFile(*args, **kwargs):
"""SetHtmlFile(self, String htmlfile)"""
return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
def SetHeader(*args, **kwargs):
"""SetHeader(self, String header, int pg=PAGE_ALL)"""
return _html.HtmlPrintout_SetHeader(*args, **kwargs)
def SetFooter(*args, **kwargs):
"""SetFooter(self, String footer, int pg=PAGE_ALL)"""
return _html.HtmlPrintout_SetFooter(*args, **kwargs)
def SetFonts(*args, **kwargs):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
def SetMargins(*args, **kwargs):
"""
SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
float right=25.2, float spaces=5)
"""
return _html.HtmlPrintout_SetMargins(*args, **kwargs)
def AddFilter(*args, **kwargs):
"""AddFilter(wxHtmlFilter filter)"""
return _html.HtmlPrintout_AddFilter(*args, **kwargs)
AddFilter = staticmethod(AddFilter)
def CleanUpStatics(*args, **kwargs):
"""CleanUpStatics()"""
return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
CleanUpStatics = staticmethod(CleanUpStatics)
_html.HtmlPrintout_swigregister(HtmlPrintout)
def HtmlPrintout_AddFilter(*args, **kwargs):
"""HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
return _html.HtmlPrintout_AddFilter(*args, **kwargs)
def HtmlPrintout_CleanUpStatics(*args):
"""HtmlPrintout_CleanUpStatics()"""
return _html.HtmlPrintout_CleanUpStatics(*args)
class HtmlEasyPrinting(_core.Object):
"""Proxy of C++ HtmlEasyPrinting class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
_html.HtmlEasyPrinting_swiginit(self,_html.new_HtmlEasyPrinting(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlEasyPrinting
__del__ = lambda self : None;
def PreviewFile(*args, **kwargs):
"""PreviewFile(self, String htmlfile)"""
return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
def PreviewText(*args, **kwargs):
"""PreviewText(self, String htmltext, String basepath=EmptyString)"""
return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
def PrintFile(*args, **kwargs):
"""PrintFile(self, String htmlfile)"""
return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
def PrintText(*args, **kwargs):
"""PrintText(self, String htmltext, String basepath=EmptyString)"""
return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
def PageSetup(*args, **kwargs):
"""PageSetup(self)"""
return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
def SetHeader(*args, **kwargs):
"""SetHeader(self, String header, int pg=PAGE_ALL)"""
return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
def SetFooter(*args, **kwargs):
"""SetFooter(self, String footer, int pg=PAGE_ALL)"""
return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
def SetFonts(*args, **kwargs):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
def GetPrintData(*args, **kwargs):
"""GetPrintData(self) -> PrintData"""
return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
def GetPageSetupData(*args, **kwargs):
"""GetPageSetupData(self) -> PageSetupDialogData"""
return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
def GetParentWindow(*args, **kwargs):
"""GetParentWindow(self) -> Window"""
return _html.HtmlEasyPrinting_GetParentWindow(*args, **kwargs)
def SetParentWindow(*args, **kwargs):
"""SetParentWindow(self, Window window)"""
return _html.HtmlEasyPrinting_SetParentWindow(*args, **kwargs)
PageSetupData = property(GetPageSetupData,doc="See `GetPageSetupData`")
PrintData = property(GetPrintData,doc="See `GetPrintData`")
_html.HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
#---------------------------------------------------------------------------
class HtmlBookRecord(object):
"""Proxy of C++ HtmlBookRecord class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
_html.HtmlBookRecord_swiginit(self,_html.new_HtmlBookRecord(*args, **kwargs))
def GetBookFile(*args, **kwargs):
"""GetBookFile(self) -> String"""
return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
def GetTitle(*args, **kwargs):
"""GetTitle(self) -> String"""
return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
def GetStart(*args, **kwargs):
"""GetStart(self) -> String"""
return _html.HtmlBookRecord_GetStart(*args, **kwargs)
def GetBasePath(*args, **kwargs):
"""GetBasePath(self) -> String"""
return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
def SetContentsRange(*args, **kwargs):
"""SetContentsRange(self, int start, int end)"""
return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
def GetContentsStart(*args, **kwargs):
"""GetContentsStart(self) -> int"""
return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
def GetContentsEnd(*args, **kwargs):
"""GetContentsEnd(self) -> int"""
return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
def SetTitle(*args, **kwargs):
"""SetTitle(self, String title)"""
return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
def SetBasePath(*args, **kwargs):
"""SetBasePath(self, String path)"""
return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
def SetStart(*args, **kwargs):
"""SetStart(self, String start)"""
return _html.HtmlBookRecord_SetStart(*args, **kwargs)
def GetFullPath(*args, **kwargs):
"""GetFullPath(self, String page) -> String"""
return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
BasePath = property(GetBasePath,SetBasePath,doc="See `GetBasePath` and `SetBasePath`")
BookFile = property(GetBookFile,doc="See `GetBookFile`")
ContentsEnd = property(GetContentsEnd,doc="See `GetContentsEnd`")
ContentsStart = property(GetContentsStart,doc="See `GetContentsStart`")
FullPath = property(GetFullPath,doc="See `GetFullPath`")
Start = property(GetStart,SetStart,doc="See `GetStart` and `SetStart`")
Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
_html.HtmlBookRecord_swigregister(HtmlBookRecord)
class HtmlSearchStatus(object):
"""Proxy of C++ HtmlSearchStatus class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def Search(*args, **kwargs):
"""Search(self) -> bool"""
return _html.HtmlSearchStatus_Search(*args, **kwargs)
def IsActive(*args, **kwargs):
"""IsActive(self) -> bool"""
return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
def GetCurIndex(*args, **kwargs):
"""GetCurIndex(self) -> int"""
return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
def GetMaxIndex(*args, **kwargs):
"""GetMaxIndex(self) -> int"""
return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName(self) -> String"""
return _html.HtmlSearchStatus_GetName(*args, **kwargs)
CurIndex = property(GetCurIndex,doc="See `GetCurIndex`")
MaxIndex = property(GetMaxIndex,doc="See `GetMaxIndex`")
Name = property(GetName,doc="See `GetName`")
_html.HtmlSearchStatus_swigregister(HtmlSearchStatus)
class HtmlHelpData(object):
"""Proxy of C++ HtmlHelpData class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> HtmlHelpData"""
_html.HtmlHelpData_swiginit(self,_html.new_HtmlHelpData(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlHelpData
__del__ = lambda self : None;
def SetTempDir(*args, **kwargs):
"""SetTempDir(self, String path)"""
return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
def AddBook(*args, **kwargs):
"""AddBook(self, String book) -> bool"""
return _html.HtmlHelpData_AddBook(*args, **kwargs)
def FindPageByName(*args, **kwargs):
"""FindPageByName(self, String page) -> String"""
return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
def FindPageById(*args, **kwargs):
"""FindPageById(self, int id) -> String"""
return _html.HtmlHelpData_FindPageById(*args, **kwargs)
def GetBookRecArray(*args, **kwargs):
"""GetBookRecArray(self) -> wxHtmlBookRecArray"""
return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
BookRecArray = property(GetBookRecArray,doc="See `GetBookRecArray`")
_html.HtmlHelpData_swigregister(HtmlHelpData)
HF_TOOLBAR = _html.HF_TOOLBAR
HF_CONTENTS = _html.HF_CONTENTS
HF_INDEX = _html.HF_INDEX
HF_SEARCH = _html.HF_SEARCH
HF_BOOKMARKS = _html.HF_BOOKMARKS
HF_OPEN_FILES = _html.HF_OPEN_FILES
HF_PRINT = _html.HF_PRINT
HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR
HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS
HF_ICONS_BOOK = _html.HF_ICONS_BOOK
HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER
HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER
HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE
HF_EMBEDDED = _html.HF_EMBEDDED
HF_DIALOG = _html.HF_DIALOG
HF_FRAME = _html.HF_FRAME
HF_MODAL = _html.HF_MODAL
ID_HTML_PANEL = _html.ID_HTML_PANEL
ID_HTML_BACK = _html.ID_HTML_BACK
ID_HTML_FORWARD = _html.ID_HTML_FORWARD
ID_HTML_UPNODE = _html.ID_HTML_UPNODE
ID_HTML_UP = _html.ID_HTML_UP
ID_HTML_DOWN = _html.ID_HTML_DOWN
ID_HTML_PRINT = _html.ID_HTML_PRINT
ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE
ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS
ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST
ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD
ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE
ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL
ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE
ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST
ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT
ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON
ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL
ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK
ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE
ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT
ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST
ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON
ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE
ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO
class HtmlHelpWindow(_core.Window):
"""Proxy of C++ HtmlHelpWindow class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ?, Point pos=DefaultPosition, Size size=DefaultSize,
int style=wxTAB_TRAVERSAL|wxNO_BORDER,
int helpStyle=HF_DEFAULT_STYLE,
HtmlHelpData data=None) -> HtmlHelpWindow
"""
_html.HtmlHelpWindow_swiginit(self,_html.new_HtmlHelpWindow(*args, **kwargs))
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
int style=wxTAB_TRAVERSAL|wxNO_BORDER,
int helpStyle=HF_DEFAULT_STYLE) -> bool
"""
return _html.HtmlHelpWindow_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpWindow_GetData(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpWindow_GetController(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpWindow_SetController(*args, **kwargs)
def Display(*args, **kwargs):
"""Display(self, String x) -> bool"""
return _html.HtmlHelpWindow_Display(*args, **kwargs)
def DisplayID(*args, **kwargs):
"""DisplayID(self, int id) -> bool"""
return _html.HtmlHelpWindow_DisplayID(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self) -> bool"""
return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs)
def DisplayIndex(*args, **kwargs):
"""DisplayIndex(self) -> bool"""
return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs)
def UseConfig(*args, **kwargs):
"""UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
return _html.HtmlHelpWindow_UseConfig(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
"""ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
"""WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs)
def NotifyPageChanged(*args, **kwargs):
"""NotifyPageChanged(self)"""
return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs)
def RefreshLists(*args, **kwargs):
"""RefreshLists(self)"""
return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs)
def GetHtmlWindow(*args, **kwargs):
"""GetHtmlWindow(self) -> HtmlWindow"""
return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs)
def GetSplitterWindow(*args, **kwargs):
"""GetSplitterWindow(self) -> SplitterWindow"""
return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs)
def GetToolBar(*args, **kwargs):
"""GetToolBar(self) -> wxToolBar"""
return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs)
def GetCfgData(*args, **kwargs):
"""GetCfgData(self) -> wxHtmlHelpFrameCfg"""
return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
def GetTreeCtrl(*args, **kwargs):
"""GetTreeCtrl(self) -> wxPyTreeCtrl"""
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
CfgData = property(GetCfgData,doc="See `GetCfgData`")
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HtmlWindow = property(GetHtmlWindow,doc="See `GetHtmlWindow`")
SplitterWindow = property(GetSplitterWindow,doc="See `GetSplitterWindow`")
ToolBar = property(GetToolBar,doc="See `GetToolBar`")
TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
def PreHtmlHelpWindow(*args, **kwargs):
"""PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
val = _html.new_PreHtmlHelpWindow(*args, **kwargs)
self._setOORInfo(self)
return val
wxEVT_COMMAND_HTML_CELL_CLICKED = _html.wxEVT_COMMAND_HTML_CELL_CLICKED
wxEVT_COMMAND_HTML_CELL_HOVER = _html.wxEVT_COMMAND_HTML_CELL_HOVER
wxEVT_COMMAND_HTML_LINK_CLICKED = _html.wxEVT_COMMAND_HTML_LINK_CLICKED
class HtmlCellEvent(_core.CommandEvent):
"""Proxy of C++ HtmlCellEvent class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, EventType commandType, int id, HtmlCell cell, Point pt,
MouseEvent ev) -> HtmlCellEvent
"""
_html.HtmlCellEvent_swiginit(self,_html.new_HtmlCellEvent(*args, **kwargs))
def GetCell(*args, **kwargs):
"""GetCell(self) -> HtmlCell"""
return _html.HtmlCellEvent_GetCell(*args, **kwargs)
def GetPoint(*args, **kwargs):
"""GetPoint(self) -> Point"""
return _html.HtmlCellEvent_GetPoint(*args, **kwargs)
def GetMouseEvent(*args, **kwargs):
"""GetMouseEvent(self) -> MouseEvent"""
return _html.HtmlCellEvent_GetMouseEvent(*args, **kwargs)
def SetLinkClicked(*args, **kwargs):
"""SetLinkClicked(self, bool linkclicked)"""
return _html.HtmlCellEvent_SetLinkClicked(*args, **kwargs)
def GetLinkClicked(*args, **kwargs):
"""GetLinkClicked(self) -> bool"""
return _html.HtmlCellEvent_GetLinkClicked(*args, **kwargs)
_html.HtmlCellEvent_swigregister(HtmlCellEvent)
class HtmlLinkEvent(_core.CommandEvent):
"""Proxy of C++ HtmlLinkEvent class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, int id, HtmlLinkInfo linkinfo) -> HtmlLinkEvent"""
_html.HtmlLinkEvent_swiginit(self,_html.new_HtmlLinkEvent(*args, **kwargs))
def GetLinkInfo(*args, **kwargs):
"""GetLinkInfo(self) -> HtmlLinkInfo"""
return _html.HtmlLinkEvent_GetLinkInfo(*args, **kwargs)
_html.HtmlLinkEvent_swigregister(HtmlLinkEvent)
EVT_HTML_CELL_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_CLICKED, 1 )
EVT_HTML_CELL_HOVER = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_HOVER, 1 )
EVT_HTML_LINK_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_LINK_CLICKED, 1 )
class HtmlHelpFrame(_windows.Frame):
"""Proxy of C++ HtmlHelpFrame class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
HtmlHelpData data=None,
ConfigBase config=None, String rootpath=EmptyString) -> HtmlHelpFrame
"""
_html.HtmlHelpFrame_swiginit(self,_html.new_HtmlHelpFrame(*args, **kwargs))
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE,
ConfigBase config=None,
String rootpath=EmptyString) -> bool
"""
return _html.HtmlHelpFrame_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpFrame_GetData(*args, **kwargs)
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
def AddGrabIfNeeded(*args, **kwargs):
"""AddGrabIfNeeded(self)"""
return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpFrame_GetController(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpFrame_SetController(*args, **kwargs)
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs)
# For compatibility from before the refactor
def Display(self, x):
return self.GetHelpWindow().Display(x)
def DisplayID(self, x):
return self.GetHelpWindow().DisplayID(id)
def DisplayContents(self):
return self.GetHelpWindow().DisplayContents()
def DisplayIndex(self):
return self.GetHelpWindow().DisplayIndex()
def KeywordSearch(self, keyword):
return self.GetHelpWindow().KeywordSearch(keyword)
def UseConfig(self, config, rootpath=""):
return self.GetHelpWindow().UseConfig(config, rootpath)
def ReadCustomization(self, config, rootpath=""):
return self.GetHelpWindow().ReadCustomization(config, rootpath)
def WriteCustomization(self, config, rootpath=""):
return self.GetHelpWindow().WriteCustomization(config, rootpath)
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
_html.HtmlHelpFrame_swigregister(HtmlHelpFrame)
def PreHtmlHelpFrame(*args, **kwargs):
"""PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
val = _html.new_PreHtmlHelpFrame(*args, **kwargs)
self._setOORInfo(self)
return val
class HtmlHelpDialog(_windows.Dialog):
"""Proxy of C++ HtmlHelpDialog class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
HtmlHelpData data=None) -> HtmlHelpDialog
"""
_html.HtmlHelpDialog_swiginit(self,_html.new_HtmlHelpDialog(*args, **kwargs))
self._setOORInfo(self)
def Create(*args, **kwargs):
"""Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
return _html.HtmlHelpDialog_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpDialog_GetData(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpDialog_GetController(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpDialog_SetController(*args, **kwargs)
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs)
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
_html.HtmlHelpDialog_swigregister(HtmlHelpDialog)
def PreHtmlHelpDialog(*args, **kwargs):
"""PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
val = _html.new_PreHtmlHelpDialog(*args, **kwargs)
self._setOORInfo(self)
return val
class HelpControllerBase(_core.Object):
"""Proxy of C++ HelpControllerBase class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def Initialize(*args):
"""
Initialize(self, String file, int server) -> bool
Initialize(self, String file) -> bool
"""
return _html.HelpControllerBase_Initialize(*args)
def SetViewer(*args, **kwargs):
"""SetViewer(self, String viewer, long flags=0)"""
return _html.HelpControllerBase_SetViewer(*args, **kwargs)
def LoadFile(*args, **kwargs):
"""LoadFile(self, String file=wxEmptyString) -> bool"""
return _html.HelpControllerBase_LoadFile(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self) -> bool"""
return _html.HelpControllerBase_DisplayContents(*args, **kwargs)
def DisplayContextPopup(*args, **kwargs):
"""DisplayContextPopup(self, int contextId) -> bool"""
return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs)
def DisplayTextPopup(*args, **kwargs):
"""DisplayTextPopup(self, String text, Point pos) -> bool"""
return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs)
def DisplaySection(*args):
"""
DisplaySection(self, int sectionNo) -> bool
DisplaySection(self, String section) -> bool
"""
return _html.HelpControllerBase_DisplaySection(*args)
def DisplayBlock(*args, **kwargs):
"""DisplayBlock(self, long blockNo) -> bool"""
return _html.HelpControllerBase_DisplayBlock(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
return _html.HelpControllerBase_KeywordSearch(*args, **kwargs)
def SetFrameParameters(*args, **kwargs):
"""
SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
bool newFrameEachTime=False)
"""
return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs)
def Quit(*args, **kwargs):
"""Quit(self) -> bool"""
return _html.HelpControllerBase_Quit(*args, **kwargs)
def OnQuit(*args, **kwargs):
"""OnQuit(self)"""
return _html.HelpControllerBase_OnQuit(*args, **kwargs)
def SetParentWindow(*args, **kwargs):
"""SetParentWindow(self, Window win)"""
return _html.HelpControllerBase_SetParentWindow(*args, **kwargs)
def GetParentWindow(*args, **kwargs):
"""GetParentWindow(self) -> Window"""
return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
ParentWindow = property(GetParentWindow,SetParentWindow,doc="See `GetParentWindow` and `SetParentWindow`")
_html.HelpControllerBase_swigregister(HelpControllerBase)
class HtmlHelpController(HelpControllerBase):
"""Proxy of C++ HtmlHelpController class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
_html.HtmlHelpController_swiginit(self,_html.new_HtmlHelpController(*args, **kwargs))
__swig_destroy__ = _html.delete_HtmlHelpController
__del__ = lambda self : None;
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs)
def SetHelpWindow(*args, **kwargs):
"""SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs)
def GetFrame(*args, **kwargs):
"""GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def GetDialog(*args, **kwargs):
"""GetDialog(self) -> HtmlHelpDialog"""
return _html.HtmlHelpController_GetDialog(*args, **kwargs)
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
def SetTempDir(*args, **kwargs):
"""SetTempDir(self, String path)"""
return _html.HtmlHelpController_SetTempDir(*args, **kwargs)
def AddBook(*args, **kwargs):
"""AddBook(self, String book, int show_wait_msg=False) -> bool"""
return _html.HtmlHelpController_AddBook(*args, **kwargs)
def Display(*args, **kwargs):
"""Display(self, String x)"""
return _html.HtmlHelpController_Display(*args, **kwargs)
def DisplayID(*args, **kwargs):
"""DisplayID(self, int id)"""
return _html.HtmlHelpController_DisplayID(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self)"""
return _html.HtmlHelpController_DisplayContents(*args, **kwargs)
def DisplayIndex(*args, **kwargs):
"""DisplayIndex(self)"""
return _html.HtmlHelpController_DisplayIndex(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String keyword) -> bool"""
return _html.HtmlHelpController_KeywordSearch(*args, **kwargs)
def UseConfig(*args, **kwargs):
"""UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
return _html.HtmlHelpController_UseConfig(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
"""ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpController_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
"""WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
def MakeModalIfNeeded(*args, **kwargs):
"""MakeModalIfNeeded(self)"""
return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs)
def FindTopLevelWindow(*args, **kwargs):
"""FindTopLevelWindow(self) -> Window"""
return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
Dialog = property(GetDialog,doc="See `GetDialog`")
Frame = property(GetFrame,doc="See `GetFrame`")
HelpWindow = property(GetHelpWindow,SetHelpWindow,doc="See `GetHelpWindow` and `SetHelpWindow`")
_html.HtmlHelpController_swigregister(HtmlHelpController)
class HtmlModalHelp(object):
"""Proxy of C++ HtmlModalHelp class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, String helpFile, String topic=wxEmptyString,
int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
"""
_html.HtmlModalHelp_swiginit(self,_html.new_HtmlModalHelp(*args, **kwargs))
_html.HtmlModalHelp_swigregister(HtmlModalHelp)
|