]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows3.py
Added SplitTree sample to the demo
[wxWidgets.git] / wxPython / src / gtk / windows3.py
CommitLineData
08127323
RD
1# This file was created automatically by SWIG.
2import windows3c
3
4from misc import *
5
6from gdi import *
7
8from windows import *
9
b1462dfa
RD
10from clip_dnd import *
11
08127323
RD
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
1d99702e
RD
28 def SetEdge(self, *_args, **_kwargs):
29 val = apply(windows3c.wxSashEvent_SetEdge,(self,) + _args, _kwargs)
08127323 30 return val
1d99702e
RD
31 def GetEdge(self, *_args, **_kwargs):
32 val = apply(windows3c.wxSashEvent_GetEdge,(self,) + _args, _kwargs)
08127323 33 return val
1d99702e
RD
34 def SetDragRect(self, *_args, **_kwargs):
35 val = apply(windows3c.wxSashEvent_SetDragRect,(self,) + _args, _kwargs)
08127323 36 return val
1d99702e
RD
37 def GetDragRect(self, *_args, **_kwargs):
38 val = apply(windows3c.wxSashEvent_GetDragRect,(self,) + _args, _kwargs)
39 if val: val = wxRectPtr(val) ; val.thisown = 1
08127323 40 return val
1d99702e
RD
41 def SetDragStatus(self, *_args, **_kwargs):
42 val = apply(windows3c.wxSashEvent_SetDragStatus,(self,) + _args, _kwargs)
08127323 43 return val
1d99702e
RD
44 def GetDragStatus(self, *_args, **_kwargs):
45 val = apply(windows3c.wxSashEvent_GetDragStatus,(self,) + _args, _kwargs)
08127323
RD
46 return val
47 def __repr__(self):
1d99702e 48 return "<C wxSashEvent instance at %s>" % (self.this,)
08127323 49class wxSashEvent(wxSashEventPtr):
aa2a5b86
RD
50 def __init__(self,*_args,**_kwargs):
51 self.this = apply(windows3c.new_wxSashEvent,_args,_kwargs)
52 self.thisown = 1
08127323
RD
53
54
55
56
57class wxSashWindowPtr(wxWindowPtr):
58 def __init__(self,this):
59 self.this = this
60 self.thisown = 0
aa2a5b86
RD
61 def Create(self, *_args, **_kwargs):
62 val = apply(windows3c.wxSashWindow_Create,(self,) + _args, _kwargs)
63 return val
1d99702e
RD
64 def GetSashVisible(self, *_args, **_kwargs):
65 val = apply(windows3c.wxSashWindow_GetSashVisible,(self,) + _args, _kwargs)
08127323 66 return val
1d99702e
RD
67 def GetDefaultBorderSize(self, *_args, **_kwargs):
68 val = apply(windows3c.wxSashWindow_GetDefaultBorderSize,(self,) + _args, _kwargs)
08127323 69 return val
1d99702e
RD
70 def GetEdgeMargin(self, *_args, **_kwargs):
71 val = apply(windows3c.wxSashWindow_GetEdgeMargin,(self,) + _args, _kwargs)
08127323 72 return val
1d99702e
RD
73 def GetExtraBorderSize(self, *_args, **_kwargs):
74 val = apply(windows3c.wxSashWindow_GetExtraBorderSize,(self,) + _args, _kwargs)
08127323 75 return val
1d99702e
RD
76 def GetMaximumSizeX(self, *_args, **_kwargs):
77 val = apply(windows3c.wxSashWindow_GetMaximumSizeX,(self,) + _args, _kwargs)
08127323 78 return val
1d99702e
RD
79 def GetMaximumSizeY(self, *_args, **_kwargs):
80 val = apply(windows3c.wxSashWindow_GetMaximumSizeY,(self,) + _args, _kwargs)
08127323 81 return val
1d99702e
RD
82 def GetMinimumSizeX(self, *_args, **_kwargs):
83 val = apply(windows3c.wxSashWindow_GetMinimumSizeX,(self,) + _args, _kwargs)
08127323 84 return val
1d99702e
RD
85 def GetMinimumSizeY(self, *_args, **_kwargs):
86 val = apply(windows3c.wxSashWindow_GetMinimumSizeY,(self,) + _args, _kwargs)
08127323 87 return val
1d99702e
RD
88 def HasBorder(self, *_args, **_kwargs):
89 val = apply(windows3c.wxSashWindow_HasBorder,(self,) + _args, _kwargs)
08127323 90 return val
1d99702e
RD
91 def SetDefaultBorderSize(self, *_args, **_kwargs):
92 val = apply(windows3c.wxSashWindow_SetDefaultBorderSize,(self,) + _args, _kwargs)
08127323 93 return val
1d99702e
RD
94 def SetExtraBorderSize(self, *_args, **_kwargs):
95 val = apply(windows3c.wxSashWindow_SetExtraBorderSize,(self,) + _args, _kwargs)
08127323 96 return val
1d99702e
RD
97 def SetMaximumSizeX(self, *_args, **_kwargs):
98 val = apply(windows3c.wxSashWindow_SetMaximumSizeX,(self,) + _args, _kwargs)
08127323 99 return val
1d99702e
RD
100 def SetMaximumSizeY(self, *_args, **_kwargs):
101 val = apply(windows3c.wxSashWindow_SetMaximumSizeY,(self,) + _args, _kwargs)
08127323 102 return val
1d99702e
RD
103 def SetMinimumSizeX(self, *_args, **_kwargs):
104 val = apply(windows3c.wxSashWindow_SetMinimumSizeX,(self,) + _args, _kwargs)
08127323 105 return val
1d99702e
RD
106 def SetMinimumSizeY(self, *_args, **_kwargs):
107 val = apply(windows3c.wxSashWindow_SetMinimumSizeY,(self,) + _args, _kwargs)
08127323 108 return val
1d99702e
RD
109 def SetSashVisible(self, *_args, **_kwargs):
110 val = apply(windows3c.wxSashWindow_SetSashVisible,(self,) + _args, _kwargs)
08127323 111 return val
1d99702e
RD
112 def SetSashBorder(self, *_args, **_kwargs):
113 val = apply(windows3c.wxSashWindow_SetSashBorder,(self,) + _args, _kwargs)
08127323
RD
114 return val
115 def __repr__(self):
1d99702e 116 return "<C wxSashWindow instance at %s>" % (self.this,)
08127323 117class wxSashWindow(wxSashWindowPtr):
1d99702e
RD
118 def __init__(self,*_args,**_kwargs):
119 self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs)
08127323 120 self.thisown = 1
0220cbc1 121 self._setOORInfo(self)
08127323
RD
122
123
124
aa2a5b86
RD
125def wxPreSashWindow(*_args,**_kwargs):
126 val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs))
127 val.thisown = 1
17c0e08c 128 val._setOORInfo(val)
aa2a5b86
RD
129 return val
130
08127323
RD
131
132class wxQueryLayoutInfoEventPtr(wxEventPtr):
133 def __init__(self,this):
134 self.this = this
135 self.thisown = 0
1d99702e
RD
136 def SetRequestedLength(self, *_args, **_kwargs):
137 val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength,(self,) + _args, _kwargs)
08127323 138 return val
1d99702e
RD
139 def GetRequestedLength(self, *_args, **_kwargs):
140 val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength,(self,) + _args, _kwargs)
08127323 141 return val
1d99702e
RD
142 def SetFlags(self, *_args, **_kwargs):
143 val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags,(self,) + _args, _kwargs)
08127323 144 return val
1d99702e
RD
145 def GetFlags(self, *_args, **_kwargs):
146 val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags,(self,) + _args, _kwargs)
08127323 147 return val
1d99702e
RD
148 def SetSize(self, *_args, **_kwargs):
149 val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize,(self,) + _args, _kwargs)
08127323 150 return val
1d99702e
RD
151 def GetSize(self, *_args, **_kwargs):
152 val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize,(self,) + _args, _kwargs)
153 if val: val = wxSizePtr(val) ; val.thisown = 1
08127323 154 return val
1d99702e
RD
155 def SetOrientation(self, *_args, **_kwargs):
156 val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation,(self,) + _args, _kwargs)
08127323 157 return val
1d99702e
RD
158 def GetOrientation(self, *_args, **_kwargs):
159 val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation,(self,) + _args, _kwargs)
08127323 160 return val
1d99702e
RD
161 def SetAlignment(self, *_args, **_kwargs):
162 val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment,(self,) + _args, _kwargs)
08127323 163 return val
1d99702e
RD
164 def GetAlignment(self, *_args, **_kwargs):
165 val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment,(self,) + _args, _kwargs)
08127323
RD
166 return val
167 def __repr__(self):
1d99702e 168 return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,)
08127323 169class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
aa2a5b86
RD
170 def __init__(self,*_args,**_kwargs):
171 self.this = apply(windows3c.new_wxQueryLayoutInfoEvent,_args,_kwargs)
172 self.thisown = 1
08127323
RD
173
174
175
176
177class wxCalculateLayoutEventPtr(wxEventPtr):
178 def __init__(self,this):
179 self.this = this
180 self.thisown = 0
1d99702e
RD
181 def SetFlags(self, *_args, **_kwargs):
182 val = apply(windows3c.wxCalculateLayoutEvent_SetFlags,(self,) + _args, _kwargs)
08127323 183 return val
1d99702e
RD
184 def GetFlags(self, *_args, **_kwargs):
185 val = apply(windows3c.wxCalculateLayoutEvent_GetFlags,(self,) + _args, _kwargs)
08127323 186 return val
1d99702e
RD
187 def SetRect(self, *_args, **_kwargs):
188 val = apply(windows3c.wxCalculateLayoutEvent_SetRect,(self,) + _args, _kwargs)
08127323 189 return val
1d99702e
RD
190 def GetRect(self, *_args, **_kwargs):
191 val = apply(windows3c.wxCalculateLayoutEvent_GetRect,(self,) + _args, _kwargs)
192 if val: val = wxRectPtr(val) ; val.thisown = 1
08127323
RD
193 return val
194 def __repr__(self):
1d99702e 195 return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,)
08127323 196class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
aa2a5b86
RD
197 def __init__(self,*_args,**_kwargs):
198 self.this = apply(windows3c.new_wxCalculateLayoutEvent,_args,_kwargs)
199 self.thisown = 1
08127323
RD
200
201
202
203
204class wxSashLayoutWindowPtr(wxSashWindowPtr):
205 def __init__(self,this):
206 self.this = this
207 self.thisown = 0
aa2a5b86
RD
208 def Create(self, *_args, **_kwargs):
209 val = apply(windows3c.wxSashLayoutWindow_Create,(self,) + _args, _kwargs)
210 return val
1d99702e
RD
211 def GetAlignment(self, *_args, **_kwargs):
212 val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs)
08127323 213 return val
1d99702e
RD
214 def GetOrientation(self, *_args, **_kwargs):
215 val = apply(windows3c.wxSashLayoutWindow_GetOrientation,(self,) + _args, _kwargs)
08127323 216 return val
1d99702e
RD
217 def SetAlignment(self, *_args, **_kwargs):
218 val = apply(windows3c.wxSashLayoutWindow_SetAlignment,(self,) + _args, _kwargs)
08127323 219 return val
1d99702e
RD
220 def SetDefaultSize(self, *_args, **_kwargs):
221 val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize,(self,) + _args, _kwargs)
08127323 222 return val
1d99702e
RD
223 def SetOrientation(self, *_args, **_kwargs):
224 val = apply(windows3c.wxSashLayoutWindow_SetOrientation,(self,) + _args, _kwargs)
08127323
RD
225 return val
226 def __repr__(self):
1d99702e 227 return "<C wxSashLayoutWindow instance at %s>" % (self.this,)
08127323 228class wxSashLayoutWindow(wxSashLayoutWindowPtr):
1d99702e
RD
229 def __init__(self,*_args,**_kwargs):
230 self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs)
08127323 231 self.thisown = 1
0220cbc1 232 self._setOORInfo(self)
08127323
RD
233
234
235
aa2a5b86
RD
236def wxPreSashLayoutWindow(*_args,**_kwargs):
237 val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs))
238 val.thisown = 1
17c0e08c 239 val._setOORInfo(val)
aa2a5b86
RD
240 return val
241
08127323 242
9df61a29 243class wxLayoutAlgorithmPtr(wxObjectPtr):
08127323
RD
244 def __init__(self,this):
245 self.this = this
246 self.thisown = 0
1d99702e 247 def __del__(self,windows3c=windows3c):
08127323 248 if self.thisown == 1 :
1d99702e
RD
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)
cf694132 258 return val
08127323 259 def __repr__(self):
1d99702e 260 return "<C wxLayoutAlgorithm instance at %s>" % (self.this,)
08127323 261class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
1d99702e
RD
262 def __init__(self,*_args,**_kwargs):
263 self.this = apply(windows3c.new_wxLayoutAlgorithm,_args,_kwargs)
08127323
RD
264 self.thisown = 1
265
266
267
268
0220cbc1
RD
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
17c0e08c 292 val._setOORInfo(val)
0220cbc1
RD
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
17c0e08c 323 val._setOORInfo(val)
0220cbc1
RD
324 return val
325
326
2481a376
RD
327class wxTipWindowPtr(wxPopupTransientWindowPtr):
328 def __init__(self,this):
329 self.this = this
330 self.thisown = 0
331 def __repr__(self):
332 return "<C wxTipWindow instance at %s>" % (self.this,)
333class wxTipWindow(wxTipWindowPtr):
334 def __init__(self,*_args,**_kwargs):
335 self.this = apply(windows3c.new_wxTipWindow,_args,_kwargs)
336 self.thisown = 1
337 self._setOORInfo(self)
338
339
340
341
08127323
RD
342
343
344#-------------- FUNCTION WRAPPERS ------------------
345
346
347
348#-------------- VARIABLE WRAPPERS ------------------
349
350wxSASH_TOP = windows3c.wxSASH_TOP
351wxSASH_RIGHT = windows3c.wxSASH_RIGHT
352wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM
353wxSASH_LEFT = windows3c.wxSASH_LEFT
354wxSASH_NONE = windows3c.wxSASH_NONE
355wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED
356wxSW_3D = windows3c.wxSW_3D
1b62f00d
RD
357wxSW_3DSASH = windows3c.wxSW_3DSASH
358wxSW_3DBORDER = windows3c.wxSW_3DBORDER
359wxSW_BORDER = windows3c.wxSW_BORDER
08127323
RD
360wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK
361wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE
362wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL
363wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL
364wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE
365wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP
366wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT
367wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT
368wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM
369wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO
370wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT