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
)
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
)
59 def __init__(self
,this
):
62 def GetName(self
, *_args
, **_kwargs
):
63 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
65 def HasParam(self
, *_args
, **_kwargs
):
66 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
68 def GetParam(self
, *_args
, **_kwargs
):
69 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
71 def GetAllParams(self
, *_args
, **_kwargs
):
72 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
74 def IsEnding(self
, *_args
, **_kwargs
):
75 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
77 def HasEnding(self
, *_args
, **_kwargs
):
78 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
80 def GetBeginPos(self
, *_args
, **_kwargs
):
81 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
83 def GetEndPos1(self
, *_args
, **_kwargs
):
84 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
86 def GetEndPos2(self
, *_args
, **_kwargs
):
87 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
90 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
91 class wxHtmlTag(wxHtmlTagPtr
):
92 def __init__(self
,this
):
98 class wxHtmlParserPtr
:
99 def __init__(self
,this
):
102 def SetFS(self
, *_args
, **_kwargs
):
103 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
105 def GetFS(self
, *_args
, **_kwargs
):
106 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
108 def Parse(self
, *_args
, **_kwargs
):
109 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
111 def InitParser(self
, *_args
, **_kwargs
):
112 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
114 def DoneParser(self
, *_args
, **_kwargs
):
115 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
117 def DoParsing(self
, *_args
, **_kwargs
):
118 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
120 def AddTagHandler(self
, *_args
, **_kwargs
):
121 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
123 def GetSource(self
, *_args
, **_kwargs
):
124 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
126 def PushTagHandler(self
, *_args
, **_kwargs
):
127 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
129 def PopTagHandler(self
, *_args
, **_kwargs
):
130 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
133 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
134 class wxHtmlParser(wxHtmlParserPtr
):
135 def __init__(self
,this
):
141 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
142 def __init__(self
,this
):
145 def SetDC(self
, *_args
, **_kwargs
):
146 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
148 def GetDC(self
, *_args
, **_kwargs
):
149 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
150 if val
: val
= wxDCPtr(val
)
152 def GetCharHeight(self
, *_args
, **_kwargs
):
153 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
155 def GetCharWidth(self
, *_args
, **_kwargs
):
156 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
158 def GetWindow(self
, *_args
, **_kwargs
):
159 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
160 if val
: val
= wxWindowPtr(val
)
162 def SetFonts(self
, *_args
, **_kwargs
):
163 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
165 def GetContainer(self
, *_args
, **_kwargs
):
166 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
167 if val
: val
= wxHtmlContainerCellPtr(val
)
169 def OpenContainer(self
, *_args
, **_kwargs
):
170 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
171 if val
: val
= wxHtmlContainerCellPtr(val
)
173 def SetContainer(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
175 if val
: val
= wxHtmlContainerCellPtr(val
)
177 def CloseContainer(self
, *_args
, **_kwargs
):
178 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
179 if val
: val
= wxHtmlContainerCellPtr(val
)
181 def GetFontSize(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
184 def SetFontSize(self
, *_args
, **_kwargs
):
185 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
187 def GetFontBold(self
, *_args
, **_kwargs
):
188 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
190 def SetFontBold(self
, *_args
, **_kwargs
):
191 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
193 def GetFontItalic(self
, *_args
, **_kwargs
):
194 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
196 def SetFontItalic(self
, *_args
, **_kwargs
):
197 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
199 def GetFontUnderlined(self
, *_args
, **_kwargs
):
200 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
202 def SetFontUnderlined(self
, *_args
, **_kwargs
):
203 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
205 def GetFontFixed(self
, *_args
, **_kwargs
):
206 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
208 def SetFontFixed(self
, *_args
, **_kwargs
):
209 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
211 def GetAlign(self
, *_args
, **_kwargs
):
212 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
214 def SetAlign(self
, *_args
, **_kwargs
):
215 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
217 def GetLinkColor(self
, *_args
, **_kwargs
):
218 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
219 if val
: val
= wxColourPtr(val
)
221 def SetLinkColor(self
, *_args
, **_kwargs
):
222 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
224 def GetActualColor(self
, *_args
, **_kwargs
):
225 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
226 if val
: val
= wxColourPtr(val
)
228 def SetActualColor(self
, *_args
, **_kwargs
):
229 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
231 def SetLink(self
, *_args
, **_kwargs
):
232 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
234 def CreateCurrentFont(self
, *_args
, **_kwargs
):
235 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
236 if val
: val
= wxFontPtr(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
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
)
252 class wxHtmlTagHandlerPtr
:
253 def __init__(self
,this
):
256 def _setSelf(self
, *_args
, **_kwargs
):
257 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
259 def SetParser(self
, *_args
, **_kwargs
):
260 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
262 def GetParser(self
, *_args
, **_kwargs
):
263 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
264 if val
: val
= wxHtmlParserPtr(val
)
266 def ParseInner(self
, *_args
, **_kwargs
):
267 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
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
)
280 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
281 def __init__(self
,this
):
284 def _setSelf(self
, *_args
, **_kwargs
):
285 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
287 def SetParser(self
, *_args
, **_kwargs
):
288 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
290 def GetParser(self
, *_args
, **_kwargs
):
291 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
292 if val
: val
= wxHtmlWinParserPtr(val
)
294 def ParseInner(self
, *_args
, **_kwargs
):
295 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
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
)
308 class wxHtmlCellPtr
:
309 def __init__(self
,this
):
312 def GetPosX(self
, *_args
, **_kwargs
):
313 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
315 def GetPosY(self
, *_args
, **_kwargs
):
316 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
318 def GetWidth(self
, *_args
, **_kwargs
):
319 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
321 def GetHeight(self
, *_args
, **_kwargs
):
322 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
324 def GetDescent(self
, *_args
, **_kwargs
):
325 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
327 def GetLink(self
, *_args
, **_kwargs
):
328 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
329 if val
: val
= wxHtmlLinkInfoPtr(val
)
331 def GetNext(self
, *_args
, **_kwargs
):
332 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
333 if val
: val
= wxHtmlCellPtr(val
)
335 def GetParent(self
, *_args
, **_kwargs
):
336 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
337 if val
: val
= wxHtmlContainerCellPtr(val
)
339 def SetLink(self
, *_args
, **_kwargs
):
340 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
342 def SetNext(self
, *_args
, **_kwargs
):
343 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
345 def SetParent(self
, *_args
, **_kwargs
):
346 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
348 def SetPos(self
, *_args
, **_kwargs
):
349 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
351 def Layout(self
, *_args
, **_kwargs
):
352 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
354 def Draw(self
, *_args
, **_kwargs
):
355 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
357 def DrawInvisible(self
, *_args
, **_kwargs
):
358 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
360 def Find(self
, *_args
, **_kwargs
):
361 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
362 if val
: val
= wxHtmlCellPtr(val
)
364 def AdjustPagebreak(self
, *_args
, **_kwargs
):
365 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
367 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
368 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
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
)
380 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
381 def __init__(self
,this
):
384 def InsertCell(self
, *_args
, **_kwargs
):
385 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
387 def SetAlignHor(self
, *_args
, **_kwargs
):
388 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
390 def GetAlignHor(self
, *_args
, **_kwargs
):
391 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
393 def SetAlignVer(self
, *_args
, **_kwargs
):
394 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
396 def GetAlignVer(self
, *_args
, **_kwargs
):
397 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
399 def SetIndent(self
, *_args
, **_kwargs
):
400 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
402 def GetIndent(self
, *_args
, **_kwargs
):
403 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
405 def GetIndentUnits(self
, *_args
, **_kwargs
):
406 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
408 def SetAlign(self
, *_args
, **_kwargs
):
409 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
411 def SetWidthFloat(self
, *_args
, **_kwargs
):
412 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
414 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
415 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
417 def SetMinHeight(self
, *_args
, **_kwargs
):
418 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
420 def GetMaxLineWidth(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_GetMaxLineWidth
,(self
,) + _args
, _kwargs
)
423 def SetBackgroundColour(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
426 def SetBorder(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
429 def GetFirstCell(self
, *_args
, **_kwargs
):
430 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
431 if val
: val
= wxHtmlCellPtr(val
)
434 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
435 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
436 def __init__(self
,*_args
,**_kwargs
):
437 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
443 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
444 def __init__(self
,this
):
448 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
449 class wxHtmlColourCell(wxHtmlColourCellPtr
):
450 def __init__(self
,*_args
,**_kwargs
):
451 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
457 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
458 def __init__(self
,this
):
462 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
463 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
464 def __init__(self
,*_args
,**_kwargs
):
465 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
471 class HtmlHistoryItemPtr
:
472 def __init__(self
,this
):
475 def GetPos(self
, *_args
, **_kwargs
):
476 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
478 def SetPos(self
, *_args
, **_kwargs
):
479 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
481 def GetPage(self
, *_args
, **_kwargs
):
482 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
484 def GetAnchor(self
, *_args
, **_kwargs
):
485 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
488 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
489 class HtmlHistoryItem(HtmlHistoryItemPtr
):
490 def __init__(self
,*_args
,**_kwargs
):
491 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
497 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
498 def __init__(self
,this
):
501 def _setSelf(self
, *_args
, **_kwargs
):
502 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
504 def SetPage(self
, *_args
, **_kwargs
):
505 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
507 def LoadPage(self
, *_args
, **_kwargs
):
508 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
510 def GetOpenedPage(self
, *_args
, **_kwargs
):
511 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
513 def SetRelatedFrame(self
, *_args
, **_kwargs
):
514 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
516 def GetRelatedFrame(self
, *_args
, **_kwargs
):
517 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
518 if val
: val
= wxFramePtr(val
)
520 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
521 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
523 def SetFonts(self
, *_args
, **_kwargs
):
524 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
526 def SetTitle(self
, *_args
, **_kwargs
):
527 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
529 def SetBorders(self
, *_args
, **_kwargs
):
530 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
532 def ReadCustomization(self
, *_args
, **_kwargs
):
533 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
535 def WriteCustomization(self
, *_args
, **_kwargs
):
536 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
538 def HistoryBack(self
, *_args
, **_kwargs
):
539 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
541 def HistoryForward(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
544 def HistoryClear(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
547 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
548 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
549 if val
: val
= wxHtmlContainerCellPtr(val
)
551 def GetParser(self
, *_args
, **_kwargs
):
552 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
553 if val
: val
= wxHtmlWinParserPtr(val
)
555 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
556 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
558 def base_OnSetTitle(self
, *_args
, **_kwargs
):
559 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
562 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
563 class wxHtmlWindow(wxHtmlWindowPtr
):
564 def __init__(self
,*_args
,**_kwargs
):
565 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
568 wx
._StdWindowCallbacks
(self
)
569 wx
._StdOnScrollCallbacks
(self
)
574 class wxHtmlDCRendererPtr
:
575 def __init__(self
,this
):
578 def __del__(self
,htmlc
=htmlc
):
579 if self
.thisown
== 1 :
580 htmlc
.delete_wxHtmlDCRenderer(self
)
581 def SetDC(self
, *_args
, **_kwargs
):
582 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
584 def SetSize(self
, *_args
, **_kwargs
):
585 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
587 def SetHtmlText(self
, *_args
, **_kwargs
):
588 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
590 def Render(self
, *_args
, **_kwargs
):
591 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
593 def GetTotalHeight(self
, *_args
, **_kwargs
):
594 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
597 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
598 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
599 def __init__(self
,*_args
,**_kwargs
):
600 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
606 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
607 def __init__(self
,this
):
610 def __del__(self
,htmlc
=htmlc
):
611 if self
.thisown
== 1 :
612 htmlc
.delete_wxHtmlPrintout(self
)
613 def SetHtmlText(self
, *_args
, **_kwargs
):
614 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
616 def SetHtmlFile(self
, *_args
, **_kwargs
):
617 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
619 def SetHeader(self
, *_args
, **_kwargs
):
620 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
622 def SetFooter(self
, *_args
, **_kwargs
):
623 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
625 def SetMargins(self
, *_args
, **_kwargs
):
626 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
629 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
630 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
631 def __init__(self
,*_args
,**_kwargs
):
632 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
638 class wxHtmlEasyPrintingPtr
:
639 def __init__(self
,this
):
642 def __del__(self
,htmlc
=htmlc
):
643 if self
.thisown
== 1 :
644 htmlc
.delete_wxHtmlEasyPrinting(self
)
645 def PreviewFile(self
, *_args
, **_kwargs
):
646 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
648 def PreviewText(self
, *_args
, **_kwargs
):
649 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
651 def PrintFile(self
, *_args
, **_kwargs
):
652 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
654 def PrintText(self
, *_args
, **_kwargs
):
655 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
657 def PrinterSetup(self
, *_args
, **_kwargs
):
658 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
660 def PageSetup(self
, *_args
, **_kwargs
):
661 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
663 def SetHeader(self
, *_args
, **_kwargs
):
664 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
666 def SetFooter(self
, *_args
, **_kwargs
):
667 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
669 def GetPrintData(self
, *_args
, **_kwargs
):
670 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
671 if val
: val
= wxPrintDataPtr(val
)
673 def GetPageSetupData(self
, *_args
, **_kwargs
):
674 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
675 if val
: val
= wxPageSetupDialogDataPtr(val
)
678 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
679 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
680 def __init__(self
,*_args
,**_kwargs
):
681 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
689 #-------------- FUNCTION WRAPPERS ------------------
691 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
693 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
697 #-------------- VARIABLE WRAPPERS ------------------
699 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
700 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
701 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
702 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
703 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
704 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
705 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
706 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
707 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
708 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
709 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
710 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
711 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
712 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
713 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
714 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
715 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
716 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
717 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
718 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
719 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
720 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
723 #-------------- USER INCLUDE -----------------------
726 # Stuff these names into the wx namespace so wxPyConstructObject can find them
728 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
729 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
730 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
731 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
732 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
733 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
734 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
735 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
736 wx
.HtmlHistoryItemPtr
= HtmlHistoryItemPtr
737 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
738 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr