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