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