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