]>
Commit | Line | Data |
---|---|---|
08127323 RD |
1 | # This file was created automatically by SWIG. |
2 | import windows3c | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
8 | from windows import * | |
9 | ||
b1462dfa RD |
10 | from clip_dnd import * |
11 | ||
08127323 RD |
12 | from windows2 import * |
13 | ||
14 | from controls import * | |
15 | ||
16 | from events import * | |
17 | ||
18 | from mdi import * | |
19 | ||
20 | from frames import * | |
21 | ||
22 | from stattool import * | |
23 | import wx | |
24 | class 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 | 49 | class wxSashEvent(wxSashEventPtr): |
09f3d4e6 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 | ||
57 | class wxSashWindowPtr(wxWindowPtr): | |
58 | def __init__(self,this): | |
59 | self.this = this | |
60 | self.thisown = 0 | |
09f3d4e6 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 | 117 | class wxSashWindow(wxSashWindowPtr): |
1d99702e RD |
118 | def __init__(self,*_args,**_kwargs): |
119 | self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs) | |
08127323 | 120 | self.thisown = 1 |
08127323 RD |
121 | |
122 | ||
123 | ||
09f3d4e6 RD |
124 | def wxPreSashWindow(*_args,**_kwargs): |
125 | val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs)) | |
126 | val.thisown = 1 | |
127 | return val | |
128 | ||
08127323 RD |
129 | |
130 | class wxQueryLayoutInfoEventPtr(wxEventPtr): | |
131 | def __init__(self,this): | |
132 | self.this = this | |
133 | self.thisown = 0 | |
1d99702e RD |
134 | def SetRequestedLength(self, *_args, **_kwargs): |
135 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength,(self,) + _args, _kwargs) | |
08127323 | 136 | return val |
1d99702e RD |
137 | def GetRequestedLength(self, *_args, **_kwargs): |
138 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength,(self,) + _args, _kwargs) | |
08127323 | 139 | return val |
1d99702e RD |
140 | def SetFlags(self, *_args, **_kwargs): |
141 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags,(self,) + _args, _kwargs) | |
08127323 | 142 | return val |
1d99702e RD |
143 | def GetFlags(self, *_args, **_kwargs): |
144 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags,(self,) + _args, _kwargs) | |
08127323 | 145 | return val |
1d99702e RD |
146 | def SetSize(self, *_args, **_kwargs): |
147 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize,(self,) + _args, _kwargs) | |
08127323 | 148 | return val |
1d99702e RD |
149 | def GetSize(self, *_args, **_kwargs): |
150 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize,(self,) + _args, _kwargs) | |
151 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
08127323 | 152 | return val |
1d99702e RD |
153 | def SetOrientation(self, *_args, **_kwargs): |
154 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation,(self,) + _args, _kwargs) | |
08127323 | 155 | return val |
1d99702e RD |
156 | def GetOrientation(self, *_args, **_kwargs): |
157 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation,(self,) + _args, _kwargs) | |
08127323 | 158 | return val |
1d99702e RD |
159 | def SetAlignment(self, *_args, **_kwargs): |
160 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment,(self,) + _args, _kwargs) | |
08127323 | 161 | return val |
1d99702e RD |
162 | def GetAlignment(self, *_args, **_kwargs): |
163 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment,(self,) + _args, _kwargs) | |
08127323 RD |
164 | return val |
165 | def __repr__(self): | |
1d99702e | 166 | return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,) |
08127323 | 167 | class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr): |
09f3d4e6 RD |
168 | def __init__(self,*_args,**_kwargs): |
169 | self.this = apply(windows3c.new_wxQueryLayoutInfoEvent,_args,_kwargs) | |
170 | self.thisown = 1 | |
08127323 RD |
171 | |
172 | ||
173 | ||
174 | ||
175 | class wxCalculateLayoutEventPtr(wxEventPtr): | |
176 | def __init__(self,this): | |
177 | self.this = this | |
178 | self.thisown = 0 | |
1d99702e RD |
179 | def SetFlags(self, *_args, **_kwargs): |
180 | val = apply(windows3c.wxCalculateLayoutEvent_SetFlags,(self,) + _args, _kwargs) | |
08127323 | 181 | return val |
1d99702e RD |
182 | def GetFlags(self, *_args, **_kwargs): |
183 | val = apply(windows3c.wxCalculateLayoutEvent_GetFlags,(self,) + _args, _kwargs) | |
08127323 | 184 | return val |
1d99702e RD |
185 | def SetRect(self, *_args, **_kwargs): |
186 | val = apply(windows3c.wxCalculateLayoutEvent_SetRect,(self,) + _args, _kwargs) | |
08127323 | 187 | return val |
1d99702e RD |
188 | def GetRect(self, *_args, **_kwargs): |
189 | val = apply(windows3c.wxCalculateLayoutEvent_GetRect,(self,) + _args, _kwargs) | |
190 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
08127323 RD |
191 | return val |
192 | def __repr__(self): | |
1d99702e | 193 | return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,) |
08127323 | 194 | class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr): |
09f3d4e6 RD |
195 | def __init__(self,*_args,**_kwargs): |
196 | self.this = apply(windows3c.new_wxCalculateLayoutEvent,_args,_kwargs) | |
197 | self.thisown = 1 | |
08127323 RD |
198 | |
199 | ||
200 | ||
201 | ||
202 | class wxSashLayoutWindowPtr(wxSashWindowPtr): | |
203 | def __init__(self,this): | |
204 | self.this = this | |
205 | self.thisown = 0 | |
09f3d4e6 RD |
206 | def Create(self, *_args, **_kwargs): |
207 | val = apply(windows3c.wxSashLayoutWindow_Create,(self,) + _args, _kwargs) | |
208 | return val | |
1d99702e RD |
209 | def GetAlignment(self, *_args, **_kwargs): |
210 | val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs) | |
08127323 | 211 | return val |
1d99702e RD |
212 | def GetOrientation(self, *_args, **_kwargs): |
213 | val = apply(windows3c.wxSashLayoutWindow_GetOrientation,(self,) + _args, _kwargs) | |
08127323 | 214 | return val |
1d99702e RD |
215 | def SetAlignment(self, *_args, **_kwargs): |
216 | val = apply(windows3c.wxSashLayoutWindow_SetAlignment,(self,) + _args, _kwargs) | |
08127323 | 217 | return val |
1d99702e RD |
218 | def SetDefaultSize(self, *_args, **_kwargs): |
219 | val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize,(self,) + _args, _kwargs) | |
08127323 | 220 | return val |
1d99702e RD |
221 | def SetOrientation(self, *_args, **_kwargs): |
222 | val = apply(windows3c.wxSashLayoutWindow_SetOrientation,(self,) + _args, _kwargs) | |
08127323 RD |
223 | return val |
224 | def __repr__(self): | |
1d99702e | 225 | return "<C wxSashLayoutWindow instance at %s>" % (self.this,) |
08127323 | 226 | class wxSashLayoutWindow(wxSashLayoutWindowPtr): |
1d99702e RD |
227 | def __init__(self,*_args,**_kwargs): |
228 | self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs) | |
08127323 | 229 | self.thisown = 1 |
08127323 RD |
230 | |
231 | ||
232 | ||
09f3d4e6 RD |
233 | def wxPreSashLayoutWindow(*_args,**_kwargs): |
234 | val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs)) | |
235 | val.thisown = 1 | |
236 | return val | |
237 | ||
08127323 | 238 | |
9416aa89 | 239 | class wxLayoutAlgorithmPtr(wxObjectPtr): |
08127323 RD |
240 | def __init__(self,this): |
241 | self.this = this | |
242 | self.thisown = 0 | |
1d99702e | 243 | def __del__(self,windows3c=windows3c): |
08127323 | 244 | if self.thisown == 1 : |
1d99702e RD |
245 | windows3c.delete_wxLayoutAlgorithm(self) |
246 | def LayoutMDIFrame(self, *_args, **_kwargs): | |
247 | val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self,) + _args, _kwargs) | |
248 | return val | |
249 | def LayoutFrame(self, *_args, **_kwargs): | |
250 | val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame,(self,) + _args, _kwargs) | |
251 | return val | |
252 | def LayoutWindow(self, *_args, **_kwargs): | |
253 | val = apply(windows3c.wxLayoutAlgorithm_LayoutWindow,(self,) + _args, _kwargs) | |
cf694132 | 254 | return val |
08127323 | 255 | def __repr__(self): |
1d99702e | 256 | return "<C wxLayoutAlgorithm instance at %s>" % (self.this,) |
08127323 | 257 | class wxLayoutAlgorithm(wxLayoutAlgorithmPtr): |
1d99702e RD |
258 | def __init__(self,*_args,**_kwargs): |
259 | self.this = apply(windows3c.new_wxLayoutAlgorithm,_args,_kwargs) | |
08127323 RD |
260 | self.thisown = 1 |
261 | ||
262 | ||
263 | ||
264 | ||
265 | ||
266 | ||
267 | #-------------- FUNCTION WRAPPERS ------------------ | |
268 | ||
269 | ||
270 | ||
271 | #-------------- VARIABLE WRAPPERS ------------------ | |
272 | ||
273 | wxSASH_TOP = windows3c.wxSASH_TOP | |
274 | wxSASH_RIGHT = windows3c.wxSASH_RIGHT | |
275 | wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM | |
276 | wxSASH_LEFT = windows3c.wxSASH_LEFT | |
277 | wxSASH_NONE = windows3c.wxSASH_NONE | |
278 | wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED | |
279 | wxSW_3D = windows3c.wxSW_3D | |
1b62f00d RD |
280 | wxSW_3DSASH = windows3c.wxSW_3DSASH |
281 | wxSW_3DBORDER = windows3c.wxSW_3DBORDER | |
282 | wxSW_BORDER = windows3c.wxSW_BORDER | |
08127323 RD |
283 | wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK |
284 | wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE | |
285 | wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL | |
286 | wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL | |
287 | wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE | |
288 | wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP | |
289 | wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT | |
290 | wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT | |
291 | wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM | |
292 | wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO | |
293 | wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT |