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