]>
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
)
73 class wxFileDialogPtr(wxDialogPtr
):
74 def __init__(self
,this
):
77 def GetDirectory(self
):
78 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
80 def GetFilename(self
):
81 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
83 def GetFilterIndex(self
):
84 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
87 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
90 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
93 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
95 def GetWildcard(self
):
96 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
98 def SetDirectory(self
,arg0
):
99 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
101 def SetFilename(self
,arg0
):
102 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
104 def SetFilterIndex(self
,arg0
):
105 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
107 def SetMessage(self
,arg0
):
108 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
110 def SetPath(self
,arg0
):
111 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
113 def SetStyle(self
,arg0
):
114 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
116 def SetWildcard(self
,arg0
):
117 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
120 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
123 return "<C wxFileDialog instance>"
124 class wxFileDialog(wxFileDialogPtr
):
125 def __init__(self
,arg0
,*args
) :
126 argl
= map(None,args
)
127 try: argl
[5] = argl
[5].this
130 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
136 class wxSingleChoiceDialogPtr(wxDialogPtr
):
137 def __init__(self
,this
):
140 def GetSelection(self
):
141 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
143 def GetStringSelection(self
):
144 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
146 def SetSelection(self
,arg0
):
147 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
150 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
153 return "<C wxSingleChoiceDialog instance>"
154 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
155 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
156 argl
= map(None,args
)
157 try: argl
[1] = argl
[1].this
160 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
166 class wxTextEntryDialogPtr(wxDialogPtr
):
167 def __init__(self
,this
):
171 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
173 def SetValue(self
,arg0
):
174 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
177 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
180 return "<C wxTextEntryDialog instance>"
181 class wxTextEntryDialog(wxTextEntryDialogPtr
):
182 def __init__(self
,arg0
,arg1
,*args
) :
183 argl
= map(None,args
)
184 try: argl
[3] = argl
[3].this
187 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
193 class wxFontDataPtr
:
194 def __init__(self
,this
):
198 if self
.thisown
== 1 :
199 cmndlgsc
.delete_wxFontData(self
.this
)
200 def EnableEffects(self
,arg0
):
201 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
203 def GetAllowSymbols(self
):
204 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
207 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
208 val
= wxColourPtr(val
)
210 def GetChosenFont(self
):
211 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
215 def GetEnableEffects(self
):
216 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
218 def GetInitialFont(self
):
219 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
223 def GetShowHelp(self
):
224 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
226 def SetAllowSymbols(self
,arg0
):
227 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
229 def SetChosenFont(self
,arg0
):
230 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
232 def SetColour(self
,arg0
):
233 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
235 def SetInitialFont(self
,arg0
):
236 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
238 def SetRange(self
,arg0
,arg1
):
239 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
241 def SetShowHelp(self
,arg0
):
242 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
245 return "<C wxFontData instance>"
246 class wxFontData(wxFontDataPtr
):
248 self
.this
= cmndlgsc
.new_wxFontData()
254 class wxFontDialogPtr(wxDialogPtr
):
255 def __init__(self
,this
):
258 def GetFontData(self
):
259 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
260 val
= wxFontDataPtr(val
)
263 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
266 return "<C wxFontDialog instance>"
267 class wxFontDialog(wxFontDialogPtr
):
268 def __init__(self
,arg0
,*args
) :
269 argl
= map(None,args
)
270 try: argl
[0] = argl
[0].this
273 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
279 class wxMessageDialogPtr(wxDialogPtr
):
280 def __init__(self
,this
):
284 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
287 return "<C wxMessageDialog instance>"
288 class wxMessageDialog(wxMessageDialogPtr
):
289 def __init__(self
,arg0
,arg1
,*args
) :
290 argl
= map(None,args
)
291 try: argl
[2] = argl
[2].this
294 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
302 #-------------- FUNCTION WRAPPERS ------------------
306 #-------------- VARIABLE WRAPPERS ------------------