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