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
= framesc
.wxTopLevelWindow_Create(self
, *_args
, **_kwargs
)
27 def Maximize(self
, *_args
, **_kwargs
):
28 val
= framesc
.wxTopLevelWindow_Maximize(self
, *_args
, **_kwargs
)
30 def Restore(self
, *_args
, **_kwargs
):
31 val
= framesc
.wxTopLevelWindow_Restore(self
, *_args
, **_kwargs
)
33 def Iconize(self
, *_args
, **_kwargs
):
34 val
= framesc
.wxTopLevelWindow_Iconize(self
, *_args
, **_kwargs
)
36 def IsMaximized(self
, *_args
, **_kwargs
):
37 val
= framesc
.wxTopLevelWindow_IsMaximized(self
, *_args
, **_kwargs
)
39 def IsIconized(self
, *_args
, **_kwargs
):
40 val
= framesc
.wxTopLevelWindow_IsIconized(self
, *_args
, **_kwargs
)
42 def GetIcon(self
, *_args
, **_kwargs
):
43 val
= framesc
.wxTopLevelWindow_GetIcon(self
, *_args
, **_kwargs
)
44 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
46 def SetIcon(self
, *_args
, **_kwargs
):
47 val
= framesc
.wxTopLevelWindow_SetIcon(self
, *_args
, **_kwargs
)
49 def SetIcons(self
, *_args
, **_kwargs
):
50 val
= framesc
.wxTopLevelWindow_SetIcons(self
, *_args
, **_kwargs
)
52 def ShowFullScreen(self
, *_args
, **_kwargs
):
53 val
= framesc
.wxTopLevelWindow_ShowFullScreen(self
, *_args
, **_kwargs
)
55 def IsFullScreen(self
, *_args
, **_kwargs
):
56 val
= framesc
.wxTopLevelWindow_IsFullScreen(self
, *_args
, **_kwargs
)
58 def SetTitle(self
, *_args
, **_kwargs
):
59 val
= framesc
.wxTopLevelWindow_SetTitle(self
, *_args
, **_kwargs
)
61 def GetTitle(self
, *_args
, **_kwargs
):
62 val
= framesc
.wxTopLevelWindow_GetTitle(self
, *_args
, **_kwargs
)
64 def SetShape(self
, *_args
, **_kwargs
):
65 val
= framesc
.wxTopLevelWindow_SetShape(self
, *_args
, **_kwargs
)
68 return "<%s.%s instance; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
69 class wxTopLevelWindow(wxTopLevelWindowPtr
):
70 def __init__(self
,*_args
,**_kwargs
):
71 self
.this
= framesc
.new_wxTopLevelWindow(*_args
,**_kwargs
)
73 self
._setOORInfo
(self
)
77 def wxPreTopLevelWindow(*_args
,**_kwargs
):
78 val
= wxTopLevelWindowPtr(framesc
.new_wxPreTopLevelWindow(*_args
,**_kwargs
))
84 class wxFramePtr(wxTopLevelWindowPtr
):
85 def __init__(self
,this
):
88 def Create(self
, *_args
, **_kwargs
):
89 val
= framesc
.wxFrame_Create(self
, *_args
, **_kwargs
)
91 def GetClientAreaOrigin(self
, *_args
, **_kwargs
):
92 val
= framesc
.wxFrame_GetClientAreaOrigin(self
, *_args
, **_kwargs
)
93 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
95 def SetMenuBar(self
, *_args
, **_kwargs
):
96 val
= framesc
.wxFrame_SetMenuBar(self
, *_args
, **_kwargs
)
98 def GetMenuBar(self
, *_args
, **_kwargs
):
99 val
= framesc
.wxFrame_GetMenuBar(self
, *_args
, **_kwargs
)
101 def ProcessCommand(self
, *_args
, **_kwargs
):
102 val
= framesc
.wxFrame_ProcessCommand(self
, *_args
, **_kwargs
)
104 def CreateStatusBar(self
, *_args
, **_kwargs
):
105 val
= framesc
.wxFrame_CreateStatusBar(self
, *_args
, **_kwargs
)
107 def GetStatusBar(self
, *_args
, **_kwargs
):
108 val
= framesc
.wxFrame_GetStatusBar(self
, *_args
, **_kwargs
)
110 def SetStatusBar(self
, *_args
, **_kwargs
):
111 val
= framesc
.wxFrame_SetStatusBar(self
, *_args
, **_kwargs
)
113 def SetStatusText(self
, *_args
, **_kwargs
):
114 val
= framesc
.wxFrame_SetStatusText(self
, *_args
, **_kwargs
)
116 def SetStatusWidths(self
, *_args
, **_kwargs
):
117 val
= framesc
.wxFrame_SetStatusWidths(self
, *_args
, **_kwargs
)
119 def PushStatusText(self
, *_args
, **_kwargs
):
120 val
= framesc
.wxFrame_PushStatusText(self
, *_args
, **_kwargs
)
122 def PopStatusText(self
, *_args
, **_kwargs
):
123 val
= framesc
.wxFrame_PopStatusText(self
, *_args
, **_kwargs
)
125 def DoGiveHelp(self
, *_args
, **_kwargs
):
126 val
= framesc
.wxFrame_DoGiveHelp(self
, *_args
, **_kwargs
)
128 def SetStatusBarPane(self
, *_args
, **_kwargs
):
129 val
= framesc
.wxFrame_SetStatusBarPane(self
, *_args
, **_kwargs
)
131 def GetStatusBarPane(self
, *_args
, **_kwargs
):
132 val
= framesc
.wxFrame_GetStatusBarPane(self
, *_args
, **_kwargs
)
134 def CreateToolBar(self
, *_args
, **_kwargs
):
135 val
= framesc
.wxFrame_CreateToolBar(self
, *_args
, **_kwargs
)
137 def GetToolBar(self
, *_args
, **_kwargs
):
138 val
= framesc
.wxFrame_GetToolBar(self
, *_args
, **_kwargs
)
140 def SetToolBar(self
, *_args
, **_kwargs
):
141 val
= framesc
.wxFrame_SetToolBar(self
, *_args
, **_kwargs
)
143 def SendSizeEvent(self
, *_args
, **_kwargs
):
144 val
= framesc
.wxFrame_SendSizeEvent(self
, *_args
, **_kwargs
)
146 def DoMenuUpdates(self
, *_args
, **_kwargs
):
147 val
= framesc
.wxFrame_DoMenuUpdates(self
, *_args
, **_kwargs
)
149 def UpdateWindowUI(self
, *_args
, **_kwargs
):
150 val
= framesc
.wxFrame_UpdateWindowUI(self
, *_args
, **_kwargs
)
153 return "<%s.%s instance; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
154 Command
= ProcessCommand
155 class wxFrame(wxFramePtr
):
156 def __init__(self
,*_args
,**_kwargs
):
157 self
.this
= framesc
.new_wxFrame(*_args
,**_kwargs
)
159 self
._setOORInfo
(self
)
163 def wxPreFrame(*_args
,**_kwargs
):
164 val
= wxFramePtr(framesc
.new_wxPreFrame(*_args
,**_kwargs
))
170 class wxDialogPtr(wxTopLevelWindowPtr
):
171 def __init__(self
,this
):
174 def Create(self
, *_args
, **_kwargs
):
175 val
= framesc
.wxDialog_Create(self
, *_args
, **_kwargs
)
177 def Centre(self
, *_args
, **_kwargs
):
178 val
= framesc
.wxDialog_Centre(self
, *_args
, **_kwargs
)
180 def EndModal(self
, *_args
, **_kwargs
):
181 val
= framesc
.wxDialog_EndModal(self
, *_args
, **_kwargs
)
183 def SetModal(self
, *_args
, **_kwargs
):
184 val
= framesc
.wxDialog_SetModal(self
, *_args
, **_kwargs
)
186 def IsModal(self
, *_args
, **_kwargs
):
187 val
= framesc
.wxDialog_IsModal(self
, *_args
, **_kwargs
)
189 def ShowModal(self
, *_args
, **_kwargs
):
190 val
= framesc
.wxDialog_ShowModal(self
, *_args
, **_kwargs
)
192 def GetReturnCode(self
, *_args
, **_kwargs
):
193 val
= framesc
.wxDialog_GetReturnCode(self
, *_args
, **_kwargs
)
195 def SetReturnCode(self
, *_args
, **_kwargs
):
196 val
= framesc
.wxDialog_SetReturnCode(self
, *_args
, **_kwargs
)
198 def CreateTextSizer(self
, *_args
, **_kwargs
):
199 val
= framesc
.wxDialog_CreateTextSizer(self
, *_args
, **_kwargs
)
201 def CreateButtonSizer(self
, *_args
, **_kwargs
):
202 val
= framesc
.wxDialog_CreateButtonSizer(self
, *_args
, **_kwargs
)
205 return "<%s.%s instance; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
206 class wxDialog(wxDialogPtr
):
207 def __init__(self
,*_args
,**_kwargs
):
208 self
.this
= framesc
.new_wxDialog(*_args
,**_kwargs
)
210 self
._setOORInfo
(self
)
214 def wxPreDialog(*_args
,**_kwargs
):
215 val
= wxDialogPtr(framesc
.new_wxPreDialog(*_args
,**_kwargs
))
221 class wxMiniFramePtr(wxFramePtr
):
222 def __init__(self
,this
):
225 def Create(self
, *_args
, **_kwargs
):
226 val
= framesc
.wxMiniFrame_Create(self
, *_args
, **_kwargs
)
229 return "<%s.%s instance; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
230 class wxMiniFrame(wxMiniFramePtr
):
231 def __init__(self
,*_args
,**_kwargs
):
232 self
.this
= framesc
.new_wxMiniFrame(*_args
,**_kwargs
)
234 self
._setOORInfo
(self
)
238 def wxPreMiniFrame(*_args
,**_kwargs
):
239 val
= wxMiniFramePtr(framesc
.new_wxPreMiniFrame(*_args
,**_kwargs
))
245 class wxSplashScreenWindowPtr(wxWindowPtr
):
246 def __init__(self
,this
):
249 def SetBitmap(self
, *_args
, **_kwargs
):
250 val
= framesc
.wxSplashScreenWindow_SetBitmap(self
, *_args
, **_kwargs
)
252 def GetBitmap(self
, *_args
, **_kwargs
):
253 val
= framesc
.wxSplashScreenWindow_GetBitmap(self
, *_args
, **_kwargs
)
254 if val
: val
= wxBitmapPtr(val
)
257 return "<%s.%s instance; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
258 class wxSplashScreenWindow(wxSplashScreenWindowPtr
):
259 def __init__(self
,*_args
,**_kwargs
):
260 self
.this
= framesc
.new_wxSplashScreenWindow(*_args
,**_kwargs
)
262 self
._setOORInfo
(self
)
267 class wxSplashScreenPtr(wxFramePtr
):
268 def __init__(self
,this
):
271 def GetSplashStyle(self
, *_args
, **_kwargs
):
272 val
= framesc
.wxSplashScreen_GetSplashStyle(self
, *_args
, **_kwargs
)
274 def GetSplashWindow(self
, *_args
, **_kwargs
):
275 val
= framesc
.wxSplashScreen_GetSplashWindow(self
, *_args
, **_kwargs
)
276 if val
: val
= wxSplashScreenWindowPtr(val
)
278 def GetTimeout(self
, *_args
, **_kwargs
):
279 val
= framesc
.wxSplashScreen_GetTimeout(self
, *_args
, **_kwargs
)
282 return "<%s.%s instance; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
283 class wxSplashScreen(wxSplashScreenPtr
):
284 def __init__(self
,*_args
,**_kwargs
):
285 self
.this
= framesc
.new_wxSplashScreen(*_args
,**_kwargs
)
287 self
._setOORInfo
(self
)
294 #-------------- FUNCTION WRAPPERS ------------------
298 #-------------- VARIABLE WRAPPERS ------------------
300 wxFULLSCREEN_NOMENUBAR
= framesc
.wxFULLSCREEN_NOMENUBAR
301 wxFULLSCREEN_NOTOOLBAR
= framesc
.wxFULLSCREEN_NOTOOLBAR
302 wxFULLSCREEN_NOSTATUSBAR
= framesc
.wxFULLSCREEN_NOSTATUSBAR
303 wxFULLSCREEN_NOBORDER
= framesc
.wxFULLSCREEN_NOBORDER
304 wxFULLSCREEN_NOCAPTION
= framesc
.wxFULLSCREEN_NOCAPTION
305 wxFULLSCREEN_ALL
= framesc
.wxFULLSCREEN_ALL
306 wxTOPLEVEL_EX_DIALOG
= framesc
.wxTOPLEVEL_EX_DIALOG
307 wxSPLASH_CENTRE_ON_PARENT
= framesc
.wxSPLASH_CENTRE_ON_PARENT
308 wxSPLASH_CENTRE_ON_SCREEN
= framesc
.wxSPLASH_CENTRE_ON_SCREEN
309 wxSPLASH_NO_CENTRE
= framesc
.wxSPLASH_NO_CENTRE
310 wxSPLASH_TIMEOUT
= framesc
.wxSPLASH_TIMEOUT
311 wxSPLASH_NO_TIMEOUT
= framesc
.wxSPLASH_NO_TIMEOUT