]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | from windows2 import * | |
11 | ||
12 | from controls import * | |
13 | ||
14 | from events import * | |
15 | ||
16 | from mdi import * | |
17 | ||
18 | from frames import * | |
19 | ||
20 | from stattool import * | |
21 | import wx | |
22 | class wxSashEventPtr(wxCommandEventPtr): | |
23 | def __init__(self,this): | |
24 | self.this = this | |
25 | self.thisown = 0 | |
26 | def SetEdge(self, *_args, **_kwargs): | |
27 | val = apply(windows3c.wxSashEvent_SetEdge,(self,) + _args, _kwargs) | |
28 | return val | |
29 | def GetEdge(self, *_args, **_kwargs): | |
30 | val = apply(windows3c.wxSashEvent_GetEdge,(self,) + _args, _kwargs) | |
31 | return val | |
32 | def SetDragRect(self, *_args, **_kwargs): | |
33 | val = apply(windows3c.wxSashEvent_SetDragRect,(self,) + _args, _kwargs) | |
34 | return val | |
35 | def GetDragRect(self, *_args, **_kwargs): | |
36 | val = apply(windows3c.wxSashEvent_GetDragRect,(self,) + _args, _kwargs) | |
37 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
38 | return val | |
39 | def SetDragStatus(self, *_args, **_kwargs): | |
40 | val = apply(windows3c.wxSashEvent_SetDragStatus,(self,) + _args, _kwargs) | |
41 | return val | |
42 | def GetDragStatus(self, *_args, **_kwargs): | |
43 | val = apply(windows3c.wxSashEvent_GetDragStatus,(self,) + _args, _kwargs) | |
44 | return val | |
45 | def __repr__(self): | |
46 | return "<C wxSashEvent instance at %s>" % (self.this,) | |
47 | class wxSashEvent(wxSashEventPtr): | |
48 | def __init__(self,this): | |
49 | self.this = this | |
50 | ||
51 | ||
52 | ||
53 | ||
54 | class wxSashWindowPtr(wxWindowPtr): | |
55 | def __init__(self,this): | |
56 | self.this = this | |
57 | self.thisown = 0 | |
58 | def GetSashVisible(self, *_args, **_kwargs): | |
59 | val = apply(windows3c.wxSashWindow_GetSashVisible,(self,) + _args, _kwargs) | |
60 | return val | |
61 | def GetDefaultBorderSize(self, *_args, **_kwargs): | |
62 | val = apply(windows3c.wxSashWindow_GetDefaultBorderSize,(self,) + _args, _kwargs) | |
63 | return val | |
64 | def GetEdgeMargin(self, *_args, **_kwargs): | |
65 | val = apply(windows3c.wxSashWindow_GetEdgeMargin,(self,) + _args, _kwargs) | |
66 | return val | |
67 | def GetExtraBorderSize(self, *_args, **_kwargs): | |
68 | val = apply(windows3c.wxSashWindow_GetExtraBorderSize,(self,) + _args, _kwargs) | |
69 | return val | |
70 | def GetMaximumSizeX(self, *_args, **_kwargs): | |
71 | val = apply(windows3c.wxSashWindow_GetMaximumSizeX,(self,) + _args, _kwargs) | |
72 | return val | |
73 | def GetMaximumSizeY(self, *_args, **_kwargs): | |
74 | val = apply(windows3c.wxSashWindow_GetMaximumSizeY,(self,) + _args, _kwargs) | |
75 | return val | |
76 | def GetMinimumSizeX(self, *_args, **_kwargs): | |
77 | val = apply(windows3c.wxSashWindow_GetMinimumSizeX,(self,) + _args, _kwargs) | |
78 | return val | |
79 | def GetMinimumSizeY(self, *_args, **_kwargs): | |
80 | val = apply(windows3c.wxSashWindow_GetMinimumSizeY,(self,) + _args, _kwargs) | |
81 | return val | |
82 | def HasBorder(self, *_args, **_kwargs): | |
83 | val = apply(windows3c.wxSashWindow_HasBorder,(self,) + _args, _kwargs) | |
84 | return val | |
85 | def SetDefaultBorderSize(self, *_args, **_kwargs): | |
86 | val = apply(windows3c.wxSashWindow_SetDefaultBorderSize,(self,) + _args, _kwargs) | |
87 | return val | |
88 | def SetExtraBorderSize(self, *_args, **_kwargs): | |
89 | val = apply(windows3c.wxSashWindow_SetExtraBorderSize,(self,) + _args, _kwargs) | |
90 | return val | |
91 | def SetMaximumSizeX(self, *_args, **_kwargs): | |
92 | val = apply(windows3c.wxSashWindow_SetMaximumSizeX,(self,) + _args, _kwargs) | |
93 | return val | |
94 | def SetMaximumSizeY(self, *_args, **_kwargs): | |
95 | val = apply(windows3c.wxSashWindow_SetMaximumSizeY,(self,) + _args, _kwargs) | |
96 | return val | |
97 | def SetMinimumSizeX(self, *_args, **_kwargs): | |
98 | val = apply(windows3c.wxSashWindow_SetMinimumSizeX,(self,) + _args, _kwargs) | |
99 | return val | |
100 | def SetMinimumSizeY(self, *_args, **_kwargs): | |
101 | val = apply(windows3c.wxSashWindow_SetMinimumSizeY,(self,) + _args, _kwargs) | |
102 | return val | |
103 | def SetSashVisible(self, *_args, **_kwargs): | |
104 | val = apply(windows3c.wxSashWindow_SetSashVisible,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def SetSashBorder(self, *_args, **_kwargs): | |
107 | val = apply(windows3c.wxSashWindow_SetSashBorder,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def __repr__(self): | |
110 | return "<C wxSashWindow instance at %s>" % (self.this,) | |
111 | class wxSashWindow(wxSashWindowPtr): | |
112 | def __init__(self,*_args,**_kwargs): | |
113 | self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs) | |
114 | self.thisown = 1 | |
115 | wx._StdWindowCallbacks(self) | |
116 | ||
117 | ||
118 | ||
119 | ||
120 | class wxQueryLayoutInfoEventPtr(wxEventPtr): | |
121 | def __init__(self,this): | |
122 | self.this = this | |
123 | self.thisown = 0 | |
124 | def SetRequestedLength(self, *_args, **_kwargs): | |
125 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength,(self,) + _args, _kwargs) | |
126 | return val | |
127 | def GetRequestedLength(self, *_args, **_kwargs): | |
128 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def SetFlags(self, *_args, **_kwargs): | |
131 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def GetFlags(self, *_args, **_kwargs): | |
134 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags,(self,) + _args, _kwargs) | |
135 | return val | |
136 | def SetSize(self, *_args, **_kwargs): | |
137 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize,(self,) + _args, _kwargs) | |
138 | return val | |
139 | def GetSize(self, *_args, **_kwargs): | |
140 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize,(self,) + _args, _kwargs) | |
141 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
142 | return val | |
143 | def SetOrientation(self, *_args, **_kwargs): | |
144 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation,(self,) + _args, _kwargs) | |
145 | return val | |
146 | def GetOrientation(self, *_args, **_kwargs): | |
147 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation,(self,) + _args, _kwargs) | |
148 | return val | |
149 | def SetAlignment(self, *_args, **_kwargs): | |
150 | val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment,(self,) + _args, _kwargs) | |
151 | return val | |
152 | def GetAlignment(self, *_args, **_kwargs): | |
153 | val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment,(self,) + _args, _kwargs) | |
154 | return val | |
155 | def __repr__(self): | |
156 | return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,) | |
157 | class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr): | |
158 | def __init__(self,this): | |
159 | self.this = this | |
160 | ||
161 | ||
162 | ||
163 | ||
164 | class wxCalculateLayoutEventPtr(wxEventPtr): | |
165 | def __init__(self,this): | |
166 | self.this = this | |
167 | self.thisown = 0 | |
168 | def SetFlags(self, *_args, **_kwargs): | |
169 | val = apply(windows3c.wxCalculateLayoutEvent_SetFlags,(self,) + _args, _kwargs) | |
170 | return val | |
171 | def GetFlags(self, *_args, **_kwargs): | |
172 | val = apply(windows3c.wxCalculateLayoutEvent_GetFlags,(self,) + _args, _kwargs) | |
173 | return val | |
174 | def SetRect(self, *_args, **_kwargs): | |
175 | val = apply(windows3c.wxCalculateLayoutEvent_SetRect,(self,) + _args, _kwargs) | |
176 | return val | |
177 | def GetRect(self, *_args, **_kwargs): | |
178 | val = apply(windows3c.wxCalculateLayoutEvent_GetRect,(self,) + _args, _kwargs) | |
179 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
180 | return val | |
181 | def __repr__(self): | |
182 | return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,) | |
183 | class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr): | |
184 | def __init__(self,this): | |
185 | self.this = this | |
186 | ||
187 | ||
188 | ||
189 | ||
190 | class wxSashLayoutWindowPtr(wxSashWindowPtr): | |
191 | def __init__(self,this): | |
192 | self.this = this | |
193 | self.thisown = 0 | |
194 | def GetAlignment(self, *_args, **_kwargs): | |
195 | val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs) | |
196 | return val | |
197 | def GetOrientation(self, *_args, **_kwargs): | |
198 | val = apply(windows3c.wxSashLayoutWindow_GetOrientation,(self,) + _args, _kwargs) | |
199 | return val | |
200 | def SetAlignment(self, *_args, **_kwargs): | |
201 | val = apply(windows3c.wxSashLayoutWindow_SetAlignment,(self,) + _args, _kwargs) | |
202 | return val | |
203 | def SetDefaultSize(self, *_args, **_kwargs): | |
204 | val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize,(self,) + _args, _kwargs) | |
205 | return val | |
206 | def SetOrientation(self, *_args, **_kwargs): | |
207 | val = apply(windows3c.wxSashLayoutWindow_SetOrientation,(self,) + _args, _kwargs) | |
208 | return val | |
209 | def __repr__(self): | |
210 | return "<C wxSashLayoutWindow instance at %s>" % (self.this,) | |
211 | class wxSashLayoutWindow(wxSashLayoutWindowPtr): | |
212 | def __init__(self,*_args,**_kwargs): | |
213 | self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs) | |
214 | self.thisown = 1 | |
215 | wx._StdWindowCallbacks(self) | |
216 | wx._checkForCallback(self, 'OnCalculateLayout', wxEVT_CALCULATE_LAYOUT) | |
217 | wx._checkForCallback(self, 'OnQueryLayoutInfo', wxEVT_QUERY_LAYOUT_INFO) | |
218 | ||
219 | ||
220 | ||
221 | ||
222 | class wxLayoutAlgorithmPtr : | |
223 | def __init__(self,this): | |
224 | self.this = this | |
225 | self.thisown = 0 | |
226 | def __del__(self,windows3c=windows3c): | |
227 | if self.thisown == 1 : | |
228 | windows3c.delete_wxLayoutAlgorithm(self) | |
229 | def LayoutMDIFrame(self, *_args, **_kwargs): | |
230 | val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self,) + _args, _kwargs) | |
231 | return val | |
232 | def LayoutFrame(self, *_args, **_kwargs): | |
233 | val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame,(self,) + _args, _kwargs) | |
234 | return val | |
235 | def LayoutWindow(self, *_args, **_kwargs): | |
236 | val = apply(windows3c.wxLayoutAlgorithm_LayoutWindow,(self,) + _args, _kwargs) | |
237 | return val | |
238 | def __repr__(self): | |
239 | return "<C wxLayoutAlgorithm instance at %s>" % (self.this,) | |
240 | class wxLayoutAlgorithm(wxLayoutAlgorithmPtr): | |
241 | def __init__(self,*_args,**_kwargs): | |
242 | self.this = apply(windows3c.new_wxLayoutAlgorithm,_args,_kwargs) | |
243 | self.thisown = 1 | |
244 | ||
245 | ||
246 | ||
247 | ||
248 | ||
249 | ||
250 | #-------------- FUNCTION WRAPPERS ------------------ | |
251 | ||
252 | ||
253 | ||
254 | #-------------- VARIABLE WRAPPERS ------------------ | |
255 | ||
256 | wxSASH_TOP = windows3c.wxSASH_TOP | |
257 | wxSASH_RIGHT = windows3c.wxSASH_RIGHT | |
258 | wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM | |
259 | wxSASH_LEFT = windows3c.wxSASH_LEFT | |
260 | wxSASH_NONE = windows3c.wxSASH_NONE | |
261 | wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED | |
262 | wxSW_3D = windows3c.wxSW_3D | |
263 | wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK | |
264 | wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE | |
265 | wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL | |
266 | wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL | |
267 | wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE | |
268 | wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP | |
269 | wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT | |
270 | wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT | |
271 | wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM | |
272 | wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO | |
273 | wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT |