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 SetBackgroundColour(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
423 def SetBorder(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
426 def GetFirstCell(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
428 if val
: val
= wxHtmlCellPtr(val
)
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
)
440 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
441 def __init__(self
,this
):
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
)
454 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
455 def __init__(self
,this
):
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
)
468 class HtmlHistoryItemPtr
:
469 def __init__(self
,this
):
472 def GetPos(self
, *_args
, **_kwargs
):
473 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
475 def SetPos(self
, *_args
, **_kwargs
):
476 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
478 def GetPage(self
, *_args
, **_kwargs
):
479 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
481 def GetAnchor(self
, *_args
, **_kwargs
):
482 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
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
)
494 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
495 def __init__(self
,this
):
498 def _setSelf(self
, *_args
, **_kwargs
):
499 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
501 def SetPage(self
, *_args
, **_kwargs
):
502 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
504 def LoadPage(self
, *_args
, **_kwargs
):
505 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
507 def GetOpenedPage(self
, *_args
, **_kwargs
):
508 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
510 def SetRelatedFrame(self
, *_args
, **_kwargs
):
511 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
513 def GetRelatedFrame(self
, *_args
, **_kwargs
):
514 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
515 if val
: val
= wxFramePtr(val
)
517 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
518 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
520 def SetFonts(self
, *_args
, **_kwargs
):
521 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
523 def SetTitle(self
, *_args
, **_kwargs
):
524 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
526 def SetBorders(self
, *_args
, **_kwargs
):
527 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
529 def ReadCustomization(self
, *_args
, **_kwargs
):
530 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
532 def WriteCustomization(self
, *_args
, **_kwargs
):
533 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
535 def HistoryBack(self
, *_args
, **_kwargs
):
536 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
538 def HistoryForward(self
, *_args
, **_kwargs
):
539 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
541 def HistoryClear(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
544 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
546 if val
: val
= wxHtmlContainerCellPtr(val
)
548 def GetParser(self
, *_args
, **_kwargs
):
549 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
550 if val
: val
= wxHtmlWinParserPtr(val
)
552 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
553 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
555 def base_OnSetTitle(self
, *_args
, **_kwargs
):
556 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
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
)
565 wx
._StdWindowCallbacks
(self
)
566 wx
._StdOnScrollCallbacks
(self
)
571 class wxHtmlDCRendererPtr
:
572 def __init__(self
,this
):
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
)
581 def SetSize(self
, *_args
, **_kwargs
):
582 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
584 def SetHtmlText(self
, *_args
, **_kwargs
):
585 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
587 def Render(self
, *_args
, **_kwargs
):
588 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
590 def GetTotalHeight(self
, *_args
, **_kwargs
):
591 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
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
)
603 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
604 def __init__(self
,this
):
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
)
613 def SetHtmlFile(self
, *_args
, **_kwargs
):
614 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
616 def SetHeader(self
, *_args
, **_kwargs
):
617 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
619 def SetFooter(self
, *_args
, **_kwargs
):
620 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
622 def SetMargins(self
, *_args
, **_kwargs
):
623 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
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
)
635 class wxHtmlEasyPrintingPtr
:
636 def __init__(self
,this
):
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
)
645 def PreviewText(self
, *_args
, **_kwargs
):
646 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
648 def PrintFile(self
, *_args
, **_kwargs
):
649 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
651 def PrintText(self
, *_args
, **_kwargs
):
652 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
654 def PrinterSetup(self
, *_args
, **_kwargs
):
655 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
657 def PageSetup(self
, *_args
, **_kwargs
):
658 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
660 def SetHeader(self
, *_args
, **_kwargs
):
661 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
663 def SetFooter(self
, *_args
, **_kwargs
):
664 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
666 def GetPrintData(self
, *_args
, **_kwargs
):
667 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
668 if val
: val
= wxPrintDataPtr(val
)
670 def GetPageSetupData(self
, *_args
, **_kwargs
):
671 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
672 if val
: val
= wxPageSetupDialogDataPtr(val
)
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
)
686 #-------------- FUNCTION WRAPPERS ------------------
688 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
690 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
694 #-------------- VARIABLE WRAPPERS ------------------
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
720 #-------------- USER INCLUDE -----------------------
723 # Stuff these names into the wx namespace so wxPyConstructObject can find them
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