]>
Commit | Line | Data |
---|---|---|
c731eb47 RD |
1 | # This file was created automatically by SWIG. |
2 | import iewinc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
12 | from fonts import * | |
13 | ||
14 | from clip_dnd import * | |
15 | ||
16 | from events import * | |
17 | ||
18 | from streams import * | |
19 | ||
20 | from utils import * | |
21 | ||
22 | from mdi import * | |
23 | ||
24 | from frames import * | |
25 | ||
26 | from stattool import * | |
27 | ||
28 | from controls import * | |
29 | ||
30 | from controls2 import * | |
31 | ||
32 | from windows2 import * | |
33 | ||
34 | from cmndlgs import * | |
35 | ||
36 | from windows3 import * | |
37 | ||
38 | from image import * | |
39 | ||
40 | from printfw import * | |
41 | ||
42 | from sizers import * | |
43 | ||
44 | from filesys import * | |
45 | import wx | |
46 | ||
47 | def EVT_MSHTML_BEFORENAVIGATE2(win, id, func): | |
48 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, func) | |
49 | ||
50 | def EVT_MSHTML_NEWWINDOW2(win, id, func): | |
51 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_NEWWINDOW2, func) | |
52 | ||
53 | def EVT_MSHTML_DOCUMENTCOMPLETE(win, id, func): | |
54 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, func) | |
55 | ||
56 | def EVT_MSHTML_PROGRESSCHANGE(win, id, func): | |
57 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_PROGRESSCHANGE, func) | |
58 | ||
59 | def EVT_MSHTML_STATUSTEXTCHANGE(win, id, func): | |
60 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE, func) | |
61 | ||
62 | def EVT_MSHTML_TITLECHANGE(win, id, func): | |
63 | win.Connect(id, -1, wxEVT_COMMAND_MSHTML_TITLECHANGE, func) | |
64 | ||
65 | class wxMSHTMLEventPtr(wxNotifyEventPtr): | |
66 | def __init__(self,this): | |
67 | self.this = this | |
68 | self.thisown = 0 | |
83a73288 | 69 | def GetText1(self, *_args, **_kwargs): |
1fded56b | 70 | val = iewinc.wxMSHTMLEvent_GetText1(self, *_args, **_kwargs) |
c731eb47 RD |
71 | return val |
72 | def GetLong1(self, *_args, **_kwargs): | |
1fded56b | 73 | val = iewinc.wxMSHTMLEvent_GetLong1(self, *_args, **_kwargs) |
c731eb47 RD |
74 | return val |
75 | def GetLong2(self, *_args, **_kwargs): | |
1fded56b | 76 | val = iewinc.wxMSHTMLEvent_GetLong2(self, *_args, **_kwargs) |
c731eb47 RD |
77 | return val |
78 | def __repr__(self): | |
1fded56b | 79 | return "<%s.%s instance; proxy of C++ wxMSHTMLEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
c731eb47 RD |
80 | class wxMSHTMLEvent(wxMSHTMLEventPtr): |
81 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 82 | self.this = iewinc.new_wxMSHTMLEvent(*_args,**_kwargs) |
c731eb47 RD |
83 | self.thisown = 1 |
84 | ||
85 | ||
86 | ||
87 | ||
88 | class wxIEHtmlWinPtr(wxWindowPtr): | |
89 | def __init__(self,this): | |
90 | self.this = this | |
91 | self.thisown = 0 | |
92 | def LoadUrl(self, *_args, **_kwargs): | |
1fded56b | 93 | val = iewinc.wxIEHtmlWin_LoadUrl(self, *_args, **_kwargs) |
c731eb47 RD |
94 | return val |
95 | def LoadString(self, *_args, **_kwargs): | |
1fded56b | 96 | val = iewinc.wxIEHtmlWin_LoadString(self, *_args, **_kwargs) |
c731eb47 | 97 | return val |
d3b55102 | 98 | def LoadStream(self, *_args, **_kwargs): |
1fded56b | 99 | val = iewinc.wxIEHtmlWin_LoadStream(self, *_args, **_kwargs) |
d3b55102 | 100 | return val |
c731eb47 | 101 | def SetCharset(self, *_args, **_kwargs): |
1fded56b | 102 | val = iewinc.wxIEHtmlWin_SetCharset(self, *_args, **_kwargs) |
c731eb47 RD |
103 | return val |
104 | def SetEditMode(self, *_args, **_kwargs): | |
1fded56b | 105 | val = iewinc.wxIEHtmlWin_SetEditMode(self, *_args, **_kwargs) |
c731eb47 RD |
106 | return val |
107 | def GetEditMode(self, *_args, **_kwargs): | |
1fded56b | 108 | val = iewinc.wxIEHtmlWin_GetEditMode(self, *_args, **_kwargs) |
c731eb47 RD |
109 | return val |
110 | def GetStringSelection(self, *_args, **_kwargs): | |
1fded56b | 111 | val = iewinc.wxIEHtmlWin_GetStringSelection(self, *_args, **_kwargs) |
c731eb47 RD |
112 | return val |
113 | def GetText(self, *_args, **_kwargs): | |
1fded56b | 114 | val = iewinc.wxIEHtmlWin_GetText(self, *_args, **_kwargs) |
c731eb47 RD |
115 | return val |
116 | def GoBack(self, *_args, **_kwargs): | |
1fded56b | 117 | val = iewinc.wxIEHtmlWin_GoBack(self, *_args, **_kwargs) |
c731eb47 RD |
118 | return val |
119 | def GoForward(self, *_args, **_kwargs): | |
1fded56b | 120 | val = iewinc.wxIEHtmlWin_GoForward(self, *_args, **_kwargs) |
c731eb47 RD |
121 | return val |
122 | def GoHome(self, *_args, **_kwargs): | |
1fded56b | 123 | val = iewinc.wxIEHtmlWin_GoHome(self, *_args, **_kwargs) |
c731eb47 RD |
124 | return val |
125 | def GoSearch(self, *_args, **_kwargs): | |
1fded56b | 126 | val = iewinc.wxIEHtmlWin_GoSearch(self, *_args, **_kwargs) |
c731eb47 | 127 | return val |
1e4a197e | 128 | def RefreshPage(self, *_args, **_kwargs): |
1fded56b | 129 | val = iewinc.wxIEHtmlWin_RefreshPage(self, *_args, **_kwargs) |
c731eb47 RD |
130 | return val |
131 | def Stop(self, *_args, **_kwargs): | |
1fded56b | 132 | val = iewinc.wxIEHtmlWin_Stop(self, *_args, **_kwargs) |
c731eb47 RD |
133 | return val |
134 | def __repr__(self): | |
1fded56b | 135 | return "<%s.%s instance; proxy of C++ wxIEHtmlWin instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
83a73288 | 136 | Navigate = LoadUrl |
c731eb47 RD |
137 | class wxIEHtmlWin(wxIEHtmlWinPtr): |
138 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 139 | self.this = iewinc.new_wxIEHtmlWin(*_args,**_kwargs) |
c731eb47 RD |
140 | self.thisown = 1 |
141 | ||
142 | ||
143 | ||
144 | ||
145 | ||
146 | ||
147 | #-------------- FUNCTION WRAPPERS ------------------ | |
148 | ||
149 | ||
150 | ||
151 | #-------------- VARIABLE WRAPPERS ------------------ | |
152 | ||
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 | |
163 | ||
164 | ||
165 | #-------------- USER INCLUDE ----------------------- | |
166 | ||
167 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
168 | ||
169 | wx.wxMSHTMLEventPtr = wxMSHTMLEventPtr | |
170 | wx.wxIEHtmlWinPtr = wxIEHtmlWinPtr |