]>
Commit | Line | Data |
---|---|---|
8ab979d7 RD |
1 | # This file was created automatically by SWIG. |
2 | import cmndlgsc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
68bc8549 RD |
8 | from fonts import * |
9 | ||
8ab979d7 | 10 | from windows import * |
bb0054cd | 11 | |
b1462dfa RD |
12 | from clip_dnd import * |
13 | ||
0122b7e3 RD |
14 | from events import * |
15 | ||
bb0054cd RD |
16 | from frames import * |
17 | ||
18 | from stattool import * | |
19 | ||
20 | from controls import * | |
b8b8dda7 | 21 | import wx |
0122b7e3 RD |
22 | |
23 | ||
24 | def EVT_COMMAND_FIND(win, id, func): | |
25 | win.Connect(id, -1, wxEVT_COMMAND_FIND, func) | |
26 | ||
27 | def EVT_COMMAND_FIND_NEXT(win, id, func): | |
28 | win.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT, func) | |
29 | ||
30 | def EVT_COMMAND_FIND_REPLACE(win, id, func): | |
31 | win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE, func) | |
32 | ||
33 | def EVT_COMMAND_FIND_REPLACE_ALL(win, id, func): | |
34 | win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL, func) | |
35 | ||
36 | def EVT_COMMAND_FIND_CLOSE(win, id, func): | |
37 | win.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE, func) | |
38 | ||
39 | ||
9416aa89 | 40 | class wxColourDataPtr(wxObjectPtr): |
8ab979d7 RD |
41 | def __init__(self,this): |
42 | self.this = this | |
43 | self.thisown = 0 | |
1d99702e | 44 | def __del__(self,cmndlgsc=cmndlgsc): |
8ab979d7 | 45 | if self.thisown == 1 : |
1d99702e RD |
46 | cmndlgsc.delete_wxColourData(self) |
47 | def GetChooseFull(self, *_args, **_kwargs): | |
48 | val = apply(cmndlgsc.wxColourData_GetChooseFull,(self,) + _args, _kwargs) | |
8ab979d7 | 49 | return val |
1d99702e RD |
50 | def GetColour(self, *_args, **_kwargs): |
51 | val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs) | |
25832b3f | 52 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 53 | return val |
1d99702e RD |
54 | def GetCustomColour(self, *_args, **_kwargs): |
55 | val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs) | |
56 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
8ab979d7 | 57 | return val |
1d99702e RD |
58 | def SetChooseFull(self, *_args, **_kwargs): |
59 | val = apply(cmndlgsc.wxColourData_SetChooseFull,(self,) + _args, _kwargs) | |
8ab979d7 | 60 | return val |
1d99702e RD |
61 | def SetColour(self, *_args, **_kwargs): |
62 | val = apply(cmndlgsc.wxColourData_SetColour,(self,) + _args, _kwargs) | |
8ab979d7 | 63 | return val |
1d99702e RD |
64 | def SetCustomColour(self, *_args, **_kwargs): |
65 | val = apply(cmndlgsc.wxColourData_SetCustomColour,(self,) + _args, _kwargs) | |
8ab979d7 RD |
66 | return val |
67 | def __repr__(self): | |
1d99702e | 68 | return "<C wxColourData instance at %s>" % (self.this,) |
8ab979d7 | 69 | class wxColourData(wxColourDataPtr): |
1d99702e RD |
70 | def __init__(self,*_args,**_kwargs): |
71 | self.this = apply(cmndlgsc.new_wxColourData,_args,_kwargs) | |
8ab979d7 RD |
72 | self.thisown = 1 |
73 | ||
74 | ||
75 | ||
76 | ||
77 | class wxColourDialogPtr(wxDialogPtr): | |
78 | def __init__(self,this): | |
79 | self.this = this | |
80 | self.thisown = 0 | |
1d99702e RD |
81 | def GetColourData(self, *_args, **_kwargs): |
82 | val = apply(cmndlgsc.wxColourDialog_GetColourData,(self,) + _args, _kwargs) | |
83 | if val: val = wxColourDataPtr(val) | |
8ab979d7 | 84 | return val |
1d99702e RD |
85 | def ShowModal(self, *_args, **_kwargs): |
86 | val = apply(cmndlgsc.wxColourDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
87 | return val |
88 | def __repr__(self): | |
1d99702e | 89 | return "<C wxColourDialog instance at %s>" % (self.this,) |
8ab979d7 | 90 | class wxColourDialog(wxColourDialogPtr): |
1d99702e RD |
91 | def __init__(self,*_args,**_kwargs): |
92 | self.this = apply(cmndlgsc.new_wxColourDialog,_args,_kwargs) | |
8ab979d7 | 93 | self.thisown = 1 |
0122b7e3 | 94 | self._setOORInfo(self) |
8ab979d7 RD |
95 | |
96 | ||
97 | ||
98 | ||
99 | class wxDirDialogPtr(wxDialogPtr): | |
100 | def __init__(self,this): | |
101 | self.this = this | |
102 | self.thisown = 0 | |
1d99702e RD |
103 | def GetPath(self, *_args, **_kwargs): |
104 | val = apply(cmndlgsc.wxDirDialog_GetPath,(self,) + _args, _kwargs) | |
8ab979d7 | 105 | return val |
1d99702e RD |
106 | def GetMessage(self, *_args, **_kwargs): |
107 | val = apply(cmndlgsc.wxDirDialog_GetMessage,(self,) + _args, _kwargs) | |
8ab979d7 | 108 | return val |
1d99702e RD |
109 | def GetStyle(self, *_args, **_kwargs): |
110 | val = apply(cmndlgsc.wxDirDialog_GetStyle,(self,) + _args, _kwargs) | |
8ab979d7 | 111 | return val |
1d99702e RD |
112 | def SetMessage(self, *_args, **_kwargs): |
113 | val = apply(cmndlgsc.wxDirDialog_SetMessage,(self,) + _args, _kwargs) | |
8ab979d7 | 114 | return val |
1d99702e RD |
115 | def SetPath(self, *_args, **_kwargs): |
116 | val = apply(cmndlgsc.wxDirDialog_SetPath,(self,) + _args, _kwargs) | |
8ab979d7 | 117 | return val |
1d99702e RD |
118 | def ShowModal(self, *_args, **_kwargs): |
119 | val = apply(cmndlgsc.wxDirDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
120 | return val |
121 | def __repr__(self): | |
1d99702e | 122 | return "<C wxDirDialog instance at %s>" % (self.this,) |
8ab979d7 | 123 | class wxDirDialog(wxDirDialogPtr): |
1d99702e RD |
124 | def __init__(self,*_args,**_kwargs): |
125 | self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs) | |
8ab979d7 | 126 | self.thisown = 1 |
0122b7e3 | 127 | self._setOORInfo(self) |
8ab979d7 RD |
128 | |
129 | ||
130 | ||
131 | ||
132 | class wxFileDialogPtr(wxDialogPtr): | |
133 | def __init__(self,this): | |
134 | self.this = this | |
135 | self.thisown = 0 | |
1d99702e RD |
136 | def GetDirectory(self, *_args, **_kwargs): |
137 | val = apply(cmndlgsc.wxFileDialog_GetDirectory,(self,) + _args, _kwargs) | |
8ab979d7 | 138 | return val |
1d99702e RD |
139 | def GetFilename(self, *_args, **_kwargs): |
140 | val = apply(cmndlgsc.wxFileDialog_GetFilename,(self,) + _args, _kwargs) | |
8ab979d7 | 141 | return val |
1d99702e RD |
142 | def GetFilterIndex(self, *_args, **_kwargs): |
143 | val = apply(cmndlgsc.wxFileDialog_GetFilterIndex,(self,) + _args, _kwargs) | |
8ab979d7 | 144 | return val |
1d99702e RD |
145 | def GetMessage(self, *_args, **_kwargs): |
146 | val = apply(cmndlgsc.wxFileDialog_GetMessage,(self,) + _args, _kwargs) | |
8ab979d7 | 147 | return val |
1d99702e RD |
148 | def GetPath(self, *_args, **_kwargs): |
149 | val = apply(cmndlgsc.wxFileDialog_GetPath,(self,) + _args, _kwargs) | |
8ab979d7 | 150 | return val |
1d99702e RD |
151 | def GetStyle(self, *_args, **_kwargs): |
152 | val = apply(cmndlgsc.wxFileDialog_GetStyle,(self,) + _args, _kwargs) | |
8ab979d7 | 153 | return val |
1d99702e RD |
154 | def GetWildcard(self, *_args, **_kwargs): |
155 | val = apply(cmndlgsc.wxFileDialog_GetWildcard,(self,) + _args, _kwargs) | |
8ab979d7 | 156 | return val |
1d99702e RD |
157 | def SetDirectory(self, *_args, **_kwargs): |
158 | val = apply(cmndlgsc.wxFileDialog_SetDirectory,(self,) + _args, _kwargs) | |
8ab979d7 | 159 | return val |
1d99702e RD |
160 | def SetFilename(self, *_args, **_kwargs): |
161 | val = apply(cmndlgsc.wxFileDialog_SetFilename,(self,) + _args, _kwargs) | |
8ab979d7 | 162 | return val |
1d99702e RD |
163 | def SetFilterIndex(self, *_args, **_kwargs): |
164 | val = apply(cmndlgsc.wxFileDialog_SetFilterIndex,(self,) + _args, _kwargs) | |
8ab979d7 | 165 | return val |
1d99702e RD |
166 | def SetMessage(self, *_args, **_kwargs): |
167 | val = apply(cmndlgsc.wxFileDialog_SetMessage,(self,) + _args, _kwargs) | |
8ab979d7 | 168 | return val |
1d99702e RD |
169 | def SetPath(self, *_args, **_kwargs): |
170 | val = apply(cmndlgsc.wxFileDialog_SetPath,(self,) + _args, _kwargs) | |
8ab979d7 | 171 | return val |
1d99702e RD |
172 | def SetStyle(self, *_args, **_kwargs): |
173 | val = apply(cmndlgsc.wxFileDialog_SetStyle,(self,) + _args, _kwargs) | |
8ab979d7 | 174 | return val |
1d99702e RD |
175 | def SetWildcard(self, *_args, **_kwargs): |
176 | val = apply(cmndlgsc.wxFileDialog_SetWildcard,(self,) + _args, _kwargs) | |
8ab979d7 | 177 | return val |
1d99702e RD |
178 | def ShowModal(self, *_args, **_kwargs): |
179 | val = apply(cmndlgsc.wxFileDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 | 180 | return val |
f6bcfd97 BP |
181 | def GetFilenames(self, *_args, **_kwargs): |
182 | val = apply(cmndlgsc.wxFileDialog_GetFilenames,(self,) + _args, _kwargs) | |
183 | return val | |
184 | def GetPaths(self, *_args, **_kwargs): | |
185 | val = apply(cmndlgsc.wxFileDialog_GetPaths,(self,) + _args, _kwargs) | |
186 | return val | |
8ab979d7 | 187 | def __repr__(self): |
1d99702e | 188 | return "<C wxFileDialog instance at %s>" % (self.this,) |
8ab979d7 | 189 | class wxFileDialog(wxFileDialogPtr): |
1d99702e RD |
190 | def __init__(self,*_args,**_kwargs): |
191 | self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs) | |
8ab979d7 | 192 | self.thisown = 1 |
0122b7e3 | 193 | self._setOORInfo(self) |
8ab979d7 RD |
194 | |
195 | ||
196 | ||
197 | ||
293a0a86 RD |
198 | class wxMultiChoiceDialogPtr(wxDialogPtr): |
199 | def __init__(self,this): | |
200 | self.this = this | |
201 | self.thisown = 0 | |
202 | def SetSelections(self, *_args, **_kwargs): | |
203 | val = apply(cmndlgsc.wxMultiChoiceDialog_SetSelections,(self,) + _args, _kwargs) | |
204 | return val | |
205 | def GetSelections(self, *_args, **_kwargs): | |
206 | val = apply(cmndlgsc.wxMultiChoiceDialog_GetSelections,(self,) + _args, _kwargs) | |
207 | return val | |
208 | def __repr__(self): | |
209 | return "<C wxMultiChoiceDialog instance at %s>" % (self.this,) | |
210 | class wxMultiChoiceDialog(wxMultiChoiceDialogPtr): | |
211 | def __init__(self,*_args,**_kwargs): | |
212 | self.this = apply(cmndlgsc.new_wxMultiChoiceDialog,_args,_kwargs) | |
213 | self.thisown = 1 | |
214 | self._setOORInfo(self) | |
215 | ||
216 | ||
217 | ||
218 | ||
8ab979d7 RD |
219 | class wxSingleChoiceDialogPtr(wxDialogPtr): |
220 | def __init__(self,this): | |
221 | self.this = this | |
222 | self.thisown = 0 | |
1d99702e RD |
223 | def GetSelection(self, *_args, **_kwargs): |
224 | val = apply(cmndlgsc.wxSingleChoiceDialog_GetSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 225 | return val |
1d99702e RD |
226 | def GetStringSelection(self, *_args, **_kwargs): |
227 | val = apply(cmndlgsc.wxSingleChoiceDialog_GetStringSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 228 | return val |
1d99702e RD |
229 | def SetSelection(self, *_args, **_kwargs): |
230 | val = apply(cmndlgsc.wxSingleChoiceDialog_SetSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 231 | return val |
1d99702e RD |
232 | def ShowModal(self, *_args, **_kwargs): |
233 | val = apply(cmndlgsc.wxSingleChoiceDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
234 | return val |
235 | def __repr__(self): | |
1d99702e | 236 | return "<C wxSingleChoiceDialog instance at %s>" % (self.this,) |
8ab979d7 | 237 | class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): |
1d99702e RD |
238 | def __init__(self,*_args,**_kwargs): |
239 | self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs) | |
8ab979d7 | 240 | self.thisown = 1 |
0122b7e3 | 241 | self._setOORInfo(self) |
8ab979d7 RD |
242 | |
243 | ||
244 | ||
245 | ||
246 | class wxTextEntryDialogPtr(wxDialogPtr): | |
247 | def __init__(self,this): | |
248 | self.this = this | |
249 | self.thisown = 0 | |
1d99702e RD |
250 | def GetValue(self, *_args, **_kwargs): |
251 | val = apply(cmndlgsc.wxTextEntryDialog_GetValue,(self,) + _args, _kwargs) | |
8ab979d7 | 252 | return val |
1d99702e RD |
253 | def SetValue(self, *_args, **_kwargs): |
254 | val = apply(cmndlgsc.wxTextEntryDialog_SetValue,(self,) + _args, _kwargs) | |
8ab979d7 | 255 | return val |
1d99702e RD |
256 | def ShowModal(self, *_args, **_kwargs): |
257 | val = apply(cmndlgsc.wxTextEntryDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
258 | return val |
259 | def __repr__(self): | |
1d99702e | 260 | return "<C wxTextEntryDialog instance at %s>" % (self.this,) |
8ab979d7 | 261 | class wxTextEntryDialog(wxTextEntryDialogPtr): |
1d99702e RD |
262 | def __init__(self,*_args,**_kwargs): |
263 | self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs) | |
8ab979d7 | 264 | self.thisown = 1 |
0122b7e3 | 265 | self._setOORInfo(self) |
8ab979d7 RD |
266 | |
267 | ||
268 | ||
269 | ||
9416aa89 | 270 | class wxFontDataPtr(wxObjectPtr): |
8ab979d7 RD |
271 | def __init__(self,this): |
272 | self.this = this | |
273 | self.thisown = 0 | |
1d99702e | 274 | def __del__(self,cmndlgsc=cmndlgsc): |
8ab979d7 | 275 | if self.thisown == 1 : |
1d99702e RD |
276 | cmndlgsc.delete_wxFontData(self) |
277 | def EnableEffects(self, *_args, **_kwargs): | |
278 | val = apply(cmndlgsc.wxFontData_EnableEffects,(self,) + _args, _kwargs) | |
8ab979d7 | 279 | return val |
1d99702e RD |
280 | def GetAllowSymbols(self, *_args, **_kwargs): |
281 | val = apply(cmndlgsc.wxFontData_GetAllowSymbols,(self,) + _args, _kwargs) | |
8ab979d7 | 282 | return val |
1d99702e RD |
283 | def GetColour(self, *_args, **_kwargs): |
284 | val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs) | |
25832b3f | 285 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 286 | return val |
1d99702e RD |
287 | def GetChosenFont(self, *_args, **_kwargs): |
288 | val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs) | |
289 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
8ab979d7 | 290 | return val |
1d99702e RD |
291 | def GetEnableEffects(self, *_args, **_kwargs): |
292 | val = apply(cmndlgsc.wxFontData_GetEnableEffects,(self,) + _args, _kwargs) | |
8ab979d7 | 293 | return val |
1d99702e RD |
294 | def GetInitialFont(self, *_args, **_kwargs): |
295 | val = apply(cmndlgsc.wxFontData_GetInitialFont,(self,) + _args, _kwargs) | |
296 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
8ab979d7 | 297 | return val |
1d99702e RD |
298 | def GetShowHelp(self, *_args, **_kwargs): |
299 | val = apply(cmndlgsc.wxFontData_GetShowHelp,(self,) + _args, _kwargs) | |
8ab979d7 | 300 | return val |
1d99702e RD |
301 | def SetAllowSymbols(self, *_args, **_kwargs): |
302 | val = apply(cmndlgsc.wxFontData_SetAllowSymbols,(self,) + _args, _kwargs) | |
8ab979d7 | 303 | return val |
1d99702e RD |
304 | def SetChosenFont(self, *_args, **_kwargs): |
305 | val = apply(cmndlgsc.wxFontData_SetChosenFont,(self,) + _args, _kwargs) | |
8ab979d7 | 306 | return val |
1d99702e RD |
307 | def SetColour(self, *_args, **_kwargs): |
308 | val = apply(cmndlgsc.wxFontData_SetColour,(self,) + _args, _kwargs) | |
8ab979d7 | 309 | return val |
1d99702e RD |
310 | def SetInitialFont(self, *_args, **_kwargs): |
311 | val = apply(cmndlgsc.wxFontData_SetInitialFont,(self,) + _args, _kwargs) | |
8ab979d7 | 312 | return val |
1d99702e RD |
313 | def SetRange(self, *_args, **_kwargs): |
314 | val = apply(cmndlgsc.wxFontData_SetRange,(self,) + _args, _kwargs) | |
8ab979d7 | 315 | return val |
1d99702e RD |
316 | def SetShowHelp(self, *_args, **_kwargs): |
317 | val = apply(cmndlgsc.wxFontData_SetShowHelp,(self,) + _args, _kwargs) | |
8ab979d7 RD |
318 | return val |
319 | def __repr__(self): | |
1d99702e | 320 | return "<C wxFontData instance at %s>" % (self.this,) |
8ab979d7 | 321 | class wxFontData(wxFontDataPtr): |
1d99702e RD |
322 | def __init__(self,*_args,**_kwargs): |
323 | self.this = apply(cmndlgsc.new_wxFontData,_args,_kwargs) | |
8ab979d7 RD |
324 | self.thisown = 1 |
325 | ||
326 | ||
327 | ||
328 | ||
329 | class wxFontDialogPtr(wxDialogPtr): | |
330 | def __init__(self,this): | |
331 | self.this = this | |
332 | self.thisown = 0 | |
1d99702e RD |
333 | def GetFontData(self, *_args, **_kwargs): |
334 | val = apply(cmndlgsc.wxFontDialog_GetFontData,(self,) + _args, _kwargs) | |
335 | if val: val = wxFontDataPtr(val) | |
8ab979d7 | 336 | return val |
1d99702e RD |
337 | def ShowModal(self, *_args, **_kwargs): |
338 | val = apply(cmndlgsc.wxFontDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
339 | return val |
340 | def __repr__(self): | |
1d99702e | 341 | return "<C wxFontDialog instance at %s>" % (self.this,) |
8ab979d7 | 342 | class wxFontDialog(wxFontDialogPtr): |
1d99702e RD |
343 | def __init__(self,*_args,**_kwargs): |
344 | self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs) | |
8ab979d7 | 345 | self.thisown = 1 |
0122b7e3 | 346 | self._setOORInfo(self) |
8ab979d7 RD |
347 | |
348 | ||
349 | ||
350 | ||
bb0054cd | 351 | class wxMessageDialogPtr(wxDialogPtr): |
8ab979d7 RD |
352 | def __init__(self,this): |
353 | self.this = this | |
354 | self.thisown = 0 | |
1d99702e RD |
355 | def ShowModal(self, *_args, **_kwargs): |
356 | val = apply(cmndlgsc.wxMessageDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
357 | return val |
358 | def __repr__(self): | |
1d99702e | 359 | return "<C wxMessageDialog instance at %s>" % (self.this,) |
bb0054cd | 360 | class wxMessageDialog(wxMessageDialogPtr): |
1d99702e RD |
361 | def __init__(self,*_args,**_kwargs): |
362 | self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs) | |
8ab979d7 | 363 | self.thisown = 1 |
0122b7e3 | 364 | self._setOORInfo(self) |
8ab979d7 RD |
365 | |
366 | ||
367 | ||
368 | ||
bb0054cd | 369 | class wxProgressDialogPtr(wxFramePtr): |
8ab979d7 RD |
370 | def __init__(self,this): |
371 | self.this = this | |
372 | self.thisown = 0 | |
1d99702e RD |
373 | def Update(self, *_args, **_kwargs): |
374 | val = apply(cmndlgsc.wxProgressDialog_Update,(self,) + _args, _kwargs) | |
8ab979d7 | 375 | return val |
1d99702e RD |
376 | def Resume(self, *_args, **_kwargs): |
377 | val = apply(cmndlgsc.wxProgressDialog_Resume,(self,) + _args, _kwargs) | |
8ab979d7 RD |
378 | return val |
379 | def __repr__(self): | |
1d99702e | 380 | return "<C wxProgressDialog instance at %s>" % (self.this,) |
bb0054cd | 381 | class wxProgressDialog(wxProgressDialogPtr): |
1d99702e RD |
382 | def __init__(self,*_args,**_kwargs): |
383 | self.this = apply(cmndlgsc.new_wxProgressDialog,_args,_kwargs) | |
8ab979d7 | 384 | self.thisown = 1 |
0122b7e3 RD |
385 | self._setOORInfo(self) |
386 | ||
387 | ||
388 | ||
389 | ||
390 | class wxFindDialogEventPtr(wxCommandEventPtr): | |
391 | def __init__(self,this): | |
392 | self.this = this | |
393 | self.thisown = 0 | |
394 | def GetFlags(self, *_args, **_kwargs): | |
395 | val = apply(cmndlgsc.wxFindDialogEvent_GetFlags,(self,) + _args, _kwargs) | |
396 | return val | |
397 | def GetFindString(self, *_args, **_kwargs): | |
398 | val = apply(cmndlgsc.wxFindDialogEvent_GetFindString,(self,) + _args, _kwargs) | |
399 | return val | |
400 | def GetReplaceString(self, *_args, **_kwargs): | |
401 | val = apply(cmndlgsc.wxFindDialogEvent_GetReplaceString,(self,) + _args, _kwargs) | |
402 | return val | |
403 | def GetDialog(self, *_args, **_kwargs): | |
404 | val = apply(cmndlgsc.wxFindDialogEvent_GetDialog,(self,) + _args, _kwargs) | |
405 | if val: val = wxFindReplaceDialogPtr(val) | |
406 | return val | |
407 | def SetFlags(self, *_args, **_kwargs): | |
408 | val = apply(cmndlgsc.wxFindDialogEvent_SetFlags,(self,) + _args, _kwargs) | |
409 | return val | |
410 | def SetFindString(self, *_args, **_kwargs): | |
411 | val = apply(cmndlgsc.wxFindDialogEvent_SetFindString,(self,) + _args, _kwargs) | |
412 | return val | |
413 | def SetReplaceString(self, *_args, **_kwargs): | |
414 | val = apply(cmndlgsc.wxFindDialogEvent_SetReplaceString,(self,) + _args, _kwargs) | |
415 | return val | |
416 | def __repr__(self): | |
417 | return "<C wxFindDialogEvent instance at %s>" % (self.this,) | |
418 | class wxFindDialogEvent(wxFindDialogEventPtr): | |
419 | def __init__(self,*_args,**_kwargs): | |
420 | self.this = apply(cmndlgsc.new_wxFindDialogEvent,_args,_kwargs) | |
421 | self.thisown = 1 | |
422 | ||
423 | ||
424 | ||
425 | ||
426 | class wxFindReplaceDataPtr(wxObjectPtr): | |
427 | def __init__(self,this): | |
428 | self.this = this | |
429 | self.thisown = 0 | |
430 | def __del__(self,cmndlgsc=cmndlgsc): | |
431 | if self.thisown == 1 : | |
432 | cmndlgsc.delete_wxFindReplaceData(self) | |
433 | def GetFindString(self, *_args, **_kwargs): | |
434 | val = apply(cmndlgsc.wxFindReplaceData_GetFindString,(self,) + _args, _kwargs) | |
435 | return val | |
436 | def GetReplaceString(self, *_args, **_kwargs): | |
437 | val = apply(cmndlgsc.wxFindReplaceData_GetReplaceString,(self,) + _args, _kwargs) | |
438 | return val | |
439 | def GetFlags(self, *_args, **_kwargs): | |
440 | val = apply(cmndlgsc.wxFindReplaceData_GetFlags,(self,) + _args, _kwargs) | |
441 | return val | |
442 | def SetFlags(self, *_args, **_kwargs): | |
443 | val = apply(cmndlgsc.wxFindReplaceData_SetFlags,(self,) + _args, _kwargs) | |
444 | return val | |
445 | def SetFindString(self, *_args, **_kwargs): | |
446 | val = apply(cmndlgsc.wxFindReplaceData_SetFindString,(self,) + _args, _kwargs) | |
447 | return val | |
448 | def SetReplaceString(self, *_args, **_kwargs): | |
449 | val = apply(cmndlgsc.wxFindReplaceData_SetReplaceString,(self,) + _args, _kwargs) | |
450 | return val | |
451 | def __repr__(self): | |
452 | return "<C wxFindReplaceData instance at %s>" % (self.this,) | |
453 | class wxFindReplaceData(wxFindReplaceDataPtr): | |
454 | def __init__(self,*_args,**_kwargs): | |
455 | self.this = apply(cmndlgsc.new_wxFindReplaceData,_args,_kwargs) | |
456 | self.thisown = 1 | |
457 | ||
458 | ||
459 | ||
460 | ||
461 | class wxFindReplaceDialogPtr(wxDialogPtr): | |
462 | def __init__(self,this): | |
463 | self.this = this | |
464 | self.thisown = 0 | |
465 | def Create(self, *_args, **_kwargs): | |
466 | val = apply(cmndlgsc.wxFindReplaceDialog_Create,(self,) + _args, _kwargs) | |
467 | return val | |
468 | def GetData(self, *_args, **_kwargs): | |
469 | val = apply(cmndlgsc.wxFindReplaceDialog_GetData,(self,) + _args, _kwargs) | |
470 | if val: val = wxFindReplaceDataPtr(val) | |
471 | return val | |
472 | def SetData(self, *_args, **_kwargs): | |
473 | val = apply(cmndlgsc.wxFindReplaceDialog_SetData,(self,) + _args, _kwargs) | |
474 | return val | |
475 | def __repr__(self): | |
476 | return "<C wxFindReplaceDialog instance at %s>" % (self.this,) | |
477 | class wxFindReplaceDialog(wxFindReplaceDialogPtr): | |
478 | def __init__(self,*_args,**_kwargs): | |
479 | self.this = apply(cmndlgsc.new_wxFindReplaceDialog,_args,_kwargs) | |
480 | self.thisown = 1 | |
481 | self._setOORInfo(self) | |
482 | ||
8ab979d7 RD |
483 | |
484 | ||
0122b7e3 RD |
485 | def wxPreFindReplaceDialog(*_args,**_kwargs): |
486 | val = wxFindReplaceDialogPtr(apply(cmndlgsc.new_wxPreFindReplaceDialog,_args,_kwargs)) | |
487 | val.thisown = 1 | |
17c0e08c | 488 | val._setOORInfo(val) |
0122b7e3 | 489 | return val |
8ab979d7 RD |
490 | |
491 | ||
492 | ||
493 | ||
494 | #-------------- FUNCTION WRAPPERS ------------------ | |
495 | ||
496 | ||
497 | ||
498 | #-------------- VARIABLE WRAPPERS ------------------ | |
499 | ||
293a0a86 | 500 | wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE |
0122b7e3 RD |
501 | wxFR_DOWN = cmndlgsc.wxFR_DOWN |
502 | wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD | |
503 | wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE | |
504 | wxFR_REPLACEDIALOG = cmndlgsc.wxFR_REPLACEDIALOG | |
505 | wxFR_NOUPDOWN = cmndlgsc.wxFR_NOUPDOWN | |
506 | wxFR_NOMATCHCASE = cmndlgsc.wxFR_NOMATCHCASE | |
507 | wxFR_NOWHOLEWORD = cmndlgsc.wxFR_NOWHOLEWORD | |
508 | wxEVT_COMMAND_FIND = cmndlgsc.wxEVT_COMMAND_FIND | |
509 | wxEVT_COMMAND_FIND_NEXT = cmndlgsc.wxEVT_COMMAND_FIND_NEXT | |
510 | wxEVT_COMMAND_FIND_REPLACE = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE | |
511 | wxEVT_COMMAND_FIND_REPLACE_ALL = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE_ALL | |
512 | wxEVT_COMMAND_FIND_CLOSE = cmndlgsc.wxEVT_COMMAND_FIND_CLOSE |