]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | # This file was created automatically by SWIG. |
2 | import windows3c | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
40699168 RD |
8 | from fonts import * |
9 | ||
e6056257 RD |
10 | from windows import * |
11 | ||
12 | from clip_dnd import * | |
13 | ||
14 | from windows2 import * | |
15 | ||
16 | from controls import * | |
17 | ||
18 | from events import * | |
19 | ||
20 | from mdi import * | |
21 | ||
22 | from frames import * | |
23 | ||
24 | from stattool import * | |
25 | import wx | |
26 | class wxSashEventPtr(wxCommandEventPtr): | |
27 | def __init__(self,this): | |
28 | self.this = this | |
29 | self.thisown = 0 | |
30 | def SetEdge(self, *_args, **_kwargs): | |
d84a9306 | 31 | val = windows3c.wxSashEvent_SetEdge(self, *_args, **_kwargs) |
e6056257 RD |
32 | return val |
33 | def GetEdge(self, *_args, **_kwargs): | |
d84a9306 | 34 | val = windows3c.wxSashEvent_GetEdge(self, *_args, **_kwargs) |
e6056257 RD |
35 | return val |
36 | def SetDragRect(self, *_args, **_kwargs): | |
d84a9306 | 37 | val = windows3c.wxSashEvent_SetDragRect(self, *_args, **_kwargs) |
e6056257 RD |
38 | return val |
39 | def GetDragRect(self, *_args, **_kwargs): | |
d84a9306 | 40 | val = windows3c.wxSashEvent_GetDragRect(self, *_args, **_kwargs) |
e6056257 RD |
41 | if val: val = wxRectPtr(val) ; val.thisown = 1 |
42 | return val | |
43 | def SetDragStatus(self, *_args, **_kwargs): | |
d84a9306 | 44 | val = windows3c.wxSashEvent_SetDragStatus(self, *_args, **_kwargs) |
e6056257 RD |
45 | return val |
46 | def GetDragStatus(self, *_args, **_kwargs): | |
d84a9306 | 47 | val = windows3c.wxSashEvent_GetDragStatus(self, *_args, **_kwargs) |
e6056257 RD |
48 | return val |
49 | def __repr__(self): | |
d84a9306 | 50 | return "<%s.%s instance; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
51 | class wxSashEvent(wxSashEventPtr): |
52 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 53 | self.this = windows3c.new_wxSashEvent(*_args,**_kwargs) |
e6056257 RD |
54 | self.thisown = 1 |
55 | ||
56 | ||
57 | ||
58 | ||
59 | class wxSashWindowPtr(wxWindowPtr): | |
60 | def __init__(self,this): | |
61 | self.this = this | |
62 | self.thisown = 0 | |
63 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 64 | val = windows3c.wxSashWindow_Create(self, *_args, **_kwargs) |
e6056257 RD |
65 | return val |
66 | def GetSashVisible(self, *_args, **_kwargs): | |
d84a9306 | 67 | val = windows3c.wxSashWindow_GetSashVisible(self, *_args, **_kwargs) |
e6056257 RD |
68 | return val |
69 | def GetDefaultBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 70 | val = windows3c.wxSashWindow_GetDefaultBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
71 | return val |
72 | def GetEdgeMargin(self, *_args, **_kwargs): | |
d84a9306 | 73 | val = windows3c.wxSashWindow_GetEdgeMargin(self, *_args, **_kwargs) |
e6056257 RD |
74 | return val |
75 | def GetExtraBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 76 | val = windows3c.wxSashWindow_GetExtraBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
77 | return val |
78 | def GetMaximumSizeX(self, *_args, **_kwargs): | |
d84a9306 | 79 | val = windows3c.wxSashWindow_GetMaximumSizeX(self, *_args, **_kwargs) |
e6056257 RD |
80 | return val |
81 | def GetMaximumSizeY(self, *_args, **_kwargs): | |
d84a9306 | 82 | val = windows3c.wxSashWindow_GetMaximumSizeY(self, *_args, **_kwargs) |
e6056257 RD |
83 | return val |
84 | def GetMinimumSizeX(self, *_args, **_kwargs): | |
d84a9306 | 85 | val = windows3c.wxSashWindow_GetMinimumSizeX(self, *_args, **_kwargs) |
e6056257 RD |
86 | return val |
87 | def GetMinimumSizeY(self, *_args, **_kwargs): | |
d84a9306 | 88 | val = windows3c.wxSashWindow_GetMinimumSizeY(self, *_args, **_kwargs) |
e6056257 RD |
89 | return val |
90 | def HasBorder(self, *_args, **_kwargs): | |
d84a9306 | 91 | val = windows3c.wxSashWindow_HasBorder(self, *_args, **_kwargs) |
e6056257 RD |
92 | return val |
93 | def SetDefaultBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 94 | val = windows3c.wxSashWindow_SetDefaultBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
95 | return val |
96 | def SetExtraBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 97 | val = windows3c.wxSashWindow_SetExtraBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
98 | return val |
99 | def SetMaximumSizeX(self, *_args, **_kwargs): | |
d84a9306 | 100 | val = windows3c.wxSashWindow_SetMaximumSizeX(self, *_args, **_kwargs) |
e6056257 RD |
101 | return val |
102 | def SetMaximumSizeY(self, *_args, **_kwargs): | |
d84a9306 | 103 | val = windows3c.wxSashWindow_SetMaximumSizeY(self, *_args, **_kwargs) |
e6056257 RD |
104 | return val |
105 | def SetMinimumSizeX(self, *_args, **_kwargs): | |
d84a9306 | 106 | val = windows3c.wxSashWindow_SetMinimumSizeX(self, *_args, **_kwargs) |
e6056257 RD |
107 | return val |
108 | def SetMinimumSizeY(self, *_args, **_kwargs): | |
d84a9306 | 109 | val = windows3c.wxSashWindow_SetMinimumSizeY(self, *_args, **_kwargs) |
e6056257 RD |
110 | return val |
111 | def SetSashVisible(self, *_args, **_kwargs): | |
d84a9306 | 112 | val = windows3c.wxSashWindow_SetSashVisible(self, *_args, **_kwargs) |
e6056257 RD |
113 | return val |
114 | def SetSashBorder(self, *_args, **_kwargs): | |
d84a9306 | 115 | val = windows3c.wxSashWindow_SetSashBorder(self, *_args, **_kwargs) |
e6056257 RD |
116 | return val |
117 | def __repr__(self): | |
d84a9306 | 118 | return "<%s.%s instance; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
119 | class wxSashWindow(wxSashWindowPtr): |
120 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 121 | self.this = windows3c.new_wxSashWindow(*_args,**_kwargs) |
e6056257 RD |
122 | self.thisown = 1 |
123 | self._setOORInfo(self) | |
124 | ||
125 | ||
126 | ||
127 | def wxPreSashWindow(*_args,**_kwargs): | |
d84a9306 | 128 | val = wxSashWindowPtr(windows3c.new_wxPreSashWindow(*_args,**_kwargs)) |
e6056257 RD |
129 | val.thisown = 1 |
130 | val._setOORInfo(val) | |
131 | return val | |
132 | ||
133 | ||
134 | class wxQueryLayoutInfoEventPtr(wxEventPtr): | |
135 | def __init__(self,this): | |
136 | self.this = this | |
137 | self.thisown = 0 | |
138 | def SetRequestedLength(self, *_args, **_kwargs): | |
d84a9306 | 139 | val = windows3c.wxQueryLayoutInfoEvent_SetRequestedLength(self, *_args, **_kwargs) |
e6056257 RD |
140 | return val |
141 | def GetRequestedLength(self, *_args, **_kwargs): | |
d84a9306 | 142 | val = windows3c.wxQueryLayoutInfoEvent_GetRequestedLength(self, *_args, **_kwargs) |
e6056257 RD |
143 | return val |
144 | def SetFlags(self, *_args, **_kwargs): | |
d84a9306 | 145 | val = windows3c.wxQueryLayoutInfoEvent_SetFlags(self, *_args, **_kwargs) |
e6056257 RD |
146 | return val |
147 | def GetFlags(self, *_args, **_kwargs): | |
d84a9306 | 148 | val = windows3c.wxQueryLayoutInfoEvent_GetFlags(self, *_args, **_kwargs) |
e6056257 RD |
149 | return val |
150 | def SetSize(self, *_args, **_kwargs): | |
d84a9306 | 151 | val = windows3c.wxQueryLayoutInfoEvent_SetSize(self, *_args, **_kwargs) |
e6056257 RD |
152 | return val |
153 | def GetSize(self, *_args, **_kwargs): | |
d84a9306 | 154 | val = windows3c.wxQueryLayoutInfoEvent_GetSize(self, *_args, **_kwargs) |
e6056257 RD |
155 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
156 | return val | |
157 | def SetOrientation(self, *_args, **_kwargs): | |
d84a9306 | 158 | val = windows3c.wxQueryLayoutInfoEvent_SetOrientation(self, *_args, **_kwargs) |
e6056257 RD |
159 | return val |
160 | def GetOrientation(self, *_args, **_kwargs): | |
d84a9306 | 161 | val = windows3c.wxQueryLayoutInfoEvent_GetOrientation(self, *_args, **_kwargs) |
e6056257 RD |
162 | return val |
163 | def SetAlignment(self, *_args, **_kwargs): | |
d84a9306 | 164 | val = windows3c.wxQueryLayoutInfoEvent_SetAlignment(self, *_args, **_kwargs) |
e6056257 RD |
165 | return val |
166 | def GetAlignment(self, *_args, **_kwargs): | |
d84a9306 | 167 | val = windows3c.wxQueryLayoutInfoEvent_GetAlignment(self, *_args, **_kwargs) |
e6056257 RD |
168 | return val |
169 | def __repr__(self): | |
d84a9306 | 170 | return "<%s.%s instance; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
171 | class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr): |
172 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 173 | self.this = windows3c.new_wxQueryLayoutInfoEvent(*_args,**_kwargs) |
e6056257 RD |
174 | self.thisown = 1 |
175 | ||
176 | ||
177 | ||
178 | ||
179 | class wxCalculateLayoutEventPtr(wxEventPtr): | |
180 | def __init__(self,this): | |
181 | self.this = this | |
182 | self.thisown = 0 | |
183 | def SetFlags(self, *_args, **_kwargs): | |
d84a9306 | 184 | val = windows3c.wxCalculateLayoutEvent_SetFlags(self, *_args, **_kwargs) |
e6056257 RD |
185 | return val |
186 | def GetFlags(self, *_args, **_kwargs): | |
d84a9306 | 187 | val = windows3c.wxCalculateLayoutEvent_GetFlags(self, *_args, **_kwargs) |
e6056257 RD |
188 | return val |
189 | def SetRect(self, *_args, **_kwargs): | |
d84a9306 | 190 | val = windows3c.wxCalculateLayoutEvent_SetRect(self, *_args, **_kwargs) |
e6056257 RD |
191 | return val |
192 | def GetRect(self, *_args, **_kwargs): | |
d84a9306 | 193 | val = windows3c.wxCalculateLayoutEvent_GetRect(self, *_args, **_kwargs) |
e6056257 RD |
194 | if val: val = wxRectPtr(val) ; val.thisown = 1 |
195 | return val | |
196 | def __repr__(self): | |
d84a9306 | 197 | return "<%s.%s instance; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
198 | class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr): |
199 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 200 | self.this = windows3c.new_wxCalculateLayoutEvent(*_args,**_kwargs) |
e6056257 RD |
201 | self.thisown = 1 |
202 | ||
203 | ||
204 | ||
205 | ||
206 | class wxSashLayoutWindowPtr(wxSashWindowPtr): | |
207 | def __init__(self,this): | |
208 | self.this = this | |
209 | self.thisown = 0 | |
210 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 211 | val = windows3c.wxSashLayoutWindow_Create(self, *_args, **_kwargs) |
e6056257 RD |
212 | return val |
213 | def GetAlignment(self, *_args, **_kwargs): | |
d84a9306 | 214 | val = windows3c.wxSashLayoutWindow_GetAlignment(self, *_args, **_kwargs) |
e6056257 RD |
215 | return val |
216 | def GetOrientation(self, *_args, **_kwargs): | |
d84a9306 | 217 | val = windows3c.wxSashLayoutWindow_GetOrientation(self, *_args, **_kwargs) |
e6056257 RD |
218 | return val |
219 | def SetAlignment(self, *_args, **_kwargs): | |
d84a9306 | 220 | val = windows3c.wxSashLayoutWindow_SetAlignment(self, *_args, **_kwargs) |
e6056257 RD |
221 | return val |
222 | def SetDefaultSize(self, *_args, **_kwargs): | |
d84a9306 | 223 | val = windows3c.wxSashLayoutWindow_SetDefaultSize(self, *_args, **_kwargs) |
e6056257 RD |
224 | return val |
225 | def SetOrientation(self, *_args, **_kwargs): | |
d84a9306 | 226 | val = windows3c.wxSashLayoutWindow_SetOrientation(self, *_args, **_kwargs) |
e6056257 RD |
227 | return val |
228 | def __repr__(self): | |
d84a9306 | 229 | return "<%s.%s instance; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
230 | class wxSashLayoutWindow(wxSashLayoutWindowPtr): |
231 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 232 | self.this = windows3c.new_wxSashLayoutWindow(*_args,**_kwargs) |
e6056257 RD |
233 | self.thisown = 1 |
234 | self._setOORInfo(self) | |
235 | ||
236 | ||
237 | ||
238 | def wxPreSashLayoutWindow(*_args,**_kwargs): | |
d84a9306 | 239 | val = wxSashLayoutWindowPtr(windows3c.new_wxPreSashLayoutWindow(*_args,**_kwargs)) |
e6056257 RD |
240 | val.thisown = 1 |
241 | val._setOORInfo(val) | |
242 | return val | |
243 | ||
244 | ||
245 | class wxLayoutAlgorithmPtr(wxObjectPtr): | |
246 | def __init__(self,this): | |
247 | self.this = this | |
248 | self.thisown = 0 | |
7108497a RD |
249 | def __del__(self, delfunc=windows3c.delete_wxLayoutAlgorithm): |
250 | if self.thisown == 1: | |
251 | try: | |
252 | delfunc(self) | |
253 | except: | |
254 | pass | |
e6056257 | 255 | def LayoutMDIFrame(self, *_args, **_kwargs): |
d84a9306 | 256 | val = windows3c.wxLayoutAlgorithm_LayoutMDIFrame(self, *_args, **_kwargs) |
e6056257 RD |
257 | return val |
258 | def LayoutFrame(self, *_args, **_kwargs): | |
d84a9306 | 259 | val = windows3c.wxLayoutAlgorithm_LayoutFrame(self, *_args, **_kwargs) |
e6056257 RD |
260 | return val |
261 | def LayoutWindow(self, *_args, **_kwargs): | |
d84a9306 | 262 | val = windows3c.wxLayoutAlgorithm_LayoutWindow(self, *_args, **_kwargs) |
e6056257 RD |
263 | return val |
264 | def __repr__(self): | |
d84a9306 | 265 | return "<%s.%s instance; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
266 | class wxLayoutAlgorithm(wxLayoutAlgorithmPtr): |
267 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 268 | self.this = windows3c.new_wxLayoutAlgorithm(*_args,**_kwargs) |
e6056257 RD |
269 | self.thisown = 1 |
270 | ||
d84a9306 RD |
271 | |
272 | ||
273 | ||
274 | class wxTipWindowPtr(wxFramePtr): | |
275 | def __init__(self,this): | |
276 | self.this = this | |
277 | self.thisown = 0 | |
278 | def SetBoundingRect(self, *_args, **_kwargs): | |
279 | val = windows3c.wxTipWindow_SetBoundingRect(self, *_args, **_kwargs) | |
280 | return val | |
281 | def Close(self, *_args, **_kwargs): | |
282 | val = windows3c.wxTipWindow_Close(self, *_args, **_kwargs) | |
283 | return val | |
284 | def __repr__(self): | |
285 | return "<%s.%s instance; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
286 | class wxTipWindow(wxTipWindowPtr): | |
287 | def __init__(self,*_args,**_kwargs): | |
288 | self.this = windows3c.new_wxTipWindow(*_args,**_kwargs) | |
289 | self.thisown = 1 | |
290 | self._setOORInfo(self) | |
291 | ||
e6056257 RD |
292 | |
293 | ||
294 | ||
77762d0f RD |
295 | class wxVScrolledWindowPtr(wxPanelPtr): |
296 | def __init__(self,this): | |
297 | self.this = this | |
298 | self.thisown = 0 | |
299 | def _setCallbackInfo(self, *_args, **_kwargs): | |
300 | val = windows3c.wxVScrolledWindow__setCallbackInfo(self, *_args, **_kwargs) | |
301 | return val | |
302 | def Create(self, *_args, **_kwargs): | |
303 | val = windows3c.wxVScrolledWindow_Create(self, *_args, **_kwargs) | |
304 | return val | |
305 | def SetLineCount(self, *_args, **_kwargs): | |
306 | val = windows3c.wxVScrolledWindow_SetLineCount(self, *_args, **_kwargs) | |
307 | return val | |
308 | def ScrollToLine(self, *_args, **_kwargs): | |
309 | val = windows3c.wxVScrolledWindow_ScrollToLine(self, *_args, **_kwargs) | |
310 | return val | |
311 | def ScrollLines(self, *_args, **_kwargs): | |
312 | val = windows3c.wxVScrolledWindow_ScrollLines(self, *_args, **_kwargs) | |
313 | return val | |
314 | def ScrollPages(self, *_args, **_kwargs): | |
315 | val = windows3c.wxVScrolledWindow_ScrollPages(self, *_args, **_kwargs) | |
316 | return val | |
317 | def RefreshLine(self, *_args, **_kwargs): | |
318 | val = windows3c.wxVScrolledWindow_RefreshLine(self, *_args, **_kwargs) | |
319 | return val | |
320 | def RefreshLines(self, *_args, **_kwargs): | |
321 | val = windows3c.wxVScrolledWindow_RefreshLines(self, *_args, **_kwargs) | |
322 | return val | |
323 | def HitTestXT(self, *_args, **_kwargs): | |
324 | val = windows3c.wxVScrolledWindow_HitTestXT(self, *_args, **_kwargs) | |
325 | return val | |
326 | def HitTest(self, *_args, **_kwargs): | |
327 | val = windows3c.wxVScrolledWindow_HitTest(self, *_args, **_kwargs) | |
328 | return val | |
329 | def RefreshAll(self, *_args, **_kwargs): | |
330 | val = windows3c.wxVScrolledWindow_RefreshAll(self, *_args, **_kwargs) | |
331 | return val | |
332 | def GetLineCount(self, *_args, **_kwargs): | |
333 | val = windows3c.wxVScrolledWindow_GetLineCount(self, *_args, **_kwargs) | |
334 | return val | |
335 | def GetFirstVisibleLine(self, *_args, **_kwargs): | |
336 | val = windows3c.wxVScrolledWindow_GetFirstVisibleLine(self, *_args, **_kwargs) | |
337 | return val | |
338 | def GetLastVisibleLine(self, *_args, **_kwargs): | |
339 | val = windows3c.wxVScrolledWindow_GetLastVisibleLine(self, *_args, **_kwargs) | |
340 | return val | |
341 | def IsVisible(self, *_args, **_kwargs): | |
342 | val = windows3c.wxVScrolledWindow_IsVisible(self, *_args, **_kwargs) | |
343 | return val | |
344 | def __repr__(self): | |
345 | return "<%s.%s instance; proxy of C++ wxVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
346 | class wxVScrolledWindow(wxVScrolledWindowPtr): | |
347 | def __init__(self,*_args,**_kwargs): | |
348 | self.this = windows3c.new_wxVScrolledWindow(*_args,**_kwargs) | |
349 | self.thisown = 1 | |
350 | self._setCallbackInfo(self, wxVScrolledWindow) | |
351 | self._setOORInfo(self) | |
352 | ||
353 | ||
354 | ||
355 | def wxPreVScrolledWindow(*_args,**_kwargs): | |
356 | val = wxVScrolledWindowPtr(windows3c.new_wxPreVScrolledWindow(*_args,**_kwargs)) | |
357 | val.thisown = 1 | |
358 | val._setOORInfo(val) | |
359 | return val | |
360 | ||
361 | ||
362 | class wxVListBoxPtr(wxVScrolledWindowPtr): | |
363 | def __init__(self,this): | |
364 | self.this = this | |
365 | self.thisown = 0 | |
366 | def _setCallbackInfo(self, *_args, **_kwargs): | |
367 | val = windows3c.wxVListBox__setCallbackInfo(self, *_args, **_kwargs) | |
368 | return val | |
369 | def Create(self, *_args, **_kwargs): | |
370 | val = windows3c.wxVListBox_Create(self, *_args, **_kwargs) | |
371 | return val | |
372 | def GetItemCount(self, *_args, **_kwargs): | |
373 | val = windows3c.wxVListBox_GetItemCount(self, *_args, **_kwargs) | |
374 | return val | |
375 | def HasMultipleSelection(self, *_args, **_kwargs): | |
376 | val = windows3c.wxVListBox_HasMultipleSelection(self, *_args, **_kwargs) | |
377 | return val | |
378 | def GetSelection(self, *_args, **_kwargs): | |
379 | val = windows3c.wxVListBox_GetSelection(self, *_args, **_kwargs) | |
380 | return val | |
381 | def IsCurrent(self, *_args, **_kwargs): | |
382 | val = windows3c.wxVListBox_IsCurrent(self, *_args, **_kwargs) | |
383 | return val | |
384 | def IsSelected(self, *_args, **_kwargs): | |
385 | val = windows3c.wxVListBox_IsSelected(self, *_args, **_kwargs) | |
386 | return val | |
387 | def GetSelectedCount(self, *_args, **_kwargs): | |
388 | val = windows3c.wxVListBox_GetSelectedCount(self, *_args, **_kwargs) | |
389 | return val | |
390 | def GetFirstSelected(self, *_args, **_kwargs): | |
391 | val = windows3c.wxVListBox_GetFirstSelected(self, *_args, **_kwargs) | |
392 | return val | |
393 | def GetNextSelected(self, *_args, **_kwargs): | |
394 | val = windows3c.wxVListBox_GetNextSelected(self, *_args, **_kwargs) | |
395 | return val | |
396 | def GetMargins(self, *_args, **_kwargs): | |
397 | val = windows3c.wxVListBox_GetMargins(self, *_args, **_kwargs) | |
398 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
399 | return val | |
400 | def GetSelectionBackground(self, *_args, **_kwargs): | |
401 | val = windows3c.wxVListBox_GetSelectionBackground(self, *_args, **_kwargs) | |
402 | if val: val = wxColourPtr(val) | |
403 | return val | |
404 | def SetItemCount(self, *_args, **_kwargs): | |
405 | val = windows3c.wxVListBox_SetItemCount(self, *_args, **_kwargs) | |
406 | return val | |
407 | def Clear(self, *_args, **_kwargs): | |
408 | val = windows3c.wxVListBox_Clear(self, *_args, **_kwargs) | |
409 | return val | |
410 | def SetSelection(self, *_args, **_kwargs): | |
411 | val = windows3c.wxVListBox_SetSelection(self, *_args, **_kwargs) | |
412 | return val | |
413 | def Select(self, *_args, **_kwargs): | |
414 | val = windows3c.wxVListBox_Select(self, *_args, **_kwargs) | |
415 | return val | |
416 | def SelectRange(self, *_args, **_kwargs): | |
417 | val = windows3c.wxVListBox_SelectRange(self, *_args, **_kwargs) | |
418 | return val | |
419 | def Toggle(self, *_args, **_kwargs): | |
420 | val = windows3c.wxVListBox_Toggle(self, *_args, **_kwargs) | |
421 | return val | |
422 | def SelectAll(self, *_args, **_kwargs): | |
423 | val = windows3c.wxVListBox_SelectAll(self, *_args, **_kwargs) | |
424 | return val | |
425 | def DeselectAll(self, *_args, **_kwargs): | |
426 | val = windows3c.wxVListBox_DeselectAll(self, *_args, **_kwargs) | |
427 | return val | |
428 | def SetMargins(self, *_args, **_kwargs): | |
429 | val = windows3c.wxVListBox_SetMargins(self, *_args, **_kwargs) | |
430 | return val | |
431 | def SetMarginsXY(self, *_args, **_kwargs): | |
432 | val = windows3c.wxVListBox_SetMarginsXY(self, *_args, **_kwargs) | |
433 | return val | |
434 | def SetSelectionBackground(self, *_args, **_kwargs): | |
435 | val = windows3c.wxVListBox_SetSelectionBackground(self, *_args, **_kwargs) | |
436 | return val | |
437 | def __repr__(self): | |
438 | return "<%s.%s instance; proxy of C++ wxVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
439 | class wxVListBox(wxVListBoxPtr): | |
440 | def __init__(self,*_args,**_kwargs): | |
441 | self.this = windows3c.new_wxVListBox(*_args,**_kwargs) | |
442 | self.thisown = 1 | |
443 | self._setCallbackInfo(self, wxVListBox) | |
444 | self._setOORInfo(self) | |
445 | ||
446 | ||
447 | ||
448 | def wxPreVListBox(*_args,**_kwargs): | |
449 | val = wxVListBoxPtr(windows3c.new_wxPreVListBox(*_args,**_kwargs)) | |
450 | val.thisown = 1 | |
451 | val._setOORInfo(val) | |
452 | return val | |
453 | ||
454 | ||
455 | class wxHtmlListBoxPtr(wxVListBoxPtr): | |
456 | def __init__(self,this): | |
457 | self.this = this | |
458 | self.thisown = 0 | |
459 | def _setCallbackInfo(self, *_args, **_kwargs): | |
460 | val = windows3c.wxHtmlListBox__setCallbackInfo(self, *_args, **_kwargs) | |
461 | return val | |
462 | def Create(self, *_args, **_kwargs): | |
463 | val = windows3c.wxHtmlListBox_Create(self, *_args, **_kwargs) | |
464 | return val | |
465 | def RefreshAll(self, *_args, **_kwargs): | |
466 | val = windows3c.wxHtmlListBox_RefreshAll(self, *_args, **_kwargs) | |
467 | return val | |
468 | def SetItemCount(self, *_args, **_kwargs): | |
469 | val = windows3c.wxHtmlListBox_SetItemCount(self, *_args, **_kwargs) | |
470 | return val | |
471 | def __repr__(self): | |
472 | return "<%s.%s instance; proxy of C++ wxHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
473 | class wxHtmlListBox(wxHtmlListBoxPtr): | |
474 | def __init__(self,*_args,**_kwargs): | |
475 | self.this = windows3c.new_wxHtmlListBox(*_args,**_kwargs) | |
476 | self.thisown = 1 | |
477 | self._setCallbackInfo(self, wxHtmlListBox) | |
478 | self._setOORInfo(self) | |
479 | ||
480 | ||
481 | ||
482 | def wxPreHtmlListBox(*_args,**_kwargs): | |
483 | val = wxHtmlListBoxPtr(windows3c.new_wxPreHtmlListBox(*_args,**_kwargs)) | |
484 | val.thisown = 1 | |
485 | val._setOORInfo(val) | |
486 | return val | |
487 | ||
488 | ||
e6056257 RD |
489 | |
490 | ||
491 | #-------------- FUNCTION WRAPPERS ------------------ | |
492 | ||
493 | ||
494 | ||
495 | #-------------- VARIABLE WRAPPERS ------------------ | |
496 | ||
497 | wxSASH_TOP = windows3c.wxSASH_TOP | |
498 | wxSASH_RIGHT = windows3c.wxSASH_RIGHT | |
499 | wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM | |
500 | wxSASH_LEFT = windows3c.wxSASH_LEFT | |
501 | wxSASH_NONE = windows3c.wxSASH_NONE | |
502 | wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED | |
503 | wxSW_3D = windows3c.wxSW_3D | |
504 | wxSW_3DSASH = windows3c.wxSW_3DSASH | |
505 | wxSW_3DBORDER = windows3c.wxSW_3DBORDER | |
506 | wxSW_BORDER = windows3c.wxSW_BORDER | |
507 | wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK | |
508 | wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE | |
509 | wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL | |
510 | wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL | |
511 | wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE | |
512 | wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP | |
513 | wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT | |
514 | wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT | |
515 | wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM | |
516 | wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO | |
517 | wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT |