]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/cmndlgs.py
1 # This file was created automatically by SWIG.
9 class wxColourDataPtr
:
10 def __init__(self
,this
):
14 if self
.thisown
== 1 :
15 cmndlgsc
.delete_wxColourData(self
.this
)
16 def GetChooseFull(self
):
17 val
= cmndlgsc
.wxColourData_GetChooseFull(self
.this
)
20 val
= cmndlgsc
.wxColourData_GetColour(self
.this
)
21 val
= wxColourPtr(val
)
23 def GetCustomColour(self
,arg0
):
24 val
= cmndlgsc
.wxColourData_GetCustomColour(self
.this
,arg0
)
25 val
= wxColourPtr(val
)
28 def SetChooseFull(self
,arg0
):
29 val
= cmndlgsc
.wxColourData_SetChooseFull(self
.this
,arg0
)
31 def SetColour(self
,arg0
):
32 val
= cmndlgsc
.wxColourData_SetColour(self
.this
,arg0
.this
)
34 def SetCustomColour(self
,arg0
,arg1
):
35 val
= cmndlgsc
.wxColourData_SetCustomColour(self
.this
,arg0
,arg1
.this
)
38 return "<C wxColourData instance>"
39 class wxColourData(wxColourDataPtr
):
41 self
.this
= cmndlgsc
.new_wxColourData()
47 class wxColourDialogPtr(wxDialogPtr
):
48 def __init__(self
,this
):
51 def GetColourData(self
):
52 val
= cmndlgsc
.wxColourDialog_GetColourData(self
.this
)
53 val
= wxColourDataPtr(val
)
57 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
60 return "<C wxColourDialog instance>"
61 class wxColourDialog(wxColourDialogPtr
):
62 def __init__(self
,arg0
,*args
) :
64 try: argl
[0] = argl
[0].this
67 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
69 wxp
._StdDialogCallbacks
(self
)
74 class wxFileDialogPtr(wxDialogPtr
):
75 def __init__(self
,this
):
78 def GetDirectory(self
):
79 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
81 def GetFilename(self
):
82 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
84 def GetFilterIndex(self
):
85 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
88 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
91 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
94 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
96 def GetWildcard(self
):
97 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
99 def SetDirectory(self
,arg0
):
100 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
102 def SetFilename(self
,arg0
):
103 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
105 def SetFilterIndex(self
,arg0
):
106 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
108 def SetMessage(self
,arg0
):
109 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
111 def SetPath(self
,arg0
):
112 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
114 def SetStyle(self
,arg0
):
115 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
117 def SetWildcard(self
,arg0
):
118 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
121 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
124 return "<C wxFileDialog instance>"
125 class wxFileDialog(wxFileDialogPtr
):
126 def __init__(self
,arg0
,*args
) :
127 argl
= map(None,args
)
128 try: argl
[5] = argl
[5].this
131 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
133 wxp
._StdDialogCallbacks
(self
)
138 class wxSingleChoiceDialogPtr(wxDialogPtr
):
139 def __init__(self
,this
):
142 def GetSelection(self
):
143 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
145 def GetStringSelection(self
):
146 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
148 def SetSelection(self
,arg0
):
149 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
152 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
155 return "<C wxSingleChoiceDialog instance>"
156 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
157 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
158 argl
= map(None,args
)
159 try: argl
[1] = argl
[1].this
162 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
164 wxp
._StdDialogCallbacks
(self
)
169 class wxTextEntryDialogPtr(wxDialogPtr
):
170 def __init__(self
,this
):
174 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
176 def SetValue(self
,arg0
):
177 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
180 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
183 return "<C wxTextEntryDialog instance>"
184 class wxTextEntryDialog(wxTextEntryDialogPtr
):
185 def __init__(self
,arg0
,arg1
,*args
) :
186 argl
= map(None,args
)
187 try: argl
[3] = argl
[3].this
190 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
192 wxp
._StdDialogCallbacks
(self
)
197 class wxFontDataPtr
:
198 def __init__(self
,this
):
202 if self
.thisown
== 1 :
203 cmndlgsc
.delete_wxFontData(self
.this
)
204 def EnableEffects(self
,arg0
):
205 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
207 def GetAllowSymbols(self
):
208 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
211 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
212 val
= wxColourPtr(val
)
214 def GetChosenFont(self
):
215 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
219 def GetEnableEffects(self
):
220 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
222 def GetInitialFont(self
):
223 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
227 def GetShowHelp(self
):
228 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
230 def SetAllowSymbols(self
,arg0
):
231 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
233 def SetChosenFont(self
,arg0
):
234 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
236 def SetColour(self
,arg0
):
237 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
239 def SetInitialFont(self
,arg0
):
240 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
242 def SetRange(self
,arg0
,arg1
):
243 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
245 def SetShowHelp(self
,arg0
):
246 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
249 return "<C wxFontData instance>"
250 class wxFontData(wxFontDataPtr
):
252 self
.this
= cmndlgsc
.new_wxFontData()
258 class wxFontDialogPtr(wxDialogPtr
):
259 def __init__(self
,this
):
262 def GetFontData(self
):
263 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
264 val
= wxFontDataPtr(val
)
267 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
270 return "<C wxFontDialog instance>"
271 class wxFontDialog(wxFontDialogPtr
):
272 def __init__(self
,arg0
,*args
) :
273 argl
= map(None,args
)
274 try: argl
[0] = argl
[0].this
277 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
279 wxp
._StdDialogCallbacks
(self
)
284 class wxMessageDialogPtr(wxDialogPtr
):
285 def __init__(self
,this
):
289 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
292 return "<C wxMessageDialog instance>"
293 class wxMessageDialog(wxMessageDialogPtr
):
294 def __init__(self
,arg0
,arg1
,*args
) :
295 argl
= map(None,args
)
296 try: argl
[2] = argl
[2].this
299 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
301 wxp
._StdDialogCallbacks
(self
)
308 #-------------- FUNCTION WRAPPERS ------------------
312 #-------------- VARIABLE WRAPPERS ------------------