1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
18 from stattool
import *
20 from controls
import *
24 def EVT_COMMAND_FIND(win
, id, func
):
25 win
.Connect(id, -1, wxEVT_COMMAND_FIND
, func
)
27 def EVT_COMMAND_FIND_NEXT(win
, id, func
):
28 win
.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT
, func
)
30 def EVT_COMMAND_FIND_REPLACE(win
, id, func
):
31 win
.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE
, func
)
33 def EVT_COMMAND_FIND_REPLACE_ALL(win
, id, func
):
34 win
.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL
, func
)
36 def EVT_COMMAND_FIND_CLOSE(win
, id, func
):
37 win
.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE
, func
)
40 class wxColourDataPtr(wxObjectPtr
):
41 def __init__(self
,this
):
44 def __del__(self
, delfunc
=cmndlgsc
.delete_wxColourData
):
50 def GetChooseFull(self
, *_args
, **_kwargs
):
51 val
= cmndlgsc
.wxColourData_GetChooseFull(self
, *_args
, **_kwargs
)
53 def GetColour(self
, *_args
, **_kwargs
):
54 val
= cmndlgsc
.wxColourData_GetColour(self
, *_args
, **_kwargs
)
55 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
57 def GetCustomColour(self
, *_args
, **_kwargs
):
58 val
= cmndlgsc
.wxColourData_GetCustomColour(self
, *_args
, **_kwargs
)
59 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
61 def SetChooseFull(self
, *_args
, **_kwargs
):
62 val
= cmndlgsc
.wxColourData_SetChooseFull(self
, *_args
, **_kwargs
)
64 def SetColour(self
, *_args
, **_kwargs
):
65 val
= cmndlgsc
.wxColourData_SetColour(self
, *_args
, **_kwargs
)
67 def SetCustomColour(self
, *_args
, **_kwargs
):
68 val
= cmndlgsc
.wxColourData_SetCustomColour(self
, *_args
, **_kwargs
)
71 return "<%s.%s instance; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
72 class wxColourData(wxColourDataPtr
):
73 def __init__(self
,*_args
,**_kwargs
):
74 self
.this
= cmndlgsc
.new_wxColourData(*_args
,**_kwargs
)
80 class wxColourDialogPtr(wxDialogPtr
):
81 def __init__(self
,this
):
84 def GetColourData(self
, *_args
, **_kwargs
):
85 val
= cmndlgsc
.wxColourDialog_GetColourData(self
, *_args
, **_kwargs
)
86 if val
: val
= wxColourDataPtr(val
)
88 def ShowModal(self
, *_args
, **_kwargs
):
89 val
= cmndlgsc
.wxColourDialog_ShowModal(self
, *_args
, **_kwargs
)
92 return "<%s.%s instance; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
93 class wxColourDialog(wxColourDialogPtr
):
94 def __init__(self
,*_args
,**_kwargs
):
95 self
.this
= cmndlgsc
.new_wxColourDialog(*_args
,**_kwargs
)
97 self
._setOORInfo
(self
)
102 class wxDirDialogPtr(wxDialogPtr
):
103 def __init__(self
,this
):
106 def GetPath(self
, *_args
, **_kwargs
):
107 val
= cmndlgsc
.wxDirDialog_GetPath(self
, *_args
, **_kwargs
)
109 def GetMessage(self
, *_args
, **_kwargs
):
110 val
= cmndlgsc
.wxDirDialog_GetMessage(self
, *_args
, **_kwargs
)
112 def GetStyle(self
, *_args
, **_kwargs
):
113 val
= cmndlgsc
.wxDirDialog_GetStyle(self
, *_args
, **_kwargs
)
115 def SetMessage(self
, *_args
, **_kwargs
):
116 val
= cmndlgsc
.wxDirDialog_SetMessage(self
, *_args
, **_kwargs
)
118 def SetPath(self
, *_args
, **_kwargs
):
119 val
= cmndlgsc
.wxDirDialog_SetPath(self
, *_args
, **_kwargs
)
121 def ShowModal(self
, *_args
, **_kwargs
):
122 val
= cmndlgsc
.wxDirDialog_ShowModal(self
, *_args
, **_kwargs
)
125 return "<%s.%s instance; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
126 class wxDirDialog(wxDirDialogPtr
):
127 def __init__(self
,*_args
,**_kwargs
):
128 self
.this
= cmndlgsc
.new_wxDirDialog(*_args
,**_kwargs
)
130 self
._setOORInfo
(self
)
135 class wxFileDialogPtr(wxDialogPtr
):
136 def __init__(self
,this
):
139 def SetMessage(self
, *_args
, **_kwargs
):
140 val
= cmndlgsc
.wxFileDialog_SetMessage(self
, *_args
, **_kwargs
)
142 def SetPath(self
, *_args
, **_kwargs
):
143 val
= cmndlgsc
.wxFileDialog_SetPath(self
, *_args
, **_kwargs
)
145 def SetDirectory(self
, *_args
, **_kwargs
):
146 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
, *_args
, **_kwargs
)
148 def SetFilename(self
, *_args
, **_kwargs
):
149 val
= cmndlgsc
.wxFileDialog_SetFilename(self
, *_args
, **_kwargs
)
151 def SetWildcard(self
, *_args
, **_kwargs
):
152 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
, *_args
, **_kwargs
)
154 def SetStyle(self
, *_args
, **_kwargs
):
155 val
= cmndlgsc
.wxFileDialog_SetStyle(self
, *_args
, **_kwargs
)
157 def SetFilterIndex(self
, *_args
, **_kwargs
):
158 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
, *_args
, **_kwargs
)
160 def GetMessage(self
, *_args
, **_kwargs
):
161 val
= cmndlgsc
.wxFileDialog_GetMessage(self
, *_args
, **_kwargs
)
163 def GetPath(self
, *_args
, **_kwargs
):
164 val
= cmndlgsc
.wxFileDialog_GetPath(self
, *_args
, **_kwargs
)
166 def GetDirectory(self
, *_args
, **_kwargs
):
167 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
, *_args
, **_kwargs
)
169 def GetFilename(self
, *_args
, **_kwargs
):
170 val
= cmndlgsc
.wxFileDialog_GetFilename(self
, *_args
, **_kwargs
)
172 def GetWildcard(self
, *_args
, **_kwargs
):
173 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
, *_args
, **_kwargs
)
175 def GetStyle(self
, *_args
, **_kwargs
):
176 val
= cmndlgsc
.wxFileDialog_GetStyle(self
, *_args
, **_kwargs
)
178 def GetFilterIndex(self
, *_args
, **_kwargs
):
179 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
, *_args
, **_kwargs
)
181 def GetFilenames(self
, *_args
, **_kwargs
):
182 val
= cmndlgsc
.wxFileDialog_GetFilenames(self
, *_args
, **_kwargs
)
184 def GetPaths(self
, *_args
, **_kwargs
):
185 val
= cmndlgsc
.wxFileDialog_GetPaths(self
, *_args
, **_kwargs
)
188 return "<%s.%s instance; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
189 class wxFileDialog(wxFileDialogPtr
):
190 def __init__(self
,*_args
,**_kwargs
):
191 self
.this
= cmndlgsc
.new_wxFileDialog(*_args
,**_kwargs
)
193 self
._setOORInfo
(self
)
198 class wxMultiChoiceDialogPtr(wxDialogPtr
):
199 def __init__(self
,this
):
202 def SetSelections(self
, *_args
, **_kwargs
):
203 val
= cmndlgsc
.wxMultiChoiceDialog_SetSelections(self
, *_args
, **_kwargs
)
205 def GetSelections(self
, *_args
, **_kwargs
):
206 val
= cmndlgsc
.wxMultiChoiceDialog_GetSelections(self
, *_args
, **_kwargs
)
209 return "<%s.%s instance; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
210 class wxMultiChoiceDialog(wxMultiChoiceDialogPtr
):
211 def __init__(self
,*_args
,**_kwargs
):
212 self
.this
= cmndlgsc
.new_wxMultiChoiceDialog(*_args
,**_kwargs
)
214 self
._setOORInfo
(self
)
219 class wxSingleChoiceDialogPtr(wxDialogPtr
):
220 def __init__(self
,this
):
223 def GetSelection(self
, *_args
, **_kwargs
):
224 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
, *_args
, **_kwargs
)
226 def GetStringSelection(self
, *_args
, **_kwargs
):
227 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
, *_args
, **_kwargs
)
229 def SetSelection(self
, *_args
, **_kwargs
):
230 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
, *_args
, **_kwargs
)
232 def ShowModal(self
, *_args
, **_kwargs
):
233 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
, *_args
, **_kwargs
)
236 return "<%s.%s instance; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
237 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
238 def __init__(self
,*_args
,**_kwargs
):
239 self
.this
= cmndlgsc
.new_wxSingleChoiceDialog(*_args
,**_kwargs
)
241 self
._setOORInfo
(self
)
246 class wxTextEntryDialogPtr(wxDialogPtr
):
247 def __init__(self
,this
):
250 def GetValue(self
, *_args
, **_kwargs
):
251 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
, *_args
, **_kwargs
)
253 def SetValue(self
, *_args
, **_kwargs
):
254 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
, *_args
, **_kwargs
)
256 def ShowModal(self
, *_args
, **_kwargs
):
257 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
, *_args
, **_kwargs
)
260 return "<%s.%s instance; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
261 class wxTextEntryDialog(wxTextEntryDialogPtr
):
262 def __init__(self
,*_args
,**_kwargs
):
263 self
.this
= cmndlgsc
.new_wxTextEntryDialog(*_args
,**_kwargs
)
265 self
._setOORInfo
(self
)
270 class wxFontDataPtr(wxObjectPtr
):
271 def __init__(self
,this
):
274 def __del__(self
, delfunc
=cmndlgsc
.delete_wxFontData
):
275 if self
.thisown
== 1:
280 def EnableEffects(self
, *_args
, **_kwargs
):
281 val
= cmndlgsc
.wxFontData_EnableEffects(self
, *_args
, **_kwargs
)
283 def GetAllowSymbols(self
, *_args
, **_kwargs
):
284 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
, *_args
, **_kwargs
)
286 def GetColour(self
, *_args
, **_kwargs
):
287 val
= cmndlgsc
.wxFontData_GetColour(self
, *_args
, **_kwargs
)
288 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
290 def GetChosenFont(self
, *_args
, **_kwargs
):
291 val
= cmndlgsc
.wxFontData_GetChosenFont(self
, *_args
, **_kwargs
)
292 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
294 def GetEnableEffects(self
, *_args
, **_kwargs
):
295 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
, *_args
, **_kwargs
)
297 def GetInitialFont(self
, *_args
, **_kwargs
):
298 val
= cmndlgsc
.wxFontData_GetInitialFont(self
, *_args
, **_kwargs
)
299 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
301 def GetShowHelp(self
, *_args
, **_kwargs
):
302 val
= cmndlgsc
.wxFontData_GetShowHelp(self
, *_args
, **_kwargs
)
304 def SetAllowSymbols(self
, *_args
, **_kwargs
):
305 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
, *_args
, **_kwargs
)
307 def SetChosenFont(self
, *_args
, **_kwargs
):
308 val
= cmndlgsc
.wxFontData_SetChosenFont(self
, *_args
, **_kwargs
)
310 def SetColour(self
, *_args
, **_kwargs
):
311 val
= cmndlgsc
.wxFontData_SetColour(self
, *_args
, **_kwargs
)
313 def SetInitialFont(self
, *_args
, **_kwargs
):
314 val
= cmndlgsc
.wxFontData_SetInitialFont(self
, *_args
, **_kwargs
)
316 def SetRange(self
, *_args
, **_kwargs
):
317 val
= cmndlgsc
.wxFontData_SetRange(self
, *_args
, **_kwargs
)
319 def SetShowHelp(self
, *_args
, **_kwargs
):
320 val
= cmndlgsc
.wxFontData_SetShowHelp(self
, *_args
, **_kwargs
)
323 return "<%s.%s instance; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
324 class wxFontData(wxFontDataPtr
):
325 def __init__(self
,*_args
,**_kwargs
):
326 self
.this
= cmndlgsc
.new_wxFontData(*_args
,**_kwargs
)
332 class wxFontDialogPtr(wxDialogPtr
):
333 def __init__(self
,this
):
336 def GetFontData(self
, *_args
, **_kwargs
):
337 val
= cmndlgsc
.wxFontDialog_GetFontData(self
, *_args
, **_kwargs
)
338 if val
: val
= wxFontDataPtr(val
)
340 def ShowModal(self
, *_args
, **_kwargs
):
341 val
= cmndlgsc
.wxFontDialog_ShowModal(self
, *_args
, **_kwargs
)
344 return "<%s.%s instance; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
345 class wxFontDialog(wxFontDialogPtr
):
346 def __init__(self
,*_args
,**_kwargs
):
347 self
.this
= cmndlgsc
.new_wxFontDialog(*_args
,**_kwargs
)
349 self
._setOORInfo
(self
)
354 class wxMessageDialogPtr(wxDialogPtr
):
355 def __init__(self
,this
):
358 def ShowModal(self
, *_args
, **_kwargs
):
359 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
, *_args
, **_kwargs
)
362 return "<%s.%s instance; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
363 class wxMessageDialog(wxMessageDialogPtr
):
364 def __init__(self
,*_args
,**_kwargs
):
365 self
.this
= cmndlgsc
.new_wxMessageDialog(*_args
,**_kwargs
)
367 self
._setOORInfo
(self
)
372 class wxProgressDialogPtr(wxFramePtr
):
373 def __init__(self
,this
):
376 def Update(self
, *_args
, **_kwargs
):
377 val
= cmndlgsc
.wxProgressDialog_Update(self
, *_args
, **_kwargs
)
379 def Resume(self
, *_args
, **_kwargs
):
380 val
= cmndlgsc
.wxProgressDialog_Resume(self
, *_args
, **_kwargs
)
383 return "<%s.%s instance; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
384 class wxProgressDialog(wxProgressDialogPtr
):
385 def __init__(self
,*_args
,**_kwargs
):
386 self
.this
= cmndlgsc
.new_wxProgressDialog(*_args
,**_kwargs
)
388 self
._setOORInfo
(self
)
393 class wxFindDialogEventPtr(wxCommandEventPtr
):
394 def __init__(self
,this
):
397 def GetFlags(self
, *_args
, **_kwargs
):
398 val
= cmndlgsc
.wxFindDialogEvent_GetFlags(self
, *_args
, **_kwargs
)
400 def GetFindString(self
, *_args
, **_kwargs
):
401 val
= cmndlgsc
.wxFindDialogEvent_GetFindString(self
, *_args
, **_kwargs
)
403 def GetReplaceString(self
, *_args
, **_kwargs
):
404 val
= cmndlgsc
.wxFindDialogEvent_GetReplaceString(self
, *_args
, **_kwargs
)
406 def GetDialog(self
, *_args
, **_kwargs
):
407 val
= cmndlgsc
.wxFindDialogEvent_GetDialog(self
, *_args
, **_kwargs
)
408 if val
: val
= wxFindReplaceDialogPtr(val
)
410 def SetFlags(self
, *_args
, **_kwargs
):
411 val
= cmndlgsc
.wxFindDialogEvent_SetFlags(self
, *_args
, **_kwargs
)
413 def SetFindString(self
, *_args
, **_kwargs
):
414 val
= cmndlgsc
.wxFindDialogEvent_SetFindString(self
, *_args
, **_kwargs
)
416 def SetReplaceString(self
, *_args
, **_kwargs
):
417 val
= cmndlgsc
.wxFindDialogEvent_SetReplaceString(self
, *_args
, **_kwargs
)
420 return "<%s.%s instance; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
421 class wxFindDialogEvent(wxFindDialogEventPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= cmndlgsc
.new_wxFindDialogEvent(*_args
,**_kwargs
)
429 class wxFindReplaceDataPtr(wxObjectPtr
):
430 def __init__(self
,this
):
433 def __del__(self
, delfunc
=cmndlgsc
.delete_wxFindReplaceData
):
434 if self
.thisown
== 1:
439 def GetFindString(self
, *_args
, **_kwargs
):
440 val
= cmndlgsc
.wxFindReplaceData_GetFindString(self
, *_args
, **_kwargs
)
442 def GetReplaceString(self
, *_args
, **_kwargs
):
443 val
= cmndlgsc
.wxFindReplaceData_GetReplaceString(self
, *_args
, **_kwargs
)
445 def GetFlags(self
, *_args
, **_kwargs
):
446 val
= cmndlgsc
.wxFindReplaceData_GetFlags(self
, *_args
, **_kwargs
)
448 def SetFlags(self
, *_args
, **_kwargs
):
449 val
= cmndlgsc
.wxFindReplaceData_SetFlags(self
, *_args
, **_kwargs
)
451 def SetFindString(self
, *_args
, **_kwargs
):
452 val
= cmndlgsc
.wxFindReplaceData_SetFindString(self
, *_args
, **_kwargs
)
454 def SetReplaceString(self
, *_args
, **_kwargs
):
455 val
= cmndlgsc
.wxFindReplaceData_SetReplaceString(self
, *_args
, **_kwargs
)
458 return "<%s.%s instance; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
459 class wxFindReplaceData(wxFindReplaceDataPtr
):
460 def __init__(self
,*_args
,**_kwargs
):
461 self
.this
= cmndlgsc
.new_wxFindReplaceData(*_args
,**_kwargs
)
467 class wxFindReplaceDialogPtr(wxDialogPtr
):
468 def __init__(self
,this
):
471 def Create(self
, *_args
, **_kwargs
):
472 val
= cmndlgsc
.wxFindReplaceDialog_Create(self
, *_args
, **_kwargs
)
474 def GetData(self
, *_args
, **_kwargs
):
475 val
= cmndlgsc
.wxFindReplaceDialog_GetData(self
, *_args
, **_kwargs
)
476 if val
: val
= wxFindReplaceDataPtr(val
)
478 def SetData(self
, *_args
, **_kwargs
):
479 val
= cmndlgsc
.wxFindReplaceDialog_SetData(self
, *_args
, **_kwargs
)
482 return "<%s.%s instance; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
483 class wxFindReplaceDialog(wxFindReplaceDialogPtr
):
484 def __init__(self
,*_args
,**_kwargs
):
485 self
.this
= cmndlgsc
.new_wxFindReplaceDialog(*_args
,**_kwargs
)
487 self
._setOORInfo
(self
)
491 def wxPreFindReplaceDialog(*_args
,**_kwargs
):
492 val
= wxFindReplaceDialogPtr(cmndlgsc
.new_wxPreFindReplaceDialog(*_args
,**_kwargs
))
500 #-------------- FUNCTION WRAPPERS ------------------
504 #-------------- VARIABLE WRAPPERS ------------------
506 wxCHOICEDLG_STYLE
= cmndlgsc
.wxCHOICEDLG_STYLE
507 wxFR_DOWN
= cmndlgsc
.wxFR_DOWN
508 wxFR_WHOLEWORD
= cmndlgsc
.wxFR_WHOLEWORD
509 wxFR_MATCHCASE
= cmndlgsc
.wxFR_MATCHCASE
510 wxFR_REPLACEDIALOG
= cmndlgsc
.wxFR_REPLACEDIALOG
511 wxFR_NOUPDOWN
= cmndlgsc
.wxFR_NOUPDOWN
512 wxFR_NOMATCHCASE
= cmndlgsc
.wxFR_NOMATCHCASE
513 wxFR_NOWHOLEWORD
= cmndlgsc
.wxFR_NOWHOLEWORD
514 wxEVT_COMMAND_FIND
= cmndlgsc
.wxEVT_COMMAND_FIND
515 wxEVT_COMMAND_FIND_NEXT
= cmndlgsc
.wxEVT_COMMAND_FIND_NEXT
516 wxEVT_COMMAND_FIND_REPLACE
= cmndlgsc
.wxEVT_COMMAND_FIND_REPLACE
517 wxEVT_COMMAND_FIND_REPLACE_ALL
= cmndlgsc
.wxEVT_COMMAND_FIND_REPLACE_ALL
518 wxEVT_COMMAND_FIND_CLOSE
= cmndlgsc
.wxEVT_COMMAND_FIND_CLOSE