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