]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html.py
Fixed typo causing multiple file selections to always return the same single name.
[wxWidgets.git] / wxPython / src / gtk / html.py
CommitLineData
325274bb 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
4eeb5705
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):
e811c8ce
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):
196addbf 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
e811c8ce 56 def GetHref(*args, **kwargs):
196addbf 57 """GetHref() -> String"""
e811c8ce
RD
58 return _html.HtmlLinkInfo_GetHref(*args, **kwargs)
59
60 def GetTarget(*args, **kwargs):
196addbf 61 """GetTarget() -> String"""
e811c8ce
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
c368d904 80
d14a1e28
RD
81class HtmlLinkInfoPtr(HtmlLinkInfo):
82 def __init__(self, this):
9c00cfa3 83 self.this = this
d14a1e28
RD
84 if not hasattr(self,"thisown"): self.thisown = 0
85 self.__class__ = HtmlLinkInfo
86_html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr)
b2dc1044
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"
9c00cfa3 94 def __repr__(self):
d14a1e28 95 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce 96 def GetName(*args, **kwargs):
196addbf 97 """GetName() -> String"""
e811c8ce
RD
98 return _html.HtmlTag_GetName(*args, **kwargs)
99
100 def HasParam(*args, **kwargs):
196addbf 101 """HasParam(String par) -> bool"""
e811c8ce
RD
102 return _html.HtmlTag_HasParam(*args, **kwargs)
103
104 def GetParam(*args, **kwargs):
196addbf 105 """GetParam(String par, int with_commas=False) -> String"""
e811c8ce
RD
106 return _html.HtmlTag_GetParam(*args, **kwargs)
107
108 def GetAllParams(*args, **kwargs):
196addbf 109 """GetAllParams() -> String"""
e811c8ce
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
9c00cfa3 128
d14a1e28
RD
129class HtmlTagPtr(HtmlTag):
130 def __init__(self, this):
0f66a9f3 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"
0f66a9f3 138 def __repr__(self):
d14a1e28 139 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce
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):
196addbf 149 """Parse(String source) -> Object"""
e811c8ce
RD
150 return _html.HtmlParser_Parse(*args, **kwargs)
151
152 def InitParser(*args, **kwargs):
196addbf 153 """InitParser(String source)"""
e811c8ce
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):
b2dc1044 169 """AddTagHandler(HtmlTagHandler handler)"""
e811c8ce
RD
170 return _html.HtmlParser_AddTagHandler(*args, **kwargs)
171
172 def GetSource(*args, **kwargs):
196addbf 173 """GetSource() -> String"""
e811c8ce
RD
174 return _html.HtmlParser_GetSource(*args, **kwargs)
175
176 def PushTagHandler(*args, **kwargs):
b2dc1044 177 """PushTagHandler(HtmlTagHandler handler, String tags)"""
e811c8ce
RD
178 return _html.HtmlParser_PushTagHandler(*args, **kwargs)
179
180 def PopTagHandler(*args, **kwargs):
181 """PopTagHandler()"""
182 return _html.HtmlParser_PopTagHandler(*args, **kwargs)
183
0f66a9f3 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):
e811c8ce
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):
e811c8ce 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
e811c8ce 201 def SetDC(*args, **kwargs):
196addbf 202 """SetDC(DC dc)"""
e811c8ce
RD
203 return _html.HtmlWinParser_SetDC(*args, **kwargs)
204
205 def GetDC(*args, **kwargs):
196addbf 206 """GetDC() -> DC"""
e811c8ce
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):
196addbf 222 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
e811c8ce
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):
196addbf 290 """GetLinkColor() -> Colour"""
e811c8ce
RD
291 return _html.HtmlWinParser_GetLinkColor(*args, **kwargs)
292
293 def SetLinkColor(*args, **kwargs):
196addbf 294 """SetLinkColor(Colour clr)"""
e811c8ce
RD
295 return _html.HtmlWinParser_SetLinkColor(*args, **kwargs)
296
297 def GetActualColor(*args, **kwargs):
196addbf 298 """GetActualColor() -> Colour"""
e811c8ce
RD
299 return _html.HtmlWinParser_GetActualColor(*args, **kwargs)
300
301 def SetActualColor(*args, **kwargs):
196addbf 302 """SetActualColor(Colour clr)"""
e811c8ce
RD
303 return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
304
305 def SetLink(*args, **kwargs):
196addbf 306 """SetLink(String link)"""
e811c8ce
RD
307 return _html.HtmlWinParser_SetLink(*args, **kwargs)
308
309 def CreateCurrentFont(*args, **kwargs):
196addbf 310 """CreateCurrentFont() -> Font"""
e811c8ce
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
0f66a9f3 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):
e811c8ce
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):
e811c8ce 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)
e811c8ce
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
0f66a9f3 352
d14a1e28
RD
353class HtmlTagHandlerPtr(HtmlTagHandler):
354 def __init__(self, this):
0f66a9f3 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):
e811c8ce
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):
e811c8ce 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)
e811c8ce
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):
0f66a9f3 390 self.this = this
d14a1e28
RD
391 if not hasattr(self,"thisown"): self.thisown = 0
392 self.__class__ = HtmlWinTagHandler
393_html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr)
0f66a9f3
RD
394
395
e811c8ce
RD
396def HtmlWinParser_AddTagHandler(*args, **kwargs):
397 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
398 return _html.HtmlWinParser_AddTagHandler(*args, **kwargs)
d14a1e28 399#---------------------------------------------------------------------------
0f66a9f3 400
d14a1e28 401class HtmlSelection(object):
e811c8ce
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):
e811c8ce 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):
e811c8ce 411 """__del__()"""
d14a1e28
RD
412 try:
413 if self.thisown: destroy(self)
414 except: pass
e811c8ce
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
0f66a9f3 464
d14a1e28
RD
465class HtmlSelectionPtr(HtmlSelection):
466 def __init__(self, this):
0f66a9f3 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):
e811c8ce
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):
e811c8ce 479 """__init__() -> HtmlRenderingState"""
d14a1e28
RD
480 newobj = _html.new_HtmlRenderingState(*args, **kwargs)
481 self.this = newobj.this
0f66a9f3 482 self.thisown = 1
d14a1e28
RD
483 del newobj.thisown
484 def __del__(self, destroy=_html.delete_HtmlRenderingState):
e811c8ce 485 """__del__()"""
d14a1e28
RD
486 try:
487 if self.thisown: destroy(self)
488 except: pass
e811c8ce
RD
489
490 def SetSelectionState(*args, **kwargs):
196addbf 491 """SetSelectionState(int s)"""
e811c8ce
RD
492 return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
493
494 def GetSelectionState(*args, **kwargs):
196addbf 495 """GetSelectionState() -> int"""
e811c8ce
RD
496 return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
497
498 def SetFgColour(*args, **kwargs):
196addbf 499 """SetFgColour(Colour c)"""
e811c8ce
RD
500 return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
501
502 def GetFgColour(*args, **kwargs):
196addbf 503 """GetFgColour() -> Colour"""
e811c8ce
RD
504 return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
505
506 def SetBgColour(*args, **kwargs):
196addbf 507 """SetBgColour(Colour c)"""
e811c8ce
RD
508 return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
509
510 def GetBgColour(*args, **kwargs):
196addbf 511 """GetBgColour() -> Colour"""
e811c8ce
RD
512 return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
513
0f66a9f3 514
d14a1e28
RD
515class HtmlRenderingStatePtr(HtmlRenderingState):
516 def __init__(self, this):
0f66a9f3 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"
0f66a9f3 524 def __repr__(self):
d14a1e28 525 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce 526 def GetSelectedTextColour(*args, **kwargs):
196addbf 527 """GetSelectedTextColour(Colour clr) -> Colour"""
e811c8ce
RD
528 return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
529
530 def GetSelectedTextBgColour(*args, **kwargs):
196addbf 531 """GetSelectedTextBgColour(Colour clr) -> Colour"""
e811c8ce
RD
532 return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
533
0f66a9f3 534
d14a1e28
RD
535class HtmlRenderingStylePtr(HtmlRenderingStyle):
536 def __init__(self, this):
0f66a9f3 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"
0f66a9f3 544 def __repr__(self):
d14a1e28 545 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce 546 def GetSelectedTextColour(*args, **kwargs):
196addbf 547 """GetSelectedTextColour(Colour clr) -> Colour"""
e811c8ce
RD
548 return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
549
550 def GetSelectedTextBgColour(*args, **kwargs):
196addbf 551 """GetSelectedTextBgColour(Colour clr) -> Colour"""
e811c8ce
RD
552 return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
553
0f66a9f3 554
d14a1e28
RD
555class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
556 def __init__(self, this):
dd116e73 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):
e811c8ce
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):
e811c8ce 566 """__init__() -> HtmlRenderingInfo"""
d14a1e28
RD
567 newobj = _html.new_HtmlRenderingInfo(*args, **kwargs)
568 self.this = newobj.this
dd116e73 569 self.thisown = 1
d14a1e28
RD
570 del newobj.thisown
571 def __del__(self, destroy=_html.delete_HtmlRenderingInfo):
e811c8ce 572 """__del__()"""
d14a1e28
RD
573 try:
574 if self.thisown: destroy(self)
575 except: pass
e811c8ce
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
dd116e73 597
d14a1e28
RD
598class HtmlRenderingInfoPtr(HtmlRenderingInfo):
599 def __init__(self, this):
dd116e73 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):
e811c8ce
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):
e811c8ce 614 """__init__() -> HtmlCell"""
d14a1e28
RD
615 newobj = _html.new_HtmlCell(*args, **kwargs)
616 self.this = newobj.this
dd116e73 617 self.thisown = 1
d14a1e28 618 del newobj.thisown
e811c8ce
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
39f61e25
RD
639 def GetId(*args, **kwargs):
640 """GetId() -> String"""
641 return _html.HtmlCell_GetId(*args, **kwargs)
642
643 def SetId(*args, **kwargs):
644 """SetId(String id)"""
645 return _html.HtmlCell_SetId(*args, **kwargs)
646
e811c8ce
RD
647 def GetLink(*args, **kwargs):
648 """GetLink(int x=0, int y=0) -> HtmlLinkInfo"""
649 return _html.HtmlCell_GetLink(*args, **kwargs)
650
651 def GetNext(*args, **kwargs):
652 """GetNext() -> HtmlCell"""
653 return _html.HtmlCell_GetNext(*args, **kwargs)
654
655 def GetParent(*args, **kwargs):
656 """GetParent() -> HtmlContainerCell"""
657 return _html.HtmlCell_GetParent(*args, **kwargs)
658
659 def GetFirstChild(*args, **kwargs):
660 """GetFirstChild() -> HtmlCell"""
661 return _html.HtmlCell_GetFirstChild(*args, **kwargs)
662
663 def GetCursor(*args, **kwargs):
196addbf 664 """GetCursor() -> Cursor"""
e811c8ce
RD
665 return _html.HtmlCell_GetCursor(*args, **kwargs)
666
667 def IsFormattingCell(*args, **kwargs):
668 """IsFormattingCell() -> bool"""
669 return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
670
671 def SetLink(*args, **kwargs):
672 """SetLink(HtmlLinkInfo link)"""
673 return _html.HtmlCell_SetLink(*args, **kwargs)
674
675 def SetNext(*args, **kwargs):
676 """SetNext(HtmlCell cell)"""
677 return _html.HtmlCell_SetNext(*args, **kwargs)
678
679 def SetParent(*args, **kwargs):
680 """SetParent(HtmlContainerCell p)"""
681 return _html.HtmlCell_SetParent(*args, **kwargs)
682
683 def SetPos(*args, **kwargs):
684 """SetPos(int x, int y)"""
685 return _html.HtmlCell_SetPos(*args, **kwargs)
686
687 def Layout(*args, **kwargs):
688 """Layout(int w)"""
689 return _html.HtmlCell_Layout(*args, **kwargs)
690
691 def Draw(*args, **kwargs):
196addbf 692 """Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
e811c8ce
RD
693 return _html.HtmlCell_Draw(*args, **kwargs)
694
695 def DrawInvisible(*args, **kwargs):
196addbf 696 """DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)"""
e811c8ce
RD
697 return _html.HtmlCell_DrawInvisible(*args, **kwargs)
698
699 def Find(*args, **kwargs):
700 """Find(int condition, void param) -> HtmlCell"""
701 return _html.HtmlCell_Find(*args, **kwargs)
702
703 def AdjustPagebreak(*args, **kwargs):
704 """AdjustPagebreak(int INOUT) -> bool"""
705 return _html.HtmlCell_AdjustPagebreak(*args, **kwargs)
706
707 def SetCanLiveOnPagebreak(*args, **kwargs):
708 """SetCanLiveOnPagebreak(bool can)"""
709 return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
710
711 def IsLinebreakAllowed(*args, **kwargs):
712 """IsLinebreakAllowed() -> bool"""
713 return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
714
715 def IsTerminalCell(*args, **kwargs):
716 """IsTerminalCell() -> bool"""
717 return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
718
719 def FindCellByPos(*args, **kwargs):
720 """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
721 return _html.HtmlCell_FindCellByPos(*args, **kwargs)
722
723 def GetAbsPos(*args, **kwargs):
724 """GetAbsPos() -> Point"""
725 return _html.HtmlCell_GetAbsPos(*args, **kwargs)
726
727 def GetFirstTerminal(*args, **kwargs):
728 """GetFirstTerminal() -> HtmlCell"""
729 return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
730
731 def GetLastTerminal(*args, **kwargs):
732 """GetLastTerminal() -> HtmlCell"""
733 return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
734
735 def GetDepth(*args, **kwargs):
736 """GetDepth() -> unsigned int"""
737 return _html.HtmlCell_GetDepth(*args, **kwargs)
738
739 def IsBefore(*args, **kwargs):
740 """IsBefore(HtmlCell cell) -> bool"""
741 return _html.HtmlCell_IsBefore(*args, **kwargs)
742
743 def ConvertToText(*args, **kwargs):
196addbf 744 """ConvertToText(HtmlSelection sel) -> String"""
e811c8ce
RD
745 return _html.HtmlCell_ConvertToText(*args, **kwargs)
746
dd116e73 747
d14a1e28
RD
748class HtmlCellPtr(HtmlCell):
749 def __init__(self, this):
dd116e73 750 self.this = this
d14a1e28
RD
751 if not hasattr(self,"thisown"): self.thisown = 0
752 self.__class__ = HtmlCell
753_html.HtmlCell_swigregister(HtmlCellPtr)
754
755class HtmlWordCell(HtmlCell):
e811c8ce
RD
756 def __repr__(self):
757 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 758 def __init__(self, *args, **kwargs):
196addbf 759 """__init__(String word, DC dc) -> HtmlWordCell"""
d14a1e28
RD
760 newobj = _html.new_HtmlWordCell(*args, **kwargs)
761 self.this = newobj.this
762 self.thisown = 1
763 del newobj.thisown
dd116e73 764
d14a1e28
RD
765class HtmlWordCellPtr(HtmlWordCell):
766 def __init__(self, this):
dd116e73 767 self.this = this
d14a1e28
RD
768 if not hasattr(self,"thisown"): self.thisown = 0
769 self.__class__ = HtmlWordCell
770_html.HtmlWordCell_swigregister(HtmlWordCellPtr)
771
772class HtmlContainerCell(HtmlCell):
e811c8ce
RD
773 def __repr__(self):
774 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 775 def __init__(self, *args, **kwargs):
e811c8ce 776 """__init__(HtmlContainerCell parent) -> HtmlContainerCell"""
d14a1e28
RD
777 newobj = _html.new_HtmlContainerCell(*args, **kwargs)
778 self.this = newobj.this
779 self.thisown = 1
780 del newobj.thisown
e811c8ce
RD
781 def InsertCell(*args, **kwargs):
782 """InsertCell(HtmlCell cell)"""
783 return _html.HtmlContainerCell_InsertCell(*args, **kwargs)
784
785 def SetAlignHor(*args, **kwargs):
786 """SetAlignHor(int al)"""
787 return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs)
788
789 def GetAlignHor(*args, **kwargs):
790 """GetAlignHor() -> int"""
791 return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs)
792
793 def SetAlignVer(*args, **kwargs):
794 """SetAlignVer(int al)"""
795 return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs)
796
797 def GetAlignVer(*args, **kwargs):
798 """GetAlignVer() -> int"""
799 return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs)
800
801 def SetIndent(*args, **kwargs):
802 """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)"""
803 return _html.HtmlContainerCell_SetIndent(*args, **kwargs)
804
805 def GetIndent(*args, **kwargs):
806 """GetIndent(int ind) -> int"""
807 return _html.HtmlContainerCell_GetIndent(*args, **kwargs)
808
809 def GetIndentUnits(*args, **kwargs):
810 """GetIndentUnits(int ind) -> int"""
811 return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs)
812
813 def SetAlign(*args, **kwargs):
814 """SetAlign(HtmlTag tag)"""
815 return _html.HtmlContainerCell_SetAlign(*args, **kwargs)
816
817 def SetWidthFloat(*args, **kwargs):
818 """SetWidthFloat(int w, int units)"""
819 return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
820
821 def SetWidthFloatFromTag(*args, **kwargs):
822 """SetWidthFloatFromTag(HtmlTag tag)"""
823 return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
824
825 def SetMinHeight(*args, **kwargs):
826 """SetMinHeight(int h, int align=HTML_ALIGN_TOP)"""
827 return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
828
829 def SetBackgroundColour(*args, **kwargs):
196addbf 830 """SetBackgroundColour(Colour clr)"""
e811c8ce
RD
831 return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
832
833 def GetBackgroundColour(*args, **kwargs):
196addbf 834 """GetBackgroundColour() -> Colour"""
e811c8ce
RD
835 return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
836
837 def SetBorder(*args, **kwargs):
196addbf 838 """SetBorder(Colour clr1, Colour clr2)"""
e811c8ce
RD
839 return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
840
841 def GetFirstChild(*args, **kwargs):
842 """GetFirstChild() -> HtmlCell"""
843 return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
844
dd116e73 845
d14a1e28
RD
846class HtmlContainerCellPtr(HtmlContainerCell):
847 def __init__(self, this):
dd116e73 848 self.this = this
d14a1e28
RD
849 if not hasattr(self,"thisown"): self.thisown = 0
850 self.__class__ = HtmlContainerCell
851_html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
852
853class HtmlColourCell(HtmlCell):
e811c8ce
RD
854 def __repr__(self):
855 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 856 def __init__(self, *args, **kwargs):
196addbf 857 """__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
d14a1e28
RD
858 newobj = _html.new_HtmlColourCell(*args, **kwargs)
859 self.this = newobj.this
dd116e73 860 self.thisown = 1
d14a1e28 861 del newobj.thisown
dd116e73 862
d14a1e28
RD
863class HtmlColourCellPtr(HtmlColourCell):
864 def __init__(self, this):
e166644c 865 self.this = this
d14a1e28
RD
866 if not hasattr(self,"thisown"): self.thisown = 0
867 self.__class__ = HtmlColourCell
868_html.HtmlColourCell_swigregister(HtmlColourCellPtr)
869
870class HtmlFontCell(HtmlCell):
e811c8ce
RD
871 def __repr__(self):
872 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 873 def __init__(self, *args, **kwargs):
196addbf 874 """__init__(Font font) -> HtmlFontCell"""
d14a1e28
RD
875 newobj = _html.new_HtmlFontCell(*args, **kwargs)
876 self.this = newobj.this
e166644c 877 self.thisown = 1
d14a1e28 878 del newobj.thisown
e166644c 879
d14a1e28
RD
880class HtmlFontCellPtr(HtmlFontCell):
881 def __init__(self, this):
9df61a29 882 self.this = this
d14a1e28
RD
883 if not hasattr(self,"thisown"): self.thisown = 0
884 self.__class__ = HtmlFontCell
885_html.HtmlFontCell_swigregister(HtmlFontCellPtr)
886
887class HtmlWidgetCell(HtmlCell):
e811c8ce
RD
888 def __repr__(self):
889 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 890 def __init__(self, *args, **kwargs):
e811c8ce 891 """__init__(Window wnd, int w=0) -> HtmlWidgetCell"""
d14a1e28
RD
892 newobj = _html.new_HtmlWidgetCell(*args, **kwargs)
893 self.this = newobj.this
9df61a29 894 self.thisown = 1
d14a1e28 895 del newobj.thisown
9df61a29 896
d14a1e28
RD
897class HtmlWidgetCellPtr(HtmlWidgetCell):
898 def __init__(self, this):
899 self.this = this
900 if not hasattr(self,"thisown"): self.thisown = 0
901 self.__class__ = HtmlWidgetCell
902_html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
9df61a29 903
d14a1e28 904#---------------------------------------------------------------------------
9df61a29 905
d14a1e28 906class HtmlFilter(core.Object):
e811c8ce
RD
907 def __repr__(self):
908 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 909 def __init__(self, *args, **kwargs):
e811c8ce 910 """__init__() -> HtmlFilter"""
d14a1e28
RD
911 newobj = _html.new_HtmlFilter(*args, **kwargs)
912 self.this = newobj.this
e166644c 913 self.thisown = 1
d14a1e28
RD
914 del newobj.thisown
915 self._setCallbackInfo(self, HtmlFilter)
e811c8ce
RD
916
917 def _setCallbackInfo(*args, **kwargs):
918 """_setCallbackInfo(PyObject self, PyObject _class)"""
919 return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
920
e166644c 921
d14a1e28
RD
922class HtmlFilterPtr(HtmlFilter):
923 def __init__(self, this):
924 self.this = this
925 if not hasattr(self,"thisown"): self.thisown = 0
926 self.__class__ = HtmlFilter
927_html.HtmlFilter_swigregister(HtmlFilterPtr)
e166644c 928
d14a1e28 929#---------------------------------------------------------------------------
e166644c 930
d14a1e28 931class HtmlWindow(windows.ScrolledWindow):
e811c8ce
RD
932 def __repr__(self):
933 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 934 def __init__(self, *args, **kwargs):
0df68c9f
RD
935 """
936 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
937 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
b2dc1044 938 String name=HtmlWindowNameStr) -> HtmlWindow
0df68c9f 939 """
d14a1e28
RD
940 newobj = _html.new_HtmlWindow(*args, **kwargs)
941 self.this = newobj.this
942 self.thisown = 1
943 del newobj.thisown
944 self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)
e811c8ce
RD
945
946 def Create(*args, **kwargs):
0df68c9f
RD
947 """
948 Create(Window parent, int id=-1, Point pos=DefaultPosition,
949 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
b2dc1044 950 String name=HtmlWindowNameStr) -> bool
0df68c9f 951 """
e811c8ce
RD
952 return _html.HtmlWindow_Create(*args, **kwargs)
953
954 def _setCallbackInfo(*args, **kwargs):
955 """_setCallbackInfo(PyObject self, PyObject _class)"""
956 return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
957
958 def SetPage(*args, **kwargs):
196addbf 959 """SetPage(String source) -> bool"""
e811c8ce
RD
960 return _html.HtmlWindow_SetPage(*args, **kwargs)
961
962 def LoadPage(*args, **kwargs):
196addbf 963 """LoadPage(String location) -> bool"""
e811c8ce
RD
964 return _html.HtmlWindow_LoadPage(*args, **kwargs)
965
966 def LoadFile(*args, **kwargs):
196addbf 967 """LoadFile(String filename) -> bool"""
e811c8ce
RD
968 return _html.HtmlWindow_LoadFile(*args, **kwargs)
969
970 def AppendToPage(*args, **kwargs):
196addbf 971 """AppendToPage(String source) -> bool"""
e811c8ce
RD
972 return _html.HtmlWindow_AppendToPage(*args, **kwargs)
973
974 def GetOpenedPage(*args, **kwargs):
196addbf 975 """GetOpenedPage() -> String"""
e811c8ce
RD
976 return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
977
978 def GetOpenedAnchor(*args, **kwargs):
196addbf 979 """GetOpenedAnchor() -> String"""
e811c8ce
RD
980 return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
981
982 def GetOpenedPageTitle(*args, **kwargs):
196addbf 983 """GetOpenedPageTitle() -> String"""
e811c8ce
RD
984 return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
985
986 def SetRelatedFrame(*args, **kwargs):
196addbf 987 """SetRelatedFrame(Frame frame, String format)"""
e811c8ce
RD
988 return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
989
990 def GetRelatedFrame(*args, **kwargs):
991 """GetRelatedFrame() -> Frame"""
992 return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
993
994 def SetRelatedStatusBar(*args, **kwargs):
995 """SetRelatedStatusBar(int bar)"""
996 return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
997
998 def SetFonts(*args, **kwargs):
196addbf 999 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
e811c8ce
RD
1000 return _html.HtmlWindow_SetFonts(*args, **kwargs)
1001
1002 def SetTitle(*args, **kwargs):
196addbf 1003 """SetTitle(String title)"""
e811c8ce
RD
1004 return _html.HtmlWindow_SetTitle(*args, **kwargs)
1005
1006 def SetBorders(*args, **kwargs):
1007 """SetBorders(int b)"""
1008 return _html.HtmlWindow_SetBorders(*args, **kwargs)
1009
1010 def ReadCustomization(*args, **kwargs):
b2dc1044 1011 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1012 return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
1013
1014 def WriteCustomization(*args, **kwargs):
b2dc1044 1015 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1016 return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
1017
1018 def HistoryBack(*args, **kwargs):
1019 """HistoryBack() -> bool"""
1020 return _html.HtmlWindow_HistoryBack(*args, **kwargs)
1021
1022 def HistoryForward(*args, **kwargs):
1023 """HistoryForward() -> bool"""
1024 return _html.HtmlWindow_HistoryForward(*args, **kwargs)
1025
1026 def HistoryCanBack(*args, **kwargs):
1027 """HistoryCanBack() -> bool"""
1028 return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
1029
1030 def HistoryCanForward(*args, **kwargs):
1031 """HistoryCanForward() -> bool"""
1032 return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
1033
1034 def HistoryClear(*args, **kwargs):
1035 """HistoryClear()"""
1036 return _html.HtmlWindow_HistoryClear(*args, **kwargs)
1037
1038 def GetInternalRepresentation(*args, **kwargs):
1039 """GetInternalRepresentation() -> HtmlContainerCell"""
1040 return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
1041
1042 def GetParser(*args, **kwargs):
1043 """GetParser() -> HtmlWinParser"""
1044 return _html.HtmlWindow_GetParser(*args, **kwargs)
1045
1046 def ScrollToAnchor(*args, **kwargs):
196addbf 1047 """ScrollToAnchor(String anchor) -> bool"""
e811c8ce
RD
1048 return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
1049
1050 def HasAnchor(*args, **kwargs):
196addbf 1051 """HasAnchor(String anchor) -> bool"""
e811c8ce
RD
1052 return _html.HtmlWindow_HasAnchor(*args, **kwargs)
1053
1054 def AddFilter(*args, **kwargs):
a41e16b6 1055 """AddFilter(HtmlFilter filter)"""
e811c8ce
RD
1056 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1057
1058 AddFilter = staticmethod(AddFilter)
db914595
RD
1059 def SelectWord(*args, **kwargs):
1060 """SelectWord(Point pos)"""
1061 return _html.HtmlWindow_SelectWord(*args, **kwargs)
1062
1063 def SelectLine(*args, **kwargs):
1064 """SelectLine(Point pos)"""
1065 return _html.HtmlWindow_SelectLine(*args, **kwargs)
1066
1067 def SelectAll(*args, **kwargs):
1068 """SelectAll()"""
1069 return _html.HtmlWindow_SelectAll(*args, **kwargs)
1070
e811c8ce
RD
1071 def base_OnLinkClicked(*args, **kwargs):
1072 """base_OnLinkClicked(HtmlLinkInfo link)"""
1073 return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs)
1074
1075 def base_OnSetTitle(*args, **kwargs):
196addbf 1076 """base_OnSetTitle(String title)"""
e811c8ce
RD
1077 return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs)
1078
1079 def base_OnCellMouseHover(*args, **kwargs):
1080 """base_OnCellMouseHover(HtmlCell cell, int x, int y)"""
1081 return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs)
1082
1083 def base_OnCellClicked(*args, **kwargs):
1084 """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)"""
1085 return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
1086
e166644c 1087
d14a1e28
RD
1088class HtmlWindowPtr(HtmlWindow):
1089 def __init__(self, this):
9c00cfa3 1090 self.this = this
d14a1e28
RD
1091 if not hasattr(self,"thisown"): self.thisown = 0
1092 self.__class__ = HtmlWindow
1093_html.HtmlWindow_swigregister(HtmlWindowPtr)
9c00cfa3 1094
d14a1e28 1095def PreHtmlWindow(*args, **kwargs):
e811c8ce 1096 """PreHtmlWindow() -> HtmlWindow"""
d14a1e28
RD
1097 val = _html.new_PreHtmlWindow(*args, **kwargs)
1098 val.thisown = 1
1099 return val
9c00cfa3 1100
e811c8ce
RD
1101def HtmlWindow_AddFilter(*args, **kwargs):
1102 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1103 return _html.HtmlWindow_AddFilter(*args, **kwargs)
9c00cfa3 1104
d14a1e28 1105#---------------------------------------------------------------------------
9c00cfa3 1106
d14a1e28 1107class HtmlDCRenderer(core.Object):
e811c8ce
RD
1108 def __repr__(self):
1109 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1110 def __init__(self, *args, **kwargs):
e811c8ce 1111 """__init__() -> HtmlDCRenderer"""
d14a1e28
RD
1112 newobj = _html.new_HtmlDCRenderer(*args, **kwargs)
1113 self.this = newobj.this
9df61a29 1114 self.thisown = 1
d14a1e28
RD
1115 del newobj.thisown
1116 def __del__(self, destroy=_html.delete_HtmlDCRenderer):
e811c8ce 1117 """__del__()"""
d14a1e28
RD
1118 try:
1119 if self.thisown: destroy(self)
1120 except: pass
e811c8ce
RD
1121
1122 def SetDC(*args, **kwargs):
196addbf 1123 """SetDC(DC dc, int maxwidth)"""
e811c8ce
RD
1124 return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
1125
1126 def SetSize(*args, **kwargs):
1127 """SetSize(int width, int height)"""
1128 return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
1129
1130 def SetHtmlText(*args, **kwargs):
196addbf 1131 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
e811c8ce
RD
1132 return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
1133
1134 def SetFonts(*args, **kwargs):
196addbf 1135 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
e811c8ce
RD
1136 return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
1137
1138 def Render(*args, **kwargs):
0df68c9f
RD
1139 """
1140 Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
1141 int choices=None, int LCOUNT=0) -> int
1142 """
e811c8ce
RD
1143 return _html.HtmlDCRenderer_Render(*args, **kwargs)
1144
1145 def GetTotalHeight(*args, **kwargs):
1146 """GetTotalHeight() -> int"""
1147 return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
1148
9df61a29 1149
d14a1e28
RD
1150class HtmlDCRendererPtr(HtmlDCRenderer):
1151 def __init__(self, this):
e166644c 1152 self.this = this
d14a1e28
RD
1153 if not hasattr(self,"thisown"): self.thisown = 0
1154 self.__class__ = HtmlDCRenderer
1155_html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr)
1156
1157PAGE_ODD = _html.PAGE_ODD
1158PAGE_EVEN = _html.PAGE_EVEN
1159PAGE_ALL = _html.PAGE_ALL
1160class HtmlPrintout(windows.Printout):
e811c8ce
RD
1161 def __repr__(self):
1162 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1163 def __init__(self, *args, **kwargs):
b2dc1044 1164 """__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
d14a1e28
RD
1165 newobj = _html.new_HtmlPrintout(*args, **kwargs)
1166 self.this = newobj.this
e166644c 1167 self.thisown = 1
d14a1e28 1168 del newobj.thisown
e811c8ce 1169 def SetHtmlText(*args, **kwargs):
196addbf 1170 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
e811c8ce
RD
1171 return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
1172
1173 def SetHtmlFile(*args, **kwargs):
196addbf 1174 """SetHtmlFile(String htmlfile)"""
e811c8ce
RD
1175 return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
1176
1177 def SetHeader(*args, **kwargs):
196addbf 1178 """SetHeader(String header, int pg=PAGE_ALL)"""
e811c8ce
RD
1179 return _html.HtmlPrintout_SetHeader(*args, **kwargs)
1180
1181 def SetFooter(*args, **kwargs):
196addbf 1182 """SetFooter(String footer, int pg=PAGE_ALL)"""
e811c8ce
RD
1183 return _html.HtmlPrintout_SetFooter(*args, **kwargs)
1184
1185 def SetFonts(*args, **kwargs):
196addbf 1186 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
e811c8ce
RD
1187 return _html.HtmlPrintout_SetFonts(*args, **kwargs)
1188
1189 def SetMargins(*args, **kwargs):
0df68c9f
RD
1190 """
1191 SetMargins(float top=25.2, float bottom=25.2, float left=25.2,
1192 float right=25.2, float spaces=5)
1193 """
e811c8ce
RD
1194 return _html.HtmlPrintout_SetMargins(*args, **kwargs)
1195
1196 def AddFilter(*args, **kwargs):
a41e16b6 1197 """AddFilter(wxHtmlFilter filter)"""
e811c8ce
RD
1198 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1199
1200 AddFilter = staticmethod(AddFilter)
1201 def CleanUpStatics(*args, **kwargs):
a41e16b6 1202 """CleanUpStatics()"""
e811c8ce
RD
1203 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
1204
1205 CleanUpStatics = staticmethod(CleanUpStatics)
e166644c 1206
d14a1e28
RD
1207class HtmlPrintoutPtr(HtmlPrintout):
1208 def __init__(self, this):
1209 self.this = this
1210 if not hasattr(self,"thisown"): self.thisown = 0
1211 self.__class__ = HtmlPrintout
1212_html.HtmlPrintout_swigregister(HtmlPrintoutPtr)
e166644c 1213
e811c8ce
RD
1214def HtmlPrintout_AddFilter(*args, **kwargs):
1215 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1216 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
e166644c 1217
e811c8ce
RD
1218def HtmlPrintout_CleanUpStatics(*args, **kwargs):
1219 """HtmlPrintout_CleanUpStatics()"""
1220 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
e166644c 1221
d14a1e28 1222class HtmlEasyPrinting(core.Object):
e811c8ce
RD
1223 def __repr__(self):
1224 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1225 def __init__(self, *args, **kwargs):
b2dc1044 1226 """__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
d14a1e28
RD
1227 newobj = _html.new_HtmlEasyPrinting(*args, **kwargs)
1228 self.this = newobj.this
b67a9327 1229 self.thisown = 1
d14a1e28
RD
1230 del newobj.thisown
1231 def __del__(self, destroy=_html.delete_HtmlEasyPrinting):
e811c8ce 1232 """__del__()"""
d14a1e28
RD
1233 try:
1234 if self.thisown: destroy(self)
1235 except: pass
e811c8ce
RD
1236
1237 def PreviewFile(*args, **kwargs):
196addbf 1238 """PreviewFile(String htmlfile)"""
e811c8ce
RD
1239 return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
1240
1241 def PreviewText(*args, **kwargs):
196addbf 1242 """PreviewText(String htmltext, String basepath=EmptyString)"""
e811c8ce
RD
1243 return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
1244
1245 def PrintFile(*args, **kwargs):
196addbf 1246 """PrintFile(String htmlfile)"""
e811c8ce
RD
1247 return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
1248
1249 def PrintText(*args, **kwargs):
196addbf 1250 """PrintText(String htmltext, String basepath=EmptyString)"""
e811c8ce
RD
1251 return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
1252
1253 def PrinterSetup(*args, **kwargs):
1254 """PrinterSetup()"""
1255 return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs)
1256
1257 def PageSetup(*args, **kwargs):
1258 """PageSetup()"""
1259 return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
1260
1261 def SetHeader(*args, **kwargs):
196addbf 1262 """SetHeader(String header, int pg=PAGE_ALL)"""
e811c8ce
RD
1263 return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
1264
1265 def SetFooter(*args, **kwargs):
196addbf 1266 """SetFooter(String footer, int pg=PAGE_ALL)"""
e811c8ce
RD
1267 return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
1268
1269 def SetFonts(*args, **kwargs):
196addbf 1270 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
e811c8ce
RD
1271 return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
1272
1273 def GetPrintData(*args, **kwargs):
1274 """GetPrintData() -> PrintData"""
1275 return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
1276
1277 def GetPageSetupData(*args, **kwargs):
1278 """GetPageSetupData() -> PageSetupDialogData"""
1279 return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
1280
b67a9327 1281
d14a1e28
RD
1282class HtmlEasyPrintingPtr(HtmlEasyPrinting):
1283 def __init__(self, this):
1284 self.this = this
1285 if not hasattr(self,"thisown"): self.thisown = 0
1286 self.__class__ = HtmlEasyPrinting
1287_html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
b67a9327 1288
d14a1e28 1289#---------------------------------------------------------------------------
b67a9327 1290
d14a1e28 1291class HtmlBookRecord(object):
e811c8ce
RD
1292 def __repr__(self):
1293 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1294 def __init__(self, *args, **kwargs):
196addbf 1295 """__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
d14a1e28
RD
1296 newobj = _html.new_HtmlBookRecord(*args, **kwargs)
1297 self.this = newobj.this
1298 self.thisown = 1
1299 del newobj.thisown
e811c8ce 1300 def GetBookFile(*args, **kwargs):
196addbf 1301 """GetBookFile() -> String"""
e811c8ce
RD
1302 return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
1303
1304 def GetTitle(*args, **kwargs):
196addbf 1305 """GetTitle() -> String"""
e811c8ce
RD
1306 return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
1307
1308 def GetStart(*args, **kwargs):
196addbf 1309 """GetStart() -> String"""
e811c8ce
RD
1310 return _html.HtmlBookRecord_GetStart(*args, **kwargs)
1311
1312 def GetBasePath(*args, **kwargs):
196addbf 1313 """GetBasePath() -> String"""
e811c8ce
RD
1314 return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
1315
1316 def SetContentsRange(*args, **kwargs):
1317 """SetContentsRange(int start, int end)"""
1318 return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
1319
1320 def GetContentsStart(*args, **kwargs):
1321 """GetContentsStart() -> int"""
1322 return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
1323
1324 def GetContentsEnd(*args, **kwargs):
1325 """GetContentsEnd() -> int"""
1326 return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
1327
1328 def SetTitle(*args, **kwargs):
196addbf 1329 """SetTitle(String title)"""
e811c8ce
RD
1330 return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
1331
1332 def SetBasePath(*args, **kwargs):
196addbf 1333 """SetBasePath(String path)"""
e811c8ce
RD
1334 return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
1335
1336 def SetStart(*args, **kwargs):
196addbf 1337 """SetStart(String start)"""
e811c8ce
RD
1338 return _html.HtmlBookRecord_SetStart(*args, **kwargs)
1339
1340 def GetFullPath(*args, **kwargs):
196addbf 1341 """GetFullPath(String page) -> String"""
e811c8ce
RD
1342 return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
1343
b67a9327 1344
d14a1e28
RD
1345class HtmlBookRecordPtr(HtmlBookRecord):
1346 def __init__(self, this):
325274bb 1347 self.this = this
d14a1e28
RD
1348 if not hasattr(self,"thisown"): self.thisown = 0
1349 self.__class__ = HtmlBookRecord
1350_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
1351
1352class HtmlContentsItem(object):
d14a1e28 1353 def __init__(self): raise RuntimeError, "No constructor defined"
325274bb 1354 def __repr__(self):
d14a1e28 1355 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce
RD
1356 def GetLevel(*args, **kwargs):
1357 """GetLevel() -> int"""
1358 return _html.HtmlContentsItem_GetLevel(*args, **kwargs)
1359
1360 def GetID(*args, **kwargs):
1361 """GetID() -> int"""
1362 return _html.HtmlContentsItem_GetID(*args, **kwargs)
1363
1364 def GetName(*args, **kwargs):
196addbf 1365 """GetName() -> String"""
e811c8ce
RD
1366 return _html.HtmlContentsItem_GetName(*args, **kwargs)
1367
1368 def GetPage(*args, **kwargs):
196addbf 1369 """GetPage() -> String"""
e811c8ce
RD
1370 return _html.HtmlContentsItem_GetPage(*args, **kwargs)
1371
1372 def GetBook(*args, **kwargs):
1373 """GetBook() -> HtmlBookRecord"""
1374 return _html.HtmlContentsItem_GetBook(*args, **kwargs)
1375
325274bb 1376
d14a1e28
RD
1377class HtmlContentsItemPtr(HtmlContentsItem):
1378 def __init__(self, this):
dc2f8a65 1379 self.this = this
d14a1e28
RD
1380 if not hasattr(self,"thisown"): self.thisown = 0
1381 self.__class__ = HtmlContentsItem
1382_html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
1383
1384class HtmlSearchStatus(object):
d14a1e28 1385 def __init__(self): raise RuntimeError, "No constructor defined"
dc2f8a65 1386 def __repr__(self):
d14a1e28 1387 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce
RD
1388 def Search(*args, **kwargs):
1389 """Search() -> bool"""
1390 return _html.HtmlSearchStatus_Search(*args, **kwargs)
1391
1392 def IsActive(*args, **kwargs):
1393 """IsActive() -> bool"""
1394 return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
1395
1396 def GetCurIndex(*args, **kwargs):
1397 """GetCurIndex() -> int"""
1398 return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
1399
1400 def GetMaxIndex(*args, **kwargs):
1401 """GetMaxIndex() -> int"""
1402 return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
1403
1404 def GetName(*args, **kwargs):
196addbf 1405 """GetName() -> String"""
e811c8ce
RD
1406 return _html.HtmlSearchStatus_GetName(*args, **kwargs)
1407
1408 def GetContentsItem(*args, **kwargs):
1409 """GetContentsItem() -> HtmlContentsItem"""
1410 return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs)
1411
dc2f8a65 1412
d14a1e28
RD
1413class HtmlSearchStatusPtr(HtmlSearchStatus):
1414 def __init__(self, this):
dc2f8a65 1415 self.this = this
d14a1e28
RD
1416 if not hasattr(self,"thisown"): self.thisown = 0
1417 self.__class__ = HtmlSearchStatus
1418_html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
1419
1420class HtmlHelpData(object):
e811c8ce
RD
1421 def __repr__(self):
1422 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1423 def __init__(self, *args, **kwargs):
e811c8ce 1424 """__init__() -> HtmlHelpData"""
d14a1e28
RD
1425 newobj = _html.new_HtmlHelpData(*args, **kwargs)
1426 self.this = newobj.this
dc2f8a65 1427 self.thisown = 1
d14a1e28
RD
1428 del newobj.thisown
1429 def __del__(self, destroy=_html.delete_HtmlHelpData):
e811c8ce 1430 """__del__()"""
d14a1e28
RD
1431 try:
1432 if self.thisown: destroy(self)
1433 except: pass
e811c8ce
RD
1434
1435 def SetTempDir(*args, **kwargs):
196addbf 1436 """SetTempDir(String path)"""
e811c8ce
RD
1437 return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
1438
1439 def AddBook(*args, **kwargs):
196addbf 1440 """AddBook(String book) -> bool"""
e811c8ce
RD
1441 return _html.HtmlHelpData_AddBook(*args, **kwargs)
1442
1443 def FindPageByName(*args, **kwargs):
196addbf 1444 """FindPageByName(String page) -> String"""
e811c8ce
RD
1445 return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
1446
1447 def FindPageById(*args, **kwargs):
196addbf 1448 """FindPageById(int id) -> String"""
e811c8ce
RD
1449 return _html.HtmlHelpData_FindPageById(*args, **kwargs)
1450
1451 def GetBookRecArray(*args, **kwargs):
1452 """GetBookRecArray() -> wxHtmlBookRecArray"""
1453 return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
1454
1455 def GetContents(*args, **kwargs):
1456 """GetContents() -> HtmlContentsItem"""
1457 return _html.HtmlHelpData_GetContents(*args, **kwargs)
1458
1459 def GetContentsCnt(*args, **kwargs):
1460 """GetContentsCnt() -> int"""
1461 return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs)
1462
1463 def GetIndex(*args, **kwargs):
1464 """GetIndex() -> HtmlContentsItem"""
1465 return _html.HtmlHelpData_GetIndex(*args, **kwargs)
1466
1467 def GetIndexCnt(*args, **kwargs):
1468 """GetIndexCnt() -> int"""
1469 return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs)
1470
dc2f8a65 1471
d14a1e28
RD
1472class HtmlHelpDataPtr(HtmlHelpData):
1473 def __init__(self, this):
dc2f8a65 1474 self.this = this
d14a1e28
RD
1475 if not hasattr(self,"thisown"): self.thisown = 0
1476 self.__class__ = HtmlHelpData
1477_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
1478
1479class HtmlHelpFrame(windows.Frame):
e811c8ce
RD
1480 def __repr__(self):
1481 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1482 def __init__(self, *args, **kwargs):
0df68c9f 1483 """
196addbf
RD
1484 __init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1485 HtmlHelpData data=None) -> HtmlHelpFrame
0df68c9f 1486 """
d14a1e28
RD
1487 newobj = _html.new_HtmlHelpFrame(*args, **kwargs)
1488 self.this = newobj.this
dc2f8a65 1489 self.thisown = 1
d14a1e28
RD
1490 del newobj.thisown
1491 self._setOORInfo(self)
e811c8ce
RD
1492
1493 def GetData(*args, **kwargs):
1494 """GetData() -> HtmlHelpData"""
1495 return _html.HtmlHelpFrame_GetData(*args, **kwargs)
1496
1497 def SetTitleFormat(*args, **kwargs):
196addbf 1498 """SetTitleFormat(String format)"""
e811c8ce
RD
1499 return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
1500
1501 def Display(*args, **kwargs):
196addbf 1502 """Display(String x)"""
e811c8ce
RD
1503 return _html.HtmlHelpFrame_Display(*args, **kwargs)
1504
1505 def DisplayID(*args, **kwargs):
1506 """DisplayID(int id)"""
1507 return _html.HtmlHelpFrame_DisplayID(*args, **kwargs)
1508
1509 def DisplayContents(*args, **kwargs):
1510 """DisplayContents()"""
1511 return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs)
1512
1513 def DisplayIndex(*args, **kwargs):
1514 """DisplayIndex()"""
1515 return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs)
1516
1517 def KeywordSearch(*args, **kwargs):
196addbf 1518 """KeywordSearch(String keyword) -> bool"""
e811c8ce
RD
1519 return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs)
1520
1521 def UseConfig(*args, **kwargs):
b2dc1044 1522 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
e811c8ce
RD
1523 return _html.HtmlHelpFrame_UseConfig(*args, **kwargs)
1524
1525 def ReadCustomization(*args, **kwargs):
b2dc1044 1526 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1527 return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs)
1528
1529 def WriteCustomization(*args, **kwargs):
b2dc1044 1530 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1531 return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs)
1532
dc2f8a65 1533
d14a1e28
RD
1534class HtmlHelpFramePtr(HtmlHelpFrame):
1535 def __init__(self, this):
1536 self.this = this
1537 if not hasattr(self,"thisown"): self.thisown = 0
1538 self.__class__ = HtmlHelpFrame
1539_html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr)
1540
1541HF_TOOLBAR = _html.HF_TOOLBAR
1542HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR
1543HF_CONTENTS = _html.HF_CONTENTS
1544HF_INDEX = _html.HF_INDEX
1545HF_SEARCH = _html.HF_SEARCH
1546HF_BOOKMARKS = _html.HF_BOOKMARKS
1547HF_OPENFILES = _html.HF_OPENFILES
1548HF_PRINT = _html.HF_PRINT
1549HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
1550class HtmlHelpController(core.EvtHandler):
e811c8ce
RD
1551 def __repr__(self):
1552 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 1553 def __init__(self, *args, **kwargs):
e811c8ce 1554 """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
d14a1e28
RD
1555 newobj = _html.new_HtmlHelpController(*args, **kwargs)
1556 self.this = newobj.this
1557 self.thisown = 1
1558 del newobj.thisown
1559 self._setOORInfo(self)
e811c8ce 1560
d14a1e28 1561 def __del__(self, destroy=_html.delete_HtmlHelpController):
e811c8ce 1562 """__del__()"""
d14a1e28
RD
1563 try:
1564 if self.thisown: destroy(self)
1565 except: pass
e811c8ce
RD
1566
1567 def SetTitleFormat(*args, **kwargs):
196addbf 1568 """SetTitleFormat(String format)"""
e811c8ce
RD
1569 return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
1570
1571 def SetTempDir(*args, **kwargs):
196addbf 1572 """SetTempDir(String path)"""
e811c8ce
RD
1573 return _html.HtmlHelpController_SetTempDir(*args, **kwargs)
1574
1575 def AddBook(*args, **kwargs):
196addbf 1576 """AddBook(String book, int show_wait_msg=False) -> bool"""
e811c8ce
RD
1577 return _html.HtmlHelpController_AddBook(*args, **kwargs)
1578
1579 def Display(*args, **kwargs):
196addbf 1580 """Display(String x)"""
e811c8ce
RD
1581 return _html.HtmlHelpController_Display(*args, **kwargs)
1582
1583 def DisplayID(*args, **kwargs):
1584 """DisplayID(int id)"""
1585 return _html.HtmlHelpController_DisplayID(*args, **kwargs)
1586
1587 def DisplayContents(*args, **kwargs):
1588 """DisplayContents()"""
1589 return _html.HtmlHelpController_DisplayContents(*args, **kwargs)
1590
1591 def DisplayIndex(*args, **kwargs):
1592 """DisplayIndex()"""
1593 return _html.HtmlHelpController_DisplayIndex(*args, **kwargs)
1594
1595 def KeywordSearch(*args, **kwargs):
196addbf 1596 """KeywordSearch(String keyword) -> bool"""
e811c8ce
RD
1597 return _html.HtmlHelpController_KeywordSearch(*args, **kwargs)
1598
1599 def UseConfig(*args, **kwargs):
b2dc1044 1600 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
e811c8ce
RD
1601 return _html.HtmlHelpController_UseConfig(*args, **kwargs)
1602
1603 def ReadCustomization(*args, **kwargs):
b2dc1044 1604 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1605 return _html.HtmlHelpController_ReadCustomization(*args, **kwargs)
1606
1607 def WriteCustomization(*args, **kwargs):
b2dc1044 1608 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
e811c8ce
RD
1609 return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
1610
1611 def GetFrame(*args, **kwargs):
1612 """GetFrame() -> HtmlHelpFrame"""
1613 return _html.HtmlHelpController_GetFrame(*args, **kwargs)
1614
dc2f8a65 1615
d14a1e28
RD
1616class HtmlHelpControllerPtr(HtmlHelpController):
1617 def __init__(self, this):
1618 self.this = this
1619 if not hasattr(self,"thisown"): self.thisown = 0
1620 self.__class__ = HtmlHelpController
1621_html.HtmlHelpController_swigregister(HtmlHelpControllerPtr)
dc2f8a65
RD
1622
1623