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