]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/html.py
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / msw / html.py
CommitLineData
325274bb
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
68bc8549
RD
12from fonts import *
13
b1462dfa
RD
14from clip_dnd import *
15
325274bb
RD
16from events import *
17
c368d904
RD
18from streams import *
19
181526ac
RD
20from utils import *
21
325274bb
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 *
2f90df85
RD
41
42from sizers import *
c368d904
RD
43
44from filesys import *
2f90df85 45import wx
9416aa89 46class wxHtmlLinkInfoPtr(wxObjectPtr):
9c00cfa3
RD
47 def __init__(self,this):
48 self.this = this
49 self.thisown = 0
50 def GetHref(self, *_args, **_kwargs):
51 val = apply(htmlc.wxHtmlLinkInfo_GetHref,(self,) + _args, _kwargs)
52 return val
53 def GetTarget(self, *_args, **_kwargs):
54 val = apply(htmlc.wxHtmlLinkInfo_GetTarget,(self,) + _args, _kwargs)
55 return val
e02c03a4
RD
56 def GetEvent(self, *_args, **_kwargs):
57 val = apply(htmlc.wxHtmlLinkInfo_GetEvent,(self,) + _args, _kwargs)
e02c03a4
RD
58 return val
59 def GetHtmlCell(self, *_args, **_kwargs):
60 val = apply(htmlc.wxHtmlLinkInfo_GetHtmlCell,(self,) + _args, _kwargs)
61 if val: val = wxHtmlCellPtr(val)
62 return val
794c5cb1
RD
63 def SetEvent(self, *_args, **_kwargs):
64 val = apply(htmlc.wxHtmlLinkInfo_SetEvent,(self,) + _args, _kwargs)
65 return val
66 def SetHtmlCell(self, *_args, **_kwargs):
67 val = apply(htmlc.wxHtmlLinkInfo_SetHtmlCell,(self,) + _args, _kwargs)
68 return val
9c00cfa3
RD
69 def __repr__(self):
70 return "<C wxHtmlLinkInfo instance at %s>" % (self.this,)
71class wxHtmlLinkInfo(wxHtmlLinkInfoPtr):
72 def __init__(self,*_args,**_kwargs):
73 self.this = apply(htmlc.new_wxHtmlLinkInfo,_args,_kwargs)
74 self.thisown = 1
75
76
77
78
9416aa89 79class wxHtmlTagPtr(wxObjectPtr):
0f66a9f3
RD
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
83 def GetName(self, *_args, **_kwargs):
84 val = apply(htmlc.wxHtmlTag_GetName,(self,) + _args, _kwargs)
85 return val
86 def HasParam(self, *_args, **_kwargs):
87 val = apply(htmlc.wxHtmlTag_HasParam,(self,) + _args, _kwargs)
88 return val
89 def GetParam(self, *_args, **_kwargs):
90 val = apply(htmlc.wxHtmlTag_GetParam,(self,) + _args, _kwargs)
91 return val
92 def GetAllParams(self, *_args, **_kwargs):
93 val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs)
94 return val
0f66a9f3
RD
95 def HasEnding(self, *_args, **_kwargs):
96 val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs)
97 return val
98 def GetBeginPos(self, *_args, **_kwargs):
99 val = apply(htmlc.wxHtmlTag_GetBeginPos,(self,) + _args, _kwargs)
100 return val
101 def GetEndPos1(self, *_args, **_kwargs):
102 val = apply(htmlc.wxHtmlTag_GetEndPos1,(self,) + _args, _kwargs)
103 return val
104 def GetEndPos2(self, *_args, **_kwargs):
105 val = apply(htmlc.wxHtmlTag_GetEndPos2,(self,) + _args, _kwargs)
106 return val
107 def __repr__(self):
108 return "<C wxHtmlTag instance at %s>" % (self.this,)
109class wxHtmlTag(wxHtmlTagPtr):
110 def __init__(self,this):
111 self.this = this
112
113
114
115
9416aa89 116class wxHtmlParserPtr(wxObjectPtr):
0f66a9f3
RD
117 def __init__(self,this):
118 self.this = this
119 self.thisown = 0
120 def SetFS(self, *_args, **_kwargs):
121 val = apply(htmlc.wxHtmlParser_SetFS,(self,) + _args, _kwargs)
122 return val
123 def GetFS(self, *_args, **_kwargs):
124 val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs)
125 return val
126 def Parse(self, *_args, **_kwargs):
127 val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs)
128 return val
129 def InitParser(self, *_args, **_kwargs):
130 val = apply(htmlc.wxHtmlParser_InitParser,(self,) + _args, _kwargs)
131 return val
132 def DoneParser(self, *_args, **_kwargs):
133 val = apply(htmlc.wxHtmlParser_DoneParser,(self,) + _args, _kwargs)
134 return val
135 def DoParsing(self, *_args, **_kwargs):
136 val = apply(htmlc.wxHtmlParser_DoParsing,(self,) + _args, _kwargs)
137 return val
7e50db3f
RD
138 def StopParsing(self, *_args, **_kwargs):
139 val = apply(htmlc.wxHtmlParser_StopParsing,(self,) + _args, _kwargs)
140 return val
0f66a9f3
RD
141 def AddTagHandler(self, *_args, **_kwargs):
142 val = apply(htmlc.wxHtmlParser_AddTagHandler,(self,) + _args, _kwargs)
143 return val
144 def GetSource(self, *_args, **_kwargs):
145 val = apply(htmlc.wxHtmlParser_GetSource,(self,) + _args, _kwargs)
146 return val
dc2f8a65
RD
147 def PushTagHandler(self, *_args, **_kwargs):
148 val = apply(htmlc.wxHtmlParser_PushTagHandler,(self,) + _args, _kwargs)
149 return val
150 def PopTagHandler(self, *_args, **_kwargs):
151 val = apply(htmlc.wxHtmlParser_PopTagHandler,(self,) + _args, _kwargs)
152 return val
0f66a9f3
RD
153 def __repr__(self):
154 return "<C wxHtmlParser instance at %s>" % (self.this,)
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):
167 val = apply(htmlc.wxHtmlWinParser_SetDC,(self,) + _args, _kwargs)
168 return val
169 def GetDC(self, *_args, **_kwargs):
170 val = apply(htmlc.wxHtmlWinParser_GetDC,(self,) + _args, _kwargs)
0f66a9f3
RD
171 return val
172 def GetCharHeight(self, *_args, **_kwargs):
173 val = apply(htmlc.wxHtmlWinParser_GetCharHeight,(self,) + _args, _kwargs)
174 return val
175 def GetCharWidth(self, *_args, **_kwargs):
176 val = apply(htmlc.wxHtmlWinParser_GetCharWidth,(self,) + _args, _kwargs)
177 return val
178 def GetWindow(self, *_args, **_kwargs):
179 val = apply(htmlc.wxHtmlWinParser_GetWindow,(self,) + _args, _kwargs)
0f66a9f3
RD
180 return val
181 def SetFonts(self, *_args, **_kwargs):
182 val = apply(htmlc.wxHtmlWinParser_SetFonts,(self,) + _args, _kwargs)
183 return val
184 def GetContainer(self, *_args, **_kwargs):
185 val = apply(htmlc.wxHtmlWinParser_GetContainer,(self,) + _args, _kwargs)
e166644c 186 if val: val = wxHtmlContainerCellPtr(val)
0f66a9f3
RD
187 return val
188 def OpenContainer(self, *_args, **_kwargs):
189 val = apply(htmlc.wxHtmlWinParser_OpenContainer,(self,) + _args, _kwargs)
e166644c 190 if val: val = wxHtmlContainerCellPtr(val)
0f66a9f3 191 return val
dc2f8a65
RD
192 def SetContainer(self, *_args, **_kwargs):
193 val = apply(htmlc.wxHtmlWinParser_SetContainer,(self,) + _args, _kwargs)
194 if val: val = wxHtmlContainerCellPtr(val)
195 return val
0f66a9f3
RD
196 def CloseContainer(self, *_args, **_kwargs):
197 val = apply(htmlc.wxHtmlWinParser_CloseContainer,(self,) + _args, _kwargs)
e166644c 198 if val: val = wxHtmlContainerCellPtr(val)
0f66a9f3
RD
199 return val
200 def GetFontSize(self, *_args, **_kwargs):
201 val = apply(htmlc.wxHtmlWinParser_GetFontSize,(self,) + _args, _kwargs)
202 return val
203 def SetFontSize(self, *_args, **_kwargs):
204 val = apply(htmlc.wxHtmlWinParser_SetFontSize,(self,) + _args, _kwargs)
205 return val
206 def GetFontBold(self, *_args, **_kwargs):
207 val = apply(htmlc.wxHtmlWinParser_GetFontBold,(self,) + _args, _kwargs)
208 return val
209 def SetFontBold(self, *_args, **_kwargs):
210 val = apply(htmlc.wxHtmlWinParser_SetFontBold,(self,) + _args, _kwargs)
211 return val
212 def GetFontItalic(self, *_args, **_kwargs):
213 val = apply(htmlc.wxHtmlWinParser_GetFontItalic,(self,) + _args, _kwargs)
214 return val
215 def SetFontItalic(self, *_args, **_kwargs):
216 val = apply(htmlc.wxHtmlWinParser_SetFontItalic,(self,) + _args, _kwargs)
217 return val
218 def GetFontUnderlined(self, *_args, **_kwargs):
219 val = apply(htmlc.wxHtmlWinParser_GetFontUnderlined,(self,) + _args, _kwargs)
220 return val
221 def SetFontUnderlined(self, *_args, **_kwargs):
222 val = apply(htmlc.wxHtmlWinParser_SetFontUnderlined,(self,) + _args, _kwargs)
223 return val
224 def GetFontFixed(self, *_args, **_kwargs):
225 val = apply(htmlc.wxHtmlWinParser_GetFontFixed,(self,) + _args, _kwargs)
226 return val
227 def SetFontFixed(self, *_args, **_kwargs):
228 val = apply(htmlc.wxHtmlWinParser_SetFontFixed,(self,) + _args, _kwargs)
229 return val
230 def GetAlign(self, *_args, **_kwargs):
231 val = apply(htmlc.wxHtmlWinParser_GetAlign,(self,) + _args, _kwargs)
232 return val
233 def SetAlign(self, *_args, **_kwargs):
234 val = apply(htmlc.wxHtmlWinParser_SetAlign,(self,) + _args, _kwargs)
235 return val
236 def GetLinkColor(self, *_args, **_kwargs):
237 val = apply(htmlc.wxHtmlWinParser_GetLinkColor,(self,) + _args, _kwargs)
c5943253 238 if val: val = wxColourPtr(val) ; val.thisown = 1
0f66a9f3
RD
239 return val
240 def SetLinkColor(self, *_args, **_kwargs):
241 val = apply(htmlc.wxHtmlWinParser_SetLinkColor,(self,) + _args, _kwargs)
242 return val
243 def GetActualColor(self, *_args, **_kwargs):
244 val = apply(htmlc.wxHtmlWinParser_GetActualColor,(self,) + _args, _kwargs)
c5943253 245 if val: val = wxColourPtr(val) ; val.thisown = 1
0f66a9f3
RD
246 return val
247 def SetActualColor(self, *_args, **_kwargs):
248 val = apply(htmlc.wxHtmlWinParser_SetActualColor,(self,) + _args, _kwargs)
249 return val
0f66a9f3
RD
250 def SetLink(self, *_args, **_kwargs):
251 val = apply(htmlc.wxHtmlWinParser_SetLink,(self,) + _args, _kwargs)
252 return val
253 def CreateCurrentFont(self, *_args, **_kwargs):
254 val = apply(htmlc.wxHtmlWinParser_CreateCurrentFont,(self,) + _args, _kwargs)
255 if val: val = wxFontPtr(val)
256 return val
9c00cfa3
RD
257 def GetLink(self, *_args, **_kwargs):
258 val = apply(htmlc.wxHtmlWinParser_GetLink,(self,) + _args, _kwargs)
259 if val: val = wxHtmlLinkInfoPtr(val) ; val.thisown = 1
260 return val
0f66a9f3
RD
261 def __repr__(self):
262 return "<C wxHtmlWinParser instance at %s>" % (self.this,)
263class wxHtmlWinParser(wxHtmlWinParserPtr):
264 def __init__(self,*_args,**_kwargs):
265 self.this = apply(htmlc.new_wxHtmlWinParser,_args,_kwargs)
266 self.thisown = 1
267
268
269
270
9416aa89 271class wxHtmlTagHandlerPtr(wxObjectPtr):
0f66a9f3
RD
272 def __init__(self,this):
273 self.this = this
274 self.thisown = 0
0122b7e3
RD
275 def _setCallbackInfo(self, *_args, **_kwargs):
276 val = apply(htmlc.wxHtmlTagHandler__setCallbackInfo,(self,) + _args, _kwargs)
0f66a9f3
RD
277 return val
278 def SetParser(self, *_args, **_kwargs):
279 val = apply(htmlc.wxHtmlTagHandler_SetParser,(self,) + _args, _kwargs)
280 return val
281 def GetParser(self, *_args, **_kwargs):
282 val = apply(htmlc.wxHtmlTagHandler_GetParser,(self,) + _args, _kwargs)
283 if val: val = wxHtmlParserPtr(val)
284 return val
285 def ParseInner(self, *_args, **_kwargs):
286 val = apply(htmlc.wxHtmlTagHandler_ParseInner,(self,) + _args, _kwargs)
287 return val
288 def __repr__(self):
289 return "<C wxHtmlTagHandler instance at %s>" % (self.this,)
290class wxHtmlTagHandler(wxHtmlTagHandlerPtr):
291 def __init__(self,*_args,**_kwargs):
292 self.this = apply(htmlc.new_wxHtmlTagHandler,_args,_kwargs)
293 self.thisown = 1
0122b7e3 294 self._setCallbackInfo(self, wxHtmlTagHandler)
0f66a9f3
RD
295
296
297
298
299class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr):
300 def __init__(self,this):
301 self.this = this
302 self.thisown = 0
0122b7e3
RD
303 def _setCallbackInfo(self, *_args, **_kwargs):
304 val = apply(htmlc.wxHtmlWinTagHandler__setCallbackInfo,(self,) + _args, _kwargs)
0f66a9f3
RD
305 return val
306 def SetParser(self, *_args, **_kwargs):
307 val = apply(htmlc.wxHtmlWinTagHandler_SetParser,(self,) + _args, _kwargs)
308 return val
309 def GetParser(self, *_args, **_kwargs):
310 val = apply(htmlc.wxHtmlWinTagHandler_GetParser,(self,) + _args, _kwargs)
311 if val: val = wxHtmlWinParserPtr(val)
312 return val
313 def ParseInner(self, *_args, **_kwargs):
314 val = apply(htmlc.wxHtmlWinTagHandler_ParseInner,(self,) + _args, _kwargs)
315 return val
316 def __repr__(self):
317 return "<C wxHtmlWinTagHandler instance at %s>" % (self.this,)
318class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr):
319 def __init__(self,*_args,**_kwargs):
320 self.this = apply(htmlc.new_wxHtmlWinTagHandler,_args,_kwargs)
321 self.thisown = 1
0122b7e3 322 self._setCallbackInfo(self, wxHtmlWinTagHandler)
0f66a9f3
RD
323
324
325
326
9416aa89 327class wxHtmlCellPtr(wxObjectPtr):
e166644c
RD
328 def __init__(self,this):
329 self.this = this
330 self.thisown = 0
e166644c
RD
331 def GetPosX(self, *_args, **_kwargs):
332 val = apply(htmlc.wxHtmlCell_GetPosX,(self,) + _args, _kwargs)
333 return val
334 def GetPosY(self, *_args, **_kwargs):
335 val = apply(htmlc.wxHtmlCell_GetPosY,(self,) + _args, _kwargs)
336 return val
337 def GetWidth(self, *_args, **_kwargs):
338 val = apply(htmlc.wxHtmlCell_GetWidth,(self,) + _args, _kwargs)
339 return val
340 def GetHeight(self, *_args, **_kwargs):
341 val = apply(htmlc.wxHtmlCell_GetHeight,(self,) + _args, _kwargs)
342 return val
343 def GetDescent(self, *_args, **_kwargs):
344 val = apply(htmlc.wxHtmlCell_GetDescent,(self,) + _args, _kwargs)
345 return val
346 def GetLink(self, *_args, **_kwargs):
347 val = apply(htmlc.wxHtmlCell_GetLink,(self,) + _args, _kwargs)
9c00cfa3 348 if val: val = wxHtmlLinkInfoPtr(val)
e166644c
RD
349 return val
350 def GetNext(self, *_args, **_kwargs):
351 val = apply(htmlc.wxHtmlCell_GetNext,(self,) + _args, _kwargs)
352 if val: val = wxHtmlCellPtr(val)
353 return val
9c00cfa3
RD
354 def GetParent(self, *_args, **_kwargs):
355 val = apply(htmlc.wxHtmlCell_GetParent,(self,) + _args, _kwargs)
356 if val: val = wxHtmlContainerCellPtr(val)
e166644c
RD
357 return val
358 def SetLink(self, *_args, **_kwargs):
359 val = apply(htmlc.wxHtmlCell_SetLink,(self,) + _args, _kwargs)
360 return val
361 def SetNext(self, *_args, **_kwargs):
362 val = apply(htmlc.wxHtmlCell_SetNext,(self,) + _args, _kwargs)
363 return val
9c00cfa3
RD
364 def SetParent(self, *_args, **_kwargs):
365 val = apply(htmlc.wxHtmlCell_SetParent,(self,) + _args, _kwargs)
366 return val
367 def SetPos(self, *_args, **_kwargs):
368 val = apply(htmlc.wxHtmlCell_SetPos,(self,) + _args, _kwargs)
369 return val
e166644c
RD
370 def Layout(self, *_args, **_kwargs):
371 val = apply(htmlc.wxHtmlCell_Layout,(self,) + _args, _kwargs)
372 return val
373 def Draw(self, *_args, **_kwargs):
374 val = apply(htmlc.wxHtmlCell_Draw,(self,) + _args, _kwargs)
375 return val
376 def DrawInvisible(self, *_args, **_kwargs):
377 val = apply(htmlc.wxHtmlCell_DrawInvisible,(self,) + _args, _kwargs)
378 return val
379 def Find(self, *_args, **_kwargs):
380 val = apply(htmlc.wxHtmlCell_Find,(self,) + _args, _kwargs)
381 if val: val = wxHtmlCellPtr(val)
382 return val
dc2f8a65
RD
383 def AdjustPagebreak(self, *_args, **_kwargs):
384 val = apply(htmlc.wxHtmlCell_AdjustPagebreak,(self,) + _args, _kwargs)
385 return val
386 def SetCanLiveOnPagebreak(self, *_args, **_kwargs):
387 val = apply(htmlc.wxHtmlCell_SetCanLiveOnPagebreak,(self,) + _args, _kwargs)
388 return val
e166644c
RD
389 def __repr__(self):
390 return "<C wxHtmlCell instance at %s>" % (self.this,)
391class wxHtmlCell(wxHtmlCellPtr):
392 def __init__(self,*_args,**_kwargs):
393 self.this = apply(htmlc.new_wxHtmlCell,_args,_kwargs)
394 self.thisown = 1
395
396
397
398
9416aa89
RD
399class wxHtmlWordCellPtr(wxHtmlCellPtr):
400 def __init__(self,this):
401 self.this = this
402 self.thisown = 0
403 def __repr__(self):
404 return "<C wxHtmlWordCell instance at %s>" % (self.this,)
405class wxHtmlWordCell(wxHtmlWordCellPtr):
406 def __init__(self,*_args,**_kwargs):
407 self.this = apply(htmlc.new_wxHtmlWordCell,_args,_kwargs)
408 self.thisown = 1
409
410
411
412
e166644c
RD
413class wxHtmlContainerCellPtr(wxHtmlCellPtr):
414 def __init__(self,this):
415 self.this = this
416 self.thisown = 0
417 def InsertCell(self, *_args, **_kwargs):
418 val = apply(htmlc.wxHtmlContainerCell_InsertCell,(self,) + _args, _kwargs)
419 return val
420 def SetAlignHor(self, *_args, **_kwargs):
421 val = apply(htmlc.wxHtmlContainerCell_SetAlignHor,(self,) + _args, _kwargs)
422 return val
423 def GetAlignHor(self, *_args, **_kwargs):
424 val = apply(htmlc.wxHtmlContainerCell_GetAlignHor,(self,) + _args, _kwargs)
425 return val
426 def SetAlignVer(self, *_args, **_kwargs):
427 val = apply(htmlc.wxHtmlContainerCell_SetAlignVer,(self,) + _args, _kwargs)
428 return val
429 def GetAlignVer(self, *_args, **_kwargs):
430 val = apply(htmlc.wxHtmlContainerCell_GetAlignVer,(self,) + _args, _kwargs)
431 return val
432 def SetIndent(self, *_args, **_kwargs):
433 val = apply(htmlc.wxHtmlContainerCell_SetIndent,(self,) + _args, _kwargs)
434 return val
435 def GetIndent(self, *_args, **_kwargs):
436 val = apply(htmlc.wxHtmlContainerCell_GetIndent,(self,) + _args, _kwargs)
437 return val
438 def GetIndentUnits(self, *_args, **_kwargs):
439 val = apply(htmlc.wxHtmlContainerCell_GetIndentUnits,(self,) + _args, _kwargs)
440 return val
441 def SetAlign(self, *_args, **_kwargs):
442 val = apply(htmlc.wxHtmlContainerCell_SetAlign,(self,) + _args, _kwargs)
443 return val
444 def SetWidthFloat(self, *_args, **_kwargs):
445 val = apply(htmlc.wxHtmlContainerCell_SetWidthFloat,(self,) + _args, _kwargs)
446 return val
447 def SetWidthFloatFromTag(self, *_args, **_kwargs):
448 val = apply(htmlc.wxHtmlContainerCell_SetWidthFloatFromTag,(self,) + _args, _kwargs)
449 return val
450 def SetMinHeight(self, *_args, **_kwargs):
451 val = apply(htmlc.wxHtmlContainerCell_SetMinHeight,(self,) + _args, _kwargs)
452 return val
e166644c
RD
453 def SetBackgroundColour(self, *_args, **_kwargs):
454 val = apply(htmlc.wxHtmlContainerCell_SetBackgroundColour,(self,) + _args, _kwargs)
455 return val
7e50db3f
RD
456 def GetBackgroundColour(self, *_args, **_kwargs):
457 val = apply(htmlc.wxHtmlContainerCell_GetBackgroundColour,(self,) + _args, _kwargs)
458 if val: val = wxColourPtr(val) ; val.thisown = 1
459 return val
e166644c
RD
460 def SetBorder(self, *_args, **_kwargs):
461 val = apply(htmlc.wxHtmlContainerCell_SetBorder,(self,) + _args, _kwargs)
462 return val
463 def GetFirstCell(self, *_args, **_kwargs):
464 val = apply(htmlc.wxHtmlContainerCell_GetFirstCell,(self,) + _args, _kwargs)
465 if val: val = wxHtmlCellPtr(val)
466 return val
467 def __repr__(self):
468 return "<C wxHtmlContainerCell instance at %s>" % (self.this,)
469class wxHtmlContainerCell(wxHtmlContainerCellPtr):
470 def __init__(self,*_args,**_kwargs):
471 self.this = apply(htmlc.new_wxHtmlContainerCell,_args,_kwargs)
472 self.thisown = 1
473
474
475
476
9c00cfa3
RD
477class wxHtmlColourCellPtr(wxHtmlCellPtr):
478 def __init__(self,this):
479 self.this = this
480 self.thisown = 0
481 def __repr__(self):
482 return "<C wxHtmlColourCell instance at %s>" % (self.this,)
483class wxHtmlColourCell(wxHtmlColourCellPtr):
484 def __init__(self,*_args,**_kwargs):
485 self.this = apply(htmlc.new_wxHtmlColourCell,_args,_kwargs)
486 self.thisown = 1
487
488
489
490
9416aa89
RD
491class wxHtmlFontCellPtr(wxHtmlCellPtr):
492 def __init__(self,this):
493 self.this = this
494 self.thisown = 0
495 def __repr__(self):
496 return "<C wxHtmlFontCell instance at %s>" % (self.this,)
497class wxHtmlFontCell(wxHtmlFontCellPtr):
498 def __init__(self,*_args,**_kwargs):
499 self.this = apply(htmlc.new_wxHtmlFontCell,_args,_kwargs)
500 self.thisown = 1
501
502
503
504
e166644c
RD
505class wxHtmlWidgetCellPtr(wxHtmlCellPtr):
506 def __init__(self,this):
507 self.this = this
508 self.thisown = 0
509 def __repr__(self):
510 return "<C wxHtmlWidgetCell instance at %s>" % (self.this,)
511class wxHtmlWidgetCell(wxHtmlWidgetCellPtr):
512 def __init__(self,*_args,**_kwargs):
513 self.this = apply(htmlc.new_wxHtmlWidgetCell,_args,_kwargs)
514 self.thisown = 1
515
516
517
518
7e50db3f
RD
519class wxHtmlFilterPtr(wxObjectPtr):
520 def __init__(self,this):
521 self.this = this
522 self.thisown = 0
523 def _setCallbackInfo(self, *_args, **_kwargs):
524 val = apply(htmlc.wxHtmlFilter__setCallbackInfo,(self,) + _args, _kwargs)
525 return val
526 def __repr__(self):
527 return "<C wxHtmlFilter instance at %s>" % (self.this,)
528class wxHtmlFilter(wxHtmlFilterPtr):
529 def __init__(self,*_args,**_kwargs):
530 self.this = apply(htmlc.new_wxHtmlFilter,_args,_kwargs)
531 self.thisown = 1
532 self._setCallbackInfo(self, wxHtmlFilter)
533
534
535
536
325274bb
RD
537class wxHtmlWindowPtr(wxScrolledWindowPtr):
538 def __init__(self,this):
539 self.this = this
540 self.thisown = 0
7b7ac0ab
RD
541 def Create(self, *_args, **_kwargs):
542 val = apply(htmlc.wxHtmlWindow_Create,(self,) + _args, _kwargs)
543 return val
0122b7e3
RD
544 def _setCallbackInfo(self, *_args, **_kwargs):
545 val = apply(htmlc.wxHtmlWindow__setCallbackInfo,(self,) + _args, _kwargs)
0f66a9f3 546 return val
325274bb
RD
547 def SetPage(self, *_args, **_kwargs):
548 val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
549 return val
550 def LoadPage(self, *_args, **_kwargs):
551 val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
552 return val
de112a55
RD
553 def AppendToPage(self, *_args, **_kwargs):
554 val = apply(htmlc.wxHtmlWindow_AppendToPage,(self,) + _args, _kwargs)
555 return val
325274bb
RD
556 def GetOpenedPage(self, *_args, **_kwargs):
557 val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
558 return val
794c5cb1
RD
559 def GetOpenedAnchor(self, *_args, **_kwargs):
560 val = apply(htmlc.wxHtmlWindow_GetOpenedAnchor,(self,) + _args, _kwargs)
561 return val
562 def GetOpenedPageTitle(self, *_args, **_kwargs):
563 val = apply(htmlc.wxHtmlWindow_GetOpenedPageTitle,(self,) + _args, _kwargs)
564 return val
325274bb
RD
565 def SetRelatedFrame(self, *_args, **_kwargs):
566 val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
567 return val
568 def GetRelatedFrame(self, *_args, **_kwargs):
569 val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
325274bb
RD
570 return val
571 def SetRelatedStatusBar(self, *_args, **_kwargs):
572 val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
573 return val
574 def SetFonts(self, *_args, **_kwargs):
575 val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
576 return val
577 def SetTitle(self, *_args, **_kwargs):
578 val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
579 return val
580 def SetBorders(self, *_args, **_kwargs):
581 val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
582 return val
0f66a9f3
RD
583 def ReadCustomization(self, *_args, **_kwargs):
584 val = apply(htmlc.wxHtmlWindow_ReadCustomization,(self,) + _args, _kwargs)
585 return val
586 def WriteCustomization(self, *_args, **_kwargs):
587 val = apply(htmlc.wxHtmlWindow_WriteCustomization,(self,) + _args, _kwargs)
588 return val
325274bb
RD
589 def HistoryBack(self, *_args, **_kwargs):
590 val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
591 return val
592 def HistoryForward(self, *_args, **_kwargs):
593 val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
594 return val
794c5cb1
RD
595 def HistoryCanBack(self, *_args, **_kwargs):
596 val = apply(htmlc.wxHtmlWindow_HistoryCanBack,(self,) + _args, _kwargs)
597 return val
598 def HistoryCanForward(self, *_args, **_kwargs):
599 val = apply(htmlc.wxHtmlWindow_HistoryCanForward,(self,) + _args, _kwargs)
600 return val
325274bb
RD
601 def HistoryClear(self, *_args, **_kwargs):
602 val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
603 return val
a65c6e14
RD
604 def GetInternalRepresentation(self, *_args, **_kwargs):
605 val = apply(htmlc.wxHtmlWindow_GetInternalRepresentation,(self,) + _args, _kwargs)
e166644c
RD
606 if val: val = wxHtmlContainerCellPtr(val)
607 return val
608 def GetParser(self, *_args, **_kwargs):
609 val = apply(htmlc.wxHtmlWindow_GetParser,(self,) + _args, _kwargs)
610 if val: val = wxHtmlWinParserPtr(val)
a65c6e14 611 return val
7d0180d4
RD
612 def ScrollToAnchor(self, *_args, **_kwargs):
613 val = apply(htmlc.wxHtmlWindow_ScrollToAnchor,(self,) + _args, _kwargs)
614 return val
615 def HasAnchor(self, *_args, **_kwargs):
616 val = apply(htmlc.wxHtmlWindow_HasAnchor,(self,) + _args, _kwargs)
617 return val
95837b4d
RD
618 def base_OnLinkClicked(self, *_args, **_kwargs):
619 val = apply(htmlc.wxHtmlWindow_base_OnLinkClicked,(self,) + _args, _kwargs)
620 return val
9c00cfa3
RD
621 def base_OnSetTitle(self, *_args, **_kwargs):
622 val = apply(htmlc.wxHtmlWindow_base_OnSetTitle,(self,) + _args, _kwargs)
0f66a9f3 623 return val
0122b7e3
RD
624 def base_OnCellMouseHover(self, *_args, **_kwargs):
625 val = apply(htmlc.wxHtmlWindow_base_OnCellMouseHover,(self,) + _args, _kwargs)
626 return val
627 def base_OnCellClicked(self, *_args, **_kwargs):
628 val = apply(htmlc.wxHtmlWindow_base_OnCellClicked,(self,) + _args, _kwargs)
629 return val
325274bb
RD
630 def __repr__(self):
631 return "<C wxHtmlWindow instance at %s>" % (self.this,)
632class wxHtmlWindow(wxHtmlWindowPtr):
633 def __init__(self,*_args,**_kwargs):
634 self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
635 self.thisown = 1
0122b7e3
RD
636 self._setCallbackInfo(self, wxHtmlWindow)
637 self._setOORInfo(self)
325274bb
RD
638
639
640
7b7ac0ab
RD
641def wxPreHtmlWindow(*_args,**_kwargs):
642 val = wxHtmlWindowPtr(apply(htmlc.new_wxPreHtmlWindow,_args,_kwargs))
643 val.thisown = 1
644 val._setOORInfo(val)
645 return val
646
325274bb 647
9416aa89 648class wxHtmlDCRendererPtr(wxObjectPtr):
dc2f8a65
RD
649 def __init__(self,this):
650 self.this = this
651 self.thisown = 0
7e50db3f
RD
652 def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer):
653 if self.thisown == 1:
654 try:
655 delfunc(self)
656 except:
657 pass
dc2f8a65
RD
658 def SetDC(self, *_args, **_kwargs):
659 val = apply(htmlc.wxHtmlDCRenderer_SetDC,(self,) + _args, _kwargs)
660 return val
661 def SetSize(self, *_args, **_kwargs):
662 val = apply(htmlc.wxHtmlDCRenderer_SetSize,(self,) + _args, _kwargs)
663 return val
664 def SetHtmlText(self, *_args, **_kwargs):
665 val = apply(htmlc.wxHtmlDCRenderer_SetHtmlText,(self,) + _args, _kwargs)
666 return val
667 def Render(self, *_args, **_kwargs):
668 val = apply(htmlc.wxHtmlDCRenderer_Render,(self,) + _args, _kwargs)
669 return val
670 def GetTotalHeight(self, *_args, **_kwargs):
671 val = apply(htmlc.wxHtmlDCRenderer_GetTotalHeight,(self,) + _args, _kwargs)
672 return val
673 def __repr__(self):
674 return "<C wxHtmlDCRenderer instance at %s>" % (self.this,)
675class wxHtmlDCRenderer(wxHtmlDCRendererPtr):
676 def __init__(self,*_args,**_kwargs):
677 self.this = apply(htmlc.new_wxHtmlDCRenderer,_args,_kwargs)
678 self.thisown = 1
679
680
681
682
683class wxHtmlPrintoutPtr(wxPrintoutPtr):
684 def __init__(self,this):
685 self.this = this
686 self.thisown = 0
dc2f8a65
RD
687 def SetHtmlText(self, *_args, **_kwargs):
688 val = apply(htmlc.wxHtmlPrintout_SetHtmlText,(self,) + _args, _kwargs)
689 return val
690 def SetHtmlFile(self, *_args, **_kwargs):
691 val = apply(htmlc.wxHtmlPrintout_SetHtmlFile,(self,) + _args, _kwargs)
692 return val
693 def SetHeader(self, *_args, **_kwargs):
694 val = apply(htmlc.wxHtmlPrintout_SetHeader,(self,) + _args, _kwargs)
695 return val
696 def SetFooter(self, *_args, **_kwargs):
697 val = apply(htmlc.wxHtmlPrintout_SetFooter,(self,) + _args, _kwargs)
698 return val
699 def SetMargins(self, *_args, **_kwargs):
700 val = apply(htmlc.wxHtmlPrintout_SetMargins,(self,) + _args, _kwargs)
701 return val
702 def __repr__(self):
703 return "<C wxHtmlPrintout instance at %s>" % (self.this,)
704class wxHtmlPrintout(wxHtmlPrintoutPtr):
705 def __init__(self,*_args,**_kwargs):
706 self.this = apply(htmlc.new_wxHtmlPrintout,_args,_kwargs)
707 self.thisown = 1
708
709
710
711
9416aa89 712class wxHtmlEasyPrintingPtr(wxObjectPtr):
dc2f8a65
RD
713 def __init__(self,this):
714 self.this = this
715 self.thisown = 0
7e50db3f
RD
716 def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting):
717 if self.thisown == 1:
718 try:
719 delfunc(self)
720 except:
721 pass
dc2f8a65
RD
722 def PreviewFile(self, *_args, **_kwargs):
723 val = apply(htmlc.wxHtmlEasyPrinting_PreviewFile,(self,) + _args, _kwargs)
724 return val
725 def PreviewText(self, *_args, **_kwargs):
726 val = apply(htmlc.wxHtmlEasyPrinting_PreviewText,(self,) + _args, _kwargs)
727 return val
728 def PrintFile(self, *_args, **_kwargs):
729 val = apply(htmlc.wxHtmlEasyPrinting_PrintFile,(self,) + _args, _kwargs)
730 return val
731 def PrintText(self, *_args, **_kwargs):
732 val = apply(htmlc.wxHtmlEasyPrinting_PrintText,(self,) + _args, _kwargs)
733 return val
734 def PrinterSetup(self, *_args, **_kwargs):
735 val = apply(htmlc.wxHtmlEasyPrinting_PrinterSetup,(self,) + _args, _kwargs)
736 return val
737 def PageSetup(self, *_args, **_kwargs):
738 val = apply(htmlc.wxHtmlEasyPrinting_PageSetup,(self,) + _args, _kwargs)
739 return val
740 def SetHeader(self, *_args, **_kwargs):
741 val = apply(htmlc.wxHtmlEasyPrinting_SetHeader,(self,) + _args, _kwargs)
742 return val
743 def SetFooter(self, *_args, **_kwargs):
744 val = apply(htmlc.wxHtmlEasyPrinting_SetFooter,(self,) + _args, _kwargs)
745 return val
746 def GetPrintData(self, *_args, **_kwargs):
747 val = apply(htmlc.wxHtmlEasyPrinting_GetPrintData,(self,) + _args, _kwargs)
748 if val: val = wxPrintDataPtr(val)
749 return val
750 def GetPageSetupData(self, *_args, **_kwargs):
751 val = apply(htmlc.wxHtmlEasyPrinting_GetPageSetupData,(self,) + _args, _kwargs)
752 if val: val = wxPageSetupDialogDataPtr(val)
753 return val
754 def __repr__(self):
755 return "<C wxHtmlEasyPrinting instance at %s>" % (self.this,)
756class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr):
757 def __init__(self,*_args,**_kwargs):
758 self.this = apply(htmlc.new_wxHtmlEasyPrinting,_args,_kwargs)
759 self.thisown = 1
760
761
762
763
325274bb
RD
764
765
766#-------------- FUNCTION WRAPPERS ------------------
767
0f66a9f3
RD
768wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler
769
770wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter
771
325274bb
RD
772
773
774#-------------- VARIABLE WRAPPERS ------------------
775
9d8bd15f
RD
776wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT
777wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER
778wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT
779wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM
780wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP
781wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND
782wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND
783wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS
784wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT
785wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT
786wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT
787wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP
788wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM
789wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL
790wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL
791wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL
792wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR
793wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP
794wxHTML_COND_USER = htmlc.wxHTML_COND_USER
c6c593e8
RD
795wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER
796wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO
797wxHTML_OPEN = htmlc.wxHTML_OPEN
798wxHTML_BLOCK = htmlc.wxHTML_BLOCK
799wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT
800wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE
801wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE
802wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER
dc2f8a65
RD
803wxPAGE_ODD = htmlc.wxPAGE_ODD
804wxPAGE_EVEN = htmlc.wxPAGE_EVEN
805wxPAGE_ALL = htmlc.wxPAGE_ALL
e166644c
RD
806
807
808#-------------- USER INCLUDE -----------------------
809
810
811# Stuff these names into the wx namespace so wxPyConstructObject can find them
812import wx
b1462dfa 813wx.wxHtmlTagPtr = wxHtmlTagPtr
e166644c
RD
814wx.wxHtmlParserPtr = wxHtmlParserPtr
815wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr
816wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr
817wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr
818wx.wxHtmlCellPtr = wxHtmlCellPtr
819wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr
820wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
e166644c 821wx.wxHtmlWindowPtr = wxHtmlWindowPtr
95837b4d 822wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr
7e50db3f 823wx.wxHtmlFilterPtr = wxHtmlFilterPtr
cdf14688 824