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