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