]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/frames.py
reSWIGged
[wxWidgets.git] / wxPython / src / msw / frames.py
CommitLineData
9c039d08
RD
1# This file was created automatically by SWIG.
2import framesc
3
4from misc import *
5
6from gdi import *
7
68bc8549
RD
8from fonts import *
9
9c039d08
RD
10from windows import *
11
b1462dfa
RD
12from clip_dnd import *
13
9c039d08
RD
14from stattool import *
15
16from controls import *
17
18from events import *
b8b8dda7 19import wx
ecc08ead 20class wxTopLevelWindowPtr(wxWindowPtr):
9c039d08
RD
21 def __init__(self,this):
22 self.this = this
23 self.thisown = 0
09f3d4e6 24 def Create(self, *_args, **_kwargs):
5a2a9da2 25 val = framesc.wxTopLevelWindow_Create(self, *_args, **_kwargs)
09f3d4e6 26 return val
ecc08ead 27 def Maximize(self, *_args, **_kwargs):
5a2a9da2 28 val = framesc.wxTopLevelWindow_Maximize(self, *_args, **_kwargs)
9c039d08 29 return val
ecc08ead 30 def Restore(self, *_args, **_kwargs):
5a2a9da2 31 val = framesc.wxTopLevelWindow_Restore(self, *_args, **_kwargs)
9c039d08 32 return val
ecc08ead 33 def Iconize(self, *_args, **_kwargs):
5a2a9da2 34 val = framesc.wxTopLevelWindow_Iconize(self, *_args, **_kwargs)
ecc08ead
RD
35 return val
36 def IsMaximized(self, *_args, **_kwargs):
5a2a9da2 37 val = framesc.wxTopLevelWindow_IsMaximized(self, *_args, **_kwargs)
ecc08ead
RD
38 return val
39 def IsIconized(self, *_args, **_kwargs):
5a2a9da2 40 val = framesc.wxTopLevelWindow_IsIconized(self, *_args, **_kwargs)
9c039d08 41 return val
f6bcfd97 42 def GetIcon(self, *_args, **_kwargs):
5a2a9da2 43 val = framesc.wxTopLevelWindow_GetIcon(self, *_args, **_kwargs)
c5943253 44 if val: val = wxIconPtr(val) ; val.thisown = 1
f6bcfd97 45 return val
ecc08ead 46 def SetIcon(self, *_args, **_kwargs):
5a2a9da2 47 val = framesc.wxTopLevelWindow_SetIcon(self, *_args, **_kwargs)
9c039d08 48 return val
0e9b78ce 49 def SetIcons(self, *_args, **_kwargs):
5a2a9da2 50 val = framesc.wxTopLevelWindow_SetIcons(self, *_args, **_kwargs)
0e9b78ce 51 return val
900d9886 52 def ShowFullScreen(self, *_args, **_kwargs):
5a2a9da2 53 val = framesc.wxTopLevelWindow_ShowFullScreen(self, *_args, **_kwargs)
900d9886
RD
54 return val
55 def IsFullScreen(self, *_args, **_kwargs):
5a2a9da2 56 val = framesc.wxTopLevelWindow_IsFullScreen(self, *_args, **_kwargs)
900d9886 57 return val
ecc08ead 58 def SetTitle(self, *_args, **_kwargs):
5a2a9da2 59 val = framesc.wxTopLevelWindow_SetTitle(self, *_args, **_kwargs)
9c039d08 60 return val
1d99702e 61 def GetTitle(self, *_args, **_kwargs):
5a2a9da2
RD
62 val = framesc.wxTopLevelWindow_GetTitle(self, *_args, **_kwargs)
63 return val
64 def SetShape(self, *_args, **_kwargs):
65 val = framesc.wxTopLevelWindow_SetShape(self, *_args, **_kwargs)
9c039d08 66 return val
ecc08ead 67 def __repr__(self):
5a2a9da2 68 return "<%s.%s instance; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
ecc08ead
RD
69class wxTopLevelWindow(wxTopLevelWindowPtr):
70 def __init__(self,*_args,**_kwargs):
5a2a9da2 71 self.this = framesc.new_wxTopLevelWindow(*_args,**_kwargs)
ecc08ead 72 self.thisown = 1
0122b7e3 73 self._setOORInfo(self)
ecc08ead
RD
74
75
76
77def wxPreTopLevelWindow(*_args,**_kwargs):
5a2a9da2 78 val = wxTopLevelWindowPtr(framesc.new_wxPreTopLevelWindow(*_args,**_kwargs))
ecc08ead 79 val.thisown = 1
17c0e08c 80 val._setOORInfo(val)
ecc08ead
RD
81 return val
82
83
84class wxFramePtr(wxTopLevelWindowPtr):
85 def __init__(self,this):
86 self.this = this
87 self.thisown = 0
88 def Create(self, *_args, **_kwargs):
5a2a9da2 89 val = framesc.wxFrame_Create(self, *_args, **_kwargs)
9c039d08 90 return val
ecc08ead 91 def GetClientAreaOrigin(self, *_args, **_kwargs):
5a2a9da2 92 val = framesc.wxFrame_GetClientAreaOrigin(self, *_args, **_kwargs)
ecc08ead 93 if val: val = wxPointPtr(val) ; val.thisown = 1
9c039d08 94 return val
ecc08ead 95 def SetMenuBar(self, *_args, **_kwargs):
5a2a9da2 96 val = framesc.wxFrame_SetMenuBar(self, *_args, **_kwargs)
9c039d08 97 return val
ecc08ead 98 def GetMenuBar(self, *_args, **_kwargs):
5a2a9da2 99 val = framesc.wxFrame_GetMenuBar(self, *_args, **_kwargs)
f6bcfd97 100 return val
ecc08ead 101 def ProcessCommand(self, *_args, **_kwargs):
5a2a9da2 102 val = framesc.wxFrame_ProcessCommand(self, *_args, **_kwargs)
9c039d08 103 return val
ecc08ead 104 def CreateStatusBar(self, *_args, **_kwargs):
5a2a9da2 105 val = framesc.wxFrame_CreateStatusBar(self, *_args, **_kwargs)
9c039d08 106 return val
ecc08ead 107 def GetStatusBar(self, *_args, **_kwargs):
5a2a9da2 108 val = framesc.wxFrame_GetStatusBar(self, *_args, **_kwargs)
9c039d08 109 return val
1d99702e 110 def SetStatusBar(self, *_args, **_kwargs):
5a2a9da2 111 val = framesc.wxFrame_SetStatusBar(self, *_args, **_kwargs)
9c039d08 112 return val
1d99702e 113 def SetStatusText(self, *_args, **_kwargs):
5a2a9da2 114 val = framesc.wxFrame_SetStatusText(self, *_args, **_kwargs)
9c039d08 115 return val
1d99702e 116 def SetStatusWidths(self, *_args, **_kwargs):
5a2a9da2 117 val = framesc.wxFrame_SetStatusWidths(self, *_args, **_kwargs)
9c039d08 118 return val
94e36a51 119 def PushStatusText(self, *_args, **_kwargs):
5a2a9da2 120 val = framesc.wxFrame_PushStatusText(self, *_args, **_kwargs)
94e36a51
RD
121 return val
122 def PopStatusText(self, *_args, **_kwargs):
5a2a9da2 123 val = framesc.wxFrame_PopStatusText(self, *_args, **_kwargs)
94e36a51
RD
124 return val
125 def DoGiveHelp(self, *_args, **_kwargs):
5a2a9da2 126 val = framesc.wxFrame_DoGiveHelp(self, *_args, **_kwargs)
94e36a51
RD
127 return val
128 def SetStatusBarPane(self, *_args, **_kwargs):
5a2a9da2 129 val = framesc.wxFrame_SetStatusBarPane(self, *_args, **_kwargs)
94e36a51
RD
130 return val
131 def GetStatusBarPane(self, *_args, **_kwargs):
5a2a9da2 132 val = framesc.wxFrame_GetStatusBarPane(self, *_args, **_kwargs)
94e36a51 133 return val
ecc08ead 134 def CreateToolBar(self, *_args, **_kwargs):
5a2a9da2 135 val = framesc.wxFrame_CreateToolBar(self, *_args, **_kwargs)
ecc08ead
RD
136 return val
137 def GetToolBar(self, *_args, **_kwargs):
5a2a9da2 138 val = framesc.wxFrame_GetToolBar(self, *_args, **_kwargs)
9c039d08 139 return val
1d99702e 140 def SetToolBar(self, *_args, **_kwargs):
5a2a9da2 141 val = framesc.wxFrame_SetToolBar(self, *_args, **_kwargs)
9c039d08 142 return val
f725aedb 143 def SendSizeEvent(self, *_args, **_kwargs):
5a2a9da2
RD
144 val = framesc.wxFrame_SendSizeEvent(self, *_args, **_kwargs)
145 return val
146 def DoMenuUpdates(self, *_args, **_kwargs):
147 val = framesc.wxFrame_DoMenuUpdates(self, *_args, **_kwargs)
148 return val
149 def UpdateWindowUI(self, *_args, **_kwargs):
150 val = framesc.wxFrame_UpdateWindowUI(self, *_args, **_kwargs)
f725aedb 151 return val
9c039d08 152 def __repr__(self):
5a2a9da2 153 return "<%s.%s instance; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
7e50db3f 154 Command = ProcessCommand
9c039d08 155class wxFrame(wxFramePtr):
1d99702e 156 def __init__(self,*_args,**_kwargs):
5a2a9da2 157 self.this = framesc.new_wxFrame(*_args,**_kwargs)
9c039d08 158 self.thisown = 1
0122b7e3 159 self._setOORInfo(self)
9c039d08
RD
160
161
162
09f3d4e6 163def wxPreFrame(*_args,**_kwargs):
5a2a9da2 164 val = wxFramePtr(framesc.new_wxPreFrame(*_args,**_kwargs))
09f3d4e6 165 val.thisown = 1
17c0e08c 166 val._setOORInfo(val)
09f3d4e6
RD
167 return val
168
9c039d08 169
ecc08ead
RD
170class wxDialogPtr(wxTopLevelWindowPtr):
171 def __init__(self,this):
172 self.this = this
173 self.thisown = 0
174 def Create(self, *_args, **_kwargs):
5a2a9da2 175 val = framesc.wxDialog_Create(self, *_args, **_kwargs)
ecc08ead
RD
176 return val
177 def Centre(self, *_args, **_kwargs):
5a2a9da2 178 val = framesc.wxDialog_Centre(self, *_args, **_kwargs)
ecc08ead
RD
179 return val
180 def EndModal(self, *_args, **_kwargs):
5a2a9da2 181 val = framesc.wxDialog_EndModal(self, *_args, **_kwargs)
ecc08ead
RD
182 return val
183 def SetModal(self, *_args, **_kwargs):
5a2a9da2 184 val = framesc.wxDialog_SetModal(self, *_args, **_kwargs)
ecc08ead
RD
185 return val
186 def IsModal(self, *_args, **_kwargs):
5a2a9da2 187 val = framesc.wxDialog_IsModal(self, *_args, **_kwargs)
ecc08ead
RD
188 return val
189 def ShowModal(self, *_args, **_kwargs):
5a2a9da2 190 val = framesc.wxDialog_ShowModal(self, *_args, **_kwargs)
ecc08ead
RD
191 return val
192 def GetReturnCode(self, *_args, **_kwargs):
5a2a9da2 193 val = framesc.wxDialog_GetReturnCode(self, *_args, **_kwargs)
ecc08ead
RD
194 return val
195 def SetReturnCode(self, *_args, **_kwargs):
5a2a9da2 196 val = framesc.wxDialog_SetReturnCode(self, *_args, **_kwargs)
ecc08ead
RD
197 return val
198 def CreateTextSizer(self, *_args, **_kwargs):
5a2a9da2 199 val = framesc.wxDialog_CreateTextSizer(self, *_args, **_kwargs)
ecc08ead
RD
200 return val
201 def CreateButtonSizer(self, *_args, **_kwargs):
5a2a9da2 202 val = framesc.wxDialog_CreateButtonSizer(self, *_args, **_kwargs)
ecc08ead
RD
203 return val
204 def __repr__(self):
5a2a9da2 205 return "<%s.%s instance; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
ecc08ead
RD
206class wxDialog(wxDialogPtr):
207 def __init__(self,*_args,**_kwargs):
5a2a9da2 208 self.this = framesc.new_wxDialog(*_args,**_kwargs)
ecc08ead 209 self.thisown = 1
0122b7e3 210 self._setOORInfo(self)
ecc08ead
RD
211
212
213
214def wxPreDialog(*_args,**_kwargs):
5a2a9da2 215 val = wxDialogPtr(framesc.new_wxPreDialog(*_args,**_kwargs))
ecc08ead 216 val.thisown = 1
17c0e08c 217 val._setOORInfo(val)
ecc08ead
RD
218 return val
219
220
9c039d08
RD
221class wxMiniFramePtr(wxFramePtr):
222 def __init__(self,this):
223 self.this = this
224 self.thisown = 0
09f3d4e6 225 def Create(self, *_args, **_kwargs):
5a2a9da2 226 val = framesc.wxMiniFrame_Create(self, *_args, **_kwargs)
09f3d4e6 227 return val
9c039d08 228 def __repr__(self):
5a2a9da2 229 return "<%s.%s instance; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
9c039d08 230class wxMiniFrame(wxMiniFramePtr):
1d99702e 231 def __init__(self,*_args,**_kwargs):
5a2a9da2 232 self.this = framesc.new_wxMiniFrame(*_args,**_kwargs)
9c039d08 233 self.thisown = 1
0122b7e3 234 self._setOORInfo(self)
9c039d08
RD
235
236
237
09f3d4e6 238def wxPreMiniFrame(*_args,**_kwargs):
5a2a9da2 239 val = wxMiniFramePtr(framesc.new_wxPreMiniFrame(*_args,**_kwargs))
09f3d4e6 240 val.thisown = 1
17c0e08c 241 val._setOORInfo(val)
09f3d4e6
RD
242 return val
243
9c039d08 244
b5a5d647
RD
245class wxSplashScreenWindowPtr(wxWindowPtr):
246 def __init__(self,this):
247 self.this = this
248 self.thisown = 0
249 def SetBitmap(self, *_args, **_kwargs):
5a2a9da2 250 val = framesc.wxSplashScreenWindow_SetBitmap(self, *_args, **_kwargs)
b5a5d647
RD
251 return val
252 def GetBitmap(self, *_args, **_kwargs):
5a2a9da2 253 val = framesc.wxSplashScreenWindow_GetBitmap(self, *_args, **_kwargs)
b5a5d647
RD
254 if val: val = wxBitmapPtr(val)
255 return val
256 def __repr__(self):
5a2a9da2 257 return "<%s.%s instance; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b5a5d647
RD
258class wxSplashScreenWindow(wxSplashScreenWindowPtr):
259 def __init__(self,*_args,**_kwargs):
5a2a9da2 260 self.this = framesc.new_wxSplashScreenWindow(*_args,**_kwargs)
b5a5d647 261 self.thisown = 1
aacd7bb6 262 self._setOORInfo(self)
b5a5d647
RD
263
264
265
266
267class wxSplashScreenPtr(wxFramePtr):
268 def __init__(self,this):
269 self.this = this
270 self.thisown = 0
271 def GetSplashStyle(self, *_args, **_kwargs):
5a2a9da2 272 val = framesc.wxSplashScreen_GetSplashStyle(self, *_args, **_kwargs)
b5a5d647
RD
273 return val
274 def GetSplashWindow(self, *_args, **_kwargs):
5a2a9da2 275 val = framesc.wxSplashScreen_GetSplashWindow(self, *_args, **_kwargs)
b5a5d647
RD
276 if val: val = wxSplashScreenWindowPtr(val)
277 return val
278 def GetTimeout(self, *_args, **_kwargs):
5a2a9da2 279 val = framesc.wxSplashScreen_GetTimeout(self, *_args, **_kwargs)
b5a5d647
RD
280 return val
281 def __repr__(self):
5a2a9da2 282 return "<%s.%s instance; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b5a5d647
RD
283class wxSplashScreen(wxSplashScreenPtr):
284 def __init__(self,*_args,**_kwargs):
5a2a9da2 285 self.this = framesc.new_wxSplashScreen(*_args,**_kwargs)
b5a5d647 286 self.thisown = 1
aacd7bb6 287 self._setOORInfo(self)
b5a5d647
RD
288
289
290
291
9c039d08
RD
292
293
294#-------------- FUNCTION WRAPPERS ------------------
295
296
297
298#-------------- VARIABLE WRAPPERS ------------------
299
f6bcfd97
BP
300wxFULLSCREEN_NOMENUBAR = framesc.wxFULLSCREEN_NOMENUBAR
301wxFULLSCREEN_NOTOOLBAR = framesc.wxFULLSCREEN_NOTOOLBAR
302wxFULLSCREEN_NOSTATUSBAR = framesc.wxFULLSCREEN_NOSTATUSBAR
303wxFULLSCREEN_NOBORDER = framesc.wxFULLSCREEN_NOBORDER
304wxFULLSCREEN_NOCAPTION = framesc.wxFULLSCREEN_NOCAPTION
305wxFULLSCREEN_ALL = framesc.wxFULLSCREEN_ALL
ecc08ead 306wxTOPLEVEL_EX_DIALOG = framesc.wxTOPLEVEL_EX_DIALOG
b5a5d647
RD
307wxSPLASH_CENTRE_ON_PARENT = framesc.wxSPLASH_CENTRE_ON_PARENT
308wxSPLASH_CENTRE_ON_SCREEN = framesc.wxSPLASH_CENTRE_ON_SCREEN
309wxSPLASH_NO_CENTRE = framesc.wxSPLASH_NO_CENTRE
310wxSPLASH_TIMEOUT = framesc.wxSPLASH_TIMEOUT
311wxSPLASH_NO_TIMEOUT = framesc.wxSPLASH_NO_TIMEOUT