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