1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
14 from stattool
import *
16 from controls
import *
20 class wxTopLevelWindowPtr(wxWindowPtr
):
21 def __init__(self
,this
):
24 def Create(self
, *_args
, **_kwargs
):
25 val
= apply(framesc
.wxTopLevelWindow_Create
,(self
,) + _args
, _kwargs
)
27 def Maximize(self
, *_args
, **_kwargs
):
28 val
= apply(framesc
.wxTopLevelWindow_Maximize
,(self
,) + _args
, _kwargs
)
30 def Restore(self
, *_args
, **_kwargs
):
31 val
= apply(framesc
.wxTopLevelWindow_Restore
,(self
,) + _args
, _kwargs
)
33 def Iconize(self
, *_args
, **_kwargs
):
34 val
= apply(framesc
.wxTopLevelWindow_Iconize
,(self
,) + _args
, _kwargs
)
36 def IsMaximized(self
, *_args
, **_kwargs
):
37 val
= apply(framesc
.wxTopLevelWindow_IsMaximized
,(self
,) + _args
, _kwargs
)
39 def IsIconized(self
, *_args
, **_kwargs
):
40 val
= apply(framesc
.wxTopLevelWindow_IsIconized
,(self
,) + _args
, _kwargs
)
42 def GetIcon(self
, *_args
, **_kwargs
):
43 val
= apply(framesc
.wxTopLevelWindow_GetIcon
,(self
,) + _args
, _kwargs
)
44 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
46 def SetIcon(self
, *_args
, **_kwargs
):
47 val
= apply(framesc
.wxTopLevelWindow_SetIcon
,(self
,) + _args
, _kwargs
)
49 def SetIcons(self
, *_args
, **_kwargs
):
50 val
= apply(framesc
.wxTopLevelWindow_SetIcons
,(self
,) + _args
, _kwargs
)
52 def ShowFullScreen(self
, *_args
, **_kwargs
):
53 val
= apply(framesc
.wxTopLevelWindow_ShowFullScreen
,(self
,) + _args
, _kwargs
)
55 def IsFullScreen(self
, *_args
, **_kwargs
):
56 val
= apply(framesc
.wxTopLevelWindow_IsFullScreen
,(self
,) + _args
, _kwargs
)
58 def SetTitle(self
, *_args
, **_kwargs
):
59 val
= apply(framesc
.wxTopLevelWindow_SetTitle
,(self
,) + _args
, _kwargs
)
61 def GetTitle(self
, *_args
, **_kwargs
):
62 val
= apply(framesc
.wxTopLevelWindow_GetTitle
,(self
,) + _args
, _kwargs
)
65 return "<C wxTopLevelWindow instance at %s>" % (self
.this
,)
66 class wxTopLevelWindow(wxTopLevelWindowPtr
):
67 def __init__(self
,*_args
,**_kwargs
):
68 self
.this
= apply(framesc
.new_wxTopLevelWindow
,_args
,_kwargs
)
70 self
._setOORInfo
(self
)
74 def wxPreTopLevelWindow(*_args
,**_kwargs
):
75 val
= wxTopLevelWindowPtr(apply(framesc
.new_wxPreTopLevelWindow
,_args
,_kwargs
))
81 class wxFramePtr(wxTopLevelWindowPtr
):
82 def __init__(self
,this
):
85 def Create(self
, *_args
, **_kwargs
):
86 val
= apply(framesc
.wxFrame_Create
,(self
,) + _args
, _kwargs
)
88 def GetClientAreaOrigin(self
, *_args
, **_kwargs
):
89 val
= apply(framesc
.wxFrame_GetClientAreaOrigin
,(self
,) + _args
, _kwargs
)
90 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
92 def SetMenuBar(self
, *_args
, **_kwargs
):
93 val
= apply(framesc
.wxFrame_SetMenuBar
,(self
,) + _args
, _kwargs
)
95 def GetMenuBar(self
, *_args
, **_kwargs
):
96 val
= apply(framesc
.wxFrame_GetMenuBar
,(self
,) + _args
, _kwargs
)
98 def Command(self
, *_args
, **_kwargs
):
99 val
= apply(framesc
.wxFrame_Command
,(self
,) + _args
, _kwargs
)
101 def ProcessCommand(self
, *_args
, **_kwargs
):
102 val
= apply(framesc
.wxFrame_ProcessCommand
,(self
,) + _args
, _kwargs
)
104 def CreateStatusBar(self
, *_args
, **_kwargs
):
105 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
,) + _args
, _kwargs
)
107 def GetStatusBar(self
, *_args
, **_kwargs
):
108 val
= apply(framesc
.wxFrame_GetStatusBar
,(self
,) + _args
, _kwargs
)
110 def SetStatusBar(self
, *_args
, **_kwargs
):
111 val
= apply(framesc
.wxFrame_SetStatusBar
,(self
,) + _args
, _kwargs
)
113 def SetStatusText(self
, *_args
, **_kwargs
):
114 val
= apply(framesc
.wxFrame_SetStatusText
,(self
,) + _args
, _kwargs
)
116 def SetStatusWidths(self
, *_args
, **_kwargs
):
117 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
,) + _args
, _kwargs
)
119 def PushStatusText(self
, *_args
, **_kwargs
):
120 val
= apply(framesc
.wxFrame_PushStatusText
,(self
,) + _args
, _kwargs
)
122 def PopStatusText(self
, *_args
, **_kwargs
):
123 val
= apply(framesc
.wxFrame_PopStatusText
,(self
,) + _args
, _kwargs
)
125 def DoGiveHelp(self
, *_args
, **_kwargs
):
126 val
= apply(framesc
.wxFrame_DoGiveHelp
,(self
,) + _args
, _kwargs
)
128 def SetStatusBarPane(self
, *_args
, **_kwargs
):
129 val
= apply(framesc
.wxFrame_SetStatusBarPane
,(self
,) + _args
, _kwargs
)
131 def GetStatusBarPane(self
, *_args
, **_kwargs
):
132 val
= apply(framesc
.wxFrame_GetStatusBarPane
,(self
,) + _args
, _kwargs
)
134 def CreateToolBar(self
, *_args
, **_kwargs
):
135 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
,) + _args
, _kwargs
)
137 def GetToolBar(self
, *_args
, **_kwargs
):
138 val
= apply(framesc
.wxFrame_GetToolBar
,(self
,) + _args
, _kwargs
)
140 def SetToolBar(self
, *_args
, **_kwargs
):
141 val
= apply(framesc
.wxFrame_SetToolBar
,(self
,) + _args
, _kwargs
)
143 def SendSizeEvent(self
, *_args
, **_kwargs
):
144 val
= apply(framesc
.wxFrame_SendSizeEvent
,(self
,) + _args
, _kwargs
)
147 return "<C wxFrame instance at %s>" % (self
.this
,)
148 class wxFrame(wxFramePtr
):
149 def __init__(self
,*_args
,**_kwargs
):
150 self
.this
= apply(framesc
.new_wxFrame
,_args
,_kwargs
)
152 self
._setOORInfo
(self
)
156 def wxPreFrame(*_args
,**_kwargs
):
157 val
= wxFramePtr(apply(framesc
.new_wxPreFrame
,_args
,_kwargs
))
163 class wxDialogPtr(wxTopLevelWindowPtr
):
164 def __init__(self
,this
):
167 def Create(self
, *_args
, **_kwargs
):
168 val
= apply(framesc
.wxDialog_Create
,(self
,) + _args
, _kwargs
)
170 def Centre(self
, *_args
, **_kwargs
):
171 val
= apply(framesc
.wxDialog_Centre
,(self
,) + _args
, _kwargs
)
173 def EndModal(self
, *_args
, **_kwargs
):
174 val
= apply(framesc
.wxDialog_EndModal
,(self
,) + _args
, _kwargs
)
176 def SetModal(self
, *_args
, **_kwargs
):
177 val
= apply(framesc
.wxDialog_SetModal
,(self
,) + _args
, _kwargs
)
179 def IsModal(self
, *_args
, **_kwargs
):
180 val
= apply(framesc
.wxDialog_IsModal
,(self
,) + _args
, _kwargs
)
182 def ShowModal(self
, *_args
, **_kwargs
):
183 val
= apply(framesc
.wxDialog_ShowModal
,(self
,) + _args
, _kwargs
)
185 def GetReturnCode(self
, *_args
, **_kwargs
):
186 val
= apply(framesc
.wxDialog_GetReturnCode
,(self
,) + _args
, _kwargs
)
188 def SetReturnCode(self
, *_args
, **_kwargs
):
189 val
= apply(framesc
.wxDialog_SetReturnCode
,(self
,) + _args
, _kwargs
)
191 def CreateTextSizer(self
, *_args
, **_kwargs
):
192 val
= apply(framesc
.wxDialog_CreateTextSizer
,(self
,) + _args
, _kwargs
)
194 def CreateButtonSizer(self
, *_args
, **_kwargs
):
195 val
= apply(framesc
.wxDialog_CreateButtonSizer
,(self
,) + _args
, _kwargs
)
198 return "<C wxDialog instance at %s>" % (self
.this
,)
199 class wxDialog(wxDialogPtr
):
200 def __init__(self
,*_args
,**_kwargs
):
201 self
.this
= apply(framesc
.new_wxDialog
,_args
,_kwargs
)
203 self
._setOORInfo
(self
)
207 def wxPreDialog(*_args
,**_kwargs
):
208 val
= wxDialogPtr(apply(framesc
.new_wxPreDialog
,_args
,_kwargs
))
214 class wxMiniFramePtr(wxFramePtr
):
215 def __init__(self
,this
):
218 def Create(self
, *_args
, **_kwargs
):
219 val
= apply(framesc
.wxMiniFrame_Create
,(self
,) + _args
, _kwargs
)
222 return "<C wxMiniFrame instance at %s>" % (self
.this
,)
223 class wxMiniFrame(wxMiniFramePtr
):
224 def __init__(self
,*_args
,**_kwargs
):
225 self
.this
= apply(framesc
.new_wxMiniFrame
,_args
,_kwargs
)
227 self
._setOORInfo
(self
)
231 def wxPreMiniFrame(*_args
,**_kwargs
):
232 val
= wxMiniFramePtr(apply(framesc
.new_wxPreMiniFrame
,_args
,_kwargs
))
238 class wxSplashScreenWindowPtr(wxWindowPtr
):
239 def __init__(self
,this
):
242 def SetBitmap(self
, *_args
, **_kwargs
):
243 val
= apply(framesc
.wxSplashScreenWindow_SetBitmap
,(self
,) + _args
, _kwargs
)
245 def GetBitmap(self
, *_args
, **_kwargs
):
246 val
= apply(framesc
.wxSplashScreenWindow_GetBitmap
,(self
,) + _args
, _kwargs
)
247 if val
: val
= wxBitmapPtr(val
)
250 return "<C wxSplashScreenWindow instance at %s>" % (self
.this
,)
251 class wxSplashScreenWindow(wxSplashScreenWindowPtr
):
252 def __init__(self
,*_args
,**_kwargs
):
253 self
.this
= apply(framesc
.new_wxSplashScreenWindow
,_args
,_kwargs
)
255 self
._setOORInfo
(self
)
260 class wxSplashScreenPtr(wxFramePtr
):
261 def __init__(self
,this
):
264 def GetSplashStyle(self
, *_args
, **_kwargs
):
265 val
= apply(framesc
.wxSplashScreen_GetSplashStyle
,(self
,) + _args
, _kwargs
)
267 def GetSplashWindow(self
, *_args
, **_kwargs
):
268 val
= apply(framesc
.wxSplashScreen_GetSplashWindow
,(self
,) + _args
, _kwargs
)
269 if val
: val
= wxSplashScreenWindowPtr(val
)
271 def GetTimeout(self
, *_args
, **_kwargs
):
272 val
= apply(framesc
.wxSplashScreen_GetTimeout
,(self
,) + _args
, _kwargs
)
275 return "<C wxSplashScreen instance at %s>" % (self
.this
,)
276 class wxSplashScreen(wxSplashScreenPtr
):
277 def __init__(self
,*_args
,**_kwargs
):
278 self
.this
= apply(framesc
.new_wxSplashScreen
,_args
,_kwargs
)
280 self
._setOORInfo
(self
)
287 #-------------- FUNCTION WRAPPERS ------------------
291 #-------------- VARIABLE WRAPPERS ------------------
293 wxFULLSCREEN_NOMENUBAR
= framesc
.wxFULLSCREEN_NOMENUBAR
294 wxFULLSCREEN_NOTOOLBAR
= framesc
.wxFULLSCREEN_NOTOOLBAR
295 wxFULLSCREEN_NOSTATUSBAR
= framesc
.wxFULLSCREEN_NOSTATUSBAR
296 wxFULLSCREEN_NOBORDER
= framesc
.wxFULLSCREEN_NOBORDER
297 wxFULLSCREEN_NOCAPTION
= framesc
.wxFULLSCREEN_NOCAPTION
298 wxFULLSCREEN_ALL
= framesc
.wxFULLSCREEN_ALL
299 wxTOPLEVEL_EX_DIALOG
= framesc
.wxTOPLEVEL_EX_DIALOG
300 wxSPLASH_CENTRE_ON_PARENT
= framesc
.wxSPLASH_CENTRE_ON_PARENT
301 wxSPLASH_CENTRE_ON_SCREEN
= framesc
.wxSPLASH_CENTRE_ON_SCREEN
302 wxSPLASH_NO_CENTRE
= framesc
.wxSPLASH_NO_CENTRE
303 wxSPLASH_TIMEOUT
= framesc
.wxSPLASH_TIMEOUT
304 wxSPLASH_NO_TIMEOUT
= framesc
.wxSPLASH_NO_TIMEOUT