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