]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/html.py
Module definitions files for build VisualAge C++ V3.0 dlls.
[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 SetBackgroundColour(self, *_args, **_kwargs):
429 val = apply(htmlc.wxHtmlContainerCell_SetBackgroundColour,(self,) + _args, _kwargs)
430 return val
431 def SetBorder(self, *_args, **_kwargs):
432 val = apply(htmlc.wxHtmlContainerCell_SetBorder,(self,) + _args, _kwargs)
433 return val
434 def GetFirstCell(self, *_args, **_kwargs):
435 val = apply(htmlc.wxHtmlContainerCell_GetFirstCell,(self,) + _args, _kwargs)
436 if val: val = wxHtmlCellPtr(val)
437 return val
438 def __repr__(self):
439 return "<C wxHtmlContainerCell instance at %s>" % (self.this,)
440 class wxHtmlContainerCell(wxHtmlContainerCellPtr):
441 def __init__(self,*_args,**_kwargs):
442 self.this = apply(htmlc.new_wxHtmlContainerCell,_args,_kwargs)
443 self.thisown = 1
444
445
446
447
448 class wxHtmlColourCellPtr(wxHtmlCellPtr):
449 def __init__(self,this):
450 self.this = this
451 self.thisown = 0
452 def __repr__(self):
453 return "<C wxHtmlColourCell instance at %s>" % (self.this,)
454 class wxHtmlColourCell(wxHtmlColourCellPtr):
455 def __init__(self,*_args,**_kwargs):
456 self.this = apply(htmlc.new_wxHtmlColourCell,_args,_kwargs)
457 self.thisown = 1
458
459
460
461
462 class wxHtmlWidgetCellPtr(wxHtmlCellPtr):
463 def __init__(self,this):
464 self.this = this
465 self.thisown = 0
466 def __repr__(self):
467 return "<C wxHtmlWidgetCell instance at %s>" % (self.this,)
468 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr):
469 def __init__(self,*_args,**_kwargs):
470 self.this = apply(htmlc.new_wxHtmlWidgetCell,_args,_kwargs)
471 self.thisown = 1
472
473
474
475
476 class HtmlHistoryItemPtr :
477 def __init__(self,this):
478 self.this = this
479 self.thisown = 0
480 def GetPos(self, *_args, **_kwargs):
481 val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
482 return val
483 def SetPos(self, *_args, **_kwargs):
484 val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
485 return val
486 def GetPage(self, *_args, **_kwargs):
487 val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
488 return val
489 def GetAnchor(self, *_args, **_kwargs):
490 val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
491 return val
492 def __repr__(self):
493 return "<C HtmlHistoryItem instance at %s>" % (self.this,)
494 class HtmlHistoryItem(HtmlHistoryItemPtr):
495 def __init__(self,*_args,**_kwargs):
496 self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
497 self.thisown = 1
498
499
500
501
502 class wxHtmlWindowPtr(wxScrolledWindowPtr):
503 def __init__(self,this):
504 self.this = this
505 self.thisown = 0
506 def _setSelf(self, *_args, **_kwargs):
507 val = apply(htmlc.wxHtmlWindow__setSelf,(self,) + _args, _kwargs)
508 return val
509 def SetPage(self, *_args, **_kwargs):
510 val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
511 return val
512 def LoadPage(self, *_args, **_kwargs):
513 val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
514 return val
515 def GetOpenedPage(self, *_args, **_kwargs):
516 val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
517 return val
518 def SetRelatedFrame(self, *_args, **_kwargs):
519 val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
520 return val
521 def GetRelatedFrame(self, *_args, **_kwargs):
522 val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
523 if val: val = wxFramePtr(val)
524 return val
525 def SetRelatedStatusBar(self, *_args, **_kwargs):
526 val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
527 return val
528 def SetFonts(self, *_args, **_kwargs):
529 val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
530 return val
531 def SetTitle(self, *_args, **_kwargs):
532 val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
533 return val
534 def SetBorders(self, *_args, **_kwargs):
535 val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
536 return val
537 def ReadCustomization(self, *_args, **_kwargs):
538 val = apply(htmlc.wxHtmlWindow_ReadCustomization,(self,) + _args, _kwargs)
539 return val
540 def WriteCustomization(self, *_args, **_kwargs):
541 val = apply(htmlc.wxHtmlWindow_WriteCustomization,(self,) + _args, _kwargs)
542 return val
543 def HistoryBack(self, *_args, **_kwargs):
544 val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
545 return val
546 def HistoryForward(self, *_args, **_kwargs):
547 val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
548 return val
549 def HistoryClear(self, *_args, **_kwargs):
550 val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
551 return val
552 def GetInternalRepresentation(self, *_args, **_kwargs):
553 val = apply(htmlc.wxHtmlWindow_GetInternalRepresentation,(self,) + _args, _kwargs)
554 if val: val = wxHtmlContainerCellPtr(val)
555 return val
556 def GetParser(self, *_args, **_kwargs):
557 val = apply(htmlc.wxHtmlWindow_GetParser,(self,) + _args, _kwargs)
558 if val: val = wxHtmlWinParserPtr(val)
559 return val
560 def base_OnLinkClicked(self, *_args, **_kwargs):
561 val = apply(htmlc.wxHtmlWindow_base_OnLinkClicked,(self,) + _args, _kwargs)
562 return val
563 def base_OnSetTitle(self, *_args, **_kwargs):
564 val = apply(htmlc.wxHtmlWindow_base_OnSetTitle,(self,) + _args, _kwargs)
565 return val
566 def __repr__(self):
567 return "<C wxHtmlWindow instance at %s>" % (self.this,)
568 class wxHtmlWindow(wxHtmlWindowPtr):
569 def __init__(self,*_args,**_kwargs):
570 self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
571 self.thisown = 1
572 self._setSelf(self)
573 wx._StdWindowCallbacks(self)
574 wx._StdOnScrollCallbacks(self)
575
576
577
578
579 class wxHtmlDCRendererPtr :
580 def __init__(self,this):
581 self.this = this
582 self.thisown = 0
583 def __del__(self,htmlc=htmlc):
584 if self.thisown == 1 :
585 htmlc.delete_wxHtmlDCRenderer(self)
586 def SetDC(self, *_args, **_kwargs):
587 val = apply(htmlc.wxHtmlDCRenderer_SetDC,(self,) + _args, _kwargs)
588 return val
589 def SetSize(self, *_args, **_kwargs):
590 val = apply(htmlc.wxHtmlDCRenderer_SetSize,(self,) + _args, _kwargs)
591 return val
592 def SetHtmlText(self, *_args, **_kwargs):
593 val = apply(htmlc.wxHtmlDCRenderer_SetHtmlText,(self,) + _args, _kwargs)
594 return val
595 def Render(self, *_args, **_kwargs):
596 val = apply(htmlc.wxHtmlDCRenderer_Render,(self,) + _args, _kwargs)
597 return val
598 def GetTotalHeight(self, *_args, **_kwargs):
599 val = apply(htmlc.wxHtmlDCRenderer_GetTotalHeight,(self,) + _args, _kwargs)
600 return val
601 def __repr__(self):
602 return "<C wxHtmlDCRenderer instance at %s>" % (self.this,)
603 class wxHtmlDCRenderer(wxHtmlDCRendererPtr):
604 def __init__(self,*_args,**_kwargs):
605 self.this = apply(htmlc.new_wxHtmlDCRenderer,_args,_kwargs)
606 self.thisown = 1
607
608
609
610
611 class wxHtmlPrintoutPtr(wxPrintoutPtr):
612 def __init__(self,this):
613 self.this = this
614 self.thisown = 0
615 def __del__(self,htmlc=htmlc):
616 if self.thisown == 1 :
617 htmlc.delete_wxHtmlPrintout(self)
618 def SetHtmlText(self, *_args, **_kwargs):
619 val = apply(htmlc.wxHtmlPrintout_SetHtmlText,(self,) + _args, _kwargs)
620 return val
621 def SetHtmlFile(self, *_args, **_kwargs):
622 val = apply(htmlc.wxHtmlPrintout_SetHtmlFile,(self,) + _args, _kwargs)
623 return val
624 def SetHeader(self, *_args, **_kwargs):
625 val = apply(htmlc.wxHtmlPrintout_SetHeader,(self,) + _args, _kwargs)
626 return val
627 def SetFooter(self, *_args, **_kwargs):
628 val = apply(htmlc.wxHtmlPrintout_SetFooter,(self,) + _args, _kwargs)
629 return val
630 def SetMargins(self, *_args, **_kwargs):
631 val = apply(htmlc.wxHtmlPrintout_SetMargins,(self,) + _args, _kwargs)
632 return val
633 def __repr__(self):
634 return "<C wxHtmlPrintout instance at %s>" % (self.this,)
635 class wxHtmlPrintout(wxHtmlPrintoutPtr):
636 def __init__(self,*_args,**_kwargs):
637 self.this = apply(htmlc.new_wxHtmlPrintout,_args,_kwargs)
638 self.thisown = 1
639
640
641
642
643 class wxHtmlEasyPrintingPtr :
644 def __init__(self,this):
645 self.this = this
646 self.thisown = 0
647 def __del__(self,htmlc=htmlc):
648 if self.thisown == 1 :
649 htmlc.delete_wxHtmlEasyPrinting(self)
650 def PreviewFile(self, *_args, **_kwargs):
651 val = apply(htmlc.wxHtmlEasyPrinting_PreviewFile,(self,) + _args, _kwargs)
652 return val
653 def PreviewText(self, *_args, **_kwargs):
654 val = apply(htmlc.wxHtmlEasyPrinting_PreviewText,(self,) + _args, _kwargs)
655 return val
656 def PrintFile(self, *_args, **_kwargs):
657 val = apply(htmlc.wxHtmlEasyPrinting_PrintFile,(self,) + _args, _kwargs)
658 return val
659 def PrintText(self, *_args, **_kwargs):
660 val = apply(htmlc.wxHtmlEasyPrinting_PrintText,(self,) + _args, _kwargs)
661 return val
662 def PrinterSetup(self, *_args, **_kwargs):
663 val = apply(htmlc.wxHtmlEasyPrinting_PrinterSetup,(self,) + _args, _kwargs)
664 return val
665 def PageSetup(self, *_args, **_kwargs):
666 val = apply(htmlc.wxHtmlEasyPrinting_PageSetup,(self,) + _args, _kwargs)
667 return val
668 def SetHeader(self, *_args, **_kwargs):
669 val = apply(htmlc.wxHtmlEasyPrinting_SetHeader,(self,) + _args, _kwargs)
670 return val
671 def SetFooter(self, *_args, **_kwargs):
672 val = apply(htmlc.wxHtmlEasyPrinting_SetFooter,(self,) + _args, _kwargs)
673 return val
674 def GetPrintData(self, *_args, **_kwargs):
675 val = apply(htmlc.wxHtmlEasyPrinting_GetPrintData,(self,) + _args, _kwargs)
676 if val: val = wxPrintDataPtr(val)
677 return val
678 def GetPageSetupData(self, *_args, **_kwargs):
679 val = apply(htmlc.wxHtmlEasyPrinting_GetPageSetupData,(self,) + _args, _kwargs)
680 if val: val = wxPageSetupDialogDataPtr(val)
681 return val
682 def __repr__(self):
683 return "<C wxHtmlEasyPrinting instance at %s>" % (self.this,)
684 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr):
685 def __init__(self,*_args,**_kwargs):
686 self.this = apply(htmlc.new_wxHtmlEasyPrinting,_args,_kwargs)
687 self.thisown = 1
688
689
690
691
692
693
694 #-------------- FUNCTION WRAPPERS ------------------
695
696 wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler
697
698 wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter
699
700
701
702 #-------------- VARIABLE WRAPPERS ------------------
703
704 wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT
705 wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER
706 wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT
707 wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM
708 wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP
709 wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND
710 wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND
711 wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS
712 wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT
713 wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT
714 wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT
715 wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP
716 wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM
717 wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL
718 wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL
719 wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL
720 wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR
721 wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP
722 wxHTML_COND_USER = htmlc.wxHTML_COND_USER
723 wxPAGE_ODD = htmlc.wxPAGE_ODD
724 wxPAGE_EVEN = htmlc.wxPAGE_EVEN
725 wxPAGE_ALL = htmlc.wxPAGE_ALL
726
727
728 #-------------- USER INCLUDE -----------------------
729
730
731 # Stuff these names into the wx namespace so wxPyConstructObject can find them
732 import wx
733 wx.wxHtmlTagPtr = wxHtmlTagPtr
734 wx.wxHtmlParserPtr = wxHtmlParserPtr
735 wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr
736 wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr
737 wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr
738 wx.wxHtmlCellPtr = wxHtmlCellPtr
739 wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr
740 wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
741 wx.HtmlHistoryItemPtr = HtmlHistoryItemPtr
742 wx.wxHtmlWindowPtr = wxHtmlWindowPtr
743 wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr