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