]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/frames.py
Second phase of OOR completed. (Original python object return for
[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 windows import *
9
10 from clip_dnd import *
11
12 from stattool import *
13
14 from controls import *
15
16 from events import *
17 import wx
18 class wxTopLevelWindowPtr(wxWindowPtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
22 def Create(self, *_args, **_kwargs):
23 val = apply(framesc.wxTopLevelWindow_Create,(self,) + _args, _kwargs)
24 return val
25 def Maximize(self, *_args, **_kwargs):
26 val = apply(framesc.wxTopLevelWindow_Maximize,(self,) + _args, _kwargs)
27 return val
28 def Restore(self, *_args, **_kwargs):
29 val = apply(framesc.wxTopLevelWindow_Restore,(self,) + _args, _kwargs)
30 return val
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)
39 return val
40 def GetIcon(self, *_args, **_kwargs):
41 val = apply(framesc.wxTopLevelWindow_GetIcon,(self,) + _args, _kwargs)
42 if val: val = wxIconPtr(val)
43 return val
44 def SetIcon(self, *_args, **_kwargs):
45 val = apply(framesc.wxTopLevelWindow_SetIcon,(self,) + _args, _kwargs)
46 return val
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
53 def SetTitle(self, *_args, **_kwargs):
54 val = apply(framesc.wxTopLevelWindow_SetTitle,(self,) + _args, _kwargs)
55 return val
56 def GetTitle(self, *_args, **_kwargs):
57 val = apply(framesc.wxTopLevelWindow_GetTitle,(self,) + _args, _kwargs)
58 return val
59 def __repr__(self):
60 return "<C wxTopLevelWindow instance at %s>" % (self.this,)
61 class wxTopLevelWindow(wxTopLevelWindowPtr):
62 def __init__(self,*_args,**_kwargs):
63 self.this = apply(framesc.new_wxTopLevelWindow,_args,_kwargs)
64 self.thisown = 1
65 self._setOORInfo(self)
66
67
68
69 def wxPreTopLevelWindow(*_args,**_kwargs):
70 val = wxTopLevelWindowPtr(apply(framesc.new_wxPreTopLevelWindow,_args,_kwargs))
71 val.thisown = 1
72 return val
73
74
75 class wxFramePtr(wxTopLevelWindowPtr):
76 def __init__(self,this):
77 self.this = this
78 self.thisown = 0
79 def Create(self, *_args, **_kwargs):
80 val = apply(framesc.wxFrame_Create,(self,) + _args, _kwargs)
81 return val
82 def GetClientAreaOrigin(self, *_args, **_kwargs):
83 val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs)
84 if val: val = wxPointPtr(val) ; val.thisown = 1
85 return val
86 def SetMenuBar(self, *_args, **_kwargs):
87 val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
88 return val
89 def GetMenuBar(self, *_args, **_kwargs):
90 val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
91 return val
92 def Command(self, *_args, **_kwargs):
93 val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
94 return val
95 def ProcessCommand(self, *_args, **_kwargs):
96 val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
97 return val
98 def CreateStatusBar(self, *_args, **_kwargs):
99 val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
100 return val
101 def GetStatusBar(self, *_args, **_kwargs):
102 val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
103 return val
104 def SetStatusBar(self, *_args, **_kwargs):
105 val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
106 return val
107 def SetStatusText(self, *_args, **_kwargs):
108 val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
109 return val
110 def SetStatusWidths(self, *_args, **_kwargs):
111 val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
112 return val
113 def CreateToolBar(self, *_args, **_kwargs):
114 val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
115 return val
116 def GetToolBar(self, *_args, **_kwargs):
117 val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs)
118 return val
119 def SetToolBar(self, *_args, **_kwargs):
120 val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
121 return val
122 def __repr__(self):
123 return "<C wxFrame instance at %s>" % (self.this,)
124 class wxFrame(wxFramePtr):
125 def __init__(self,*_args,**_kwargs):
126 self.this = apply(framesc.new_wxFrame,_args,_kwargs)
127 self.thisown = 1
128 self._setOORInfo(self)
129
130
131
132 def wxPreFrame(*_args,**_kwargs):
133 val = wxFramePtr(apply(framesc.new_wxPreFrame,_args,_kwargs))
134 val.thisown = 1
135 val._setOORInfo(self)
136 return val
137
138
139 class wxDialogPtr(wxTopLevelWindowPtr):
140 def __init__(self,this):
141 self.this = this
142 self.thisown = 0
143 def Create(self, *_args, **_kwargs):
144 val = apply(framesc.wxDialog_Create,(self,) + _args, _kwargs)
145 return val
146 def Centre(self, *_args, **_kwargs):
147 val = apply(framesc.wxDialog_Centre,(self,) + _args, _kwargs)
148 return val
149 def EndModal(self, *_args, **_kwargs):
150 val = apply(framesc.wxDialog_EndModal,(self,) + _args, _kwargs)
151 return val
152 def SetModal(self, *_args, **_kwargs):
153 val = apply(framesc.wxDialog_SetModal,(self,) + _args, _kwargs)
154 return val
155 def IsModal(self, *_args, **_kwargs):
156 val = apply(framesc.wxDialog_IsModal,(self,) + _args, _kwargs)
157 return val
158 def ShowModal(self, *_args, **_kwargs):
159 val = apply(framesc.wxDialog_ShowModal,(self,) + _args, _kwargs)
160 return val
161 def GetReturnCode(self, *_args, **_kwargs):
162 val = apply(framesc.wxDialog_GetReturnCode,(self,) + _args, _kwargs)
163 return val
164 def SetReturnCode(self, *_args, **_kwargs):
165 val = apply(framesc.wxDialog_SetReturnCode,(self,) + _args, _kwargs)
166 return val
167 def CreateTextSizer(self, *_args, **_kwargs):
168 val = apply(framesc.wxDialog_CreateTextSizer,(self,) + _args, _kwargs)
169 return val
170 def CreateButtonSizer(self, *_args, **_kwargs):
171 val = apply(framesc.wxDialog_CreateButtonSizer,(self,) + _args, _kwargs)
172 return val
173 def __repr__(self):
174 return "<C wxDialog instance at %s>" % (self.this,)
175 class wxDialog(wxDialogPtr):
176 def __init__(self,*_args,**_kwargs):
177 self.this = apply(framesc.new_wxDialog,_args,_kwargs)
178 self.thisown = 1
179 self._setOORInfo(self)
180
181
182
183 def wxPreDialog(*_args,**_kwargs):
184 val = wxDialogPtr(apply(framesc.new_wxPreDialog,_args,_kwargs))
185 val.thisown = 1
186 val._setOORInfo(self)
187 return val
188
189
190 class wxMiniFramePtr(wxFramePtr):
191 def __init__(self,this):
192 self.this = this
193 self.thisown = 0
194 def Create(self, *_args, **_kwargs):
195 val = apply(framesc.wxMiniFrame_Create,(self,) + _args, _kwargs)
196 return val
197 def __repr__(self):
198 return "<C wxMiniFrame instance at %s>" % (self.this,)
199 class wxMiniFrame(wxMiniFramePtr):
200 def __init__(self,*_args,**_kwargs):
201 self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
202 self.thisown = 1
203 self._setOORInfo(self)
204
205
206
207 def wxPreMiniFrame(*_args,**_kwargs):
208 val = wxMiniFramePtr(apply(framesc.new_wxPreMiniFrame,_args,_kwargs))
209 val.thisown = 1
210 val._setOORInfo(self)
211 return val
212
213
214 class wxTipWindowPtr(wxFramePtr):
215 def __init__(self,this):
216 self.this = this
217 self.thisown = 0
218 def __repr__(self):
219 return "<C wxTipWindow instance at %s>" % (self.this,)
220 class wxTipWindow(wxTipWindowPtr):
221 def __init__(self,*_args,**_kwargs):
222 self.this = apply(framesc.new_wxTipWindow,_args,_kwargs)
223 self.thisown = 1
224 self._setOORInfo(self)
225
226
227
228
229
230
231 #-------------- FUNCTION WRAPPERS ------------------
232
233
234
235 #-------------- VARIABLE WRAPPERS ------------------
236
237 wxFULLSCREEN_NOMENUBAR = framesc.wxFULLSCREEN_NOMENUBAR
238 wxFULLSCREEN_NOTOOLBAR = framesc.wxFULLSCREEN_NOTOOLBAR
239 wxFULLSCREEN_NOSTATUSBAR = framesc.wxFULLSCREEN_NOSTATUSBAR
240 wxFULLSCREEN_NOBORDER = framesc.wxFULLSCREEN_NOBORDER
241 wxFULLSCREEN_NOCAPTION = framesc.wxFULLSCREEN_NOCAPTION
242 wxFULLSCREEN_ALL = framesc.wxFULLSCREEN_ALL
243 wxTOPLEVEL_EX_DIALOG = framesc.wxTOPLEVEL_EX_DIALOG