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