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