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