1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
16 from stattool
import *
18 from controls
import *
22 def EVT_COMMAND_FIND(win
, id, func
):
23 win
.Connect(id, -1, wxEVT_COMMAND_FIND
, func
)
25 def EVT_COMMAND_FIND_NEXT(win
, id, func
):
26 win
.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT
, func
)
28 def EVT_COMMAND_FIND_REPLACE(win
, id, func
):
29 win
.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE
, func
)
31 def EVT_COMMAND_FIND_REPLACE_ALL(win
, id, func
):
32 win
.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL
, func
)
34 def EVT_COMMAND_FIND_CLOSE(win
, id, func
):
35 win
.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE
, func
)
38 class wxColourDataPtr(wxObjectPtr
):
39 def __init__(self
,this
):
42 def __del__(self
,cmndlgsc
=cmndlgsc
):
43 if self
.thisown
== 1 :
44 cmndlgsc
.delete_wxColourData(self
)
45 def GetChooseFull(self
, *_args
, **_kwargs
):
46 val
= apply(cmndlgsc
.wxColourData_GetChooseFull
,(self
,) + _args
, _kwargs
)
48 def GetColour(self
, *_args
, **_kwargs
):
49 val
= apply(cmndlgsc
.wxColourData_GetColour
,(self
,) + _args
, _kwargs
)
50 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
52 def GetCustomColour(self
, *_args
, **_kwargs
):
53 val
= apply(cmndlgsc
.wxColourData_GetCustomColour
,(self
,) + _args
, _kwargs
)
54 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
56 def SetChooseFull(self
, *_args
, **_kwargs
):
57 val
= apply(cmndlgsc
.wxColourData_SetChooseFull
,(self
,) + _args
, _kwargs
)
59 def SetColour(self
, *_args
, **_kwargs
):
60 val
= apply(cmndlgsc
.wxColourData_SetColour
,(self
,) + _args
, _kwargs
)
62 def SetCustomColour(self
, *_args
, **_kwargs
):
63 val
= apply(cmndlgsc
.wxColourData_SetCustomColour
,(self
,) + _args
, _kwargs
)
66 return "<C wxColourData instance at %s>" % (self
.this
,)
67 class wxColourData(wxColourDataPtr
):
68 def __init__(self
,*_args
,**_kwargs
):
69 self
.this
= apply(cmndlgsc
.new_wxColourData
,_args
,_kwargs
)
75 class wxColourDialogPtr(wxDialogPtr
):
76 def __init__(self
,this
):
79 def GetColourData(self
, *_args
, **_kwargs
):
80 val
= apply(cmndlgsc
.wxColourDialog_GetColourData
,(self
,) + _args
, _kwargs
)
81 if val
: val
= wxColourDataPtr(val
)
83 def ShowModal(self
, *_args
, **_kwargs
):
84 val
= apply(cmndlgsc
.wxColourDialog_ShowModal
,(self
,) + _args
, _kwargs
)
87 return "<C wxColourDialog instance at %s>" % (self
.this
,)
88 class wxColourDialog(wxColourDialogPtr
):
89 def __init__(self
,*_args
,**_kwargs
):
90 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,_args
,_kwargs
)
92 self
._setOORInfo
(self
)
97 class wxDirDialogPtr(wxDialogPtr
):
98 def __init__(self
,this
):
101 def GetPath(self
, *_args
, **_kwargs
):
102 val
= apply(cmndlgsc
.wxDirDialog_GetPath
,(self
,) + _args
, _kwargs
)
104 def GetMessage(self
, *_args
, **_kwargs
):
105 val
= apply(cmndlgsc
.wxDirDialog_GetMessage
,(self
,) + _args
, _kwargs
)
107 def GetStyle(self
, *_args
, **_kwargs
):
108 val
= apply(cmndlgsc
.wxDirDialog_GetStyle
,(self
,) + _args
, _kwargs
)
110 def SetMessage(self
, *_args
, **_kwargs
):
111 val
= apply(cmndlgsc
.wxDirDialog_SetMessage
,(self
,) + _args
, _kwargs
)
113 def SetPath(self
, *_args
, **_kwargs
):
114 val
= apply(cmndlgsc
.wxDirDialog_SetPath
,(self
,) + _args
, _kwargs
)
116 def ShowModal(self
, *_args
, **_kwargs
):
117 val
= apply(cmndlgsc
.wxDirDialog_ShowModal
,(self
,) + _args
, _kwargs
)
120 return "<C wxDirDialog instance at %s>" % (self
.this
,)
121 class wxDirDialog(wxDirDialogPtr
):
122 def __init__(self
,*_args
,**_kwargs
):
123 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,_args
,_kwargs
)
125 self
._setOORInfo
(self
)
130 class wxFileDialogPtr(wxDialogPtr
):
131 def __init__(self
,this
):
134 def GetDirectory(self
, *_args
, **_kwargs
):
135 val
= apply(cmndlgsc
.wxFileDialog_GetDirectory
,(self
,) + _args
, _kwargs
)
137 def GetFilename(self
, *_args
, **_kwargs
):
138 val
= apply(cmndlgsc
.wxFileDialog_GetFilename
,(self
,) + _args
, _kwargs
)
140 def GetFilterIndex(self
, *_args
, **_kwargs
):
141 val
= apply(cmndlgsc
.wxFileDialog_GetFilterIndex
,(self
,) + _args
, _kwargs
)
143 def GetMessage(self
, *_args
, **_kwargs
):
144 val
= apply(cmndlgsc
.wxFileDialog_GetMessage
,(self
,) + _args
, _kwargs
)
146 def GetPath(self
, *_args
, **_kwargs
):
147 val
= apply(cmndlgsc
.wxFileDialog_GetPath
,(self
,) + _args
, _kwargs
)
149 def GetStyle(self
, *_args
, **_kwargs
):
150 val
= apply(cmndlgsc
.wxFileDialog_GetStyle
,(self
,) + _args
, _kwargs
)
152 def GetWildcard(self
, *_args
, **_kwargs
):
153 val
= apply(cmndlgsc
.wxFileDialog_GetWildcard
,(self
,) + _args
, _kwargs
)
155 def SetDirectory(self
, *_args
, **_kwargs
):
156 val
= apply(cmndlgsc
.wxFileDialog_SetDirectory
,(self
,) + _args
, _kwargs
)
158 def SetFilename(self
, *_args
, **_kwargs
):
159 val
= apply(cmndlgsc
.wxFileDialog_SetFilename
,(self
,) + _args
, _kwargs
)
161 def SetFilterIndex(self
, *_args
, **_kwargs
):
162 val
= apply(cmndlgsc
.wxFileDialog_SetFilterIndex
,(self
,) + _args
, _kwargs
)
164 def SetMessage(self
, *_args
, **_kwargs
):
165 val
= apply(cmndlgsc
.wxFileDialog_SetMessage
,(self
,) + _args
, _kwargs
)
167 def SetPath(self
, *_args
, **_kwargs
):
168 val
= apply(cmndlgsc
.wxFileDialog_SetPath
,(self
,) + _args
, _kwargs
)
170 def SetStyle(self
, *_args
, **_kwargs
):
171 val
= apply(cmndlgsc
.wxFileDialog_SetStyle
,(self
,) + _args
, _kwargs
)
173 def SetWildcard(self
, *_args
, **_kwargs
):
174 val
= apply(cmndlgsc
.wxFileDialog_SetWildcard
,(self
,) + _args
, _kwargs
)
176 def ShowModal(self
, *_args
, **_kwargs
):
177 val
= apply(cmndlgsc
.wxFileDialog_ShowModal
,(self
,) + _args
, _kwargs
)
179 def GetFilenames(self
, *_args
, **_kwargs
):
180 val
= apply(cmndlgsc
.wxFileDialog_GetFilenames
,(self
,) + _args
, _kwargs
)
182 def GetPaths(self
, *_args
, **_kwargs
):
183 val
= apply(cmndlgsc
.wxFileDialog_GetPaths
,(self
,) + _args
, _kwargs
)
186 return "<C wxFileDialog instance at %s>" % (self
.this
,)
187 class wxFileDialog(wxFileDialogPtr
):
188 def __init__(self
,*_args
,**_kwargs
):
189 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,_args
,_kwargs
)
191 self
._setOORInfo
(self
)
196 class wxMultiChoiceDialogPtr(wxDialogPtr
):
197 def __init__(self
,this
):
200 def SetSelections(self
, *_args
, **_kwargs
):
201 val
= apply(cmndlgsc
.wxMultiChoiceDialog_SetSelections
,(self
,) + _args
, _kwargs
)
203 def GetSelections(self
, *_args
, **_kwargs
):
204 val
= apply(cmndlgsc
.wxMultiChoiceDialog_GetSelections
,(self
,) + _args
, _kwargs
)
207 return "<C wxMultiChoiceDialog instance at %s>" % (self
.this
,)
208 class wxMultiChoiceDialog(wxMultiChoiceDialogPtr
):
209 def __init__(self
,*_args
,**_kwargs
):
210 self
.this
= apply(cmndlgsc
.new_wxMultiChoiceDialog
,_args
,_kwargs
)
212 self
._setOORInfo
(self
)
217 class wxSingleChoiceDialogPtr(wxDialogPtr
):
218 def __init__(self
,this
):
221 def GetSelection(self
, *_args
, **_kwargs
):
222 val
= apply(cmndlgsc
.wxSingleChoiceDialog_GetSelection
,(self
,) + _args
, _kwargs
)
224 def GetStringSelection(self
, *_args
, **_kwargs
):
225 val
= apply(cmndlgsc
.wxSingleChoiceDialog_GetStringSelection
,(self
,) + _args
, _kwargs
)
227 def SetSelection(self
, *_args
, **_kwargs
):
228 val
= apply(cmndlgsc
.wxSingleChoiceDialog_SetSelection
,(self
,) + _args
, _kwargs
)
230 def ShowModal(self
, *_args
, **_kwargs
):
231 val
= apply(cmndlgsc
.wxSingleChoiceDialog_ShowModal
,(self
,) + _args
, _kwargs
)
234 return "<C wxSingleChoiceDialog instance at %s>" % (self
.this
,)
235 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
236 def __init__(self
,*_args
,**_kwargs
):
237 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,_args
,_kwargs
)
239 self
._setOORInfo
(self
)
244 class wxTextEntryDialogPtr(wxDialogPtr
):
245 def __init__(self
,this
):
248 def GetValue(self
, *_args
, **_kwargs
):
249 val
= apply(cmndlgsc
.wxTextEntryDialog_GetValue
,(self
,) + _args
, _kwargs
)
251 def SetValue(self
, *_args
, **_kwargs
):
252 val
= apply(cmndlgsc
.wxTextEntryDialog_SetValue
,(self
,) + _args
, _kwargs
)
254 def ShowModal(self
, *_args
, **_kwargs
):
255 val
= apply(cmndlgsc
.wxTextEntryDialog_ShowModal
,(self
,) + _args
, _kwargs
)
258 return "<C wxTextEntryDialog instance at %s>" % (self
.this
,)
259 class wxTextEntryDialog(wxTextEntryDialogPtr
):
260 def __init__(self
,*_args
,**_kwargs
):
261 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,_args
,_kwargs
)
263 self
._setOORInfo
(self
)
268 class wxFontDataPtr(wxObjectPtr
):
269 def __init__(self
,this
):
272 def __del__(self
,cmndlgsc
=cmndlgsc
):
273 if self
.thisown
== 1 :
274 cmndlgsc
.delete_wxFontData(self
)
275 def EnableEffects(self
, *_args
, **_kwargs
):
276 val
= apply(cmndlgsc
.wxFontData_EnableEffects
,(self
,) + _args
, _kwargs
)
278 def GetAllowSymbols(self
, *_args
, **_kwargs
):
279 val
= apply(cmndlgsc
.wxFontData_GetAllowSymbols
,(self
,) + _args
, _kwargs
)
281 def GetColour(self
, *_args
, **_kwargs
):
282 val
= apply(cmndlgsc
.wxFontData_GetColour
,(self
,) + _args
, _kwargs
)
283 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
285 def GetChosenFont(self
, *_args
, **_kwargs
):
286 val
= apply(cmndlgsc
.wxFontData_GetChosenFont
,(self
,) + _args
, _kwargs
)
287 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
289 def GetEnableEffects(self
, *_args
, **_kwargs
):
290 val
= apply(cmndlgsc
.wxFontData_GetEnableEffects
,(self
,) + _args
, _kwargs
)
292 def GetInitialFont(self
, *_args
, **_kwargs
):
293 val
= apply(cmndlgsc
.wxFontData_GetInitialFont
,(self
,) + _args
, _kwargs
)
294 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
296 def GetShowHelp(self
, *_args
, **_kwargs
):
297 val
= apply(cmndlgsc
.wxFontData_GetShowHelp
,(self
,) + _args
, _kwargs
)
299 def SetAllowSymbols(self
, *_args
, **_kwargs
):
300 val
= apply(cmndlgsc
.wxFontData_SetAllowSymbols
,(self
,) + _args
, _kwargs
)
302 def SetChosenFont(self
, *_args
, **_kwargs
):
303 val
= apply(cmndlgsc
.wxFontData_SetChosenFont
,(self
,) + _args
, _kwargs
)
305 def SetColour(self
, *_args
, **_kwargs
):
306 val
= apply(cmndlgsc
.wxFontData_SetColour
,(self
,) + _args
, _kwargs
)
308 def SetInitialFont(self
, *_args
, **_kwargs
):
309 val
= apply(cmndlgsc
.wxFontData_SetInitialFont
,(self
,) + _args
, _kwargs
)
311 def SetRange(self
, *_args
, **_kwargs
):
312 val
= apply(cmndlgsc
.wxFontData_SetRange
,(self
,) + _args
, _kwargs
)
314 def SetShowHelp(self
, *_args
, **_kwargs
):
315 val
= apply(cmndlgsc
.wxFontData_SetShowHelp
,(self
,) + _args
, _kwargs
)
318 return "<C wxFontData instance at %s>" % (self
.this
,)
319 class wxFontData(wxFontDataPtr
):
320 def __init__(self
,*_args
,**_kwargs
):
321 self
.this
= apply(cmndlgsc
.new_wxFontData
,_args
,_kwargs
)
327 class wxFontDialogPtr(wxDialogPtr
):
328 def __init__(self
,this
):
331 def GetFontData(self
, *_args
, **_kwargs
):
332 val
= apply(cmndlgsc
.wxFontDialog_GetFontData
,(self
,) + _args
, _kwargs
)
333 if val
: val
= wxFontDataPtr(val
)
335 def ShowModal(self
, *_args
, **_kwargs
):
336 val
= apply(cmndlgsc
.wxFontDialog_ShowModal
,(self
,) + _args
, _kwargs
)
339 return "<C wxFontDialog instance at %s>" % (self
.this
,)
340 class wxFontDialog(wxFontDialogPtr
):
341 def __init__(self
,*_args
,**_kwargs
):
342 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,_args
,_kwargs
)
344 self
._setOORInfo
(self
)
349 class wxMessageDialogPtr(wxDialogPtr
):
350 def __init__(self
,this
):
353 def ShowModal(self
, *_args
, **_kwargs
):
354 val
= apply(cmndlgsc
.wxMessageDialog_ShowModal
,(self
,) + _args
, _kwargs
)
357 return "<C wxMessageDialog instance at %s>" % (self
.this
,)
358 class wxMessageDialog(wxMessageDialogPtr
):
359 def __init__(self
,*_args
,**_kwargs
):
360 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,_args
,_kwargs
)
362 self
._setOORInfo
(self
)
367 class wxProgressDialogPtr(wxFramePtr
):
368 def __init__(self
,this
):
371 def Update(self
, *_args
, **_kwargs
):
372 val
= apply(cmndlgsc
.wxProgressDialog_Update
,(self
,) + _args
, _kwargs
)
374 def Resume(self
, *_args
, **_kwargs
):
375 val
= apply(cmndlgsc
.wxProgressDialog_Resume
,(self
,) + _args
, _kwargs
)
378 return "<C wxProgressDialog instance at %s>" % (self
.this
,)
379 class wxProgressDialog(wxProgressDialogPtr
):
380 def __init__(self
,*_args
,**_kwargs
):
381 self
.this
= apply(cmndlgsc
.new_wxProgressDialog
,_args
,_kwargs
)
383 self
._setOORInfo
(self
)
388 class wxFindDialogEventPtr(wxCommandEventPtr
):
389 def __init__(self
,this
):
392 def GetFlags(self
, *_args
, **_kwargs
):
393 val
= apply(cmndlgsc
.wxFindDialogEvent_GetFlags
,(self
,) + _args
, _kwargs
)
395 def GetFindString(self
, *_args
, **_kwargs
):
396 val
= apply(cmndlgsc
.wxFindDialogEvent_GetFindString
,(self
,) + _args
, _kwargs
)
398 def GetReplaceString(self
, *_args
, **_kwargs
):
399 val
= apply(cmndlgsc
.wxFindDialogEvent_GetReplaceString
,(self
,) + _args
, _kwargs
)
401 def GetDialog(self
, *_args
, **_kwargs
):
402 val
= apply(cmndlgsc
.wxFindDialogEvent_GetDialog
,(self
,) + _args
, _kwargs
)
403 if val
: val
= wxFindReplaceDialogPtr(val
)
405 def SetFlags(self
, *_args
, **_kwargs
):
406 val
= apply(cmndlgsc
.wxFindDialogEvent_SetFlags
,(self
,) + _args
, _kwargs
)
408 def SetFindString(self
, *_args
, **_kwargs
):
409 val
= apply(cmndlgsc
.wxFindDialogEvent_SetFindString
,(self
,) + _args
, _kwargs
)
411 def SetReplaceString(self
, *_args
, **_kwargs
):
412 val
= apply(cmndlgsc
.wxFindDialogEvent_SetReplaceString
,(self
,) + _args
, _kwargs
)
415 return "<C wxFindDialogEvent instance at %s>" % (self
.this
,)
416 class wxFindDialogEvent(wxFindDialogEventPtr
):
417 def __init__(self
,*_args
,**_kwargs
):
418 self
.this
= apply(cmndlgsc
.new_wxFindDialogEvent
,_args
,_kwargs
)
424 class wxFindReplaceDataPtr(wxObjectPtr
):
425 def __init__(self
,this
):
428 def __del__(self
,cmndlgsc
=cmndlgsc
):
429 if self
.thisown
== 1 :
430 cmndlgsc
.delete_wxFindReplaceData(self
)
431 def GetFindString(self
, *_args
, **_kwargs
):
432 val
= apply(cmndlgsc
.wxFindReplaceData_GetFindString
,(self
,) + _args
, _kwargs
)
434 def GetReplaceString(self
, *_args
, **_kwargs
):
435 val
= apply(cmndlgsc
.wxFindReplaceData_GetReplaceString
,(self
,) + _args
, _kwargs
)
437 def GetFlags(self
, *_args
, **_kwargs
):
438 val
= apply(cmndlgsc
.wxFindReplaceData_GetFlags
,(self
,) + _args
, _kwargs
)
440 def SetFlags(self
, *_args
, **_kwargs
):
441 val
= apply(cmndlgsc
.wxFindReplaceData_SetFlags
,(self
,) + _args
, _kwargs
)
443 def SetFindString(self
, *_args
, **_kwargs
):
444 val
= apply(cmndlgsc
.wxFindReplaceData_SetFindString
,(self
,) + _args
, _kwargs
)
446 def SetReplaceString(self
, *_args
, **_kwargs
):
447 val
= apply(cmndlgsc
.wxFindReplaceData_SetReplaceString
,(self
,) + _args
, _kwargs
)
450 return "<C wxFindReplaceData instance at %s>" % (self
.this
,)
451 class wxFindReplaceData(wxFindReplaceDataPtr
):
452 def __init__(self
,*_args
,**_kwargs
):
453 self
.this
= apply(cmndlgsc
.new_wxFindReplaceData
,_args
,_kwargs
)
459 class wxFindReplaceDialogPtr(wxDialogPtr
):
460 def __init__(self
,this
):
463 def Create(self
, *_args
, **_kwargs
):
464 val
= apply(cmndlgsc
.wxFindReplaceDialog_Create
,(self
,) + _args
, _kwargs
)
466 def GetData(self
, *_args
, **_kwargs
):
467 val
= apply(cmndlgsc
.wxFindReplaceDialog_GetData
,(self
,) + _args
, _kwargs
)
468 if val
: val
= wxFindReplaceDataPtr(val
)
470 def SetData(self
, *_args
, **_kwargs
):
471 val
= apply(cmndlgsc
.wxFindReplaceDialog_SetData
,(self
,) + _args
, _kwargs
)
474 return "<C wxFindReplaceDialog instance at %s>" % (self
.this
,)
475 class wxFindReplaceDialog(wxFindReplaceDialogPtr
):
476 def __init__(self
,*_args
,**_kwargs
):
477 self
.this
= apply(cmndlgsc
.new_wxFindReplaceDialog
,_args
,_kwargs
)
479 self
._setOORInfo
(self
)
483 def wxPreFindReplaceDialog(*_args
,**_kwargs
):
484 val
= wxFindReplaceDialogPtr(apply(cmndlgsc
.new_wxPreFindReplaceDialog
,_args
,_kwargs
))
492 #-------------- FUNCTION WRAPPERS ------------------
496 #-------------- VARIABLE WRAPPERS ------------------
498 wxCHOICEDLG_STYLE
= cmndlgsc
.wxCHOICEDLG_STYLE
499 wxFR_DOWN
= cmndlgsc
.wxFR_DOWN
500 wxFR_WHOLEWORD
= cmndlgsc
.wxFR_WHOLEWORD
501 wxFR_MATCHCASE
= cmndlgsc
.wxFR_MATCHCASE
502 wxFR_REPLACEDIALOG
= cmndlgsc
.wxFR_REPLACEDIALOG
503 wxFR_NOUPDOWN
= cmndlgsc
.wxFR_NOUPDOWN
504 wxFR_NOMATCHCASE
= cmndlgsc
.wxFR_NOMATCHCASE
505 wxFR_NOWHOLEWORD
= cmndlgsc
.wxFR_NOWHOLEWORD
506 wxEVT_COMMAND_FIND
= cmndlgsc
.wxEVT_COMMAND_FIND
507 wxEVT_COMMAND_FIND_NEXT
= cmndlgsc
.wxEVT_COMMAND_FIND_NEXT
508 wxEVT_COMMAND_FIND_REPLACE
= cmndlgsc
.wxEVT_COMMAND_FIND_REPLACE
509 wxEVT_COMMAND_FIND_REPLACE_ALL
= cmndlgsc
.wxEVT_COMMAND_FIND_REPLACE_ALL
510 wxEVT_COMMAND_FIND_CLOSE
= cmndlgsc
.wxEVT_COMMAND_FIND_CLOSE