]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html.py
Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
[wxWidgets.git] / wxPython / src / mac / html.py
CommitLineData
e6056257
RD
1# This file was created automatically by SWIG.
2import htmlc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
40699168
RD
12from fonts import *
13
e6056257
RD
14from clip_dnd import *
15
16from events import *
17
18from streams import *
19
dbd3685c
RD
20from utils import *
21
e6056257
RD
22from mdi import *
23
24from frames import *
25
26from stattool import *
27
28from controls import *
29
30from controls2 import *
31
32from windows2 import *
33
34from cmndlgs import *
35
36from windows3 import *
37
38from image import *
39
40from printfw import *
41
42from sizers import *
43
44from filesys import *
e6056257
RD
45import wx
46class wxHtmlLinkInfoPtr(wxObjectPtr):
47 def __init__(self,this):
48 self.this = this
49 self.thisown = 0
50 def GetHref(self, *_args, **_kwargs):
d84a9306 51 val = htmlc.wxHtmlLinkInfo_GetHref(self, *_args, **_kwargs)
e6056257
RD
52 return val
53 def GetTarget(self, *_args, **_kwargs):
d84a9306 54 val = htmlc.wxHtmlLinkInfo_GetTarget(self, *_args, **_kwargs)
e6056257
RD
55 return val
56 def GetEvent(self, *_args, **_kwargs):
d84a9306 57 val = htmlc.wxHtmlLinkInfo_GetEvent(self, *_args, **_kwargs)
e6056257
RD
58 return val
59 def GetHtmlCell(self, *_args, **_kwargs):
d84a9306 60 val = htmlc.wxHtmlLinkInfo_GetHtmlCell(self, *_args, **_kwargs)
e6056257
RD
61 if val: val = wxHtmlCellPtr(val)
62 return val
63 def SetEvent(self, *_args, **_kwargs):
d84a9306 64 val = htmlc.wxHtmlLinkInfo_SetEvent(self, *_args, **_kwargs)
e6056257
RD
65 return val
66 def SetHtmlCell(self, *_args, **_kwargs):
d84a9306 67 val = htmlc.wxHtmlLinkInfo_SetHtmlCell(self, *_args, **_kwargs)
e6056257
RD
68 return val
69 def __repr__(self):
d84a9306 70 return "<%s.%s instance; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
71class wxHtmlLinkInfo(wxHtmlLinkInfoPtr):
72 def __init__(self,*_args,**_kwargs):
d84a9306 73 self.this = htmlc.new_wxHtmlLinkInfo(*_args,**_kwargs)
e6056257
RD
74 self.thisown = 1
75
76
77
78
79class wxHtmlTagPtr(wxObjectPtr):
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
83 def GetName(self, *_args, **_kwargs):
d84a9306 84 val = htmlc.wxHtmlTag_GetName(self, *_args, **_kwargs)
e6056257
RD
85 return val
86 def HasParam(self, *_args, **_kwargs):
d84a9306 87 val = htmlc.wxHtmlTag_HasParam(self, *_args, **_kwargs)
e6056257
RD
88 return val
89 def GetParam(self, *_args, **_kwargs):
d84a9306 90 val = htmlc.wxHtmlTag_GetParam(self, *_args, **_kwargs)
e6056257
RD
91 return val
92 def GetAllParams(self, *_args, **_kwargs):
d84a9306 93 val = htmlc.wxHtmlTag_GetAllParams(self, *_args, **_kwargs)
e6056257
RD
94 return val
95 def HasEnding(self, *_args, **_kwargs):
d84a9306 96 val = htmlc.wxHtmlTag_HasEnding(self, *_args, **_kwargs)
e6056257
RD
97 return val
98 def GetBeginPos(self, *_args, **_kwargs):
d84a9306 99 val = htmlc.wxHtmlTag_GetBeginPos(self, *_args, **_kwargs)
e6056257
RD
100 return val
101 def GetEndPos1(self, *_args, **_kwargs):
d84a9306 102 val = htmlc.wxHtmlTag_GetEndPos1(self, *_args, **_kwargs)
e6056257
RD
103 return val
104 def GetEndPos2(self, *_args, **_kwargs):
d84a9306 105 val = htmlc.wxHtmlTag_GetEndPos2(self, *_args, **_kwargs)
e6056257
RD
106 return val
107 def __repr__(self):
d84a9306 108 return "<%s.%s instance; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
109class wxHtmlTag(wxHtmlTagPtr):
110 def __init__(self,this):
111 self.this = this
112
113
114
115
116class wxHtmlParserPtr(wxObjectPtr):
117 def __init__(self,this):
118 self.this = this
119 self.thisown = 0
120 def SetFS(self, *_args, **_kwargs):
d84a9306 121 val = htmlc.wxHtmlParser_SetFS(self, *_args, **_kwargs)
e6056257
RD
122 return val
123 def GetFS(self, *_args, **_kwargs):
d84a9306 124 val = htmlc.wxHtmlParser_GetFS(self, *_args, **_kwargs)
e6056257
RD
125 return val
126 def Parse(self, *_args, **_kwargs):
d84a9306 127 val = htmlc.wxHtmlParser_Parse(self, *_args, **_kwargs)
e6056257
RD
128 return val
129 def InitParser(self, *_args, **_kwargs):
d84a9306 130 val = htmlc.wxHtmlParser_InitParser(self, *_args, **_kwargs)
e6056257
RD
131 return val
132 def DoneParser(self, *_args, **_kwargs):
d84a9306 133 val = htmlc.wxHtmlParser_DoneParser(self, *_args, **_kwargs)
e6056257
RD
134 return val
135 def DoParsing(self, *_args, **_kwargs):
d84a9306 136 val = htmlc.wxHtmlParser_DoParsing(self, *_args, **_kwargs)
e6056257 137 return val
7108497a 138 def StopParsing(self, *_args, **_kwargs):
d84a9306 139 val = htmlc.wxHtmlParser_StopParsing(self, *_args, **_kwargs)
7108497a 140 return val
e6056257 141 def AddTagHandler(self, *_args, **_kwargs):
d84a9306 142 val = htmlc.wxHtmlParser_AddTagHandler(self, *_args, **_kwargs)
e6056257
RD
143 return val
144 def GetSource(self, *_args, **_kwargs):
d84a9306 145 val = htmlc.wxHtmlParser_GetSource(self, *_args, **_kwargs)
e6056257
RD
146 return val
147 def PushTagHandler(self, *_args, **_kwargs):
d84a9306 148 val = htmlc.wxHtmlParser_PushTagHandler(self, *_args, **_kwargs)
e6056257
RD
149 return val
150 def PopTagHandler(self, *_args, **_kwargs):
d84a9306 151 val = htmlc.wxHtmlParser_PopTagHandler(self, *_args, **_kwargs)
e6056257
RD
152 return val
153 def __repr__(self):
d84a9306 154 return "<%s.%s instance; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
155class wxHtmlParser(wxHtmlParserPtr):
156 def __init__(self,this):
157 self.this = this
158
159
160
161
162class wxHtmlWinParserPtr(wxHtmlParserPtr):
163 def __init__(self,this):
164 self.this = this
165 self.thisown = 0
166 def SetDC(self, *_args, **_kwargs):
d84a9306 167 val = htmlc.wxHtmlWinParser_SetDC(self, *_args, **_kwargs)
e6056257
RD
168 return val
169 def GetDC(self, *_args, **_kwargs):
d84a9306 170 val = htmlc.wxHtmlWinParser_GetDC(self, *_args, **_kwargs)
e6056257
RD
171 return val
172 def GetCharHeight(self, *_args, **_kwargs):
d84a9306 173 val = htmlc.wxHtmlWinParser_GetCharHeight(self, *_args, **_kwargs)
e6056257
RD
174 return val
175 def GetCharWidth(self, *_args, **_kwargs):
d84a9306 176 val = htmlc.wxHtmlWinParser_GetCharWidth(self, *_args, **_kwargs)
e6056257
RD
177 return val
178 def GetWindow(self, *_args, **_kwargs):
d84a9306 179 val = htmlc.wxHtmlWinParser_GetWindow(self, *_args, **_kwargs)
e6056257
RD
180 return val
181 def SetFonts(self, *_args, **_kwargs):
d84a9306 182 val = htmlc.wxHtmlWinParser_SetFonts(self, *_args, **_kwargs)
e6056257
RD
183 return val
184 def GetContainer(self, *_args, **_kwargs):
d84a9306 185 val = htmlc.wxHtmlWinParser_GetContainer(self, *_args, **_kwargs)
e6056257
RD
186 if val: val = wxHtmlContainerCellPtr(val)
187 return val
188 def OpenContainer(self, *_args, **_kwargs):
d84a9306 189 val = htmlc.wxHtmlWinParser_OpenContainer(self, *_args, **_kwargs)
e6056257
RD
190 if val: val = wxHtmlContainerCellPtr(val)
191 return val
192 def SetContainer(self, *_args, **_kwargs):
d84a9306 193 val = htmlc.wxHtmlWinParser_SetContainer(self, *_args, **_kwargs)
e6056257
RD
194 if val: val = wxHtmlContainerCellPtr(val)
195 return val
196 def CloseContainer(self, *_args, **_kwargs):
d84a9306 197 val = htmlc.wxHtmlWinParser_CloseContainer(self, *_args, **_kwargs)
e6056257
RD
198 if val: val = wxHtmlContainerCellPtr(val)
199 return val
200 def GetFontSize(self, *_args, **_kwargs):
d84a9306 201 val = htmlc.wxHtmlWinParser_GetFontSize(self, *_args, **_kwargs)
e6056257
RD
202 return val
203 def SetFontSize(self, *_args, **_kwargs):
d84a9306 204 val = htmlc.wxHtmlWinParser_SetFontSize(self, *_args, **_kwargs)
e6056257
RD
205 return val
206 def GetFontBold(self, *_args, **_kwargs):
d84a9306 207 val = htmlc.wxHtmlWinParser_GetFontBold(self, *_args, **_kwargs)
e6056257
RD
208 return val
209 def SetFontBold(self, *_args, **_kwargs):
d84a9306 210 val = htmlc.wxHtmlWinParser_SetFontBold(self, *_args, **_kwargs)
e6056257
RD
211 return val
212 def GetFontItalic(self, *_args, **_kwargs):
d84a9306 213 val = htmlc.wxHtmlWinParser_GetFontItalic(self, *_args, **_kwargs)
e6056257
RD
214 return val
215 def SetFontItalic(self, *_args, **_kwargs):
d84a9306 216 val = htmlc.wxHtmlWinParser_SetFontItalic(self, *_args, **_kwargs)
e6056257
RD
217 return val
218 def GetFontUnderlined(self, *_args, **_kwargs):
d84a9306 219 val = htmlc.wxHtmlWinParser_GetFontUnderlined(self, *_args, **_kwargs)
e6056257
RD
220 return val
221 def SetFontUnderlined(self, *_args, **_kwargs):
d84a9306 222 val = htmlc.wxHtmlWinParser_SetFontUnderlined(self, *_args, **_kwargs)
e6056257
RD
223 return val
224 def GetFontFixed(self, *_args, **_kwargs):
d84a9306 225 val = htmlc.wxHtmlWinParser_GetFontFixed(self, *_args, **_kwargs)
e6056257
RD
226 return val
227 def SetFontFixed(self, *_args, **_kwargs):
d84a9306 228 val = htmlc.wxHtmlWinParser_SetFontFixed(self, *_args, **_kwargs)
e6056257
RD
229 return val
230 def GetAlign(self, *_args, **_kwargs):
d84a9306 231 val = htmlc.wxHtmlWinParser_GetAlign(self, *_args, **_kwargs)
e6056257
RD
232 return val
233 def SetAlign(self, *_args, **_kwargs):
d84a9306 234 val = htmlc.wxHtmlWinParser_SetAlign(self, *_args, **_kwargs)
e6056257
RD
235 return val
236 def GetLinkColor(self, *_args, **_kwargs):
d84a9306 237 val = htmlc.wxHtmlWinParser_GetLinkColor(self, *_args, **_kwargs)
00360d46 238 if val: val = wxColourPtr(val) ; val.thisown = 1
e6056257
RD
239 return val
240 def SetLinkColor(self, *_args, **_kwargs):
d84a9306 241 val = htmlc.wxHtmlWinParser_SetLinkColor(self, *_args, **_kwargs)
e6056257
RD
242 return val
243 def GetActualColor(self, *_args, **_kwargs):
d84a9306 244 val = htmlc.wxHtmlWinParser_GetActualColor(self, *_args, **_kwargs)
00360d46 245 if val: val = wxColourPtr(val) ; val.thisown = 1
e6056257
RD
246 return val
247 def SetActualColor(self, *_args, **_kwargs):
d84a9306 248 val = htmlc.wxHtmlWinParser_SetActualColor(self, *_args, **_kwargs)
e6056257
RD
249 return val
250 def SetLink(self, *_args, **_kwargs):
d84a9306 251 val = htmlc.wxHtmlWinParser_SetLink(self, *_args, **_kwargs)
e6056257
RD
252 return val
253 def CreateCurrentFont(self, *_args, **_kwargs):
d84a9306 254 val = htmlc.wxHtmlWinParser_CreateCurrentFont(self, *_args, **_kwargs)
e6056257
RD
255 if val: val = wxFontPtr(val)
256 return val
257 def GetLink(self, *_args, **_kwargs):
d84a9306 258 val = htmlc.wxHtmlWinParser_GetLink(self, *_args, **_kwargs)
e6056257
RD
259 if val: val = wxHtmlLinkInfoPtr(val) ; val.thisown = 1
260 return val
261 def __repr__(self):
d84a9306 262 return "<%s.%s instance; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
263class wxHtmlWinParser(wxHtmlWinParserPtr):
264 def __init__(self,*_args,**_kwargs):
d84a9306 265 self.this = htmlc.new_wxHtmlWinParser(*_args,**_kwargs)
e6056257
RD
266 self.thisown = 1
267
268
269
270
271class wxHtmlTagHandlerPtr(wxObjectPtr):
272 def __init__(self,this):
273 self.this = this
274 self.thisown = 0
275 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 276 val = htmlc.wxHtmlTagHandler__setCallbackInfo(self, *_args, **_kwargs)
e6056257
RD
277 return val
278 def SetParser(self, *_args, **_kwargs):
d84a9306 279 val = htmlc.wxHtmlTagHandler_SetParser(self, *_args, **_kwargs)
e6056257
RD
280 return val
281 def GetParser(self, *_args, **_kwargs):
d84a9306 282 val = htmlc.wxHtmlTagHandler_GetParser(self, *_args, **_kwargs)
e6056257
RD
283 if val: val = wxHtmlParserPtr(val)
284 return val
285 def ParseInner(self, *_args, **_kwargs):
d84a9306 286 val = htmlc.wxHtmlTagHandler_ParseInner(self, *_args, **_kwargs)
e6056257
RD
287 return val
288 def __repr__(self):
d84a9306 289 return "<%s.%s instance; proxy of C++ wxHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
290class wxHtmlTagHandler(wxHtmlTagHandlerPtr):
291 def __init__(self,*_args,**_kwargs):
d84a9306 292 self.this = htmlc.new_wxHtmlTagHandler(*_args,**_kwargs)
e6056257
RD
293 self.thisown = 1
294 self._setCallbackInfo(self, wxHtmlTagHandler)
295
296
297
298
299class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr):
300 def __init__(self,this):
301 self.this = this
302 self.thisown = 0
303 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 304 val = htmlc.wxHtmlWinTagHandler__setCallbackInfo(self, *_args, **_kwargs)
e6056257
RD
305 return val
306 def SetParser(self, *_args, **_kwargs):
d84a9306 307 val = htmlc.wxHtmlWinTagHandler_SetParser(self, *_args, **_kwargs)
e6056257
RD
308 return val
309 def GetParser(self, *_args, **_kwargs):
d84a9306 310 val = htmlc.wxHtmlWinTagHandler_GetParser(self, *_args, **_kwargs)
e6056257
RD
311 if val: val = wxHtmlWinParserPtr(val)
312 return val
313 def ParseInner(self, *_args, **_kwargs):
d84a9306 314 val = htmlc.wxHtmlWinTagHandler_ParseInner(self, *_args, **_kwargs)
e6056257
RD
315 return val
316 def __repr__(self):
d84a9306 317 return "<%s.%s instance; proxy of C++ wxHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
318class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr):
319 def __init__(self,*_args,**_kwargs):
d84a9306 320 self.this = htmlc.new_wxHtmlWinTagHandler(*_args,**_kwargs)
e6056257
RD
321 self.thisown = 1
322 self._setCallbackInfo(self, wxHtmlWinTagHandler)
323
324
325
326
d84a9306
RD
327class wxHtmlSelectionPtr :
328 def __init__(self,this):
329 self.this = this
330 self.thisown = 0
331 def __del__(self, delfunc=htmlc.delete_wxHtmlSelection):
332 if self.thisown == 1:
333 try:
334 delfunc(self)
335 except:
336 pass
337 def Set(self, *_args, **_kwargs):
338 val = htmlc.wxHtmlSelection_Set(self, *_args, **_kwargs)
339 return val
340 def SetCells(self, *_args, **_kwargs):
341 val = htmlc.wxHtmlSelection_SetCells(self, *_args, **_kwargs)
342 return val
343 def GetFromCell(self, *_args, **_kwargs):
344 val = htmlc.wxHtmlSelection_GetFromCell(self, *_args, **_kwargs)
345 if val: val = wxHtmlCellPtr(val)
346 return val
347 def GetToCell(self, *_args, **_kwargs):
348 val = htmlc.wxHtmlSelection_GetToCell(self, *_args, **_kwargs)
349 if val: val = wxHtmlCellPtr(val)
350 return val
351 def GetFromPos(self, *_args, **_kwargs):
352 val = htmlc.wxHtmlSelection_GetFromPos(self, *_args, **_kwargs)
353 if val: val = wxPointPtr(val)
354 return val
355 def GetToPos(self, *_args, **_kwargs):
356 val = htmlc.wxHtmlSelection_GetToPos(self, *_args, **_kwargs)
357 if val: val = wxPointPtr(val)
358 return val
359 def GetFromPrivPos(self, *_args, **_kwargs):
360 val = htmlc.wxHtmlSelection_GetFromPrivPos(self, *_args, **_kwargs)
361 if val: val = wxPointPtr(val)
362 return val
363 def GetToPrivPos(self, *_args, **_kwargs):
364 val = htmlc.wxHtmlSelection_GetToPrivPos(self, *_args, **_kwargs)
365 if val: val = wxPointPtr(val)
366 return val
367 def SetFromPrivPos(self, *_args, **_kwargs):
368 val = htmlc.wxHtmlSelection_SetFromPrivPos(self, *_args, **_kwargs)
369 return val
370 def SetToPrivPos(self, *_args, **_kwargs):
371 val = htmlc.wxHtmlSelection_SetToPrivPos(self, *_args, **_kwargs)
372 return val
373 def ClearPrivPos(self, *_args, **_kwargs):
374 val = htmlc.wxHtmlSelection_ClearPrivPos(self, *_args, **_kwargs)
375 return val
376 def IsEmpty(self, *_args, **_kwargs):
377 val = htmlc.wxHtmlSelection_IsEmpty(self, *_args, **_kwargs)
378 return val
379 def __repr__(self):
380 return "<%s.%s instance; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
381class wxHtmlSelection(wxHtmlSelectionPtr):
382 def __init__(self,*_args,**_kwargs):
383 self.this = htmlc.new_wxHtmlSelection(*_args,**_kwargs)
384 self.thisown = 1
385
386
387
388
389class wxHtmlRenderingStatePtr :
390 def __init__(self,this):
391 self.this = this
392 self.thisown = 0
393 def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingState):
394 if self.thisown == 1:
395 try:
396 delfunc(self)
397 except:
398 pass
399 def SetSelectionState(self, *_args, **_kwargs):
400 val = htmlc.wxHtmlRenderingState_SetSelectionState(self, *_args, **_kwargs)
401 return val
402 def GetSelectionState(self, *_args, **_kwargs):
403 val = htmlc.wxHtmlRenderingState_GetSelectionState(self, *_args, **_kwargs)
404 return val
405 def SetFgColour(self, *_args, **_kwargs):
406 val = htmlc.wxHtmlRenderingState_SetFgColour(self, *_args, **_kwargs)
407 return val
408 def GetFgColour(self, *_args, **_kwargs):
409 val = htmlc.wxHtmlRenderingState_GetFgColour(self, *_args, **_kwargs)
410 if val: val = wxColourPtr(val)
411 return val
412 def SetBgColour(self, *_args, **_kwargs):
413 val = htmlc.wxHtmlRenderingState_SetBgColour(self, *_args, **_kwargs)
414 return val
415 def GetBgColour(self, *_args, **_kwargs):
416 val = htmlc.wxHtmlRenderingState_GetBgColour(self, *_args, **_kwargs)
417 if val: val = wxColourPtr(val)
418 return val
419 def __repr__(self):
420 return "<%s.%s instance; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
421class wxHtmlRenderingState(wxHtmlRenderingStatePtr):
422 def __init__(self,*_args,**_kwargs):
423 self.this = htmlc.new_wxHtmlRenderingState(*_args,**_kwargs)
424 self.thisown = 1
425
426
427
428
429class wxHtmlRenderingStylePtr :
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
433 def GetSelectedTextColour(self, *_args, **_kwargs):
434 val = htmlc.wxHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs)
435 if val: val = wxColourPtr(val) ; val.thisown = 1
436 return val
437 def GetSelectedTextBgColour(self, *_args, **_kwargs):
438 val = htmlc.wxHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs)
439 if val: val = wxColourPtr(val) ; val.thisown = 1
440 return val
441 def __repr__(self):
442 return "<%s.%s instance; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
443class wxHtmlRenderingStyle(wxHtmlRenderingStylePtr):
444 def __init__(self,this):
445 self.this = this
446
447
448
449
450class wxDefaultHtmlRenderingStylePtr(wxHtmlRenderingStylePtr):
451 def __init__(self,this):
452 self.this = this
453 self.thisown = 0
454 def GetSelectedTextColour(self, *_args, **_kwargs):
455 val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs)
456 if val: val = wxColourPtr(val) ; val.thisown = 1
457 return val
458 def GetSelectedTextBgColour(self, *_args, **_kwargs):
459 val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs)
460 if val: val = wxColourPtr(val) ; val.thisown = 1
461 return val
462 def __repr__(self):
463 return "<%s.%s instance; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
464class wxDefaultHtmlRenderingStyle(wxDefaultHtmlRenderingStylePtr):
465 def __init__(self,this):
466 self.this = this
467
468
469
470
471class wxHtmlRenderingInfoPtr :
472 def __init__(self,this):
473 self.this = this
474 self.thisown = 0
475 def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingInfo):
476 if self.thisown == 1:
477 try:
478 delfunc(self)
479 except:
480 pass
481 def SetSelection(self, *_args, **_kwargs):
482 val = htmlc.wxHtmlRenderingInfo_SetSelection(self, *_args, **_kwargs)
483 return val
484 def GetSelection(self, *_args, **_kwargs):
485 val = htmlc.wxHtmlRenderingInfo_GetSelection(self, *_args, **_kwargs)
486 if val: val = wxHtmlSelectionPtr(val)
487 return val
488 def SetStyle(self, *_args, **_kwargs):
489 val = htmlc.wxHtmlRenderingInfo_SetStyle(self, *_args, **_kwargs)
490 return val
491 def GetStyle(self, *_args, **_kwargs):
492 val = htmlc.wxHtmlRenderingInfo_GetStyle(self, *_args, **_kwargs)
493 if val: val = wxHtmlRenderingStylePtr(val)
494 return val
495 def GetState(self, *_args, **_kwargs):
496 val = htmlc.wxHtmlRenderingInfo_GetState(self, *_args, **_kwargs)
497 if val: val = wxHtmlRenderingStatePtr(val)
498 return val
499 def __repr__(self):
500 return "<%s.%s instance; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
501class wxHtmlRenderingInfo(wxHtmlRenderingInfoPtr):
502 def __init__(self,*_args,**_kwargs):
503 self.this = htmlc.new_wxHtmlRenderingInfo(*_args,**_kwargs)
504 self.thisown = 1
505
506
507
508
e6056257
RD
509class wxHtmlCellPtr(wxObjectPtr):
510 def __init__(self,this):
511 self.this = this
512 self.thisown = 0
513 def GetPosX(self, *_args, **_kwargs):
d84a9306 514 val = htmlc.wxHtmlCell_GetPosX(self, *_args, **_kwargs)
e6056257
RD
515 return val
516 def GetPosY(self, *_args, **_kwargs):
d84a9306 517 val = htmlc.wxHtmlCell_GetPosY(self, *_args, **_kwargs)
e6056257
RD
518 return val
519 def GetWidth(self, *_args, **_kwargs):
d84a9306 520 val = htmlc.wxHtmlCell_GetWidth(self, *_args, **_kwargs)
e6056257
RD
521 return val
522 def GetHeight(self, *_args, **_kwargs):
d84a9306 523 val = htmlc.wxHtmlCell_GetHeight(self, *_args, **_kwargs)
e6056257
RD
524 return val
525 def GetDescent(self, *_args, **_kwargs):
d84a9306 526 val = htmlc.wxHtmlCell_GetDescent(self, *_args, **_kwargs)
e6056257
RD
527 return val
528 def GetLink(self, *_args, **_kwargs):
d84a9306 529 val = htmlc.wxHtmlCell_GetLink(self, *_args, **_kwargs)
e6056257
RD
530 if val: val = wxHtmlLinkInfoPtr(val)
531 return val
532 def GetNext(self, *_args, **_kwargs):
d84a9306 533 val = htmlc.wxHtmlCell_GetNext(self, *_args, **_kwargs)
e6056257
RD
534 if val: val = wxHtmlCellPtr(val)
535 return val
536 def GetParent(self, *_args, **_kwargs):
d84a9306 537 val = htmlc.wxHtmlCell_GetParent(self, *_args, **_kwargs)
e6056257
RD
538 if val: val = wxHtmlContainerCellPtr(val)
539 return val
d84a9306
RD
540 def GetFirstChild(self, *_args, **_kwargs):
541 val = htmlc.wxHtmlCell_GetFirstChild(self, *_args, **_kwargs)
542 if val: val = wxHtmlCellPtr(val)
543 return val
544 def GetCursor(self, *_args, **_kwargs):
545 val = htmlc.wxHtmlCell_GetCursor(self, *_args, **_kwargs)
546 if val: val = wxCursorPtr(val) ; val.thisown = 1
547 return val
548 def IsFormattingCell(self, *_args, **_kwargs):
549 val = htmlc.wxHtmlCell_IsFormattingCell(self, *_args, **_kwargs)
550 return val
e6056257 551 def SetLink(self, *_args, **_kwargs):
d84a9306 552 val = htmlc.wxHtmlCell_SetLink(self, *_args, **_kwargs)
e6056257
RD
553 return val
554 def SetNext(self, *_args, **_kwargs):
d84a9306 555 val = htmlc.wxHtmlCell_SetNext(self, *_args, **_kwargs)
e6056257
RD
556 return val
557 def SetParent(self, *_args, **_kwargs):
d84a9306 558 val = htmlc.wxHtmlCell_SetParent(self, *_args, **_kwargs)
e6056257
RD
559 return val
560 def SetPos(self, *_args, **_kwargs):
d84a9306 561 val = htmlc.wxHtmlCell_SetPos(self, *_args, **_kwargs)
e6056257
RD
562 return val
563 def Layout(self, *_args, **_kwargs):
d84a9306 564 val = htmlc.wxHtmlCell_Layout(self, *_args, **_kwargs)
e6056257
RD
565 return val
566 def Draw(self, *_args, **_kwargs):
d84a9306 567 val = htmlc.wxHtmlCell_Draw(self, *_args, **_kwargs)
e6056257
RD
568 return val
569 def DrawInvisible(self, *_args, **_kwargs):
d84a9306 570 val = htmlc.wxHtmlCell_DrawInvisible(self, *_args, **_kwargs)
e6056257
RD
571 return val
572 def Find(self, *_args, **_kwargs):
d84a9306 573 val = htmlc.wxHtmlCell_Find(self, *_args, **_kwargs)
e6056257
RD
574 if val: val = wxHtmlCellPtr(val)
575 return val
576 def AdjustPagebreak(self, *_args, **_kwargs):
d84a9306 577 val = htmlc.wxHtmlCell_AdjustPagebreak(self, *_args, **_kwargs)
e6056257
RD
578 return val
579 def SetCanLiveOnPagebreak(self, *_args, **_kwargs):
d84a9306
RD
580 val = htmlc.wxHtmlCell_SetCanLiveOnPagebreak(self, *_args, **_kwargs)
581 return val
582 def IsLinebreakAllowed(self, *_args, **_kwargs):
583 val = htmlc.wxHtmlCell_IsLinebreakAllowed(self, *_args, **_kwargs)
584 return val
585 def IsTerminalCell(self, *_args, **_kwargs):
586 val = htmlc.wxHtmlCell_IsTerminalCell(self, *_args, **_kwargs)
587 return val
588 def FindCellByPos(self, *_args, **_kwargs):
589 val = htmlc.wxHtmlCell_FindCellByPos(self, *_args, **_kwargs)
590 if val: val = wxHtmlCellPtr(val)
591 return val
592 def GetAbsPos(self, *_args, **_kwargs):
593 val = htmlc.wxHtmlCell_GetAbsPos(self, *_args, **_kwargs)
594 if val: val = wxPointPtr(val) ; val.thisown = 1
595 return val
596 def GetFirstTerminal(self, *_args, **_kwargs):
597 val = htmlc.wxHtmlCell_GetFirstTerminal(self, *_args, **_kwargs)
598 if val: val = wxHtmlCellPtr(val)
599 return val
600 def GetLastTerminal(self, *_args, **_kwargs):
601 val = htmlc.wxHtmlCell_GetLastTerminal(self, *_args, **_kwargs)
602 if val: val = wxHtmlCellPtr(val)
603 return val
604 def GetDepth(self, *_args, **_kwargs):
605 val = htmlc.wxHtmlCell_GetDepth(self, *_args, **_kwargs)
606 return val
607 def IsBefore(self, *_args, **_kwargs):
608 val = htmlc.wxHtmlCell_IsBefore(self, *_args, **_kwargs)
609 return val
610 def ConvertToText(self, *_args, **_kwargs):
611 val = htmlc.wxHtmlCell_ConvertToText(self, *_args, **_kwargs)
e6056257
RD
612 return val
613 def __repr__(self):
d84a9306 614 return "<%s.%s instance; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
615class wxHtmlCell(wxHtmlCellPtr):
616 def __init__(self,*_args,**_kwargs):
d84a9306 617 self.this = htmlc.new_wxHtmlCell(*_args,**_kwargs)
e6056257
RD
618 self.thisown = 1
619
620
621
622
623class wxHtmlWordCellPtr(wxHtmlCellPtr):
624 def __init__(self,this):
625 self.this = this
626 self.thisown = 0
627 def __repr__(self):
d84a9306 628 return "<%s.%s instance; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
629class wxHtmlWordCell(wxHtmlWordCellPtr):
630 def __init__(self,*_args,**_kwargs):
d84a9306 631 self.this = htmlc.new_wxHtmlWordCell(*_args,**_kwargs)
e6056257
RD
632 self.thisown = 1
633
634
635
636
637class wxHtmlContainerCellPtr(wxHtmlCellPtr):
638 def __init__(self,this):
639 self.this = this
640 self.thisown = 0
641 def InsertCell(self, *_args, **_kwargs):
d84a9306 642 val = htmlc.wxHtmlContainerCell_InsertCell(self, *_args, **_kwargs)
e6056257
RD
643 return val
644 def SetAlignHor(self, *_args, **_kwargs):
d84a9306 645 val = htmlc.wxHtmlContainerCell_SetAlignHor(self, *_args, **_kwargs)
e6056257
RD
646 return val
647 def GetAlignHor(self, *_args, **_kwargs):
d84a9306 648 val = htmlc.wxHtmlContainerCell_GetAlignHor(self, *_args, **_kwargs)
e6056257
RD
649 return val
650 def SetAlignVer(self, *_args, **_kwargs):
d84a9306 651 val = htmlc.wxHtmlContainerCell_SetAlignVer(self, *_args, **_kwargs)
e6056257
RD
652 return val
653 def GetAlignVer(self, *_args, **_kwargs):
d84a9306 654 val = htmlc.wxHtmlContainerCell_GetAlignVer(self, *_args, **_kwargs)
e6056257
RD
655 return val
656 def SetIndent(self, *_args, **_kwargs):
d84a9306 657 val = htmlc.wxHtmlContainerCell_SetIndent(self, *_args, **_kwargs)
e6056257
RD
658 return val
659 def GetIndent(self, *_args, **_kwargs):
d84a9306 660 val = htmlc.wxHtmlContainerCell_GetIndent(self, *_args, **_kwargs)
e6056257
RD
661 return val
662 def GetIndentUnits(self, *_args, **_kwargs):
d84a9306 663 val = htmlc.wxHtmlContainerCell_GetIndentUnits(self, *_args, **_kwargs)
e6056257
RD
664 return val
665 def SetAlign(self, *_args, **_kwargs):
d84a9306 666 val = htmlc.wxHtmlContainerCell_SetAlign(self, *_args, **_kwargs)
e6056257
RD
667 return val
668 def SetWidthFloat(self, *_args, **_kwargs):
d84a9306 669 val = htmlc.wxHtmlContainerCell_SetWidthFloat(self, *_args, **_kwargs)
e6056257
RD
670 return val
671 def SetWidthFloatFromTag(self, *_args, **_kwargs):
d84a9306 672 val = htmlc.wxHtmlContainerCell_SetWidthFloatFromTag(self, *_args, **_kwargs)
e6056257
RD
673 return val
674 def SetMinHeight(self, *_args, **_kwargs):
d84a9306 675 val = htmlc.wxHtmlContainerCell_SetMinHeight(self, *_args, **_kwargs)
e6056257
RD
676 return val
677 def SetBackgroundColour(self, *_args, **_kwargs):
d84a9306 678 val = htmlc.wxHtmlContainerCell_SetBackgroundColour(self, *_args, **_kwargs)
e6056257 679 return val
7108497a 680 def GetBackgroundColour(self, *_args, **_kwargs):
d84a9306 681 val = htmlc.wxHtmlContainerCell_GetBackgroundColour(self, *_args, **_kwargs)
7108497a
RD
682 if val: val = wxColourPtr(val) ; val.thisown = 1
683 return val
e6056257 684 def SetBorder(self, *_args, **_kwargs):
d84a9306 685 val = htmlc.wxHtmlContainerCell_SetBorder(self, *_args, **_kwargs)
e6056257 686 return val
d84a9306
RD
687 def GetFirstChild(self, *_args, **_kwargs):
688 val = htmlc.wxHtmlContainerCell_GetFirstChild(self, *_args, **_kwargs)
e6056257
RD
689 if val: val = wxHtmlCellPtr(val)
690 return val
691 def __repr__(self):
d84a9306
RD
692 return "<%s.%s instance; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
693 GetFirstCell = GetFirstChild
e6056257
RD
694class wxHtmlContainerCell(wxHtmlContainerCellPtr):
695 def __init__(self,*_args,**_kwargs):
d84a9306 696 self.this = htmlc.new_wxHtmlContainerCell(*_args,**_kwargs)
e6056257
RD
697 self.thisown = 1
698
699
700
701
702class wxHtmlColourCellPtr(wxHtmlCellPtr):
703 def __init__(self,this):
704 self.this = this
705 self.thisown = 0
706 def __repr__(self):
d84a9306 707 return "<%s.%s instance; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
708class wxHtmlColourCell(wxHtmlColourCellPtr):
709 def __init__(self,*_args,**_kwargs):
d84a9306 710 self.this = htmlc.new_wxHtmlColourCell(*_args,**_kwargs)
e6056257
RD
711 self.thisown = 1
712
713
714
715
716class wxHtmlFontCellPtr(wxHtmlCellPtr):
717 def __init__(self,this):
718 self.this = this
719 self.thisown = 0
720 def __repr__(self):
d84a9306 721 return "<%s.%s instance; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
722class wxHtmlFontCell(wxHtmlFontCellPtr):
723 def __init__(self,*_args,**_kwargs):
d84a9306 724 self.this = htmlc.new_wxHtmlFontCell(*_args,**_kwargs)
e6056257
RD
725 self.thisown = 1
726
727
728
729
730class wxHtmlWidgetCellPtr(wxHtmlCellPtr):
731 def __init__(self,this):
732 self.this = this
733 self.thisown = 0
734 def __repr__(self):
d84a9306 735 return "<%s.%s instance; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
736class wxHtmlWidgetCell(wxHtmlWidgetCellPtr):
737 def __init__(self,*_args,**_kwargs):
d84a9306 738 self.this = htmlc.new_wxHtmlWidgetCell(*_args,**_kwargs)
e6056257
RD
739 self.thisown = 1
740
741
742
743
7108497a
RD
744class wxHtmlFilterPtr(wxObjectPtr):
745 def __init__(self,this):
746 self.this = this
747 self.thisown = 0
748 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 749 val = htmlc.wxHtmlFilter__setCallbackInfo(self, *_args, **_kwargs)
7108497a
RD
750 return val
751 def __repr__(self):
d84a9306 752 return "<%s.%s instance; proxy of C++ wxHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
7108497a
RD
753class wxHtmlFilter(wxHtmlFilterPtr):
754 def __init__(self,*_args,**_kwargs):
d84a9306 755 self.this = htmlc.new_wxHtmlFilter(*_args,**_kwargs)
7108497a
RD
756 self.thisown = 1
757 self._setCallbackInfo(self, wxHtmlFilter)
758
759
760
761
e6056257
RD
762class wxHtmlWindowPtr(wxScrolledWindowPtr):
763 def __init__(self,this):
764 self.this = this
765 self.thisown = 0
00360d46 766 def Create(self, *_args, **_kwargs):
d84a9306 767 val = htmlc.wxHtmlWindow_Create(self, *_args, **_kwargs)
00360d46 768 return val
e6056257 769 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 770 val = htmlc.wxHtmlWindow__setCallbackInfo(self, *_args, **_kwargs)
e6056257
RD
771 return val
772 def SetPage(self, *_args, **_kwargs):
d84a9306 773 val = htmlc.wxHtmlWindow_SetPage(self, *_args, **_kwargs)
e6056257
RD
774 return val
775 def LoadPage(self, *_args, **_kwargs):
d84a9306
RD
776 val = htmlc.wxHtmlWindow_LoadPage(self, *_args, **_kwargs)
777 return val
778 def LoadFile(self, *_args, **_kwargs):
779 val = htmlc.wxHtmlWindow_LoadFile(self, *_args, **_kwargs)
e6056257
RD
780 return val
781 def AppendToPage(self, *_args, **_kwargs):
d84a9306 782 val = htmlc.wxHtmlWindow_AppendToPage(self, *_args, **_kwargs)
e6056257
RD
783 return val
784 def GetOpenedPage(self, *_args, **_kwargs):
d84a9306 785 val = htmlc.wxHtmlWindow_GetOpenedPage(self, *_args, **_kwargs)
e6056257
RD
786 return val
787 def GetOpenedAnchor(self, *_args, **_kwargs):
d84a9306 788 val = htmlc.wxHtmlWindow_GetOpenedAnchor(self, *_args, **_kwargs)
e6056257
RD
789 return val
790 def GetOpenedPageTitle(self, *_args, **_kwargs):
d84a9306 791 val = htmlc.wxHtmlWindow_GetOpenedPageTitle(self, *_args, **_kwargs)
e6056257
RD
792 return val
793 def SetRelatedFrame(self, *_args, **_kwargs):
d84a9306 794 val = htmlc.wxHtmlWindow_SetRelatedFrame(self, *_args, **_kwargs)
e6056257
RD
795 return val
796 def GetRelatedFrame(self, *_args, **_kwargs):
d84a9306 797 val = htmlc.wxHtmlWindow_GetRelatedFrame(self, *_args, **_kwargs)
e6056257
RD
798 return val
799 def SetRelatedStatusBar(self, *_args, **_kwargs):
d84a9306 800 val = htmlc.wxHtmlWindow_SetRelatedStatusBar(self, *_args, **_kwargs)
e6056257
RD
801 return val
802 def SetFonts(self, *_args, **_kwargs):
d84a9306 803 val = htmlc.wxHtmlWindow_SetFonts(self, *_args, **_kwargs)
e6056257
RD
804 return val
805 def SetTitle(self, *_args, **_kwargs):
d84a9306 806 val = htmlc.wxHtmlWindow_SetTitle(self, *_args, **_kwargs)
e6056257
RD
807 return val
808 def SetBorders(self, *_args, **_kwargs):
d84a9306 809 val = htmlc.wxHtmlWindow_SetBorders(self, *_args, **_kwargs)
e6056257
RD
810 return val
811 def ReadCustomization(self, *_args, **_kwargs):
d84a9306 812 val = htmlc.wxHtmlWindow_ReadCustomization(self, *_args, **_kwargs)
e6056257
RD
813 return val
814 def WriteCustomization(self, *_args, **_kwargs):
d84a9306 815 val = htmlc.wxHtmlWindow_WriteCustomization(self, *_args, **_kwargs)
e6056257
RD
816 return val
817 def HistoryBack(self, *_args, **_kwargs):
d84a9306 818 val = htmlc.wxHtmlWindow_HistoryBack(self, *_args, **_kwargs)
e6056257
RD
819 return val
820 def HistoryForward(self, *_args, **_kwargs):
d84a9306 821 val = htmlc.wxHtmlWindow_HistoryForward(self, *_args, **_kwargs)
e6056257
RD
822 return val
823 def HistoryCanBack(self, *_args, **_kwargs):
d84a9306 824 val = htmlc.wxHtmlWindow_HistoryCanBack(self, *_args, **_kwargs)
e6056257
RD
825 return val
826 def HistoryCanForward(self, *_args, **_kwargs):
d84a9306 827 val = htmlc.wxHtmlWindow_HistoryCanForward(self, *_args, **_kwargs)
e6056257
RD
828 return val
829 def HistoryClear(self, *_args, **_kwargs):
d84a9306 830 val = htmlc.wxHtmlWindow_HistoryClear(self, *_args, **_kwargs)
e6056257
RD
831 return val
832 def GetInternalRepresentation(self, *_args, **_kwargs):
d84a9306 833 val = htmlc.wxHtmlWindow_GetInternalRepresentation(self, *_args, **_kwargs)
e6056257
RD
834 if val: val = wxHtmlContainerCellPtr(val)
835 return val
836 def GetParser(self, *_args, **_kwargs):
d84a9306 837 val = htmlc.wxHtmlWindow_GetParser(self, *_args, **_kwargs)
e6056257
RD
838 if val: val = wxHtmlWinParserPtr(val)
839 return val
da0ddbd6 840 def ScrollToAnchor(self, *_args, **_kwargs):
d84a9306 841 val = htmlc.wxHtmlWindow_ScrollToAnchor(self, *_args, **_kwargs)
da0ddbd6
RD
842 return val
843 def HasAnchor(self, *_args, **_kwargs):
d84a9306 844 val = htmlc.wxHtmlWindow_HasAnchor(self, *_args, **_kwargs)
da0ddbd6 845 return val
e6056257 846 def base_OnLinkClicked(self, *_args, **_kwargs):
d84a9306 847 val = htmlc.wxHtmlWindow_base_OnLinkClicked(self, *_args, **_kwargs)
e6056257
RD
848 return val
849 def base_OnSetTitle(self, *_args, **_kwargs):
d84a9306 850 val = htmlc.wxHtmlWindow_base_OnSetTitle(self, *_args, **_kwargs)
e6056257
RD
851 return val
852 def base_OnCellMouseHover(self, *_args, **_kwargs):
d84a9306 853 val = htmlc.wxHtmlWindow_base_OnCellMouseHover(self, *_args, **_kwargs)
e6056257
RD
854 return val
855 def base_OnCellClicked(self, *_args, **_kwargs):
d84a9306 856 val = htmlc.wxHtmlWindow_base_OnCellClicked(self, *_args, **_kwargs)
e6056257
RD
857 return val
858 def __repr__(self):
d84a9306 859 return "<%s.%s instance; proxy of C++ wxHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
860class wxHtmlWindow(wxHtmlWindowPtr):
861 def __init__(self,*_args,**_kwargs):
d84a9306 862 self.this = htmlc.new_wxHtmlWindow(*_args,**_kwargs)
e6056257
RD
863 self.thisown = 1
864 self._setCallbackInfo(self, wxHtmlWindow)
865 self._setOORInfo(self)
866
867
868
00360d46 869def wxPreHtmlWindow(*_args,**_kwargs):
d84a9306 870 val = wxHtmlWindowPtr(htmlc.new_wxPreHtmlWindow(*_args,**_kwargs))
00360d46
RD
871 val.thisown = 1
872 val._setOORInfo(val)
873 return val
874
e6056257
RD
875
876class wxHtmlDCRendererPtr(wxObjectPtr):
877 def __init__(self,this):
878 self.this = this
879 self.thisown = 0
7108497a
RD
880 def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer):
881 if self.thisown == 1:
882 try:
883 delfunc(self)
884 except:
885 pass
e6056257 886 def SetDC(self, *_args, **_kwargs):
d84a9306 887 val = htmlc.wxHtmlDCRenderer_SetDC(self, *_args, **_kwargs)
e6056257
RD
888 return val
889 def SetSize(self, *_args, **_kwargs):
d84a9306 890 val = htmlc.wxHtmlDCRenderer_SetSize(self, *_args, **_kwargs)
e6056257
RD
891 return val
892 def SetHtmlText(self, *_args, **_kwargs):
d84a9306 893 val = htmlc.wxHtmlDCRenderer_SetHtmlText(self, *_args, **_kwargs)
e6056257 894 return val
2b9e4799 895 def SetFonts(self, *_args, **_kwargs):
d84a9306 896 val = htmlc.wxHtmlDCRenderer_SetFonts(self, *_args, **_kwargs)
2b9e4799 897 return val
e6056257 898 def Render(self, *_args, **_kwargs):
d84a9306 899 val = htmlc.wxHtmlDCRenderer_Render(self, *_args, **_kwargs)
e6056257
RD
900 return val
901 def GetTotalHeight(self, *_args, **_kwargs):
d84a9306 902 val = htmlc.wxHtmlDCRenderer_GetTotalHeight(self, *_args, **_kwargs)
e6056257
RD
903 return val
904 def __repr__(self):
d84a9306 905 return "<%s.%s instance; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
906class wxHtmlDCRenderer(wxHtmlDCRendererPtr):
907 def __init__(self,*_args,**_kwargs):
d84a9306 908 self.this = htmlc.new_wxHtmlDCRenderer(*_args,**_kwargs)
e6056257
RD
909 self.thisown = 1
910
911
912
913
914class wxHtmlPrintoutPtr(wxPrintoutPtr):
915 def __init__(self,this):
916 self.this = this
917 self.thisown = 0
918 def SetHtmlText(self, *_args, **_kwargs):
d84a9306 919 val = htmlc.wxHtmlPrintout_SetHtmlText(self, *_args, **_kwargs)
e6056257
RD
920 return val
921 def SetHtmlFile(self, *_args, **_kwargs):
d84a9306 922 val = htmlc.wxHtmlPrintout_SetHtmlFile(self, *_args, **_kwargs)
e6056257
RD
923 return val
924 def SetHeader(self, *_args, **_kwargs):
d84a9306 925 val = htmlc.wxHtmlPrintout_SetHeader(self, *_args, **_kwargs)
e6056257
RD
926 return val
927 def SetFooter(self, *_args, **_kwargs):
d84a9306 928 val = htmlc.wxHtmlPrintout_SetFooter(self, *_args, **_kwargs)
e6056257 929 return val
2b9e4799 930 def SetFonts(self, *_args, **_kwargs):
d84a9306 931 val = htmlc.wxHtmlPrintout_SetFonts(self, *_args, **_kwargs)
2b9e4799 932 return val
e6056257 933 def SetMargins(self, *_args, **_kwargs):
d84a9306 934 val = htmlc.wxHtmlPrintout_SetMargins(self, *_args, **_kwargs)
e6056257
RD
935 return val
936 def __repr__(self):
d84a9306 937 return "<%s.%s instance; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
938class wxHtmlPrintout(wxHtmlPrintoutPtr):
939 def __init__(self,*_args,**_kwargs):
d84a9306 940 self.this = htmlc.new_wxHtmlPrintout(*_args,**_kwargs)
e6056257
RD
941 self.thisown = 1
942
943
944
945
946class wxHtmlEasyPrintingPtr(wxObjectPtr):
947 def __init__(self,this):
948 self.this = this
949 self.thisown = 0
7108497a
RD
950 def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting):
951 if self.thisown == 1:
952 try:
953 delfunc(self)
954 except:
955 pass
e6056257 956 def PreviewFile(self, *_args, **_kwargs):
d84a9306 957 val = htmlc.wxHtmlEasyPrinting_PreviewFile(self, *_args, **_kwargs)
e6056257
RD
958 return val
959 def PreviewText(self, *_args, **_kwargs):
d84a9306 960 val = htmlc.wxHtmlEasyPrinting_PreviewText(self, *_args, **_kwargs)
e6056257
RD
961 return val
962 def PrintFile(self, *_args, **_kwargs):
d84a9306 963 val = htmlc.wxHtmlEasyPrinting_PrintFile(self, *_args, **_kwargs)
e6056257
RD
964 return val
965 def PrintText(self, *_args, **_kwargs):
d84a9306 966 val = htmlc.wxHtmlEasyPrinting_PrintText(self, *_args, **_kwargs)
e6056257
RD
967 return val
968 def PrinterSetup(self, *_args, **_kwargs):
d84a9306 969 val = htmlc.wxHtmlEasyPrinting_PrinterSetup(self, *_args, **_kwargs)
e6056257
RD
970 return val
971 def PageSetup(self, *_args, **_kwargs):
d84a9306 972 val = htmlc.wxHtmlEasyPrinting_PageSetup(self, *_args, **_kwargs)
e6056257
RD
973 return val
974 def SetHeader(self, *_args, **_kwargs):
d84a9306 975 val = htmlc.wxHtmlEasyPrinting_SetHeader(self, *_args, **_kwargs)
e6056257
RD
976 return val
977 def SetFooter(self, *_args, **_kwargs):
d84a9306 978 val = htmlc.wxHtmlEasyPrinting_SetFooter(self, *_args, **_kwargs)
e6056257 979 return val
2b9e4799 980 def SetFonts(self, *_args, **_kwargs):
d84a9306 981 val = htmlc.wxHtmlEasyPrinting_SetFonts(self, *_args, **_kwargs)
2b9e4799 982 return val
e6056257 983 def GetPrintData(self, *_args, **_kwargs):
d84a9306 984 val = htmlc.wxHtmlEasyPrinting_GetPrintData(self, *_args, **_kwargs)
e6056257
RD
985 if val: val = wxPrintDataPtr(val)
986 return val
987 def GetPageSetupData(self, *_args, **_kwargs):
d84a9306 988 val = htmlc.wxHtmlEasyPrinting_GetPageSetupData(self, *_args, **_kwargs)
e6056257
RD
989 if val: val = wxPageSetupDialogDataPtr(val)
990 return val
991 def __repr__(self):
d84a9306 992 return "<%s.%s instance; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
993class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr):
994 def __init__(self,*_args,**_kwargs):
d84a9306 995 self.this = htmlc.new_wxHtmlEasyPrinting(*_args,**_kwargs)
e6056257
RD
996 self.thisown = 1
997
998
999
1000
1001
1002
1003#-------------- FUNCTION WRAPPERS ------------------
1004
1005wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler
1006
1007wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter
1008
d84a9306
RD
1009wxHtmlPrintout_AddFilter = htmlc.wxHtmlPrintout_AddFilter
1010
1011wxHtmlPrintout_CleanUpStatics = htmlc.wxHtmlPrintout_CleanUpStatics
1012
e6056257
RD
1013
1014
1015#-------------- VARIABLE WRAPPERS ------------------
1016
1017wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT
1018wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER
1019wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT
1020wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM
1021wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP
1022wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND
1023wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND
1024wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS
1025wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT
1026wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT
1027wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT
1028wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP
1029wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM
1030wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL
1031wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL
1032wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL
1033wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR
1034wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP
1035wxHTML_COND_USER = htmlc.wxHTML_COND_USER
ca31b3da
RD
1036wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER
1037wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO
d84a9306
RD
1038wxHW_NO_SELECTION = htmlc.wxHW_NO_SELECTION
1039wxHW_DEFAULT_STYLE = htmlc.wxHW_DEFAULT_STYLE
ca31b3da
RD
1040wxHTML_OPEN = htmlc.wxHTML_OPEN
1041wxHTML_BLOCK = htmlc.wxHTML_BLOCK
1042wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT
1043wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE
1044wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE
1045wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER
d84a9306
RD
1046wxHTML_SEL_OUT = htmlc.wxHTML_SEL_OUT
1047wxHTML_SEL_IN = htmlc.wxHTML_SEL_IN
1048wxHTML_SEL_CHANGING = htmlc.wxHTML_SEL_CHANGING
1049wxHTML_FIND_EXACT = htmlc.wxHTML_FIND_EXACT
1050wxHTML_FIND_NEAREST_BEFORE = htmlc.wxHTML_FIND_NEAREST_BEFORE
1051wxHTML_FIND_NEAREST_AFTER = htmlc.wxHTML_FIND_NEAREST_AFTER
e6056257
RD
1052wxPAGE_ODD = htmlc.wxPAGE_ODD
1053wxPAGE_EVEN = htmlc.wxPAGE_EVEN
1054wxPAGE_ALL = htmlc.wxPAGE_ALL
1055
1056
1057#-------------- USER INCLUDE -----------------------
1058
1059
1060# Stuff these names into the wx namespace so wxPyConstructObject can find them
1061import wx
1062wx.wxHtmlTagPtr = wxHtmlTagPtr
1063wx.wxHtmlParserPtr = wxHtmlParserPtr
1064wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr
1065wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr
1066wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr
1067wx.wxHtmlCellPtr = wxHtmlCellPtr
1068wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr
1069wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
1070wx.wxHtmlWindowPtr = wxHtmlWindowPtr
1071wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr
7108497a 1072wx.wxHtmlFilterPtr = wxHtmlFilterPtr
e6056257 1073