| 1 | # This file was created automatically by SWIG. |
| 2 | # Don't modify this file, modify the SWIG interface instead. |
| 3 | |
| 4 | import _html |
| 5 | |
| 6 | import windows |
| 7 | import core |
| 8 | wx = core |
| 9 | #--------------------------------------------------------------------------- |
| 10 | |
| 11 | HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT |
| 12 | HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER |
| 13 | HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT |
| 14 | HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM |
| 15 | HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP |
| 16 | HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND |
| 17 | HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND |
| 18 | HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS |
| 19 | HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT |
| 20 | HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT |
| 21 | HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT |
| 22 | HTML_INDENT_TOP = _html.HTML_INDENT_TOP |
| 23 | HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM |
| 24 | HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL |
| 25 | HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL |
| 26 | HTML_INDENT_ALL = _html.HTML_INDENT_ALL |
| 27 | HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR |
| 28 | HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP |
| 29 | HTML_COND_USER = _html.HTML_COND_USER |
| 30 | HTML_FONT_SIZE_1 = _html.HTML_FONT_SIZE_1 |
| 31 | HTML_FONT_SIZE_2 = _html.HTML_FONT_SIZE_2 |
| 32 | HTML_FONT_SIZE_3 = _html.HTML_FONT_SIZE_3 |
| 33 | HTML_FONT_SIZE_4 = _html.HTML_FONT_SIZE_4 |
| 34 | HTML_FONT_SIZE_5 = _html.HTML_FONT_SIZE_5 |
| 35 | HTML_FONT_SIZE_6 = _html.HTML_FONT_SIZE_6 |
| 36 | HTML_FONT_SIZE_7 = _html.HTML_FONT_SIZE_7 |
| 37 | HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER |
| 38 | HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO |
| 39 | HW_NO_SELECTION = _html.HW_NO_SELECTION |
| 40 | HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE |
| 41 | HTML_OPEN = _html.HTML_OPEN |
| 42 | HTML_BLOCK = _html.HTML_BLOCK |
| 43 | HTML_REDIRECT = _html.HTML_REDIRECT |
| 44 | HTML_URL_PAGE = _html.HTML_URL_PAGE |
| 45 | HTML_URL_IMAGE = _html.HTML_URL_IMAGE |
| 46 | HTML_URL_OTHER = _html.HTML_URL_OTHER |
| 47 | class HtmlLinkInfo(core.Object): |
| 48 | """""" |
| 49 | def __repr__(self): |
| 50 | return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 51 | def __init__(self, *args, **kwargs): |
| 52 | """__init__(wxString href, wxString target=wxPyEmptyString) -> HtmlLinkInfo""" |
| 53 | newobj = _html.new_HtmlLinkInfo(*args, **kwargs) |
| 54 | self.this = newobj.this |
| 55 | self.thisown = 1 |
| 56 | del newobj.thisown |
| 57 | def GetHref(*args, **kwargs): |
| 58 | """GetHref() -> wxString""" |
| 59 | return _html.HtmlLinkInfo_GetHref(*args, **kwargs) |
| 60 | |
| 61 | def GetTarget(*args, **kwargs): |
| 62 | """GetTarget() -> wxString""" |
| 63 | return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) |
| 64 | |
| 65 | def GetEvent(*args, **kwargs): |
| 66 | """GetEvent() -> MouseEvent""" |
| 67 | return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) |
| 68 | |
| 69 | def GetHtmlCell(*args, **kwargs): |
| 70 | """GetHtmlCell() -> HtmlCell""" |
| 71 | return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) |
| 72 | |
| 73 | def SetEvent(*args, **kwargs): |
| 74 | """SetEvent(MouseEvent e)""" |
| 75 | return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) |
| 76 | |
| 77 | def SetHtmlCell(*args, **kwargs): |
| 78 | """SetHtmlCell(HtmlCell e)""" |
| 79 | return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) |
| 80 | |
| 81 | |
| 82 | class HtmlLinkInfoPtr(HtmlLinkInfo): |
| 83 | def __init__(self, this): |
| 84 | self.this = this |
| 85 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 86 | self.__class__ = HtmlLinkInfo |
| 87 | _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) |
| 88 | |
| 89 | class HtmlTag(core.Object): |
| 90 | """""" |
| 91 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 92 | def __repr__(self): |
| 93 | return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 94 | def GetName(*args, **kwargs): |
| 95 | """GetName() -> wxString""" |
| 96 | return _html.HtmlTag_GetName(*args, **kwargs) |
| 97 | |
| 98 | def HasParam(*args, **kwargs): |
| 99 | """HasParam(wxString par) -> bool""" |
| 100 | return _html.HtmlTag_HasParam(*args, **kwargs) |
| 101 | |
| 102 | def GetParam(*args, **kwargs): |
| 103 | """GetParam(wxString par, int with_commas=False) -> wxString""" |
| 104 | return _html.HtmlTag_GetParam(*args, **kwargs) |
| 105 | |
| 106 | def GetAllParams(*args, **kwargs): |
| 107 | """GetAllParams() -> wxString""" |
| 108 | return _html.HtmlTag_GetAllParams(*args, **kwargs) |
| 109 | |
| 110 | def HasEnding(*args, **kwargs): |
| 111 | """HasEnding() -> bool""" |
| 112 | return _html.HtmlTag_HasEnding(*args, **kwargs) |
| 113 | |
| 114 | def GetBeginPos(*args, **kwargs): |
| 115 | """GetBeginPos() -> int""" |
| 116 | return _html.HtmlTag_GetBeginPos(*args, **kwargs) |
| 117 | |
| 118 | def GetEndPos1(*args, **kwargs): |
| 119 | """GetEndPos1() -> int""" |
| 120 | return _html.HtmlTag_GetEndPos1(*args, **kwargs) |
| 121 | |
| 122 | def GetEndPos2(*args, **kwargs): |
| 123 | """GetEndPos2() -> int""" |
| 124 | return _html.HtmlTag_GetEndPos2(*args, **kwargs) |
| 125 | |
| 126 | |
| 127 | class HtmlTagPtr(HtmlTag): |
| 128 | def __init__(self, this): |
| 129 | self.this = this |
| 130 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 131 | self.__class__ = HtmlTag |
| 132 | _html.HtmlTag_swigregister(HtmlTagPtr) |
| 133 | |
| 134 | class HtmlParser(core.Object): |
| 135 | """""" |
| 136 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 137 | def __repr__(self): |
| 138 | return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 139 | def SetFS(*args, **kwargs): |
| 140 | """SetFS(FileSystem fs)""" |
| 141 | return _html.HtmlParser_SetFS(*args, **kwargs) |
| 142 | |
| 143 | def GetFS(*args, **kwargs): |
| 144 | """GetFS() -> FileSystem""" |
| 145 | return _html.HtmlParser_GetFS(*args, **kwargs) |
| 146 | |
| 147 | def Parse(*args, **kwargs): |
| 148 | """Parse(wxString source) -> Object""" |
| 149 | return _html.HtmlParser_Parse(*args, **kwargs) |
| 150 | |
| 151 | def InitParser(*args, **kwargs): |
| 152 | """InitParser(wxString source)""" |
| 153 | return _html.HtmlParser_InitParser(*args, **kwargs) |
| 154 | |
| 155 | def DoneParser(*args, **kwargs): |
| 156 | """DoneParser()""" |
| 157 | return _html.HtmlParser_DoneParser(*args, **kwargs) |
| 158 | |
| 159 | def DoParsing(*args, **kwargs): |
| 160 | """DoParsing(int begin_pos, int end_pos)""" |
| 161 | return _html.HtmlParser_DoParsing(*args, **kwargs) |
| 162 | |
| 163 | def StopParsing(*args, **kwargs): |
| 164 | """StopParsing()""" |
| 165 | return _html.HtmlParser_StopParsing(*args, **kwargs) |
| 166 | |
| 167 | def AddTagHandler(*args, **kwargs): |
| 168 | """AddTagHandler(wxHtmlTagHandler handler)""" |
| 169 | return _html.HtmlParser_AddTagHandler(*args, **kwargs) |
| 170 | |
| 171 | def GetSource(*args, **kwargs): |
| 172 | """GetSource() -> wxString""" |
| 173 | return _html.HtmlParser_GetSource(*args, **kwargs) |
| 174 | |
| 175 | def PushTagHandler(*args, **kwargs): |
| 176 | """PushTagHandler(wxHtmlTagHandler handler, wxString tags)""" |
| 177 | return _html.HtmlParser_PushTagHandler(*args, **kwargs) |
| 178 | |
| 179 | def PopTagHandler(*args, **kwargs): |
| 180 | """PopTagHandler()""" |
| 181 | return _html.HtmlParser_PopTagHandler(*args, **kwargs) |
| 182 | |
| 183 | |
| 184 | class HtmlParserPtr(HtmlParser): |
| 185 | def __init__(self, this): |
| 186 | self.this = this |
| 187 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 188 | self.__class__ = HtmlParser |
| 189 | _html.HtmlParser_swigregister(HtmlParserPtr) |
| 190 | |
| 191 | class HtmlWinParser(HtmlParser): |
| 192 | """""" |
| 193 | def __repr__(self): |
| 194 | return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 195 | def __init__(self, *args, **kwargs): |
| 196 | """__init__(HtmlWindow wnd=None) -> HtmlWinParser""" |
| 197 | newobj = _html.new_HtmlWinParser(*args, **kwargs) |
| 198 | self.this = newobj.this |
| 199 | self.thisown = 1 |
| 200 | del newobj.thisown |
| 201 | def SetDC(*args, **kwargs): |
| 202 | """SetDC(wxDC dc)""" |
| 203 | return _html.HtmlWinParser_SetDC(*args, **kwargs) |
| 204 | |
| 205 | def GetDC(*args, **kwargs): |
| 206 | """GetDC() -> wxDC""" |
| 207 | return _html.HtmlWinParser_GetDC(*args, **kwargs) |
| 208 | |
| 209 | def GetCharHeight(*args, **kwargs): |
| 210 | """GetCharHeight() -> int""" |
| 211 | return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) |
| 212 | |
| 213 | def GetCharWidth(*args, **kwargs): |
| 214 | """GetCharWidth() -> int""" |
| 215 | return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) |
| 216 | |
| 217 | def GetWindow(*args, **kwargs): |
| 218 | """GetWindow() -> HtmlWindow""" |
| 219 | return _html.HtmlWinParser_GetWindow(*args, **kwargs) |
| 220 | |
| 221 | def SetFonts(*args, **kwargs): |
| 222 | """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" |
| 223 | return _html.HtmlWinParser_SetFonts(*args, **kwargs) |
| 224 | |
| 225 | def GetContainer(*args, **kwargs): |
| 226 | """GetContainer() -> HtmlContainerCell""" |
| 227 | return _html.HtmlWinParser_GetContainer(*args, **kwargs) |
| 228 | |
| 229 | def OpenContainer(*args, **kwargs): |
| 230 | """OpenContainer() -> HtmlContainerCell""" |
| 231 | return _html.HtmlWinParser_OpenContainer(*args, **kwargs) |
| 232 | |
| 233 | def SetContainer(*args, **kwargs): |
| 234 | """SetContainer(HtmlContainerCell c) -> HtmlContainerCell""" |
| 235 | return _html.HtmlWinParser_SetContainer(*args, **kwargs) |
| 236 | |
| 237 | def CloseContainer(*args, **kwargs): |
| 238 | """CloseContainer() -> HtmlContainerCell""" |
| 239 | return _html.HtmlWinParser_CloseContainer(*args, **kwargs) |
| 240 | |
| 241 | def GetFontSize(*args, **kwargs): |
| 242 | """GetFontSize() -> int""" |
| 243 | return _html.HtmlWinParser_GetFontSize(*args, **kwargs) |
| 244 | |
| 245 | def SetFontSize(*args, **kwargs): |
| 246 | """SetFontSize(int s)""" |
| 247 | return _html.HtmlWinParser_SetFontSize(*args, **kwargs) |
| 248 | |
| 249 | def GetFontBold(*args, **kwargs): |
| 250 | """GetFontBold() -> int""" |
| 251 | return _html.HtmlWinParser_GetFontBold(*args, **kwargs) |
| 252 | |
| 253 | def SetFontBold(*args, **kwargs): |
| 254 | """SetFontBold(int x)""" |
| 255 | return _html.HtmlWinParser_SetFontBold(*args, **kwargs) |
| 256 | |
| 257 | def GetFontItalic(*args, **kwargs): |
| 258 | """GetFontItalic() -> int""" |
| 259 | return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) |
| 260 | |
| 261 | def SetFontItalic(*args, **kwargs): |
| 262 | """SetFontItalic(int x)""" |
| 263 | return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) |
| 264 | |
| 265 | def GetFontUnderlined(*args, **kwargs): |
| 266 | """GetFontUnderlined() -> int""" |
| 267 | return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) |
| 268 | |
| 269 | def SetFontUnderlined(*args, **kwargs): |
| 270 | """SetFontUnderlined(int x)""" |
| 271 | return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) |
| 272 | |
| 273 | def GetFontFixed(*args, **kwargs): |
| 274 | """GetFontFixed() -> int""" |
| 275 | return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) |
| 276 | |
| 277 | def SetFontFixed(*args, **kwargs): |
| 278 | """SetFontFixed(int x)""" |
| 279 | return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) |
| 280 | |
| 281 | def GetAlign(*args, **kwargs): |
| 282 | """GetAlign() -> int""" |
| 283 | return _html.HtmlWinParser_GetAlign(*args, **kwargs) |
| 284 | |
| 285 | def SetAlign(*args, **kwargs): |
| 286 | """SetAlign(int a)""" |
| 287 | return _html.HtmlWinParser_SetAlign(*args, **kwargs) |
| 288 | |
| 289 | def GetLinkColor(*args, **kwargs): |
| 290 | """GetLinkColor() -> wxColour""" |
| 291 | return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) |
| 292 | |
| 293 | def SetLinkColor(*args, **kwargs): |
| 294 | """SetLinkColor(wxColour clr)""" |
| 295 | return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) |
| 296 | |
| 297 | def GetActualColor(*args, **kwargs): |
| 298 | """GetActualColor() -> wxColour""" |
| 299 | return _html.HtmlWinParser_GetActualColor(*args, **kwargs) |
| 300 | |
| 301 | def SetActualColor(*args, **kwargs): |
| 302 | """SetActualColor(wxColour clr)""" |
| 303 | return _html.HtmlWinParser_SetActualColor(*args, **kwargs) |
| 304 | |
| 305 | def SetLink(*args, **kwargs): |
| 306 | """SetLink(wxString link)""" |
| 307 | return _html.HtmlWinParser_SetLink(*args, **kwargs) |
| 308 | |
| 309 | def CreateCurrentFont(*args, **kwargs): |
| 310 | """CreateCurrentFont() -> wxFont""" |
| 311 | return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) |
| 312 | |
| 313 | def GetLink(*args, **kwargs): |
| 314 | """GetLink() -> HtmlLinkInfo""" |
| 315 | return _html.HtmlWinParser_GetLink(*args, **kwargs) |
| 316 | |
| 317 | |
| 318 | class HtmlWinParserPtr(HtmlWinParser): |
| 319 | def __init__(self, this): |
| 320 | self.this = this |
| 321 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 322 | self.__class__ = HtmlWinParser |
| 323 | _html.HtmlWinParser_swigregister(HtmlWinParserPtr) |
| 324 | |
| 325 | class HtmlTagHandler(core.Object): |
| 326 | """""" |
| 327 | def __repr__(self): |
| 328 | return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 329 | def __init__(self, *args, **kwargs): |
| 330 | """__init__() -> HtmlTagHandler""" |
| 331 | newobj = _html.new_HtmlTagHandler(*args, **kwargs) |
| 332 | self.this = newobj.this |
| 333 | self.thisown = 1 |
| 334 | del newobj.thisown |
| 335 | self._setCallbackInfo(self, HtmlTagHandler) |
| 336 | |
| 337 | def _setCallbackInfo(*args, **kwargs): |
| 338 | """_setCallbackInfo(PyObject self, PyObject _class)""" |
| 339 | return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) |
| 340 | |
| 341 | def SetParser(*args, **kwargs): |
| 342 | """SetParser(HtmlParser parser)""" |
| 343 | return _html.HtmlTagHandler_SetParser(*args, **kwargs) |
| 344 | |
| 345 | def GetParser(*args, **kwargs): |
| 346 | """GetParser() -> HtmlParser""" |
| 347 | return _html.HtmlTagHandler_GetParser(*args, **kwargs) |
| 348 | |
| 349 | def ParseInner(*args, **kwargs): |
| 350 | """ParseInner(HtmlTag tag)""" |
| 351 | return _html.HtmlTagHandler_ParseInner(*args, **kwargs) |
| 352 | |
| 353 | |
| 354 | class HtmlTagHandlerPtr(HtmlTagHandler): |
| 355 | def __init__(self, this): |
| 356 | self.this = this |
| 357 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 358 | self.__class__ = HtmlTagHandler |
| 359 | _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) |
| 360 | |
| 361 | class HtmlWinTagHandler(HtmlTagHandler): |
| 362 | """""" |
| 363 | def __repr__(self): |
| 364 | return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 365 | def __init__(self, *args, **kwargs): |
| 366 | """__init__() -> HtmlWinTagHandler""" |
| 367 | newobj = _html.new_HtmlWinTagHandler(*args, **kwargs) |
| 368 | self.this = newobj.this |
| 369 | self.thisown = 1 |
| 370 | del newobj.thisown |
| 371 | self._setCallbackInfo(self, HtmlWinTagHandler) |
| 372 | |
| 373 | def _setCallbackInfo(*args, **kwargs): |
| 374 | """_setCallbackInfo(PyObject self, PyObject _class)""" |
| 375 | return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) |
| 376 | |
| 377 | def SetParser(*args, **kwargs): |
| 378 | """SetParser(HtmlParser parser)""" |
| 379 | return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) |
| 380 | |
| 381 | def GetParser(*args, **kwargs): |
| 382 | """GetParser() -> HtmlWinParser""" |
| 383 | return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) |
| 384 | |
| 385 | def ParseInner(*args, **kwargs): |
| 386 | """ParseInner(HtmlTag tag)""" |
| 387 | return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) |
| 388 | |
| 389 | |
| 390 | class HtmlWinTagHandlerPtr(HtmlWinTagHandler): |
| 391 | def __init__(self, this): |
| 392 | self.this = this |
| 393 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 394 | self.__class__ = HtmlWinTagHandler |
| 395 | _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr) |
| 396 | |
| 397 | |
| 398 | def HtmlWinParser_AddTagHandler(*args, **kwargs): |
| 399 | """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)""" |
| 400 | return _html.HtmlWinParser_AddTagHandler(*args, **kwargs) |
| 401 | #--------------------------------------------------------------------------- |
| 402 | |
| 403 | class HtmlSelection(object): |
| 404 | """""" |
| 405 | def __repr__(self): |
| 406 | return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 407 | def __init__(self, *args, **kwargs): |
| 408 | """__init__() -> HtmlSelection""" |
| 409 | newobj = _html.new_HtmlSelection(*args, **kwargs) |
| 410 | self.this = newobj.this |
| 411 | self.thisown = 1 |
| 412 | del newobj.thisown |
| 413 | def __del__(self, destroy=_html.delete_HtmlSelection): |
| 414 | """__del__()""" |
| 415 | try: |
| 416 | if self.thisown: destroy(self) |
| 417 | except: pass |
| 418 | |
| 419 | def Set(*args, **kwargs): |
| 420 | """Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)""" |
| 421 | return _html.HtmlSelection_Set(*args, **kwargs) |
| 422 | |
| 423 | def SetCells(*args, **kwargs): |
| 424 | """SetCells(HtmlCell fromCell, HtmlCell toCell)""" |
| 425 | return _html.HtmlSelection_SetCells(*args, **kwargs) |
| 426 | |
| 427 | def GetFromCell(*args, **kwargs): |
| 428 | """GetFromCell() -> HtmlCell""" |
| 429 | return _html.HtmlSelection_GetFromCell(*args, **kwargs) |
| 430 | |
| 431 | def GetToCell(*args, **kwargs): |
| 432 | """GetToCell() -> HtmlCell""" |
| 433 | return _html.HtmlSelection_GetToCell(*args, **kwargs) |
| 434 | |
| 435 | def GetFromPos(*args, **kwargs): |
| 436 | """GetFromPos() -> Point""" |
| 437 | return _html.HtmlSelection_GetFromPos(*args, **kwargs) |
| 438 | |
| 439 | def GetToPos(*args, **kwargs): |
| 440 | """GetToPos() -> Point""" |
| 441 | return _html.HtmlSelection_GetToPos(*args, **kwargs) |
| 442 | |
| 443 | def GetFromPrivPos(*args, **kwargs): |
| 444 | """GetFromPrivPos() -> Point""" |
| 445 | return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) |
| 446 | |
| 447 | def GetToPrivPos(*args, **kwargs): |
| 448 | """GetToPrivPos() -> Point""" |
| 449 | return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) |
| 450 | |
| 451 | def SetFromPrivPos(*args, **kwargs): |
| 452 | """SetFromPrivPos(Point pos)""" |
| 453 | return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) |
| 454 | |
| 455 | def SetToPrivPos(*args, **kwargs): |
| 456 | """SetToPrivPos(Point pos)""" |
| 457 | return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) |
| 458 | |
| 459 | def ClearPrivPos(*args, **kwargs): |
| 460 | """ClearPrivPos()""" |
| 461 | return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) |
| 462 | |
| 463 | def IsEmpty(*args, **kwargs): |
| 464 | """IsEmpty() -> bool""" |
| 465 | return _html.HtmlSelection_IsEmpty(*args, **kwargs) |
| 466 | |
| 467 | |
| 468 | class HtmlSelectionPtr(HtmlSelection): |
| 469 | def __init__(self, this): |
| 470 | self.this = this |
| 471 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 472 | self.__class__ = HtmlSelection |
| 473 | _html.HtmlSelection_swigregister(HtmlSelectionPtr) |
| 474 | |
| 475 | HTML_SEL_OUT = _html.HTML_SEL_OUT |
| 476 | HTML_SEL_IN = _html.HTML_SEL_IN |
| 477 | HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING |
| 478 | class HtmlRenderingState(object): |
| 479 | """""" |
| 480 | def __repr__(self): |
| 481 | return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 482 | def __init__(self, *args, **kwargs): |
| 483 | """__init__() -> HtmlRenderingState""" |
| 484 | newobj = _html.new_HtmlRenderingState(*args, **kwargs) |
| 485 | self.this = newobj.this |
| 486 | self.thisown = 1 |
| 487 | del newobj.thisown |
| 488 | def __del__(self, destroy=_html.delete_HtmlRenderingState): |
| 489 | """__del__()""" |
| 490 | try: |
| 491 | if self.thisown: destroy(self) |
| 492 | except: pass |
| 493 | |
| 494 | def SetSelectionState(*args, **kwargs): |
| 495 | """SetSelectionState(wxHtmlSelectionState s)""" |
| 496 | return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) |
| 497 | |
| 498 | def GetSelectionState(*args, **kwargs): |
| 499 | """GetSelectionState() -> wxHtmlSelectionState""" |
| 500 | return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) |
| 501 | |
| 502 | def SetFgColour(*args, **kwargs): |
| 503 | """SetFgColour(wxColour c)""" |
| 504 | return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) |
| 505 | |
| 506 | def GetFgColour(*args, **kwargs): |
| 507 | """GetFgColour() -> wxColour""" |
| 508 | return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) |
| 509 | |
| 510 | def SetBgColour(*args, **kwargs): |
| 511 | """SetBgColour(wxColour c)""" |
| 512 | return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) |
| 513 | |
| 514 | def GetBgColour(*args, **kwargs): |
| 515 | """GetBgColour() -> wxColour""" |
| 516 | return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) |
| 517 | |
| 518 | |
| 519 | class HtmlRenderingStatePtr(HtmlRenderingState): |
| 520 | def __init__(self, this): |
| 521 | self.this = this |
| 522 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 523 | self.__class__ = HtmlRenderingState |
| 524 | _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) |
| 525 | |
| 526 | class HtmlRenderingStyle(object): |
| 527 | """""" |
| 528 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 529 | def __repr__(self): |
| 530 | return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 531 | def GetSelectedTextColour(*args, **kwargs): |
| 532 | """GetSelectedTextColour(wxColour clr) -> wxColour""" |
| 533 | return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) |
| 534 | |
| 535 | def GetSelectedTextBgColour(*args, **kwargs): |
| 536 | """GetSelectedTextBgColour(wxColour clr) -> wxColour""" |
| 537 | return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) |
| 538 | |
| 539 | |
| 540 | class HtmlRenderingStylePtr(HtmlRenderingStyle): |
| 541 | def __init__(self, this): |
| 542 | self.this = this |
| 543 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 544 | self.__class__ = HtmlRenderingStyle |
| 545 | _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) |
| 546 | |
| 547 | class DefaultHtmlRenderingStyle(HtmlRenderingStyle): |
| 548 | """""" |
| 549 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 550 | def __repr__(self): |
| 551 | return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 552 | def GetSelectedTextColour(*args, **kwargs): |
| 553 | """GetSelectedTextColour(wxColour clr) -> wxColour""" |
| 554 | return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) |
| 555 | |
| 556 | def GetSelectedTextBgColour(*args, **kwargs): |
| 557 | """GetSelectedTextBgColour(wxColour clr) -> wxColour""" |
| 558 | return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) |
| 559 | |
| 560 | |
| 561 | class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): |
| 562 | def __init__(self, this): |
| 563 | self.this = this |
| 564 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 565 | self.__class__ = DefaultHtmlRenderingStyle |
| 566 | _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) |
| 567 | |
| 568 | class HtmlRenderingInfo(object): |
| 569 | """""" |
| 570 | def __repr__(self): |
| 571 | return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 572 | def __init__(self, *args, **kwargs): |
| 573 | """__init__() -> HtmlRenderingInfo""" |
| 574 | newobj = _html.new_HtmlRenderingInfo(*args, **kwargs) |
| 575 | self.this = newobj.this |
| 576 | self.thisown = 1 |
| 577 | del newobj.thisown |
| 578 | def __del__(self, destroy=_html.delete_HtmlRenderingInfo): |
| 579 | """__del__()""" |
| 580 | try: |
| 581 | if self.thisown: destroy(self) |
| 582 | except: pass |
| 583 | |
| 584 | def SetSelection(*args, **kwargs): |
| 585 | """SetSelection(HtmlSelection s)""" |
| 586 | return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) |
| 587 | |
| 588 | def GetSelection(*args, **kwargs): |
| 589 | """GetSelection() -> HtmlSelection""" |
| 590 | return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) |
| 591 | |
| 592 | def SetStyle(*args, **kwargs): |
| 593 | """SetStyle(HtmlRenderingStyle style)""" |
| 594 | return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) |
| 595 | |
| 596 | def GetStyle(*args, **kwargs): |
| 597 | """GetStyle() -> HtmlRenderingStyle""" |
| 598 | return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) |
| 599 | |
| 600 | def GetState(*args, **kwargs): |
| 601 | """GetState() -> HtmlRenderingState""" |
| 602 | return _html.HtmlRenderingInfo_GetState(*args, **kwargs) |
| 603 | |
| 604 | |
| 605 | class HtmlRenderingInfoPtr(HtmlRenderingInfo): |
| 606 | def __init__(self, this): |
| 607 | self.this = this |
| 608 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 609 | self.__class__ = HtmlRenderingInfo |
| 610 | _html.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr) |
| 611 | |
| 612 | #--------------------------------------------------------------------------- |
| 613 | |
| 614 | HTML_FIND_EXACT = _html.HTML_FIND_EXACT |
| 615 | HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE |
| 616 | HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER |
| 617 | class HtmlCell(core.Object): |
| 618 | """""" |
| 619 | def __repr__(self): |
| 620 | return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 621 | def __init__(self, *args, **kwargs): |
| 622 | """__init__() -> HtmlCell""" |
| 623 | newobj = _html.new_HtmlCell(*args, **kwargs) |
| 624 | self.this = newobj.this |
| 625 | self.thisown = 1 |
| 626 | del newobj.thisown |
| 627 | def GetPosX(*args, **kwargs): |
| 628 | """GetPosX() -> int""" |
| 629 | return _html.HtmlCell_GetPosX(*args, **kwargs) |
| 630 | |
| 631 | def GetPosY(*args, **kwargs): |
| 632 | """GetPosY() -> int""" |
| 633 | return _html.HtmlCell_GetPosY(*args, **kwargs) |
| 634 | |
| 635 | def GetWidth(*args, **kwargs): |
| 636 | """GetWidth() -> int""" |
| 637 | return _html.HtmlCell_GetWidth(*args, **kwargs) |
| 638 | |
| 639 | def GetHeight(*args, **kwargs): |
| 640 | """GetHeight() -> int""" |
| 641 | return _html.HtmlCell_GetHeight(*args, **kwargs) |
| 642 | |
| 643 | def GetDescent(*args, **kwargs): |
| 644 | """GetDescent() -> int""" |
| 645 | return _html.HtmlCell_GetDescent(*args, **kwargs) |
| 646 | |
| 647 | def GetLink(*args, **kwargs): |
| 648 | """GetLink(int x=0, int y=0) -> HtmlLinkInfo""" |
| 649 | return _html.HtmlCell_GetLink(*args, **kwargs) |
| 650 | |
| 651 | def GetNext(*args, **kwargs): |
| 652 | """GetNext() -> HtmlCell""" |
| 653 | return _html.HtmlCell_GetNext(*args, **kwargs) |
| 654 | |
| 655 | def GetParent(*args, **kwargs): |
| 656 | """GetParent() -> HtmlContainerCell""" |
| 657 | return _html.HtmlCell_GetParent(*args, **kwargs) |
| 658 | |
| 659 | def GetFirstChild(*args, **kwargs): |
| 660 | """GetFirstChild() -> HtmlCell""" |
| 661 | return _html.HtmlCell_GetFirstChild(*args, **kwargs) |
| 662 | |
| 663 | def GetCursor(*args, **kwargs): |
| 664 | """GetCursor() -> wxCursor""" |
| 665 | return _html.HtmlCell_GetCursor(*args, **kwargs) |
| 666 | |
| 667 | def IsFormattingCell(*args, **kwargs): |
| 668 | """IsFormattingCell() -> bool""" |
| 669 | return _html.HtmlCell_IsFormattingCell(*args, **kwargs) |
| 670 | |
| 671 | def SetLink(*args, **kwargs): |
| 672 | """SetLink(HtmlLinkInfo link)""" |
| 673 | return _html.HtmlCell_SetLink(*args, **kwargs) |
| 674 | |
| 675 | def SetNext(*args, **kwargs): |
| 676 | """SetNext(HtmlCell cell)""" |
| 677 | return _html.HtmlCell_SetNext(*args, **kwargs) |
| 678 | |
| 679 | def SetParent(*args, **kwargs): |
| 680 | """SetParent(HtmlContainerCell p)""" |
| 681 | return _html.HtmlCell_SetParent(*args, **kwargs) |
| 682 | |
| 683 | def SetPos(*args, **kwargs): |
| 684 | """SetPos(int x, int y)""" |
| 685 | return _html.HtmlCell_SetPos(*args, **kwargs) |
| 686 | |
| 687 | def Layout(*args, **kwargs): |
| 688 | """Layout(int w)""" |
| 689 | return _html.HtmlCell_Layout(*args, **kwargs) |
| 690 | |
| 691 | def Draw(*args, **kwargs): |
| 692 | """Draw(wxDC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)""" |
| 693 | return _html.HtmlCell_Draw(*args, **kwargs) |
| 694 | |
| 695 | def DrawInvisible(*args, **kwargs): |
| 696 | """DrawInvisible(wxDC dc, int x, int y, HtmlRenderingInfo info)""" |
| 697 | return _html.HtmlCell_DrawInvisible(*args, **kwargs) |
| 698 | |
| 699 | def Find(*args, **kwargs): |
| 700 | """Find(int condition, void param) -> HtmlCell""" |
| 701 | return _html.HtmlCell_Find(*args, **kwargs) |
| 702 | |
| 703 | def AdjustPagebreak(*args, **kwargs): |
| 704 | """AdjustPagebreak(int INOUT) -> bool""" |
| 705 | return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) |
| 706 | |
| 707 | def SetCanLiveOnPagebreak(*args, **kwargs): |
| 708 | """SetCanLiveOnPagebreak(bool can)""" |
| 709 | return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) |
| 710 | |
| 711 | def IsLinebreakAllowed(*args, **kwargs): |
| 712 | """IsLinebreakAllowed() -> bool""" |
| 713 | return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) |
| 714 | |
| 715 | def IsTerminalCell(*args, **kwargs): |
| 716 | """IsTerminalCell() -> bool""" |
| 717 | return _html.HtmlCell_IsTerminalCell(*args, **kwargs) |
| 718 | |
| 719 | def FindCellByPos(*args, **kwargs): |
| 720 | """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell""" |
| 721 | return _html.HtmlCell_FindCellByPos(*args, **kwargs) |
| 722 | |
| 723 | def GetAbsPos(*args, **kwargs): |
| 724 | """GetAbsPos() -> Point""" |
| 725 | return _html.HtmlCell_GetAbsPos(*args, **kwargs) |
| 726 | |
| 727 | def GetFirstTerminal(*args, **kwargs): |
| 728 | """GetFirstTerminal() -> HtmlCell""" |
| 729 | return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) |
| 730 | |
| 731 | def GetLastTerminal(*args, **kwargs): |
| 732 | """GetLastTerminal() -> HtmlCell""" |
| 733 | return _html.HtmlCell_GetLastTerminal(*args, **kwargs) |
| 734 | |
| 735 | def GetDepth(*args, **kwargs): |
| 736 | """GetDepth() -> unsigned int""" |
| 737 | return _html.HtmlCell_GetDepth(*args, **kwargs) |
| 738 | |
| 739 | def IsBefore(*args, **kwargs): |
| 740 | """IsBefore(HtmlCell cell) -> bool""" |
| 741 | return _html.HtmlCell_IsBefore(*args, **kwargs) |
| 742 | |
| 743 | def ConvertToText(*args, **kwargs): |
| 744 | """ConvertToText(HtmlSelection sel) -> wxString""" |
| 745 | return _html.HtmlCell_ConvertToText(*args, **kwargs) |
| 746 | |
| 747 | |
| 748 | class HtmlCellPtr(HtmlCell): |
| 749 | def __init__(self, this): |
| 750 | self.this = this |
| 751 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 752 | self.__class__ = HtmlCell |
| 753 | _html.HtmlCell_swigregister(HtmlCellPtr) |
| 754 | |
| 755 | class HtmlWordCell(HtmlCell): |
| 756 | """""" |
| 757 | def __repr__(self): |
| 758 | return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 759 | def __init__(self, *args, **kwargs): |
| 760 | """__init__(wxString word, wxDC dc) -> HtmlWordCell""" |
| 761 | newobj = _html.new_HtmlWordCell(*args, **kwargs) |
| 762 | self.this = newobj.this |
| 763 | self.thisown = 1 |
| 764 | del newobj.thisown |
| 765 | |
| 766 | class HtmlWordCellPtr(HtmlWordCell): |
| 767 | def __init__(self, this): |
| 768 | self.this = this |
| 769 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 770 | self.__class__ = HtmlWordCell |
| 771 | _html.HtmlWordCell_swigregister(HtmlWordCellPtr) |
| 772 | |
| 773 | class HtmlContainerCell(HtmlCell): |
| 774 | """""" |
| 775 | def __repr__(self): |
| 776 | return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 777 | def __init__(self, *args, **kwargs): |
| 778 | """__init__(HtmlContainerCell parent) -> HtmlContainerCell""" |
| 779 | newobj = _html.new_HtmlContainerCell(*args, **kwargs) |
| 780 | self.this = newobj.this |
| 781 | self.thisown = 1 |
| 782 | del newobj.thisown |
| 783 | def InsertCell(*args, **kwargs): |
| 784 | """InsertCell(HtmlCell cell)""" |
| 785 | return _html.HtmlContainerCell_InsertCell(*args, **kwargs) |
| 786 | |
| 787 | def SetAlignHor(*args, **kwargs): |
| 788 | """SetAlignHor(int al)""" |
| 789 | return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) |
| 790 | |
| 791 | def GetAlignHor(*args, **kwargs): |
| 792 | """GetAlignHor() -> int""" |
| 793 | return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) |
| 794 | |
| 795 | def SetAlignVer(*args, **kwargs): |
| 796 | """SetAlignVer(int al)""" |
| 797 | return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) |
| 798 | |
| 799 | def GetAlignVer(*args, **kwargs): |
| 800 | """GetAlignVer() -> int""" |
| 801 | return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) |
| 802 | |
| 803 | def SetIndent(*args, **kwargs): |
| 804 | """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)""" |
| 805 | return _html.HtmlContainerCell_SetIndent(*args, **kwargs) |
| 806 | |
| 807 | def GetIndent(*args, **kwargs): |
| 808 | """GetIndent(int ind) -> int""" |
| 809 | return _html.HtmlContainerCell_GetIndent(*args, **kwargs) |
| 810 | |
| 811 | def GetIndentUnits(*args, **kwargs): |
| 812 | """GetIndentUnits(int ind) -> int""" |
| 813 | return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) |
| 814 | |
| 815 | def SetAlign(*args, **kwargs): |
| 816 | """SetAlign(HtmlTag tag)""" |
| 817 | return _html.HtmlContainerCell_SetAlign(*args, **kwargs) |
| 818 | |
| 819 | def SetWidthFloat(*args, **kwargs): |
| 820 | """SetWidthFloat(int w, int units)""" |
| 821 | return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) |
| 822 | |
| 823 | def SetWidthFloatFromTag(*args, **kwargs): |
| 824 | """SetWidthFloatFromTag(HtmlTag tag)""" |
| 825 | return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) |
| 826 | |
| 827 | def SetMinHeight(*args, **kwargs): |
| 828 | """SetMinHeight(int h, int align=HTML_ALIGN_TOP)""" |
| 829 | return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) |
| 830 | |
| 831 | def SetBackgroundColour(*args, **kwargs): |
| 832 | """SetBackgroundColour(wxColour clr)""" |
| 833 | return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) |
| 834 | |
| 835 | def GetBackgroundColour(*args, **kwargs): |
| 836 | """GetBackgroundColour() -> wxColour""" |
| 837 | return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) |
| 838 | |
| 839 | def SetBorder(*args, **kwargs): |
| 840 | """SetBorder(wxColour clr1, wxColour clr2)""" |
| 841 | return _html.HtmlContainerCell_SetBorder(*args, **kwargs) |
| 842 | |
| 843 | def GetFirstChild(*args, **kwargs): |
| 844 | """GetFirstChild() -> HtmlCell""" |
| 845 | return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) |
| 846 | |
| 847 | |
| 848 | class HtmlContainerCellPtr(HtmlContainerCell): |
| 849 | def __init__(self, this): |
| 850 | self.this = this |
| 851 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 852 | self.__class__ = HtmlContainerCell |
| 853 | _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) |
| 854 | |
| 855 | class HtmlColourCell(HtmlCell): |
| 856 | """""" |
| 857 | def __repr__(self): |
| 858 | return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 859 | def __init__(self, *args, **kwargs): |
| 860 | """__init__(wxColour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell""" |
| 861 | newobj = _html.new_HtmlColourCell(*args, **kwargs) |
| 862 | self.this = newobj.this |
| 863 | self.thisown = 1 |
| 864 | del newobj.thisown |
| 865 | |
| 866 | class HtmlColourCellPtr(HtmlColourCell): |
| 867 | def __init__(self, this): |
| 868 | self.this = this |
| 869 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 870 | self.__class__ = HtmlColourCell |
| 871 | _html.HtmlColourCell_swigregister(HtmlColourCellPtr) |
| 872 | |
| 873 | class HtmlFontCell(HtmlCell): |
| 874 | """""" |
| 875 | def __repr__(self): |
| 876 | return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 877 | def __init__(self, *args, **kwargs): |
| 878 | """__init__(wxFont font) -> HtmlFontCell""" |
| 879 | newobj = _html.new_HtmlFontCell(*args, **kwargs) |
| 880 | self.this = newobj.this |
| 881 | self.thisown = 1 |
| 882 | del newobj.thisown |
| 883 | |
| 884 | class HtmlFontCellPtr(HtmlFontCell): |
| 885 | def __init__(self, this): |
| 886 | self.this = this |
| 887 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 888 | self.__class__ = HtmlFontCell |
| 889 | _html.HtmlFontCell_swigregister(HtmlFontCellPtr) |
| 890 | |
| 891 | class HtmlWidgetCell(HtmlCell): |
| 892 | """""" |
| 893 | def __repr__(self): |
| 894 | return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 895 | def __init__(self, *args, **kwargs): |
| 896 | """__init__(Window wnd, int w=0) -> HtmlWidgetCell""" |
| 897 | newobj = _html.new_HtmlWidgetCell(*args, **kwargs) |
| 898 | self.this = newobj.this |
| 899 | self.thisown = 1 |
| 900 | del newobj.thisown |
| 901 | |
| 902 | class HtmlWidgetCellPtr(HtmlWidgetCell): |
| 903 | def __init__(self, this): |
| 904 | self.this = this |
| 905 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 906 | self.__class__ = HtmlWidgetCell |
| 907 | _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) |
| 908 | |
| 909 | #--------------------------------------------------------------------------- |
| 910 | |
| 911 | class HtmlFilter(core.Object): |
| 912 | """""" |
| 913 | def __repr__(self): |
| 914 | return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 915 | def __init__(self, *args, **kwargs): |
| 916 | """__init__() -> HtmlFilter""" |
| 917 | newobj = _html.new_HtmlFilter(*args, **kwargs) |
| 918 | self.this = newobj.this |
| 919 | self.thisown = 1 |
| 920 | del newobj.thisown |
| 921 | self._setCallbackInfo(self, HtmlFilter) |
| 922 | |
| 923 | def _setCallbackInfo(*args, **kwargs): |
| 924 | """_setCallbackInfo(PyObject self, PyObject _class)""" |
| 925 | return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) |
| 926 | |
| 927 | |
| 928 | class HtmlFilterPtr(HtmlFilter): |
| 929 | def __init__(self, this): |
| 930 | self.this = this |
| 931 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 932 | self.__class__ = HtmlFilter |
| 933 | _html.HtmlFilter_swigregister(HtmlFilterPtr) |
| 934 | |
| 935 | #--------------------------------------------------------------------------- |
| 936 | |
| 937 | class HtmlWindow(windows.ScrolledWindow): |
| 938 | """""" |
| 939 | def __repr__(self): |
| 940 | return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 941 | def __init__(self, *args, **kwargs): |
| 942 | """__init__(Window parent, int id=-1, Point pos=DefaultPosition, |
| 943 | Size size=DefaultSize, int style=HW_DEFAULT_STYLE, |
| 944 | wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" |
| 945 | newobj = _html.new_HtmlWindow(*args, **kwargs) |
| 946 | self.this = newobj.this |
| 947 | self.thisown = 1 |
| 948 | del newobj.thisown |
| 949 | self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) |
| 950 | |
| 951 | def Create(*args, **kwargs): |
| 952 | """Create(Window parent, int id=-1, Point pos=DefaultPosition, |
| 953 | Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, |
| 954 | wxString name=wxPyHtmlWindowNameStr) -> bool""" |
| 955 | return _html.HtmlWindow_Create(*args, **kwargs) |
| 956 | |
| 957 | def _setCallbackInfo(*args, **kwargs): |
| 958 | """_setCallbackInfo(PyObject self, PyObject _class)""" |
| 959 | return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) |
| 960 | |
| 961 | def SetPage(*args, **kwargs): |
| 962 | """SetPage(wxString source) -> bool""" |
| 963 | return _html.HtmlWindow_SetPage(*args, **kwargs) |
| 964 | |
| 965 | def LoadPage(*args, **kwargs): |
| 966 | """LoadPage(wxString location) -> bool""" |
| 967 | return _html.HtmlWindow_LoadPage(*args, **kwargs) |
| 968 | |
| 969 | def LoadFile(*args, **kwargs): |
| 970 | """LoadFile(wxString filename) -> bool""" |
| 971 | return _html.HtmlWindow_LoadFile(*args, **kwargs) |
| 972 | |
| 973 | def AppendToPage(*args, **kwargs): |
| 974 | """AppendToPage(wxString source) -> bool""" |
| 975 | return _html.HtmlWindow_AppendToPage(*args, **kwargs) |
| 976 | |
| 977 | def GetOpenedPage(*args, **kwargs): |
| 978 | """GetOpenedPage() -> wxString""" |
| 979 | return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) |
| 980 | |
| 981 | def GetOpenedAnchor(*args, **kwargs): |
| 982 | """GetOpenedAnchor() -> wxString""" |
| 983 | return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) |
| 984 | |
| 985 | def GetOpenedPageTitle(*args, **kwargs): |
| 986 | """GetOpenedPageTitle() -> wxString""" |
| 987 | return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) |
| 988 | |
| 989 | def SetRelatedFrame(*args, **kwargs): |
| 990 | """SetRelatedFrame(Frame frame, wxString format)""" |
| 991 | return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) |
| 992 | |
| 993 | def GetRelatedFrame(*args, **kwargs): |
| 994 | """GetRelatedFrame() -> Frame""" |
| 995 | return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) |
| 996 | |
| 997 | def SetRelatedStatusBar(*args, **kwargs): |
| 998 | """SetRelatedStatusBar(int bar)""" |
| 999 | return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) |
| 1000 | |
| 1001 | def SetFonts(*args, **kwargs): |
| 1002 | """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" |
| 1003 | return _html.HtmlWindow_SetFonts(*args, **kwargs) |
| 1004 | |
| 1005 | def SetTitle(*args, **kwargs): |
| 1006 | """SetTitle(wxString title)""" |
| 1007 | return _html.HtmlWindow_SetTitle(*args, **kwargs) |
| 1008 | |
| 1009 | def SetBorders(*args, **kwargs): |
| 1010 | """SetBorders(int b)""" |
| 1011 | return _html.HtmlWindow_SetBorders(*args, **kwargs) |
| 1012 | |
| 1013 | def ReadCustomization(*args, **kwargs): |
| 1014 | """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1015 | return _html.HtmlWindow_ReadCustomization(*args, **kwargs) |
| 1016 | |
| 1017 | def WriteCustomization(*args, **kwargs): |
| 1018 | """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1019 | return _html.HtmlWindow_WriteCustomization(*args, **kwargs) |
| 1020 | |
| 1021 | def HistoryBack(*args, **kwargs): |
| 1022 | """HistoryBack() -> bool""" |
| 1023 | return _html.HtmlWindow_HistoryBack(*args, **kwargs) |
| 1024 | |
| 1025 | def HistoryForward(*args, **kwargs): |
| 1026 | """HistoryForward() -> bool""" |
| 1027 | return _html.HtmlWindow_HistoryForward(*args, **kwargs) |
| 1028 | |
| 1029 | def HistoryCanBack(*args, **kwargs): |
| 1030 | """HistoryCanBack() -> bool""" |
| 1031 | return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) |
| 1032 | |
| 1033 | def HistoryCanForward(*args, **kwargs): |
| 1034 | """HistoryCanForward() -> bool""" |
| 1035 | return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) |
| 1036 | |
| 1037 | def HistoryClear(*args, **kwargs): |
| 1038 | """HistoryClear()""" |
| 1039 | return _html.HtmlWindow_HistoryClear(*args, **kwargs) |
| 1040 | |
| 1041 | def GetInternalRepresentation(*args, **kwargs): |
| 1042 | """GetInternalRepresentation() -> HtmlContainerCell""" |
| 1043 | return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) |
| 1044 | |
| 1045 | def GetParser(*args, **kwargs): |
| 1046 | """GetParser() -> HtmlWinParser""" |
| 1047 | return _html.HtmlWindow_GetParser(*args, **kwargs) |
| 1048 | |
| 1049 | def ScrollToAnchor(*args, **kwargs): |
| 1050 | """ScrollToAnchor(wxString anchor) -> bool""" |
| 1051 | return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) |
| 1052 | |
| 1053 | def HasAnchor(*args, **kwargs): |
| 1054 | """HasAnchor(wxString anchor) -> bool""" |
| 1055 | return _html.HtmlWindow_HasAnchor(*args, **kwargs) |
| 1056 | |
| 1057 | def AddFilter(*args, **kwargs): |
| 1058 | """HtmlWindow.AddFilter(HtmlFilter filter)""" |
| 1059 | return _html.HtmlWindow_AddFilter(*args, **kwargs) |
| 1060 | |
| 1061 | AddFilter = staticmethod(AddFilter) |
| 1062 | def base_OnLinkClicked(*args, **kwargs): |
| 1063 | """base_OnLinkClicked(HtmlLinkInfo link)""" |
| 1064 | return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) |
| 1065 | |
| 1066 | def base_OnSetTitle(*args, **kwargs): |
| 1067 | """base_OnSetTitle(wxString title)""" |
| 1068 | return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) |
| 1069 | |
| 1070 | def base_OnCellMouseHover(*args, **kwargs): |
| 1071 | """base_OnCellMouseHover(HtmlCell cell, int x, int y)""" |
| 1072 | return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) |
| 1073 | |
| 1074 | def base_OnCellClicked(*args, **kwargs): |
| 1075 | """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)""" |
| 1076 | return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) |
| 1077 | |
| 1078 | |
| 1079 | class HtmlWindowPtr(HtmlWindow): |
| 1080 | def __init__(self, this): |
| 1081 | self.this = this |
| 1082 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1083 | self.__class__ = HtmlWindow |
| 1084 | _html.HtmlWindow_swigregister(HtmlWindowPtr) |
| 1085 | |
| 1086 | def PreHtmlWindow(*args, **kwargs): |
| 1087 | """PreHtmlWindow() -> HtmlWindow""" |
| 1088 | val = _html.new_PreHtmlWindow(*args, **kwargs) |
| 1089 | val.thisown = 1 |
| 1090 | return val |
| 1091 | |
| 1092 | def HtmlWindow_AddFilter(*args, **kwargs): |
| 1093 | """HtmlWindow_AddFilter(HtmlFilter filter)""" |
| 1094 | return _html.HtmlWindow_AddFilter(*args, **kwargs) |
| 1095 | |
| 1096 | #--------------------------------------------------------------------------- |
| 1097 | |
| 1098 | class HtmlDCRenderer(core.Object): |
| 1099 | """""" |
| 1100 | def __repr__(self): |
| 1101 | return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1102 | def __init__(self, *args, **kwargs): |
| 1103 | """__init__() -> HtmlDCRenderer""" |
| 1104 | newobj = _html.new_HtmlDCRenderer(*args, **kwargs) |
| 1105 | self.this = newobj.this |
| 1106 | self.thisown = 1 |
| 1107 | del newobj.thisown |
| 1108 | def __del__(self, destroy=_html.delete_HtmlDCRenderer): |
| 1109 | """__del__()""" |
| 1110 | try: |
| 1111 | if self.thisown: destroy(self) |
| 1112 | except: pass |
| 1113 | |
| 1114 | def SetDC(*args, **kwargs): |
| 1115 | """SetDC(wxDC dc, int maxwidth)""" |
| 1116 | return _html.HtmlDCRenderer_SetDC(*args, **kwargs) |
| 1117 | |
| 1118 | def SetSize(*args, **kwargs): |
| 1119 | """SetSize(int width, int height)""" |
| 1120 | return _html.HtmlDCRenderer_SetSize(*args, **kwargs) |
| 1121 | |
| 1122 | def SetHtmlText(*args, **kwargs): |
| 1123 | """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" |
| 1124 | return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) |
| 1125 | |
| 1126 | def SetFonts(*args, **kwargs): |
| 1127 | """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" |
| 1128 | return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) |
| 1129 | |
| 1130 | def Render(*args, **kwargs): |
| 1131 | """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, |
| 1132 | int choices=None, int LCOUNT=0) -> int""" |
| 1133 | return _html.HtmlDCRenderer_Render(*args, **kwargs) |
| 1134 | |
| 1135 | def GetTotalHeight(*args, **kwargs): |
| 1136 | """GetTotalHeight() -> int""" |
| 1137 | return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) |
| 1138 | |
| 1139 | |
| 1140 | class HtmlDCRendererPtr(HtmlDCRenderer): |
| 1141 | def __init__(self, this): |
| 1142 | self.this = this |
| 1143 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1144 | self.__class__ = HtmlDCRenderer |
| 1145 | _html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr) |
| 1146 | |
| 1147 | PAGE_ODD = _html.PAGE_ODD |
| 1148 | PAGE_EVEN = _html.PAGE_EVEN |
| 1149 | PAGE_ALL = _html.PAGE_ALL |
| 1150 | class HtmlPrintout(windows.Printout): |
| 1151 | """""" |
| 1152 | def __repr__(self): |
| 1153 | return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1154 | def __init__(self, *args, **kwargs): |
| 1155 | """__init__(wxString title=wxPyHtmlPrintoutTitleStr) -> HtmlPrintout""" |
| 1156 | newobj = _html.new_HtmlPrintout(*args, **kwargs) |
| 1157 | self.this = newobj.this |
| 1158 | self.thisown = 1 |
| 1159 | del newobj.thisown |
| 1160 | def SetHtmlText(*args, **kwargs): |
| 1161 | """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" |
| 1162 | return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) |
| 1163 | |
| 1164 | def SetHtmlFile(*args, **kwargs): |
| 1165 | """SetHtmlFile(wxString htmlfile)""" |
| 1166 | return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) |
| 1167 | |
| 1168 | def SetHeader(*args, **kwargs): |
| 1169 | """SetHeader(wxString header, int pg=PAGE_ALL)""" |
| 1170 | return _html.HtmlPrintout_SetHeader(*args, **kwargs) |
| 1171 | |
| 1172 | def SetFooter(*args, **kwargs): |
| 1173 | """SetFooter(wxString footer, int pg=PAGE_ALL)""" |
| 1174 | return _html.HtmlPrintout_SetFooter(*args, **kwargs) |
| 1175 | |
| 1176 | def SetFonts(*args, **kwargs): |
| 1177 | """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" |
| 1178 | return _html.HtmlPrintout_SetFonts(*args, **kwargs) |
| 1179 | |
| 1180 | def SetMargins(*args, **kwargs): |
| 1181 | """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, |
| 1182 | float right=25.2, float spaces=5)""" |
| 1183 | return _html.HtmlPrintout_SetMargins(*args, **kwargs) |
| 1184 | |
| 1185 | def AddFilter(*args, **kwargs): |
| 1186 | """HtmlPrintout.AddFilter(wxHtmlFilter filter)""" |
| 1187 | return _html.HtmlPrintout_AddFilter(*args, **kwargs) |
| 1188 | |
| 1189 | AddFilter = staticmethod(AddFilter) |
| 1190 | def CleanUpStatics(*args, **kwargs): |
| 1191 | """HtmlPrintout.CleanUpStatics()""" |
| 1192 | return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) |
| 1193 | |
| 1194 | CleanUpStatics = staticmethod(CleanUpStatics) |
| 1195 | |
| 1196 | class HtmlPrintoutPtr(HtmlPrintout): |
| 1197 | def __init__(self, this): |
| 1198 | self.this = this |
| 1199 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1200 | self.__class__ = HtmlPrintout |
| 1201 | _html.HtmlPrintout_swigregister(HtmlPrintoutPtr) |
| 1202 | |
| 1203 | def HtmlPrintout_AddFilter(*args, **kwargs): |
| 1204 | """HtmlPrintout_AddFilter(wxHtmlFilter filter)""" |
| 1205 | return _html.HtmlPrintout_AddFilter(*args, **kwargs) |
| 1206 | |
| 1207 | def HtmlPrintout_CleanUpStatics(*args, **kwargs): |
| 1208 | """HtmlPrintout_CleanUpStatics()""" |
| 1209 | return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) |
| 1210 | |
| 1211 | class HtmlEasyPrinting(core.Object): |
| 1212 | """""" |
| 1213 | def __repr__(self): |
| 1214 | return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1215 | def __init__(self, *args, **kwargs): |
| 1216 | """__init__(wxString name=wxPyHtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting""" |
| 1217 | newobj = _html.new_HtmlEasyPrinting(*args, **kwargs) |
| 1218 | self.this = newobj.this |
| 1219 | self.thisown = 1 |
| 1220 | del newobj.thisown |
| 1221 | def __del__(self, destroy=_html.delete_HtmlEasyPrinting): |
| 1222 | """__del__()""" |
| 1223 | try: |
| 1224 | if self.thisown: destroy(self) |
| 1225 | except: pass |
| 1226 | |
| 1227 | def PreviewFile(*args, **kwargs): |
| 1228 | """PreviewFile(wxString htmlfile)""" |
| 1229 | return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) |
| 1230 | |
| 1231 | def PreviewText(*args, **kwargs): |
| 1232 | """PreviewText(wxString htmltext, wxString basepath=wxPyEmptyString)""" |
| 1233 | return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) |
| 1234 | |
| 1235 | def PrintFile(*args, **kwargs): |
| 1236 | """PrintFile(wxString htmlfile)""" |
| 1237 | return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) |
| 1238 | |
| 1239 | def PrintText(*args, **kwargs): |
| 1240 | """PrintText(wxString htmltext, wxString basepath=wxPyEmptyString)""" |
| 1241 | return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) |
| 1242 | |
| 1243 | def PrinterSetup(*args, **kwargs): |
| 1244 | """PrinterSetup()""" |
| 1245 | return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) |
| 1246 | |
| 1247 | def PageSetup(*args, **kwargs): |
| 1248 | """PageSetup()""" |
| 1249 | return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) |
| 1250 | |
| 1251 | def SetHeader(*args, **kwargs): |
| 1252 | """SetHeader(wxString header, int pg=PAGE_ALL)""" |
| 1253 | return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) |
| 1254 | |
| 1255 | def SetFooter(*args, **kwargs): |
| 1256 | """SetFooter(wxString footer, int pg=PAGE_ALL)""" |
| 1257 | return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) |
| 1258 | |
| 1259 | def SetFonts(*args, **kwargs): |
| 1260 | """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" |
| 1261 | return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) |
| 1262 | |
| 1263 | def GetPrintData(*args, **kwargs): |
| 1264 | """GetPrintData() -> PrintData""" |
| 1265 | return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) |
| 1266 | |
| 1267 | def GetPageSetupData(*args, **kwargs): |
| 1268 | """GetPageSetupData() -> PageSetupDialogData""" |
| 1269 | return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) |
| 1270 | |
| 1271 | |
| 1272 | class HtmlEasyPrintingPtr(HtmlEasyPrinting): |
| 1273 | def __init__(self, this): |
| 1274 | self.this = this |
| 1275 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1276 | self.__class__ = HtmlEasyPrinting |
| 1277 | _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) |
| 1278 | |
| 1279 | #--------------------------------------------------------------------------- |
| 1280 | |
| 1281 | class HtmlBookRecord(object): |
| 1282 | """""" |
| 1283 | def __repr__(self): |
| 1284 | return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1285 | def __init__(self, *args, **kwargs): |
| 1286 | """__init__(wxString bookfile, wxString basepath, wxString title, |
| 1287 | wxString start) -> HtmlBookRecord""" |
| 1288 | newobj = _html.new_HtmlBookRecord(*args, **kwargs) |
| 1289 | self.this = newobj.this |
| 1290 | self.thisown = 1 |
| 1291 | del newobj.thisown |
| 1292 | def GetBookFile(*args, **kwargs): |
| 1293 | """GetBookFile() -> wxString""" |
| 1294 | return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) |
| 1295 | |
| 1296 | def GetTitle(*args, **kwargs): |
| 1297 | """GetTitle() -> wxString""" |
| 1298 | return _html.HtmlBookRecord_GetTitle(*args, **kwargs) |
| 1299 | |
| 1300 | def GetStart(*args, **kwargs): |
| 1301 | """GetStart() -> wxString""" |
| 1302 | return _html.HtmlBookRecord_GetStart(*args, **kwargs) |
| 1303 | |
| 1304 | def GetBasePath(*args, **kwargs): |
| 1305 | """GetBasePath() -> wxString""" |
| 1306 | return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) |
| 1307 | |
| 1308 | def SetContentsRange(*args, **kwargs): |
| 1309 | """SetContentsRange(int start, int end)""" |
| 1310 | return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) |
| 1311 | |
| 1312 | def GetContentsStart(*args, **kwargs): |
| 1313 | """GetContentsStart() -> int""" |
| 1314 | return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) |
| 1315 | |
| 1316 | def GetContentsEnd(*args, **kwargs): |
| 1317 | """GetContentsEnd() -> int""" |
| 1318 | return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) |
| 1319 | |
| 1320 | def SetTitle(*args, **kwargs): |
| 1321 | """SetTitle(wxString title)""" |
| 1322 | return _html.HtmlBookRecord_SetTitle(*args, **kwargs) |
| 1323 | |
| 1324 | def SetBasePath(*args, **kwargs): |
| 1325 | """SetBasePath(wxString path)""" |
| 1326 | return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) |
| 1327 | |
| 1328 | def SetStart(*args, **kwargs): |
| 1329 | """SetStart(wxString start)""" |
| 1330 | return _html.HtmlBookRecord_SetStart(*args, **kwargs) |
| 1331 | |
| 1332 | def GetFullPath(*args, **kwargs): |
| 1333 | """GetFullPath(wxString page) -> wxString""" |
| 1334 | return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) |
| 1335 | |
| 1336 | |
| 1337 | class HtmlBookRecordPtr(HtmlBookRecord): |
| 1338 | def __init__(self, this): |
| 1339 | self.this = this |
| 1340 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1341 | self.__class__ = HtmlBookRecord |
| 1342 | _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) |
| 1343 | |
| 1344 | class HtmlContentsItem(object): |
| 1345 | """""" |
| 1346 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 1347 | def __repr__(self): |
| 1348 | return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1349 | def GetLevel(*args, **kwargs): |
| 1350 | """GetLevel() -> int""" |
| 1351 | return _html.HtmlContentsItem_GetLevel(*args, **kwargs) |
| 1352 | |
| 1353 | def GetID(*args, **kwargs): |
| 1354 | """GetID() -> int""" |
| 1355 | return _html.HtmlContentsItem_GetID(*args, **kwargs) |
| 1356 | |
| 1357 | def GetName(*args, **kwargs): |
| 1358 | """GetName() -> wxString""" |
| 1359 | return _html.HtmlContentsItem_GetName(*args, **kwargs) |
| 1360 | |
| 1361 | def GetPage(*args, **kwargs): |
| 1362 | """GetPage() -> wxString""" |
| 1363 | return _html.HtmlContentsItem_GetPage(*args, **kwargs) |
| 1364 | |
| 1365 | def GetBook(*args, **kwargs): |
| 1366 | """GetBook() -> HtmlBookRecord""" |
| 1367 | return _html.HtmlContentsItem_GetBook(*args, **kwargs) |
| 1368 | |
| 1369 | |
| 1370 | class HtmlContentsItemPtr(HtmlContentsItem): |
| 1371 | def __init__(self, this): |
| 1372 | self.this = this |
| 1373 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1374 | self.__class__ = HtmlContentsItem |
| 1375 | _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) |
| 1376 | |
| 1377 | class HtmlSearchStatus(object): |
| 1378 | """""" |
| 1379 | def __init__(self): raise RuntimeError, "No constructor defined" |
| 1380 | def __repr__(self): |
| 1381 | return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1382 | def Search(*args, **kwargs): |
| 1383 | """Search() -> bool""" |
| 1384 | return _html.HtmlSearchStatus_Search(*args, **kwargs) |
| 1385 | |
| 1386 | def IsActive(*args, **kwargs): |
| 1387 | """IsActive() -> bool""" |
| 1388 | return _html.HtmlSearchStatus_IsActive(*args, **kwargs) |
| 1389 | |
| 1390 | def GetCurIndex(*args, **kwargs): |
| 1391 | """GetCurIndex() -> int""" |
| 1392 | return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) |
| 1393 | |
| 1394 | def GetMaxIndex(*args, **kwargs): |
| 1395 | """GetMaxIndex() -> int""" |
| 1396 | return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) |
| 1397 | |
| 1398 | def GetName(*args, **kwargs): |
| 1399 | """GetName() -> wxString""" |
| 1400 | return _html.HtmlSearchStatus_GetName(*args, **kwargs) |
| 1401 | |
| 1402 | def GetContentsItem(*args, **kwargs): |
| 1403 | """GetContentsItem() -> HtmlContentsItem""" |
| 1404 | return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) |
| 1405 | |
| 1406 | |
| 1407 | class HtmlSearchStatusPtr(HtmlSearchStatus): |
| 1408 | def __init__(self, this): |
| 1409 | self.this = this |
| 1410 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1411 | self.__class__ = HtmlSearchStatus |
| 1412 | _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) |
| 1413 | |
| 1414 | class HtmlHelpData(object): |
| 1415 | """""" |
| 1416 | def __repr__(self): |
| 1417 | return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1418 | def __init__(self, *args, **kwargs): |
| 1419 | """__init__() -> HtmlHelpData""" |
| 1420 | newobj = _html.new_HtmlHelpData(*args, **kwargs) |
| 1421 | self.this = newobj.this |
| 1422 | self.thisown = 1 |
| 1423 | del newobj.thisown |
| 1424 | def __del__(self, destroy=_html.delete_HtmlHelpData): |
| 1425 | """__del__()""" |
| 1426 | try: |
| 1427 | if self.thisown: destroy(self) |
| 1428 | except: pass |
| 1429 | |
| 1430 | def SetTempDir(*args, **kwargs): |
| 1431 | """SetTempDir(wxString path)""" |
| 1432 | return _html.HtmlHelpData_SetTempDir(*args, **kwargs) |
| 1433 | |
| 1434 | def AddBook(*args, **kwargs): |
| 1435 | """AddBook(wxString book) -> bool""" |
| 1436 | return _html.HtmlHelpData_AddBook(*args, **kwargs) |
| 1437 | |
| 1438 | def FindPageByName(*args, **kwargs): |
| 1439 | """FindPageByName(wxString page) -> wxString""" |
| 1440 | return _html.HtmlHelpData_FindPageByName(*args, **kwargs) |
| 1441 | |
| 1442 | def FindPageById(*args, **kwargs): |
| 1443 | """FindPageById(int id) -> wxString""" |
| 1444 | return _html.HtmlHelpData_FindPageById(*args, **kwargs) |
| 1445 | |
| 1446 | def GetBookRecArray(*args, **kwargs): |
| 1447 | """GetBookRecArray() -> wxHtmlBookRecArray""" |
| 1448 | return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) |
| 1449 | |
| 1450 | def GetContents(*args, **kwargs): |
| 1451 | """GetContents() -> HtmlContentsItem""" |
| 1452 | return _html.HtmlHelpData_GetContents(*args, **kwargs) |
| 1453 | |
| 1454 | def GetContentsCnt(*args, **kwargs): |
| 1455 | """GetContentsCnt() -> int""" |
| 1456 | return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) |
| 1457 | |
| 1458 | def GetIndex(*args, **kwargs): |
| 1459 | """GetIndex() -> HtmlContentsItem""" |
| 1460 | return _html.HtmlHelpData_GetIndex(*args, **kwargs) |
| 1461 | |
| 1462 | def GetIndexCnt(*args, **kwargs): |
| 1463 | """GetIndexCnt() -> int""" |
| 1464 | return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) |
| 1465 | |
| 1466 | |
| 1467 | class HtmlHelpDataPtr(HtmlHelpData): |
| 1468 | def __init__(self, this): |
| 1469 | self.this = this |
| 1470 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1471 | self.__class__ = HtmlHelpData |
| 1472 | _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) |
| 1473 | |
| 1474 | class HtmlHelpFrame(windows.Frame): |
| 1475 | """""" |
| 1476 | def __repr__(self): |
| 1477 | return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1478 | def __init__(self, *args, **kwargs): |
| 1479 | """__init__(Window parent, int ??, wxString title=wxPyEmptyString, |
| 1480 | int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" |
| 1481 | newobj = _html.new_HtmlHelpFrame(*args, **kwargs) |
| 1482 | self.this = newobj.this |
| 1483 | self.thisown = 1 |
| 1484 | del newobj.thisown |
| 1485 | self._setOORInfo(self) |
| 1486 | |
| 1487 | def GetData(*args, **kwargs): |
| 1488 | """GetData() -> HtmlHelpData""" |
| 1489 | return _html.HtmlHelpFrame_GetData(*args, **kwargs) |
| 1490 | |
| 1491 | def SetTitleFormat(*args, **kwargs): |
| 1492 | """SetTitleFormat(wxString format)""" |
| 1493 | return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) |
| 1494 | |
| 1495 | def Display(*args, **kwargs): |
| 1496 | """Display(wxString x)""" |
| 1497 | return _html.HtmlHelpFrame_Display(*args, **kwargs) |
| 1498 | |
| 1499 | def DisplayID(*args, **kwargs): |
| 1500 | """DisplayID(int id)""" |
| 1501 | return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) |
| 1502 | |
| 1503 | def DisplayContents(*args, **kwargs): |
| 1504 | """DisplayContents()""" |
| 1505 | return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) |
| 1506 | |
| 1507 | def DisplayIndex(*args, **kwargs): |
| 1508 | """DisplayIndex()""" |
| 1509 | return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) |
| 1510 | |
| 1511 | def KeywordSearch(*args, **kwargs): |
| 1512 | """KeywordSearch(wxString keyword) -> bool""" |
| 1513 | return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) |
| 1514 | |
| 1515 | def UseConfig(*args, **kwargs): |
| 1516 | """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" |
| 1517 | return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) |
| 1518 | |
| 1519 | def ReadCustomization(*args, **kwargs): |
| 1520 | """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1521 | return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) |
| 1522 | |
| 1523 | def WriteCustomization(*args, **kwargs): |
| 1524 | """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1525 | return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) |
| 1526 | |
| 1527 | |
| 1528 | class HtmlHelpFramePtr(HtmlHelpFrame): |
| 1529 | def __init__(self, this): |
| 1530 | self.this = this |
| 1531 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1532 | self.__class__ = HtmlHelpFrame |
| 1533 | _html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr) |
| 1534 | |
| 1535 | HF_TOOLBAR = _html.HF_TOOLBAR |
| 1536 | HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR |
| 1537 | HF_CONTENTS = _html.HF_CONTENTS |
| 1538 | HF_INDEX = _html.HF_INDEX |
| 1539 | HF_SEARCH = _html.HF_SEARCH |
| 1540 | HF_BOOKMARKS = _html.HF_BOOKMARKS |
| 1541 | HF_OPENFILES = _html.HF_OPENFILES |
| 1542 | HF_PRINT = _html.HF_PRINT |
| 1543 | HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE |
| 1544 | class HtmlHelpController(core.EvtHandler): |
| 1545 | """""" |
| 1546 | def __repr__(self): |
| 1547 | return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
| 1548 | def __init__(self, *args, **kwargs): |
| 1549 | """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController""" |
| 1550 | newobj = _html.new_HtmlHelpController(*args, **kwargs) |
| 1551 | self.this = newobj.this |
| 1552 | self.thisown = 1 |
| 1553 | del newobj.thisown |
| 1554 | self._setOORInfo(self) |
| 1555 | |
| 1556 | def __del__(self, destroy=_html.delete_HtmlHelpController): |
| 1557 | """__del__()""" |
| 1558 | try: |
| 1559 | if self.thisown: destroy(self) |
| 1560 | except: pass |
| 1561 | |
| 1562 | def SetTitleFormat(*args, **kwargs): |
| 1563 | """SetTitleFormat(wxString format)""" |
| 1564 | return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) |
| 1565 | |
| 1566 | def SetTempDir(*args, **kwargs): |
| 1567 | """SetTempDir(wxString path)""" |
| 1568 | return _html.HtmlHelpController_SetTempDir(*args, **kwargs) |
| 1569 | |
| 1570 | def AddBook(*args, **kwargs): |
| 1571 | """AddBook(wxString book, int show_wait_msg=False) -> bool""" |
| 1572 | return _html.HtmlHelpController_AddBook(*args, **kwargs) |
| 1573 | |
| 1574 | def Display(*args, **kwargs): |
| 1575 | """Display(wxString x)""" |
| 1576 | return _html.HtmlHelpController_Display(*args, **kwargs) |
| 1577 | |
| 1578 | def DisplayID(*args, **kwargs): |
| 1579 | """DisplayID(int id)""" |
| 1580 | return _html.HtmlHelpController_DisplayID(*args, **kwargs) |
| 1581 | |
| 1582 | def DisplayContents(*args, **kwargs): |
| 1583 | """DisplayContents()""" |
| 1584 | return _html.HtmlHelpController_DisplayContents(*args, **kwargs) |
| 1585 | |
| 1586 | def DisplayIndex(*args, **kwargs): |
| 1587 | """DisplayIndex()""" |
| 1588 | return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) |
| 1589 | |
| 1590 | def KeywordSearch(*args, **kwargs): |
| 1591 | """KeywordSearch(wxString keyword) -> bool""" |
| 1592 | return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) |
| 1593 | |
| 1594 | def UseConfig(*args, **kwargs): |
| 1595 | """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" |
| 1596 | return _html.HtmlHelpController_UseConfig(*args, **kwargs) |
| 1597 | |
| 1598 | def ReadCustomization(*args, **kwargs): |
| 1599 | """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1600 | return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) |
| 1601 | |
| 1602 | def WriteCustomization(*args, **kwargs): |
| 1603 | """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" |
| 1604 | return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) |
| 1605 | |
| 1606 | def GetFrame(*args, **kwargs): |
| 1607 | """GetFrame() -> HtmlHelpFrame""" |
| 1608 | return _html.HtmlHelpController_GetFrame(*args, **kwargs) |
| 1609 | |
| 1610 | |
| 1611 | class HtmlHelpControllerPtr(HtmlHelpController): |
| 1612 | def __init__(self, this): |
| 1613 | self.this = this |
| 1614 | if not hasattr(self,"thisown"): self.thisown = 0 |
| 1615 | self.__class__ = HtmlHelpController |
| 1616 | _html.HtmlHelpController_swigregister(HtmlHelpControllerPtr) |
| 1617 | |
| 1618 | |