]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows3.py
corrected several errors when generating project file with all configs
[wxWidgets.git] / wxPython / src / msw / windows3.py
1 # This file was created automatically by SWIG.
2 import windows3c
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 windows2 import *
15
16 from controls import *
17
18 from events import *
19
20 from mdi import *
21
22 from frames import *
23
24 from stattool import *
25 import wx
26 class wxSashEventPtr(wxCommandEventPtr):
27 def __init__(self,this):
28 self.this = this
29 self.thisown = 0
30 def SetEdge(self, *_args, **_kwargs):
31 val = apply(windows3c.wxSashEvent_SetEdge,(self,) + _args, _kwargs)
32 return val
33 def GetEdge(self, *_args, **_kwargs):
34 val = apply(windows3c.wxSashEvent_GetEdge,(self,) + _args, _kwargs)
35 return val
36 def SetDragRect(self, *_args, **_kwargs):
37 val = apply(windows3c.wxSashEvent_SetDragRect,(self,) + _args, _kwargs)
38 return val
39 def GetDragRect(self, *_args, **_kwargs):
40 val = apply(windows3c.wxSashEvent_GetDragRect,(self,) + _args, _kwargs)
41 if val: val = wxRectPtr(val) ; val.thisown = 1
42 return val
43 def SetDragStatus(self, *_args, **_kwargs):
44 val = apply(windows3c.wxSashEvent_SetDragStatus,(self,) + _args, _kwargs)
45 return val
46 def GetDragStatus(self, *_args, **_kwargs):
47 val = apply(windows3c.wxSashEvent_GetDragStatus,(self,) + _args, _kwargs)
48 return val
49 def __repr__(self):
50 return "<C wxSashEvent instance at %s>" % (self.this,)
51 class wxSashEvent(wxSashEventPtr):
52 def __init__(self,*_args,**_kwargs):
53 self.this = apply(windows3c.new_wxSashEvent,_args,_kwargs)
54 self.thisown = 1
55
56
57
58
59 class wxSashWindowPtr(wxWindowPtr):
60 def __init__(self,this):
61 self.this = this
62 self.thisown = 0
63 def Create(self, *_args, **_kwargs):
64 val = apply(windows3c.wxSashWindow_Create,(self,) + _args, _kwargs)
65 return val
66 def GetSashVisible(self, *_args, **_kwargs):
67 val = apply(windows3c.wxSashWindow_GetSashVisible,(self,) + _args, _kwargs)
68 return val
69 def GetDefaultBorderSize(self, *_args, **_kwargs):
70 val = apply(windows3c.wxSashWindow_GetDefaultBorderSize,(self,) + _args, _kwargs)
71 return val
72 def GetEdgeMargin(self, *_args, **_kwargs):
73 val = apply(windows3c.wxSashWindow_GetEdgeMargin,(self,) + _args, _kwargs)
74 return val
75 def GetExtraBorderSize(self, *_args, **_kwargs):
76 val = apply(windows3c.wxSashWindow_GetExtraBorderSize,(self,) + _args, _kwargs)
77 return val
78 def GetMaximumSizeX(self, *_args, **_kwargs):
79 val = apply(windows3c.wxSashWindow_GetMaximumSizeX,(self,) + _args, _kwargs)
80 return val
81 def GetMaximumSizeY(self, *_args, **_kwargs):
82 val = apply(windows3c.wxSashWindow_GetMaximumSizeY,(self,) + _args, _kwargs)
83 return val
84 def GetMinimumSizeX(self, *_args, **_kwargs):
85 val = apply(windows3c.wxSashWindow_GetMinimumSizeX,(self,) + _args, _kwargs)
86 return val
87 def GetMinimumSizeY(self, *_args, **_kwargs):
88 val = apply(windows3c.wxSashWindow_GetMinimumSizeY,(self,) + _args, _kwargs)
89 return val
90 def HasBorder(self, *_args, **_kwargs):
91 val = apply(windows3c.wxSashWindow_HasBorder,(self,) + _args, _kwargs)
92 return val
93 def SetDefaultBorderSize(self, *_args, **_kwargs):
94 val = apply(windows3c.wxSashWindow_SetDefaultBorderSize,(self,) + _args, _kwargs)
95 return val
96 def SetExtraBorderSize(self, *_args, **_kwargs):
97 val = apply(windows3c.wxSashWindow_SetExtraBorderSize,(self,) + _args, _kwargs)
98 return val
99 def SetMaximumSizeX(self, *_args, **_kwargs):
100 val = apply(windows3c.wxSashWindow_SetMaximumSizeX,(self,) + _args, _kwargs)
101 return val
102 def SetMaximumSizeY(self, *_args, **_kwargs):
103 val = apply(windows3c.wxSashWindow_SetMaximumSizeY,(self,) + _args, _kwargs)
104 return val
105 def SetMinimumSizeX(self, *_args, **_kwargs):
106 val = apply(windows3c.wxSashWindow_SetMinimumSizeX,(self,) + _args, _kwargs)
107 return val
108 def SetMinimumSizeY(self, *_args, **_kwargs):
109 val = apply(windows3c.wxSashWindow_SetMinimumSizeY,(self,) + _args, _kwargs)
110 return val
111 def SetSashVisible(self, *_args, **_kwargs):
112 val = apply(windows3c.wxSashWindow_SetSashVisible,(self,) + _args, _kwargs)
113 return val
114 def SetSashBorder(self, *_args, **_kwargs):
115 val = apply(windows3c.wxSashWindow_SetSashBorder,(self,) + _args, _kwargs)
116 return val
117 def __repr__(self):
118 return "<C wxSashWindow instance at %s>" % (self.this,)
119 class wxSashWindow(wxSashWindowPtr):
120 def __init__(self,*_args,**_kwargs):
121 self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs)
122 self.thisown = 1
123 self._setOORInfo(self)
124
125
126
127 def wxPreSashWindow(*_args,**_kwargs):
128 val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs))
129 val.thisown = 1
130 val._setOORInfo(val)
131 return val
132
133
134 class wxQueryLayoutInfoEventPtr(wxEventPtr):
135 def __init__(self,this):
136 self.this = this
137 self.thisown = 0
138 def SetRequestedLength(self, *_args, **_kwargs):
139 val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength,(self,) + _args, _kwargs)
140 return val
141 def GetRequestedLength(self, *_args, **_kwargs):
142 val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength,(self,) + _args, _kwargs)
143 return val
144 def SetFlags(self, *_args, **_kwargs):
145 val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags,(self,) + _args, _kwargs)
146 return val
147 def GetFlags(self, *_args, **_kwargs):
148 val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags,(self,) + _args, _kwargs)
149 return val
150 def SetSize(self, *_args, **_kwargs):
151 val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize,(self,) + _args, _kwargs)
152 return val
153 def GetSize(self, *_args, **_kwargs):
154 val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize,(self,) + _args, _kwargs)
155 if val: val = wxSizePtr(val) ; val.thisown = 1
156 return val
157 def SetOrientation(self, *_args, **_kwargs):
158 val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation,(self,) + _args, _kwargs)
159 return val
160 def GetOrientation(self, *_args, **_kwargs):
161 val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation,(self,) + _args, _kwargs)
162 return val
163 def SetAlignment(self, *_args, **_kwargs):
164 val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment,(self,) + _args, _kwargs)
165 return val
166 def GetAlignment(self, *_args, **_kwargs):
167 val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment,(self,) + _args, _kwargs)
168 return val
169 def __repr__(self):
170 return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,)
171 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
172 def __init__(self,*_args,**_kwargs):
173 self.this = apply(windows3c.new_wxQueryLayoutInfoEvent,_args,_kwargs)
174 self.thisown = 1
175
176
177
178
179 class wxCalculateLayoutEventPtr(wxEventPtr):
180 def __init__(self,this):
181 self.this = this
182 self.thisown = 0
183 def SetFlags(self, *_args, **_kwargs):
184 val = apply(windows3c.wxCalculateLayoutEvent_SetFlags,(self,) + _args, _kwargs)
185 return val
186 def GetFlags(self, *_args, **_kwargs):
187 val = apply(windows3c.wxCalculateLayoutEvent_GetFlags,(self,) + _args, _kwargs)
188 return val
189 def SetRect(self, *_args, **_kwargs):
190 val = apply(windows3c.wxCalculateLayoutEvent_SetRect,(self,) + _args, _kwargs)
191 return val
192 def GetRect(self, *_args, **_kwargs):
193 val = apply(windows3c.wxCalculateLayoutEvent_GetRect,(self,) + _args, _kwargs)
194 if val: val = wxRectPtr(val) ; val.thisown = 1
195 return val
196 def __repr__(self):
197 return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,)
198 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
199 def __init__(self,*_args,**_kwargs):
200 self.this = apply(windows3c.new_wxCalculateLayoutEvent,_args,_kwargs)
201 self.thisown = 1
202
203
204
205
206 class wxSashLayoutWindowPtr(wxSashWindowPtr):
207 def __init__(self,this):
208 self.this = this
209 self.thisown = 0
210 def Create(self, *_args, **_kwargs):
211 val = apply(windows3c.wxSashLayoutWindow_Create,(self,) + _args, _kwargs)
212 return val
213 def GetAlignment(self, *_args, **_kwargs):
214 val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs)
215 return val
216 def GetOrientation(self, *_args, **_kwargs):
217 val = apply(windows3c.wxSashLayoutWindow_GetOrientation,(self,) + _args, _kwargs)
218 return val
219 def SetAlignment(self, *_args, **_kwargs):
220 val = apply(windows3c.wxSashLayoutWindow_SetAlignment,(self,) + _args, _kwargs)
221 return val
222 def SetDefaultSize(self, *_args, **_kwargs):
223 val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize,(self,) + _args, _kwargs)
224 return val
225 def SetOrientation(self, *_args, **_kwargs):
226 val = apply(windows3c.wxSashLayoutWindow_SetOrientation,(self,) + _args, _kwargs)
227 return val
228 def __repr__(self):
229 return "<C wxSashLayoutWindow instance at %s>" % (self.this,)
230 class wxSashLayoutWindow(wxSashLayoutWindowPtr):
231 def __init__(self,*_args,**_kwargs):
232 self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs)
233 self.thisown = 1
234 self._setOORInfo(self)
235
236
237
238 def wxPreSashLayoutWindow(*_args,**_kwargs):
239 val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs))
240 val.thisown = 1
241 val._setOORInfo(val)
242 return val
243
244
245 class wxLayoutAlgorithmPtr(wxObjectPtr):
246 def __init__(self,this):
247 self.this = this
248 self.thisown = 0
249 def __del__(self,windows3c=windows3c):
250 if self.thisown == 1 :
251 windows3c.delete_wxLayoutAlgorithm(self)
252 def LayoutMDIFrame(self, *_args, **_kwargs):
253 val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self,) + _args, _kwargs)
254 return val
255 def LayoutFrame(self, *_args, **_kwargs):
256 val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame,(self,) + _args, _kwargs)
257 return val
258 def LayoutWindow(self, *_args, **_kwargs):
259 val = apply(windows3c.wxLayoutAlgorithm_LayoutWindow,(self,) + _args, _kwargs)
260 return val
261 def __repr__(self):
262 return "<C wxLayoutAlgorithm instance at %s>" % (self.this,)
263 class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
264 def __init__(self,*_args,**_kwargs):
265 self.this = apply(windows3c.new_wxLayoutAlgorithm,_args,_kwargs)
266 self.thisown = 1
267
268
269
270
271 class wxPopupWindowPtr(wxWindowPtr):
272 def __init__(self,this):
273 self.this = this
274 self.thisown = 0
275 def Create(self, *_args, **_kwargs):
276 val = apply(windows3c.wxPopupWindow_Create,(self,) + _args, _kwargs)
277 return val
278 def Position(self, *_args, **_kwargs):
279 val = apply(windows3c.wxPopupWindow_Position,(self,) + _args, _kwargs)
280 return val
281 def __repr__(self):
282 return "<C wxPopupWindow instance at %s>" % (self.this,)
283 class wxPopupWindow(wxPopupWindowPtr):
284 def __init__(self,*_args,**_kwargs):
285 self.this = apply(windows3c.new_wxPopupWindow,_args,_kwargs)
286 self.thisown = 1
287 self._setOORInfo(self)
288
289
290
291 def wxPrePopupWindow(*_args,**_kwargs):
292 val = wxPopupWindowPtr(apply(windows3c.new_wxPrePopupWindow,_args,_kwargs))
293 val.thisown = 1
294 val._setOORInfo(val)
295 return val
296
297
298 class wxPopupTransientWindowPtr(wxPopupWindowPtr):
299 def __init__(self,this):
300 self.this = this
301 self.thisown = 0
302 def _setCallbackInfo(self, *_args, **_kwargs):
303 val = apply(windows3c.wxPopupTransientWindow__setCallbackInfo,(self,) + _args, _kwargs)
304 return val
305 def Popup(self, *_args, **_kwargs):
306 val = apply(windows3c.wxPopupTransientWindow_Popup,(self,) + _args, _kwargs)
307 return val
308 def Dismiss(self, *_args, **_kwargs):
309 val = apply(windows3c.wxPopupTransientWindow_Dismiss,(self,) + _args, _kwargs)
310 return val
311 def __repr__(self):
312 return "<C wxPopupTransientWindow instance at %s>" % (self.this,)
313 class wxPopupTransientWindow(wxPopupTransientWindowPtr):
314 def __init__(self,*_args,**_kwargs):
315 self.this = apply(windows3c.new_wxPopupTransientWindow,_args,_kwargs)
316 self.thisown = 1
317 self._setCallbackInfo(self, wxPopupTransientWindow)
318 self._setOORInfo(self)
319
320
321
322 def wxPrePopupTransientWindow(*_args,**_kwargs):
323 val = wxPopupTransientWindowPtr(apply(windows3c.new_wxPrePopupTransientWindow,_args,_kwargs))
324 val.thisown = 1
325 val._setOORInfo(val)
326 return val
327
328
329 class wxTipWindowPtr(wxPopupTransientWindowPtr):
330 def __init__(self,this):
331 self.this = this
332 self.thisown = 0
333 def SetBoundingRect(self, *_args, **_kwargs):
334 val = apply(windows3c.wxTipWindow_SetBoundingRect,(self,) + _args, _kwargs)
335 return val
336 def Close(self, *_args, **_kwargs):
337 val = apply(windows3c.wxTipWindow_Close,(self,) + _args, _kwargs)
338 return val
339 def __repr__(self):
340 return "<C wxTipWindow instance at %s>" % (self.this,)
341 class wxTipWindow(wxTipWindowPtr):
342 def __init__(self,*_args,**_kwargs):
343 self.this = apply(windows3c.new_wxTipWindow,_args,_kwargs)
344 self.thisown = 1
345 self._setOORInfo(self)
346
347
348
349
350
351
352 #-------------- FUNCTION WRAPPERS ------------------
353
354
355
356 #-------------- VARIABLE WRAPPERS ------------------
357
358 wxSASH_TOP = windows3c.wxSASH_TOP
359 wxSASH_RIGHT = windows3c.wxSASH_RIGHT
360 wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM
361 wxSASH_LEFT = windows3c.wxSASH_LEFT
362 wxSASH_NONE = windows3c.wxSASH_NONE
363 wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED
364 wxSW_3D = windows3c.wxSW_3D
365 wxSW_3DSASH = windows3c.wxSW_3DSASH
366 wxSW_3DBORDER = windows3c.wxSW_3DBORDER
367 wxSW_BORDER = windows3c.wxSW_BORDER
368 wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK
369 wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE
370 wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL
371 wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL
372 wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE
373 wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP
374 wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT
375 wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT
376 wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM
377 wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO
378 wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT