1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
24 from stattool
import *
26 from controls
import *
28 from controls2
import *
30 from windows2
import *
34 from windows3
import *
44 class wxHtmlLinkInfoPtr(wxObjectPtr
):
45 def __init__(self
,this
):
48 def GetHref(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.wxHtmlLinkInfo_GetHref
,(self
,) + _args
, _kwargs
)
51 def GetTarget(self
, *_args
, **_kwargs
):
52 val
= apply(htmlc
.wxHtmlLinkInfo_GetTarget
,(self
,) + _args
, _kwargs
)
54 def GetEvent(self
, *_args
, **_kwargs
):
55 val
= apply(htmlc
.wxHtmlLinkInfo_GetEvent
,(self
,) + _args
, _kwargs
)
57 def GetHtmlCell(self
, *_args
, **_kwargs
):
58 val
= apply(htmlc
.wxHtmlLinkInfo_GetHtmlCell
,(self
,) + _args
, _kwargs
)
59 if val
: val
= wxHtmlCellPtr(val
)
61 def SetEvent(self
, *_args
, **_kwargs
):
62 val
= apply(htmlc
.wxHtmlLinkInfo_SetEvent
,(self
,) + _args
, _kwargs
)
64 def SetHtmlCell(self
, *_args
, **_kwargs
):
65 val
= apply(htmlc
.wxHtmlLinkInfo_SetHtmlCell
,(self
,) + _args
, _kwargs
)
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
)
77 class wxHtmlTagPtr(wxObjectPtr
):
78 def __init__(self
,this
):
81 def GetName(self
, *_args
, **_kwargs
):
82 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
84 def HasParam(self
, *_args
, **_kwargs
):
85 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
87 def GetParam(self
, *_args
, **_kwargs
):
88 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
90 def GetAllParams(self
, *_args
, **_kwargs
):
91 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
93 def HasEnding(self
, *_args
, **_kwargs
):
94 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
96 def GetBeginPos(self
, *_args
, **_kwargs
):
97 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
99 def GetEndPos1(self
, *_args
, **_kwargs
):
100 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
102 def GetEndPos2(self
, *_args
, **_kwargs
):
103 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
106 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
107 class wxHtmlTag(wxHtmlTagPtr
):
108 def __init__(self
,this
):
114 class wxHtmlParserPtr(wxObjectPtr
):
115 def __init__(self
,this
):
118 def SetFS(self
, *_args
, **_kwargs
):
119 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
121 def GetFS(self
, *_args
, **_kwargs
):
122 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
124 def Parse(self
, *_args
, **_kwargs
):
125 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
127 def InitParser(self
, *_args
, **_kwargs
):
128 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
130 def DoneParser(self
, *_args
, **_kwargs
):
131 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
133 def DoParsing(self
, *_args
, **_kwargs
):
134 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
136 def AddTagHandler(self
, *_args
, **_kwargs
):
137 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
139 def GetSource(self
, *_args
, **_kwargs
):
140 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
142 def PushTagHandler(self
, *_args
, **_kwargs
):
143 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
145 def PopTagHandler(self
, *_args
, **_kwargs
):
146 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
149 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
150 class wxHtmlParser(wxHtmlParserPtr
):
151 def __init__(self
,this
):
157 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
158 def __init__(self
,this
):
161 def SetDC(self
, *_args
, **_kwargs
):
162 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
164 def GetDC(self
, *_args
, **_kwargs
):
165 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
167 def GetCharHeight(self
, *_args
, **_kwargs
):
168 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
170 def GetCharWidth(self
, *_args
, **_kwargs
):
171 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
173 def GetWindow(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
176 def SetFonts(self
, *_args
, **_kwargs
):
177 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
179 def GetContainer(self
, *_args
, **_kwargs
):
180 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
181 if val
: val
= wxHtmlContainerCellPtr(val
)
183 def OpenContainer(self
, *_args
, **_kwargs
):
184 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
185 if val
: val
= wxHtmlContainerCellPtr(val
)
187 def SetContainer(self
, *_args
, **_kwargs
):
188 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
189 if val
: val
= wxHtmlContainerCellPtr(val
)
191 def CloseContainer(self
, *_args
, **_kwargs
):
192 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
193 if val
: val
= wxHtmlContainerCellPtr(val
)
195 def GetFontSize(self
, *_args
, **_kwargs
):
196 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
198 def SetFontSize(self
, *_args
, **_kwargs
):
199 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
201 def GetFontBold(self
, *_args
, **_kwargs
):
202 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
204 def SetFontBold(self
, *_args
, **_kwargs
):
205 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
207 def GetFontItalic(self
, *_args
, **_kwargs
):
208 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
210 def SetFontItalic(self
, *_args
, **_kwargs
):
211 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
213 def GetFontUnderlined(self
, *_args
, **_kwargs
):
214 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
216 def SetFontUnderlined(self
, *_args
, **_kwargs
):
217 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
219 def GetFontFixed(self
, *_args
, **_kwargs
):
220 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
222 def SetFontFixed(self
, *_args
, **_kwargs
):
223 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
225 def GetAlign(self
, *_args
, **_kwargs
):
226 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
228 def SetAlign(self
, *_args
, **_kwargs
):
229 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
231 def GetLinkColor(self
, *_args
, **_kwargs
):
232 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
233 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
235 def SetLinkColor(self
, *_args
, **_kwargs
):
236 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
238 def GetActualColor(self
, *_args
, **_kwargs
):
239 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
240 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
242 def SetActualColor(self
, *_args
, **_kwargs
):
243 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
245 def SetLink(self
, *_args
, **_kwargs
):
246 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
248 def CreateCurrentFont(self
, *_args
, **_kwargs
):
249 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
250 if val
: val
= wxFontPtr(val
)
252 def GetLink(self
, *_args
, **_kwargs
):
253 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
254 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
257 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
258 class wxHtmlWinParser(wxHtmlWinParserPtr
):
259 def __init__(self
,*_args
,**_kwargs
):
260 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
266 class wxHtmlTagHandlerPtr(wxObjectPtr
):
267 def __init__(self
,this
):
270 def _setCallbackInfo(self
, *_args
, **_kwargs
):
271 val
= apply(htmlc
.wxHtmlTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
273 def SetParser(self
, *_args
, **_kwargs
):
274 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
276 def GetParser(self
, *_args
, **_kwargs
):
277 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
278 if val
: val
= wxHtmlParserPtr(val
)
280 def ParseInner(self
, *_args
, **_kwargs
):
281 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
284 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
285 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
286 def __init__(self
,*_args
,**_kwargs
):
287 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
289 self
._setCallbackInfo
(self
, wxHtmlTagHandler
)
294 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
295 def __init__(self
,this
):
298 def _setCallbackInfo(self
, *_args
, **_kwargs
):
299 val
= apply(htmlc
.wxHtmlWinTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
301 def SetParser(self
, *_args
, **_kwargs
):
302 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
304 def GetParser(self
, *_args
, **_kwargs
):
305 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
306 if val
: val
= wxHtmlWinParserPtr(val
)
308 def ParseInner(self
, *_args
, **_kwargs
):
309 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
312 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
313 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
314 def __init__(self
,*_args
,**_kwargs
):
315 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
317 self
._setCallbackInfo
(self
, wxHtmlWinTagHandler
)
322 class wxHtmlCellPtr(wxObjectPtr
):
323 def __init__(self
,this
):
326 def GetPosX(self
, *_args
, **_kwargs
):
327 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
329 def GetPosY(self
, *_args
, **_kwargs
):
330 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
332 def GetWidth(self
, *_args
, **_kwargs
):
333 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
335 def GetHeight(self
, *_args
, **_kwargs
):
336 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
338 def GetDescent(self
, *_args
, **_kwargs
):
339 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
341 def GetLink(self
, *_args
, **_kwargs
):
342 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
343 if val
: val
= wxHtmlLinkInfoPtr(val
)
345 def GetNext(self
, *_args
, **_kwargs
):
346 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
347 if val
: val
= wxHtmlCellPtr(val
)
349 def GetParent(self
, *_args
, **_kwargs
):
350 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
351 if val
: val
= wxHtmlContainerCellPtr(val
)
353 def SetLink(self
, *_args
, **_kwargs
):
354 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
356 def SetNext(self
, *_args
, **_kwargs
):
357 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
359 def SetParent(self
, *_args
, **_kwargs
):
360 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
362 def SetPos(self
, *_args
, **_kwargs
):
363 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
365 def Layout(self
, *_args
, **_kwargs
):
366 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
368 def Draw(self
, *_args
, **_kwargs
):
369 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
371 def DrawInvisible(self
, *_args
, **_kwargs
):
372 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
374 def Find(self
, *_args
, **_kwargs
):
375 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
376 if val
: val
= wxHtmlCellPtr(val
)
378 def AdjustPagebreak(self
, *_args
, **_kwargs
):
379 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
381 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
382 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
385 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
386 class wxHtmlCell(wxHtmlCellPtr
):
387 def __init__(self
,*_args
,**_kwargs
):
388 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
394 class wxHtmlWordCellPtr(wxHtmlCellPtr
):
395 def __init__(self
,this
):
399 return "<C wxHtmlWordCell instance at %s>" % (self
.this
,)
400 class wxHtmlWordCell(wxHtmlWordCellPtr
):
401 def __init__(self
,*_args
,**_kwargs
):
402 self
.this
= apply(htmlc
.new_wxHtmlWordCell
,_args
,_kwargs
)
408 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
409 def __init__(self
,this
):
412 def InsertCell(self
, *_args
, **_kwargs
):
413 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
415 def SetAlignHor(self
, *_args
, **_kwargs
):
416 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
418 def GetAlignHor(self
, *_args
, **_kwargs
):
419 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
421 def SetAlignVer(self
, *_args
, **_kwargs
):
422 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
424 def GetAlignVer(self
, *_args
, **_kwargs
):
425 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
427 def SetIndent(self
, *_args
, **_kwargs
):
428 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
430 def GetIndent(self
, *_args
, **_kwargs
):
431 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
433 def GetIndentUnits(self
, *_args
, **_kwargs
):
434 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
436 def SetAlign(self
, *_args
, **_kwargs
):
437 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
439 def SetWidthFloat(self
, *_args
, **_kwargs
):
440 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
442 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
443 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
445 def SetMinHeight(self
, *_args
, **_kwargs
):
446 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
448 def SetBackgroundColour(self
, *_args
, **_kwargs
):
449 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
451 def SetBorder(self
, *_args
, **_kwargs
):
452 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
454 def GetFirstCell(self
, *_args
, **_kwargs
):
455 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
456 if val
: val
= wxHtmlCellPtr(val
)
459 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
460 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
461 def __init__(self
,*_args
,**_kwargs
):
462 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
468 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
469 def __init__(self
,this
):
473 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
474 class wxHtmlColourCell(wxHtmlColourCellPtr
):
475 def __init__(self
,*_args
,**_kwargs
):
476 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
482 class wxHtmlFontCellPtr(wxHtmlCellPtr
):
483 def __init__(self
,this
):
487 return "<C wxHtmlFontCell instance at %s>" % (self
.this
,)
488 class wxHtmlFontCell(wxHtmlFontCellPtr
):
489 def __init__(self
,*_args
,**_kwargs
):
490 self
.this
= apply(htmlc
.new_wxHtmlFontCell
,_args
,_kwargs
)
496 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
497 def __init__(self
,this
):
501 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
502 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
503 def __init__(self
,*_args
,**_kwargs
):
504 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
510 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
511 def __init__(self
,this
):
514 def Create(self
, *_args
, **_kwargs
):
515 val
= apply(htmlc
.wxHtmlWindow_Create
,(self
,) + _args
, _kwargs
)
517 def _setCallbackInfo(self
, *_args
, **_kwargs
):
518 val
= apply(htmlc
.wxHtmlWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
520 def SetPage(self
, *_args
, **_kwargs
):
521 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
523 def LoadPage(self
, *_args
, **_kwargs
):
524 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
526 def AppendToPage(self
, *_args
, **_kwargs
):
527 val
= apply(htmlc
.wxHtmlWindow_AppendToPage
,(self
,) + _args
, _kwargs
)
529 def GetOpenedPage(self
, *_args
, **_kwargs
):
530 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
532 def GetOpenedAnchor(self
, *_args
, **_kwargs
):
533 val
= apply(htmlc
.wxHtmlWindow_GetOpenedAnchor
,(self
,) + _args
, _kwargs
)
535 def GetOpenedPageTitle(self
, *_args
, **_kwargs
):
536 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPageTitle
,(self
,) + _args
, _kwargs
)
538 def SetRelatedFrame(self
, *_args
, **_kwargs
):
539 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
541 def GetRelatedFrame(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
544 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
547 def SetFonts(self
, *_args
, **_kwargs
):
548 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
550 def SetTitle(self
, *_args
, **_kwargs
):
551 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
553 def SetBorders(self
, *_args
, **_kwargs
):
554 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
556 def ReadCustomization(self
, *_args
, **_kwargs
):
557 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
559 def WriteCustomization(self
, *_args
, **_kwargs
):
560 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
562 def HistoryBack(self
, *_args
, **_kwargs
):
563 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
565 def HistoryForward(self
, *_args
, **_kwargs
):
566 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
568 def HistoryCanBack(self
, *_args
, **_kwargs
):
569 val
= apply(htmlc
.wxHtmlWindow_HistoryCanBack
,(self
,) + _args
, _kwargs
)
571 def HistoryCanForward(self
, *_args
, **_kwargs
):
572 val
= apply(htmlc
.wxHtmlWindow_HistoryCanForward
,(self
,) + _args
, _kwargs
)
574 def HistoryClear(self
, *_args
, **_kwargs
):
575 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
577 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
578 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
579 if val
: val
= wxHtmlContainerCellPtr(val
)
581 def GetParser(self
, *_args
, **_kwargs
):
582 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
583 if val
: val
= wxHtmlWinParserPtr(val
)
585 def ScrollToAnchor(self
, *_args
, **_kwargs
):
586 val
= apply(htmlc
.wxHtmlWindow_ScrollToAnchor
,(self
,) + _args
, _kwargs
)
588 def HasAnchor(self
, *_args
, **_kwargs
):
589 val
= apply(htmlc
.wxHtmlWindow_HasAnchor
,(self
,) + _args
, _kwargs
)
591 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
592 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
594 def base_OnSetTitle(self
, *_args
, **_kwargs
):
595 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
597 def base_OnCellMouseHover(self
, *_args
, **_kwargs
):
598 val
= apply(htmlc
.wxHtmlWindow_base_OnCellMouseHover
,(self
,) + _args
, _kwargs
)
600 def base_OnCellClicked(self
, *_args
, **_kwargs
):
601 val
= apply(htmlc
.wxHtmlWindow_base_OnCellClicked
,(self
,) + _args
, _kwargs
)
604 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
605 class wxHtmlWindow(wxHtmlWindowPtr
):
606 def __init__(self
,*_args
,**_kwargs
):
607 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
609 self
._setCallbackInfo
(self
, wxHtmlWindow
)
610 self
._setOORInfo
(self
)
614 def wxPreHtmlWindow(*_args
,**_kwargs
):
615 val
= wxHtmlWindowPtr(apply(htmlc
.new_wxPreHtmlWindow
,_args
,_kwargs
))
621 class wxHtmlDCRendererPtr(wxObjectPtr
):
622 def __init__(self
,this
):
625 def __del__(self
,htmlc
=htmlc
):
626 if self
.thisown
== 1 :
627 htmlc
.delete_wxHtmlDCRenderer(self
)
628 def SetDC(self
, *_args
, **_kwargs
):
629 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
631 def SetSize(self
, *_args
, **_kwargs
):
632 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
634 def SetHtmlText(self
, *_args
, **_kwargs
):
635 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
637 def Render(self
, *_args
, **_kwargs
):
638 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
640 def GetTotalHeight(self
, *_args
, **_kwargs
):
641 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
644 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
645 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
646 def __init__(self
,*_args
,**_kwargs
):
647 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
653 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
654 def __init__(self
,this
):
657 def SetHtmlText(self
, *_args
, **_kwargs
):
658 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
660 def SetHtmlFile(self
, *_args
, **_kwargs
):
661 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
663 def SetHeader(self
, *_args
, **_kwargs
):
664 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
666 def SetFooter(self
, *_args
, **_kwargs
):
667 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
669 def SetMargins(self
, *_args
, **_kwargs
):
670 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
673 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
674 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
675 def __init__(self
,*_args
,**_kwargs
):
676 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
682 class wxHtmlEasyPrintingPtr(wxObjectPtr
):
683 def __init__(self
,this
):
686 def __del__(self
,htmlc
=htmlc
):
687 if self
.thisown
== 1 :
688 htmlc
.delete_wxHtmlEasyPrinting(self
)
689 def PreviewFile(self
, *_args
, **_kwargs
):
690 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
692 def PreviewText(self
, *_args
, **_kwargs
):
693 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
695 def PrintFile(self
, *_args
, **_kwargs
):
696 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
698 def PrintText(self
, *_args
, **_kwargs
):
699 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
701 def PrinterSetup(self
, *_args
, **_kwargs
):
702 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
704 def PageSetup(self
, *_args
, **_kwargs
):
705 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
707 def SetHeader(self
, *_args
, **_kwargs
):
708 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
710 def SetFooter(self
, *_args
, **_kwargs
):
711 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
713 def GetPrintData(self
, *_args
, **_kwargs
):
714 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
715 if val
: val
= wxPrintDataPtr(val
)
717 def GetPageSetupData(self
, *_args
, **_kwargs
):
718 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
719 if val
: val
= wxPageSetupDialogDataPtr(val
)
722 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
723 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
724 def __init__(self
,*_args
,**_kwargs
):
725 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
733 #-------------- FUNCTION WRAPPERS ------------------
735 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
737 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
741 #-------------- VARIABLE WRAPPERS ------------------
743 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
744 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
745 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
746 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
747 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
748 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
749 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
750 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
751 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
752 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
753 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
754 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
755 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
756 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
757 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
758 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
759 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
760 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
761 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
762 wxHW_SCROLLBAR_NEVER
= htmlc
.wxHW_SCROLLBAR_NEVER
763 wxHW_SCROLLBAR_AUTO
= htmlc
.wxHW_SCROLLBAR_AUTO
764 wxHTML_OPEN
= htmlc
.wxHTML_OPEN
765 wxHTML_BLOCK
= htmlc
.wxHTML_BLOCK
766 wxHTML_REDIRECT
= htmlc
.wxHTML_REDIRECT
767 wxHTML_URL_PAGE
= htmlc
.wxHTML_URL_PAGE
768 wxHTML_URL_IMAGE
= htmlc
.wxHTML_URL_IMAGE
769 wxHTML_URL_OTHER
= htmlc
.wxHTML_URL_OTHER
770 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
771 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
772 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
775 #-------------- USER INCLUDE -----------------------
778 # Stuff these names into the wx namespace so wxPyConstructObject can find them
780 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
781 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
782 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
783 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
784 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
785 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
786 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
787 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
788 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
789 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr