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