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