1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
20 from stattool
import *
22 from controls
import *
24 from controls2
import *
26 from windows2
import *
30 from windows3
import *
38 class wxHtmlLinkInfoPtr
:
39 def __init__(self
,this
):
42 def GetHref(self
, *_args
, **_kwargs
):
43 val
= apply(htmlc
.wxHtmlLinkInfo_GetHref
,(self
,) + _args
, _kwargs
)
45 def GetTarget(self
, *_args
, **_kwargs
):
46 val
= apply(htmlc
.wxHtmlLinkInfo_GetTarget
,(self
,) + _args
, _kwargs
)
48 def GetEvent(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.wxHtmlLinkInfo_GetEvent
,(self
,) + _args
, _kwargs
)
50 if val
: val
= wxMouseEventPtr(val
)
52 def GetHtmlCell(self
, *_args
, **_kwargs
):
53 val
= apply(htmlc
.wxHtmlLinkInfo_GetHtmlCell
,(self
,) + _args
, _kwargs
)
54 if val
: val
= wxHtmlCellPtr(val
)
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
)
67 def __init__(self
,this
):
70 def GetName(self
, *_args
, **_kwargs
):
71 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
73 def HasParam(self
, *_args
, **_kwargs
):
74 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
76 def GetParam(self
, *_args
, **_kwargs
):
77 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
79 def GetAllParams(self
, *_args
, **_kwargs
):
80 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
82 def IsEnding(self
, *_args
, **_kwargs
):
83 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
85 def HasEnding(self
, *_args
, **_kwargs
):
86 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
88 def GetBeginPos(self
, *_args
, **_kwargs
):
89 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
91 def GetEndPos1(self
, *_args
, **_kwargs
):
92 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
94 def GetEndPos2(self
, *_args
, **_kwargs
):
95 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
98 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
99 class wxHtmlTag(wxHtmlTagPtr
):
100 def __init__(self
,this
):
106 class wxHtmlParserPtr
:
107 def __init__(self
,this
):
110 def SetFS(self
, *_args
, **_kwargs
):
111 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
113 def GetFS(self
, *_args
, **_kwargs
):
114 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
116 def Parse(self
, *_args
, **_kwargs
):
117 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
119 def InitParser(self
, *_args
, **_kwargs
):
120 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
122 def DoneParser(self
, *_args
, **_kwargs
):
123 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
125 def DoParsing(self
, *_args
, **_kwargs
):
126 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
128 def AddTagHandler(self
, *_args
, **_kwargs
):
129 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
131 def GetSource(self
, *_args
, **_kwargs
):
132 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
134 def PushTagHandler(self
, *_args
, **_kwargs
):
135 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
137 def PopTagHandler(self
, *_args
, **_kwargs
):
138 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
141 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
142 class wxHtmlParser(wxHtmlParserPtr
):
143 def __init__(self
,this
):
149 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
150 def __init__(self
,this
):
153 def SetDC(self
, *_args
, **_kwargs
):
154 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
156 def GetDC(self
, *_args
, **_kwargs
):
157 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
158 if val
: val
= wxDCPtr(val
)
160 def GetCharHeight(self
, *_args
, **_kwargs
):
161 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
163 def GetCharWidth(self
, *_args
, **_kwargs
):
164 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
166 def GetWindow(self
, *_args
, **_kwargs
):
167 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
168 if val
: val
= wxWindowPtr(val
)
170 def SetFonts(self
, *_args
, **_kwargs
):
171 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
173 def GetContainer(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
175 if val
: val
= wxHtmlContainerCellPtr(val
)
177 def OpenContainer(self
, *_args
, **_kwargs
):
178 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
179 if val
: val
= wxHtmlContainerCellPtr(val
)
181 def SetContainer(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
183 if val
: val
= wxHtmlContainerCellPtr(val
)
185 def CloseContainer(self
, *_args
, **_kwargs
):
186 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
187 if val
: val
= wxHtmlContainerCellPtr(val
)
189 def GetFontSize(self
, *_args
, **_kwargs
):
190 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
192 def SetFontSize(self
, *_args
, **_kwargs
):
193 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
195 def GetFontBold(self
, *_args
, **_kwargs
):
196 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
198 def SetFontBold(self
, *_args
, **_kwargs
):
199 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
201 def GetFontItalic(self
, *_args
, **_kwargs
):
202 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
204 def SetFontItalic(self
, *_args
, **_kwargs
):
205 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
207 def GetFontUnderlined(self
, *_args
, **_kwargs
):
208 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
210 def SetFontUnderlined(self
, *_args
, **_kwargs
):
211 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
213 def GetFontFixed(self
, *_args
, **_kwargs
):
214 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
216 def SetFontFixed(self
, *_args
, **_kwargs
):
217 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
219 def GetAlign(self
, *_args
, **_kwargs
):
220 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
222 def SetAlign(self
, *_args
, **_kwargs
):
223 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
225 def GetLinkColor(self
, *_args
, **_kwargs
):
226 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
227 if val
: val
= wxColourPtr(val
)
229 def SetLinkColor(self
, *_args
, **_kwargs
):
230 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
232 def GetActualColor(self
, *_args
, **_kwargs
):
233 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
234 if val
: val
= wxColourPtr(val
)
236 def SetActualColor(self
, *_args
, **_kwargs
):
237 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
239 def SetLink(self
, *_args
, **_kwargs
):
240 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
242 def CreateCurrentFont(self
, *_args
, **_kwargs
):
243 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
244 if val
: val
= wxFontPtr(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
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
)
260 class wxHtmlTagHandlerPtr
:
261 def __init__(self
,this
):
264 def _setSelf(self
, *_args
, **_kwargs
):
265 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
267 def SetParser(self
, *_args
, **_kwargs
):
268 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
270 def GetParser(self
, *_args
, **_kwargs
):
271 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
272 if val
: val
= wxHtmlParserPtr(val
)
274 def ParseInner(self
, *_args
, **_kwargs
):
275 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
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
)
288 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
289 def __init__(self
,this
):
292 def _setSelf(self
, *_args
, **_kwargs
):
293 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
295 def SetParser(self
, *_args
, **_kwargs
):
296 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
298 def GetParser(self
, *_args
, **_kwargs
):
299 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
300 if val
: val
= wxHtmlWinParserPtr(val
)
302 def ParseInner(self
, *_args
, **_kwargs
):
303 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
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
)
316 class wxHtmlCellPtr
:
317 def __init__(self
,this
):
320 def GetPosX(self
, *_args
, **_kwargs
):
321 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
323 def GetPosY(self
, *_args
, **_kwargs
):
324 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
326 def GetWidth(self
, *_args
, **_kwargs
):
327 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
329 def GetHeight(self
, *_args
, **_kwargs
):
330 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
332 def GetDescent(self
, *_args
, **_kwargs
):
333 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
335 def GetLink(self
, *_args
, **_kwargs
):
336 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
337 if val
: val
= wxHtmlLinkInfoPtr(val
)
339 def GetNext(self
, *_args
, **_kwargs
):
340 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
341 if val
: val
= wxHtmlCellPtr(val
)
343 def GetParent(self
, *_args
, **_kwargs
):
344 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
345 if val
: val
= wxHtmlContainerCellPtr(val
)
347 def SetLink(self
, *_args
, **_kwargs
):
348 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
350 def SetNext(self
, *_args
, **_kwargs
):
351 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
353 def SetParent(self
, *_args
, **_kwargs
):
354 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
356 def SetPos(self
, *_args
, **_kwargs
):
357 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
359 def Layout(self
, *_args
, **_kwargs
):
360 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
362 def Draw(self
, *_args
, **_kwargs
):
363 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
365 def DrawInvisible(self
, *_args
, **_kwargs
):
366 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
368 def Find(self
, *_args
, **_kwargs
):
369 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
370 if val
: val
= wxHtmlCellPtr(val
)
372 def AdjustPagebreak(self
, *_args
, **_kwargs
):
373 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
375 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
376 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
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
)
388 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
389 def __init__(self
,this
):
392 def InsertCell(self
, *_args
, **_kwargs
):
393 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
395 def SetAlignHor(self
, *_args
, **_kwargs
):
396 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
398 def GetAlignHor(self
, *_args
, **_kwargs
):
399 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
401 def SetAlignVer(self
, *_args
, **_kwargs
):
402 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
404 def GetAlignVer(self
, *_args
, **_kwargs
):
405 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
407 def SetIndent(self
, *_args
, **_kwargs
):
408 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
410 def GetIndent(self
, *_args
, **_kwargs
):
411 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
413 def GetIndentUnits(self
, *_args
, **_kwargs
):
414 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
416 def SetAlign(self
, *_args
, **_kwargs
):
417 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
419 def SetWidthFloat(self
, *_args
, **_kwargs
):
420 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
422 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
423 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
425 def SetMinHeight(self
, *_args
, **_kwargs
):
426 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
428 def SetBackgroundColour(self
, *_args
, **_kwargs
):
429 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
431 def SetBorder(self
, *_args
, **_kwargs
):
432 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
434 def GetFirstCell(self
, *_args
, **_kwargs
):
435 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
436 if val
: val
= wxHtmlCellPtr(val
)
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
)
448 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
449 def __init__(self
,this
):
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
)
462 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
463 def __init__(self
,this
):
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
)
476 class HtmlHistoryItemPtr
:
477 def __init__(self
,this
):
480 def GetPos(self
, *_args
, **_kwargs
):
481 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
483 def SetPos(self
, *_args
, **_kwargs
):
484 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
486 def GetPage(self
, *_args
, **_kwargs
):
487 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
489 def GetAnchor(self
, *_args
, **_kwargs
):
490 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
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
)
502 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
503 def __init__(self
,this
):
506 def _setSelf(self
, *_args
, **_kwargs
):
507 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
509 def SetPage(self
, *_args
, **_kwargs
):
510 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
512 def LoadPage(self
, *_args
, **_kwargs
):
513 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
515 def GetOpenedPage(self
, *_args
, **_kwargs
):
516 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
518 def SetRelatedFrame(self
, *_args
, **_kwargs
):
519 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
521 def GetRelatedFrame(self
, *_args
, **_kwargs
):
522 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
523 if val
: val
= wxFramePtr(val
)
525 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
526 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
528 def SetFonts(self
, *_args
, **_kwargs
):
529 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
531 def SetTitle(self
, *_args
, **_kwargs
):
532 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
534 def SetBorders(self
, *_args
, **_kwargs
):
535 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
537 def ReadCustomization(self
, *_args
, **_kwargs
):
538 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
540 def WriteCustomization(self
, *_args
, **_kwargs
):
541 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
543 def HistoryBack(self
, *_args
, **_kwargs
):
544 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
546 def HistoryForward(self
, *_args
, **_kwargs
):
547 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
549 def HistoryClear(self
, *_args
, **_kwargs
):
550 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
552 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
553 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
554 if val
: val
= wxHtmlContainerCellPtr(val
)
556 def GetParser(self
, *_args
, **_kwargs
):
557 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
558 if val
: val
= wxHtmlWinParserPtr(val
)
560 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
561 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
563 def base_OnSetTitle(self
, *_args
, **_kwargs
):
564 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
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
)
573 wx
._StdWindowCallbacks
(self
)
574 wx
._StdOnScrollCallbacks
(self
)
579 class wxHtmlDCRendererPtr
:
580 def __init__(self
,this
):
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
)
589 def SetSize(self
, *_args
, **_kwargs
):
590 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
592 def SetHtmlText(self
, *_args
, **_kwargs
):
593 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
595 def Render(self
, *_args
, **_kwargs
):
596 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
598 def GetTotalHeight(self
, *_args
, **_kwargs
):
599 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
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
)
611 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
612 def __init__(self
,this
):
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
)
621 def SetHtmlFile(self
, *_args
, **_kwargs
):
622 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
624 def SetHeader(self
, *_args
, **_kwargs
):
625 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
627 def SetFooter(self
, *_args
, **_kwargs
):
628 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
630 def SetMargins(self
, *_args
, **_kwargs
):
631 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
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
)
643 class wxHtmlEasyPrintingPtr
:
644 def __init__(self
,this
):
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
)
653 def PreviewText(self
, *_args
, **_kwargs
):
654 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
656 def PrintFile(self
, *_args
, **_kwargs
):
657 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
659 def PrintText(self
, *_args
, **_kwargs
):
660 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
662 def PrinterSetup(self
, *_args
, **_kwargs
):
663 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
665 def PageSetup(self
, *_args
, **_kwargs
):
666 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
668 def SetHeader(self
, *_args
, **_kwargs
):
669 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
671 def SetFooter(self
, *_args
, **_kwargs
):
672 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
674 def GetPrintData(self
, *_args
, **_kwargs
):
675 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
676 if val
: val
= wxPrintDataPtr(val
)
678 def GetPageSetupData(self
, *_args
, **_kwargs
):
679 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
680 if val
: val
= wxPageSetupDialogDataPtr(val
)
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
)
694 #-------------- FUNCTION WRAPPERS ------------------
696 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
698 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
702 #-------------- VARIABLE WRAPPERS ------------------
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
728 #-------------- USER INCLUDE -----------------------
731 # Stuff these names into the wx namespace so wxPyConstructObject can find them
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