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