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