1 # This file was created automatically by SWIG.
14 from clip_dnd
import *
26 from stattool
import *
28 from controls
import *
30 from controls2
import *
32 from windows2
import *
36 from windows3
import *
47 def EVT_MSHTML_BEFORENAVIGATE2(win
, id, func
):
48 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
, func
)
50 def EVT_MSHTML_NEWWINDOW2(win
, id, func
):
51 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_NEWWINDOW2
, func
)
53 def EVT_MSHTML_DOCUMENTCOMPLETE(win
, id, func
):
54 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
, func
)
56 def EVT_MSHTML_PROGRESSCHANGE(win
, id, func
):
57 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
, func
)
59 def EVT_MSHTML_STATUSTEXTCHANGE(win
, id, func
):
60 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
, func
)
62 def EVT_MSHTML_TITLECHANGE(win
, id, func
):
63 win
.Connect(id, -1, wxEVT_COMMAND_MSHTML_TITLECHANGE
, func
)
65 class wxMSHTMLEventPtr(wxNotifyEventPtr
):
66 def __init__(self
,this
):
69 def GetText1(self
, *_args
, **_kwargs
):
70 val
= iewinc
.wxMSHTMLEvent_GetText1(self
, *_args
, **_kwargs
)
72 def GetLong1(self
, *_args
, **_kwargs
):
73 val
= iewinc
.wxMSHTMLEvent_GetLong1(self
, *_args
, **_kwargs
)
75 def GetLong2(self
, *_args
, **_kwargs
):
76 val
= iewinc
.wxMSHTMLEvent_GetLong2(self
, *_args
, **_kwargs
)
79 return "<%s.%s instance; proxy of C++ wxMSHTMLEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
80 class wxMSHTMLEvent(wxMSHTMLEventPtr
):
81 def __init__(self
,*_args
,**_kwargs
):
82 self
.this
= iewinc
.new_wxMSHTMLEvent(*_args
,**_kwargs
)
88 class wxIEHtmlWinPtr(wxWindowPtr
):
89 def __init__(self
,this
):
92 def LoadUrl(self
, *_args
, **_kwargs
):
93 val
= iewinc
.wxIEHtmlWin_LoadUrl(self
, *_args
, **_kwargs
)
95 def LoadString(self
, *_args
, **_kwargs
):
96 val
= iewinc
.wxIEHtmlWin_LoadString(self
, *_args
, **_kwargs
)
98 def LoadStream(self
, *_args
, **_kwargs
):
99 val
= iewinc
.wxIEHtmlWin_LoadStream(self
, *_args
, **_kwargs
)
101 def SetCharset(self
, *_args
, **_kwargs
):
102 val
= iewinc
.wxIEHtmlWin_SetCharset(self
, *_args
, **_kwargs
)
104 def SetEditMode(self
, *_args
, **_kwargs
):
105 val
= iewinc
.wxIEHtmlWin_SetEditMode(self
, *_args
, **_kwargs
)
107 def GetEditMode(self
, *_args
, **_kwargs
):
108 val
= iewinc
.wxIEHtmlWin_GetEditMode(self
, *_args
, **_kwargs
)
110 def GetStringSelection(self
, *_args
, **_kwargs
):
111 val
= iewinc
.wxIEHtmlWin_GetStringSelection(self
, *_args
, **_kwargs
)
113 def GetText(self
, *_args
, **_kwargs
):
114 val
= iewinc
.wxIEHtmlWin_GetText(self
, *_args
, **_kwargs
)
116 def GoBack(self
, *_args
, **_kwargs
):
117 val
= iewinc
.wxIEHtmlWin_GoBack(self
, *_args
, **_kwargs
)
119 def GoForward(self
, *_args
, **_kwargs
):
120 val
= iewinc
.wxIEHtmlWin_GoForward(self
, *_args
, **_kwargs
)
122 def GoHome(self
, *_args
, **_kwargs
):
123 val
= iewinc
.wxIEHtmlWin_GoHome(self
, *_args
, **_kwargs
)
125 def GoSearch(self
, *_args
, **_kwargs
):
126 val
= iewinc
.wxIEHtmlWin_GoSearch(self
, *_args
, **_kwargs
)
128 def RefreshPage(self
, *_args
, **_kwargs
):
129 val
= iewinc
.wxIEHtmlWin_RefreshPage(self
, *_args
, **_kwargs
)
131 def Stop(self
, *_args
, **_kwargs
):
132 val
= iewinc
.wxIEHtmlWin_Stop(self
, *_args
, **_kwargs
)
135 return "<%s.%s instance; proxy of C++ wxIEHtmlWin instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
137 class wxIEHtmlWin(wxIEHtmlWinPtr
):
138 def __init__(self
,*_args
,**_kwargs
):
139 self
.this
= iewinc
.new_wxIEHtmlWin(*_args
,**_kwargs
)
147 #-------------- FUNCTION WRAPPERS ------------------
151 #-------------- VARIABLE WRAPPERS ------------------
153 wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
= iewinc
.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
154 wxEVT_COMMAND_MSHTML_NEWWINDOW2
= iewinc
.wxEVT_COMMAND_MSHTML_NEWWINDOW2
155 wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
= iewinc
.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
156 wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
= iewinc
.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
157 wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
= iewinc
.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
158 wxEVT_COMMAND_MSHTML_TITLECHANGE
= iewinc
.wxEVT_COMMAND_MSHTML_TITLECHANGE
159 wxIEHTML_REFRESH_NORMAL
= iewinc
.wxIEHTML_REFRESH_NORMAL
160 wxIEHTML_REFRESH_IFEXPIRED
= iewinc
.wxIEHTML_REFRESH_IFEXPIRED
161 wxIEHTML_REFRESH_CONTINUE
= iewinc
.wxIEHTML_REFRESH_CONTINUE
162 wxIEHTML_REFRESH_COMPLETELY
= iewinc
.wxIEHTML_REFRESH_COMPLETELY
165 #-------------- USER INCLUDE -----------------------
167 # Stuff these names into the wx namespace so wxPyConstructObject can find them
169 wx
.wxMSHTMLEventPtr
= wxMSHTMLEventPtr
170 wx
.wxIEHtmlWinPtr
= wxIEHtmlWinPtr