]>
Commit | Line | Data |
---|---|---|
9c039d08 RD |
1 | # This file was created automatically by SWIG. |
2 | import framesc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
8 | from windows import * | |
9 | ||
b1462dfa RD |
10 | from clip_dnd import * |
11 | ||
9c039d08 RD |
12 | from stattool import * |
13 | ||
14 | from controls import * | |
15 | ||
16 | from events import * | |
b8b8dda7 | 17 | import wx |
ecc08ead | 18 | class wxTopLevelWindowPtr(wxWindowPtr): |
9c039d08 RD |
19 | def __init__(self,this): |
20 | self.this = this | |
21 | self.thisown = 0 | |
09f3d4e6 | 22 | def Create(self, *_args, **_kwargs): |
ecc08ead | 23 | val = apply(framesc.wxTopLevelWindow_Create,(self,) + _args, _kwargs) |
09f3d4e6 | 24 | return val |
ecc08ead RD |
25 | def Maximize(self, *_args, **_kwargs): |
26 | val = apply(framesc.wxTopLevelWindow_Maximize,(self,) + _args, _kwargs) | |
9c039d08 | 27 | return val |
ecc08ead RD |
28 | def Restore(self, *_args, **_kwargs): |
29 | val = apply(framesc.wxTopLevelWindow_Restore,(self,) + _args, _kwargs) | |
9c039d08 | 30 | return val |
ecc08ead RD |
31 | def Iconize(self, *_args, **_kwargs): |
32 | val = apply(framesc.wxTopLevelWindow_Iconize,(self,) + _args, _kwargs) | |
33 | return val | |
34 | def IsMaximized(self, *_args, **_kwargs): | |
35 | val = apply(framesc.wxTopLevelWindow_IsMaximized,(self,) + _args, _kwargs) | |
36 | return val | |
37 | def IsIconized(self, *_args, **_kwargs): | |
38 | val = apply(framesc.wxTopLevelWindow_IsIconized,(self,) + _args, _kwargs) | |
9c039d08 | 39 | return val |
f6bcfd97 | 40 | def GetIcon(self, *_args, **_kwargs): |
ecc08ead | 41 | val = apply(framesc.wxTopLevelWindow_GetIcon,(self,) + _args, _kwargs) |
c5943253 | 42 | if val: val = wxIconPtr(val) ; val.thisown = 1 |
f6bcfd97 | 43 | return val |
ecc08ead RD |
44 | def SetIcon(self, *_args, **_kwargs): |
45 | val = apply(framesc.wxTopLevelWindow_SetIcon,(self,) + _args, _kwargs) | |
9c039d08 | 46 | return val |
0e9b78ce RD |
47 | def SetIcons(self, *_args, **_kwargs): |
48 | val = apply(framesc.wxTopLevelWindow_SetIcons,(self,) + _args, _kwargs) | |
49 | return val | |
900d9886 RD |
50 | def ShowFullScreen(self, *_args, **_kwargs): |
51 | val = apply(framesc.wxTopLevelWindow_ShowFullScreen,(self,) + _args, _kwargs) | |
52 | return val | |
53 | def IsFullScreen(self, *_args, **_kwargs): | |
54 | val = apply(framesc.wxTopLevelWindow_IsFullScreen,(self,) + _args, _kwargs) | |
55 | return val | |
ecc08ead RD |
56 | def SetTitle(self, *_args, **_kwargs): |
57 | val = apply(framesc.wxTopLevelWindow_SetTitle,(self,) + _args, _kwargs) | |
9c039d08 | 58 | return val |
1d99702e | 59 | def GetTitle(self, *_args, **_kwargs): |
ecc08ead | 60 | val = apply(framesc.wxTopLevelWindow_GetTitle,(self,) + _args, _kwargs) |
9c039d08 | 61 | return val |
ecc08ead RD |
62 | def __repr__(self): |
63 | return "<C wxTopLevelWindow instance at %s>" % (self.this,) | |
64 | class wxTopLevelWindow(wxTopLevelWindowPtr): | |
65 | def __init__(self,*_args,**_kwargs): | |
66 | self.this = apply(framesc.new_wxTopLevelWindow,_args,_kwargs) | |
67 | self.thisown = 1 | |
0122b7e3 | 68 | self._setOORInfo(self) |
ecc08ead RD |
69 | |
70 | ||
71 | ||
72 | def wxPreTopLevelWindow(*_args,**_kwargs): | |
73 | val = wxTopLevelWindowPtr(apply(framesc.new_wxPreTopLevelWindow,_args,_kwargs)) | |
74 | val.thisown = 1 | |
17c0e08c | 75 | val._setOORInfo(val) |
ecc08ead RD |
76 | return val |
77 | ||
78 | ||
79 | class wxFramePtr(wxTopLevelWindowPtr): | |
80 | def __init__(self,this): | |
81 | self.this = this | |
82 | self.thisown = 0 | |
83 | def Create(self, *_args, **_kwargs): | |
84 | val = apply(framesc.wxFrame_Create,(self,) + _args, _kwargs) | |
9c039d08 | 85 | return val |
ecc08ead RD |
86 | def GetClientAreaOrigin(self, *_args, **_kwargs): |
87 | val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs) | |
88 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
9c039d08 | 89 | return val |
ecc08ead RD |
90 | def SetMenuBar(self, *_args, **_kwargs): |
91 | val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs) | |
9c039d08 | 92 | return val |
ecc08ead RD |
93 | def GetMenuBar(self, *_args, **_kwargs): |
94 | val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs) | |
f6bcfd97 | 95 | return val |
ecc08ead RD |
96 | def Command(self, *_args, **_kwargs): |
97 | val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs) | |
f6bcfd97 | 98 | return val |
ecc08ead RD |
99 | def ProcessCommand(self, *_args, **_kwargs): |
100 | val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs) | |
9c039d08 | 101 | return val |
ecc08ead RD |
102 | def CreateStatusBar(self, *_args, **_kwargs): |
103 | val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs) | |
9c039d08 | 104 | return val |
ecc08ead RD |
105 | def GetStatusBar(self, *_args, **_kwargs): |
106 | val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs) | |
9c039d08 | 107 | return val |
1d99702e RD |
108 | def SetStatusBar(self, *_args, **_kwargs): |
109 | val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs) | |
9c039d08 | 110 | return val |
1d99702e RD |
111 | def SetStatusText(self, *_args, **_kwargs): |
112 | val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs) | |
9c039d08 | 113 | return val |
1d99702e RD |
114 | def SetStatusWidths(self, *_args, **_kwargs): |
115 | val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs) | |
9c039d08 | 116 | return val |
ecc08ead RD |
117 | def CreateToolBar(self, *_args, **_kwargs): |
118 | val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs) | |
119 | return val | |
120 | def GetToolBar(self, *_args, **_kwargs): | |
121 | val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs) | |
9c039d08 | 122 | return val |
1d99702e RD |
123 | def SetToolBar(self, *_args, **_kwargs): |
124 | val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs) | |
9c039d08 RD |
125 | return val |
126 | def __repr__(self): | |
1d99702e | 127 | return "<C wxFrame instance at %s>" % (self.this,) |
9c039d08 | 128 | class wxFrame(wxFramePtr): |
1d99702e RD |
129 | def __init__(self,*_args,**_kwargs): |
130 | self.this = apply(framesc.new_wxFrame,_args,_kwargs) | |
9c039d08 | 131 | self.thisown = 1 |
0122b7e3 | 132 | self._setOORInfo(self) |
9c039d08 RD |
133 | |
134 | ||
135 | ||
09f3d4e6 RD |
136 | def wxPreFrame(*_args,**_kwargs): |
137 | val = wxFramePtr(apply(framesc.new_wxPreFrame,_args,_kwargs)) | |
138 | val.thisown = 1 | |
17c0e08c | 139 | val._setOORInfo(val) |
09f3d4e6 RD |
140 | return val |
141 | ||
9c039d08 | 142 | |
ecc08ead RD |
143 | class wxDialogPtr(wxTopLevelWindowPtr): |
144 | def __init__(self,this): | |
145 | self.this = this | |
146 | self.thisown = 0 | |
147 | def Create(self, *_args, **_kwargs): | |
148 | val = apply(framesc.wxDialog_Create,(self,) + _args, _kwargs) | |
149 | return val | |
150 | def Centre(self, *_args, **_kwargs): | |
151 | val = apply(framesc.wxDialog_Centre,(self,) + _args, _kwargs) | |
152 | return val | |
153 | def EndModal(self, *_args, **_kwargs): | |
154 | val = apply(framesc.wxDialog_EndModal,(self,) + _args, _kwargs) | |
155 | return val | |
156 | def SetModal(self, *_args, **_kwargs): | |
157 | val = apply(framesc.wxDialog_SetModal,(self,) + _args, _kwargs) | |
158 | return val | |
159 | def IsModal(self, *_args, **_kwargs): | |
160 | val = apply(framesc.wxDialog_IsModal,(self,) + _args, _kwargs) | |
161 | return val | |
162 | def ShowModal(self, *_args, **_kwargs): | |
163 | val = apply(framesc.wxDialog_ShowModal,(self,) + _args, _kwargs) | |
164 | return val | |
165 | def GetReturnCode(self, *_args, **_kwargs): | |
166 | val = apply(framesc.wxDialog_GetReturnCode,(self,) + _args, _kwargs) | |
167 | return val | |
168 | def SetReturnCode(self, *_args, **_kwargs): | |
169 | val = apply(framesc.wxDialog_SetReturnCode,(self,) + _args, _kwargs) | |
170 | return val | |
171 | def CreateTextSizer(self, *_args, **_kwargs): | |
172 | val = apply(framesc.wxDialog_CreateTextSizer,(self,) + _args, _kwargs) | |
173 | return val | |
174 | def CreateButtonSizer(self, *_args, **_kwargs): | |
175 | val = apply(framesc.wxDialog_CreateButtonSizer,(self,) + _args, _kwargs) | |
176 | return val | |
177 | def __repr__(self): | |
178 | return "<C wxDialog instance at %s>" % (self.this,) | |
179 | class wxDialog(wxDialogPtr): | |
180 | def __init__(self,*_args,**_kwargs): | |
181 | self.this = apply(framesc.new_wxDialog,_args,_kwargs) | |
182 | self.thisown = 1 | |
0122b7e3 | 183 | self._setOORInfo(self) |
ecc08ead RD |
184 | |
185 | ||
186 | ||
187 | def wxPreDialog(*_args,**_kwargs): | |
188 | val = wxDialogPtr(apply(framesc.new_wxPreDialog,_args,_kwargs)) | |
189 | val.thisown = 1 | |
17c0e08c | 190 | val._setOORInfo(val) |
ecc08ead RD |
191 | return val |
192 | ||
193 | ||
9c039d08 RD |
194 | class wxMiniFramePtr(wxFramePtr): |
195 | def __init__(self,this): | |
196 | self.this = this | |
197 | self.thisown = 0 | |
09f3d4e6 RD |
198 | def Create(self, *_args, **_kwargs): |
199 | val = apply(framesc.wxMiniFrame_Create,(self,) + _args, _kwargs) | |
200 | return val | |
9c039d08 | 201 | def __repr__(self): |
1d99702e | 202 | return "<C wxMiniFrame instance at %s>" % (self.this,) |
9c039d08 | 203 | class wxMiniFrame(wxMiniFramePtr): |
1d99702e RD |
204 | def __init__(self,*_args,**_kwargs): |
205 | self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs) | |
9c039d08 | 206 | self.thisown = 1 |
0122b7e3 | 207 | self._setOORInfo(self) |
9c039d08 RD |
208 | |
209 | ||
210 | ||
09f3d4e6 RD |
211 | def wxPreMiniFrame(*_args,**_kwargs): |
212 | val = wxMiniFramePtr(apply(framesc.new_wxPreMiniFrame,_args,_kwargs)) | |
213 | val.thisown = 1 | |
17c0e08c | 214 | val._setOORInfo(val) |
09f3d4e6 RD |
215 | return val |
216 | ||
9c039d08 | 217 | |
b5a5d647 RD |
218 | class wxSplashScreenWindowPtr(wxWindowPtr): |
219 | def __init__(self,this): | |
220 | self.this = this | |
221 | self.thisown = 0 | |
222 | def SetBitmap(self, *_args, **_kwargs): | |
223 | val = apply(framesc.wxSplashScreenWindow_SetBitmap,(self,) + _args, _kwargs) | |
224 | return val | |
225 | def GetBitmap(self, *_args, **_kwargs): | |
226 | val = apply(framesc.wxSplashScreenWindow_GetBitmap,(self,) + _args, _kwargs) | |
227 | if val: val = wxBitmapPtr(val) | |
228 | return val | |
229 | def __repr__(self): | |
230 | return "<C wxSplashScreenWindow instance at %s>" % (self.this,) | |
231 | class wxSplashScreenWindow(wxSplashScreenWindowPtr): | |
232 | def __init__(self,*_args,**_kwargs): | |
233 | self.this = apply(framesc.new_wxSplashScreenWindow,_args,_kwargs) | |
234 | self.thisown = 1 | |
235 | ||
236 | ||
237 | ||
238 | ||
239 | class wxSplashScreenPtr(wxFramePtr): | |
240 | def __init__(self,this): | |
241 | self.this = this | |
242 | self.thisown = 0 | |
243 | def GetSplashStyle(self, *_args, **_kwargs): | |
244 | val = apply(framesc.wxSplashScreen_GetSplashStyle,(self,) + _args, _kwargs) | |
245 | return val | |
246 | def GetSplashWindow(self, *_args, **_kwargs): | |
247 | val = apply(framesc.wxSplashScreen_GetSplashWindow,(self,) + _args, _kwargs) | |
248 | if val: val = wxSplashScreenWindowPtr(val) | |
249 | return val | |
250 | def GetTimeout(self, *_args, **_kwargs): | |
251 | val = apply(framesc.wxSplashScreen_GetTimeout,(self,) + _args, _kwargs) | |
252 | return val | |
253 | def __repr__(self): | |
254 | return "<C wxSplashScreen instance at %s>" % (self.this,) | |
255 | class wxSplashScreen(wxSplashScreenPtr): | |
256 | def __init__(self,*_args,**_kwargs): | |
257 | self.this = apply(framesc.new_wxSplashScreen,_args,_kwargs) | |
258 | self.thisown = 1 | |
259 | ||
260 | ||
261 | ||
262 | ||
9c039d08 RD |
263 | |
264 | ||
265 | #-------------- FUNCTION WRAPPERS ------------------ | |
266 | ||
267 | ||
268 | ||
269 | #-------------- VARIABLE WRAPPERS ------------------ | |
270 | ||
f6bcfd97 BP |
271 | wxFULLSCREEN_NOMENUBAR = framesc.wxFULLSCREEN_NOMENUBAR |
272 | wxFULLSCREEN_NOTOOLBAR = framesc.wxFULLSCREEN_NOTOOLBAR | |
273 | wxFULLSCREEN_NOSTATUSBAR = framesc.wxFULLSCREEN_NOSTATUSBAR | |
274 | wxFULLSCREEN_NOBORDER = framesc.wxFULLSCREEN_NOBORDER | |
275 | wxFULLSCREEN_NOCAPTION = framesc.wxFULLSCREEN_NOCAPTION | |
276 | wxFULLSCREEN_ALL = framesc.wxFULLSCREEN_ALL | |
ecc08ead | 277 | wxTOPLEVEL_EX_DIALOG = framesc.wxTOPLEVEL_EX_DIALOG |
b5a5d647 RD |
278 | wxSPLASH_CENTRE_ON_PARENT = framesc.wxSPLASH_CENTRE_ON_PARENT |
279 | wxSPLASH_CENTRE_ON_SCREEN = framesc.wxSPLASH_CENTRE_ON_SCREEN | |
280 | wxSPLASH_NO_CENTRE = framesc.wxSPLASH_NO_CENTRE | |
281 | wxSPLASH_TIMEOUT = framesc.wxSPLASH_TIMEOUT | |
282 | wxSPLASH_NO_TIMEOUT = framesc.wxSPLASH_NO_TIMEOUT |