]>
Commit | Line | Data |
---|---|---|
ebf4302c RD |
1 | # This file was created automatically by SWIG. |
2 | import gizmosc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
68bc8549 RD |
12 | from fonts import * |
13 | ||
ebf4302c RD |
14 | from clip_dnd import * |
15 | ||
16 | from events import * | |
17 | ||
18 | from streams import * | |
19 | ||
20 | from utils import * | |
21 | ||
22 | from mdi import * | |
23 | ||
24 | from frames import * | |
25 | ||
26 | from stattool import * | |
27 | ||
28 | from controls import * | |
29 | ||
30 | from controls2 import * | |
31 | ||
32 | from windows2 import * | |
33 | ||
34 | from cmndlgs import * | |
35 | ||
36 | from windows3 import * | |
37 | ||
38 | from image import * | |
39 | ||
40 | from printfw import * | |
41 | ||
42 | from sizers import * | |
43 | ||
44 | from filesys import * | |
45 | ||
46 | def EVT_DYNAMIC_SASH_SPLIT(win, id, func): | |
47 | win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func) | |
48 | ||
49 | def EVT_DYNAMIC_SASH_UNIFY(win, id, func): | |
50 | win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func) | |
51 | ||
52 | class wxDynamicSashSplitEventPtr(wxCommandEventPtr): | |
53 | def __init__(self,this): | |
54 | self.this = this | |
55 | self.thisown = 0 | |
56 | def __repr__(self): | |
1fded56b | 57 | return "<%s.%s instance; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
ebf4302c RD |
58 | class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr): |
59 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 60 | self.this = gizmosc.new_wxDynamicSashSplitEvent(*_args,**_kwargs) |
ebf4302c RD |
61 | self.thisown = 1 |
62 | ||
63 | ||
64 | ||
65 | ||
66 | class wxDynamicSashUnifyEventPtr(wxCommandEventPtr): | |
67 | def __init__(self,this): | |
68 | self.this = this | |
69 | self.thisown = 0 | |
70 | def __repr__(self): | |
1fded56b | 71 | return "<%s.%s instance; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
ebf4302c RD |
72 | class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr): |
73 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 74 | self.this = gizmosc.new_wxDynamicSashUnifyEvent(*_args,**_kwargs) |
ebf4302c RD |
75 | self.thisown = 1 |
76 | ||
77 | ||
78 | ||
79 | ||
80 | class wxDynamicSashWindowPtr(wxWindowPtr): | |
81 | def __init__(self,this): | |
82 | self.this = this | |
83 | self.thisown = 0 | |
84 | def Create(self, *_args, **_kwargs): | |
1fded56b | 85 | val = gizmosc.wxDynamicSashWindow_Create(self, *_args, **_kwargs) |
ebf4302c RD |
86 | return val |
87 | def GetHScrollBar(self, *_args, **_kwargs): | |
1fded56b | 88 | val = gizmosc.wxDynamicSashWindow_GetHScrollBar(self, *_args, **_kwargs) |
ebf4302c RD |
89 | if val: val = wxScrollBarPtr(val) |
90 | return val | |
91 | def GetVScrollBar(self, *_args, **_kwargs): | |
1fded56b | 92 | val = gizmosc.wxDynamicSashWindow_GetVScrollBar(self, *_args, **_kwargs) |
ebf4302c RD |
93 | if val: val = wxScrollBarPtr(val) |
94 | return val | |
95 | def __repr__(self): | |
1fded56b | 96 | return "<%s.%s instance; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
ebf4302c RD |
97 | class wxDynamicSashWindow(wxDynamicSashWindowPtr): |
98 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 99 | self.this = gizmosc.new_wxDynamicSashWindow(*_args,**_kwargs) |
ebf4302c RD |
100 | self.thisown = 1 |
101 | self._setOORInfo(self) | |
102 | ||
103 | ||
104 | ||
105 | def wxPreDynamicSashWindow(*_args,**_kwargs): | |
1fded56b | 106 | val = wxDynamicSashWindowPtr(gizmosc.new_wxPreDynamicSashWindow(*_args,**_kwargs)) |
ebf4302c RD |
107 | val.thisown = 1 |
108 | val._setOORInfo(val) | |
109 | return val | |
110 | ||
111 | ||
7b7ac0ab RD |
112 | class wxEditableListBoxPtr(wxPanelPtr): |
113 | def __init__(self,this): | |
114 | self.this = this | |
115 | self.thisown = 0 | |
116 | def SetStrings(self, *_args, **_kwargs): | |
1fded56b | 117 | val = gizmosc.wxEditableListBox_SetStrings(self, *_args, **_kwargs) |
7b7ac0ab RD |
118 | return val |
119 | def GetStrings(self, *_args, **_kwargs): | |
1fded56b | 120 | val = gizmosc.wxEditableListBox_GetStrings(self, *_args, **_kwargs) |
7b7ac0ab | 121 | return val |
366d7bd6 | 122 | def GetListCtrl(self, *_args, **_kwargs): |
1fded56b | 123 | val = gizmosc.wxEditableListBox_GetListCtrl(self, *_args, **_kwargs) |
366d7bd6 RD |
124 | return val |
125 | def GetDelButton(self, *_args, **_kwargs): | |
1fded56b | 126 | val = gizmosc.wxEditableListBox_GetDelButton(self, *_args, **_kwargs) |
366d7bd6 RD |
127 | return val |
128 | def GetNewButton(self, *_args, **_kwargs): | |
1fded56b | 129 | val = gizmosc.wxEditableListBox_GetNewButton(self, *_args, **_kwargs) |
366d7bd6 RD |
130 | return val |
131 | def GetUpButton(self, *_args, **_kwargs): | |
1fded56b | 132 | val = gizmosc.wxEditableListBox_GetUpButton(self, *_args, **_kwargs) |
366d7bd6 RD |
133 | return val |
134 | def GetDownButton(self, *_args, **_kwargs): | |
1fded56b | 135 | val = gizmosc.wxEditableListBox_GetDownButton(self, *_args, **_kwargs) |
366d7bd6 RD |
136 | return val |
137 | def GetEditButton(self, *_args, **_kwargs): | |
1fded56b | 138 | val = gizmosc.wxEditableListBox_GetEditButton(self, *_args, **_kwargs) |
366d7bd6 | 139 | return val |
7b7ac0ab | 140 | def __repr__(self): |
1fded56b | 141 | return "<%s.%s instance; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
7b7ac0ab RD |
142 | class wxEditableListBox(wxEditableListBoxPtr): |
143 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 144 | self.this = gizmosc.new_wxEditableListBox(*_args,**_kwargs) |
7b7ac0ab | 145 | self.thisown = 1 |
611dc22c RD |
146 | self._setOORInfo(self) |
147 | ||
148 | ||
149 | ||
150 | ||
151 | class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr): | |
152 | def __init__(self,this): | |
153 | self.this = this | |
154 | self.thisown = 0 | |
155 | def HideVScrollbar(self, *_args, **_kwargs): | |
1fded56b | 156 | val = gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar(self, *_args, **_kwargs) |
611dc22c RD |
157 | return val |
158 | def AdjustRemoteScrollbars(self, *_args, **_kwargs): | |
1fded56b | 159 | val = gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(self, *_args, **_kwargs) |
611dc22c RD |
160 | return val |
161 | def GetScrolledWindow(self, *_args, **_kwargs): | |
1fded56b | 162 | val = gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow(self, *_args, **_kwargs) |
611dc22c RD |
163 | if val: val = wxScrolledWindowPtr(val) |
164 | return val | |
165 | def ScrollToLine(self, *_args, **_kwargs): | |
1fded56b | 166 | val = gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine(self, *_args, **_kwargs) |
611dc22c RD |
167 | return val |
168 | def SetCompanionWindow(self, *_args, **_kwargs): | |
1fded56b | 169 | val = gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow(self, *_args, **_kwargs) |
611dc22c RD |
170 | return val |
171 | def GetCompanionWindow(self, *_args, **_kwargs): | |
1fded56b | 172 | val = gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow(self, *_args, **_kwargs) |
611dc22c RD |
173 | return val |
174 | def __repr__(self): | |
1fded56b | 175 | return "<%s.%s instance; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
611dc22c RD |
176 | class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr): |
177 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 178 | self.this = gizmosc.new_wxRemotelyScrolledTreeCtrl(*_args,**_kwargs) |
611dc22c RD |
179 | self.thisown = 1 |
180 | self._setOORInfo(self) | |
181 | ||
182 | ||
183 | ||
184 | ||
185 | class wxTreeCompanionWindowPtr(wxWindowPtr): | |
186 | def __init__(self,this): | |
187 | self.this = this | |
188 | self.thisown = 0 | |
189 | def _setCallbackInfo(self, *_args, **_kwargs): | |
1fded56b | 190 | val = gizmosc.wxTreeCompanionWindow__setCallbackInfo(self, *_args, **_kwargs) |
611dc22c RD |
191 | return val |
192 | def GetTreeCtrl(self, *_args, **_kwargs): | |
1fded56b | 193 | val = gizmosc.wxTreeCompanionWindow_GetTreeCtrl(self, *_args, **_kwargs) |
611dc22c RD |
194 | if val: val = wxRemotelyScrolledTreeCtrlPtr(val) |
195 | return val | |
196 | def SetTreeCtrl(self, *_args, **_kwargs): | |
1fded56b | 197 | val = gizmosc.wxTreeCompanionWindow_SetTreeCtrl(self, *_args, **_kwargs) |
611dc22c RD |
198 | return val |
199 | def __repr__(self): | |
1fded56b | 200 | return "<%s.%s instance; proxy of C++ wxTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
611dc22c RD |
201 | class wxTreeCompanionWindow(wxTreeCompanionWindowPtr): |
202 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 203 | self.this = gizmosc.new_wxTreeCompanionWindow(*_args,**_kwargs) |
611dc22c RD |
204 | self.thisown = 1 |
205 | self._setCallbackInfo(self, wxTreeCompanionWindow) | |
206 | self._setOORInfo(self) | |
207 | ||
208 | ||
209 | ||
210 | ||
211 | class wxThinSplitterWindowPtr(wxSplitterWindowPtr): | |
212 | def __init__(self,this): | |
213 | self.this = this | |
214 | self.thisown = 0 | |
215 | def __repr__(self): | |
1fded56b | 216 | return "<%s.%s instance; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
611dc22c RD |
217 | class wxThinSplitterWindow(wxThinSplitterWindowPtr): |
218 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 219 | self.this = gizmosc.new_wxThinSplitterWindow(*_args,**_kwargs) |
611dc22c RD |
220 | self.thisown = 1 |
221 | self._setOORInfo(self) | |
222 | ||
223 | ||
224 | ||
225 | ||
226 | class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr): | |
227 | def __init__(self,this): | |
228 | self.this = this | |
229 | self.thisown = 0 | |
230 | def __repr__(self): | |
1fded56b | 231 | return "<%s.%s instance; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
611dc22c RD |
232 | class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr): |
233 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 234 | self.this = gizmosc.new_wxSplitterScrolledWindow(*_args,**_kwargs) |
611dc22c RD |
235 | self.thisown = 1 |
236 | self._setOORInfo(self) | |
7b7ac0ab RD |
237 | |
238 | ||
239 | ||
240 | ||
950e7faf RD |
241 | class wxLEDNumberCtrlPtr(wxControlPtr): |
242 | def __init__(self,this): | |
243 | self.this = this | |
244 | self.thisown = 0 | |
245 | def Create(self, *_args, **_kwargs): | |
1fded56b | 246 | val = gizmosc.wxLEDNumberCtrl_Create(self, *_args, **_kwargs) |
950e7faf RD |
247 | return val |
248 | def GetAlignment(self, *_args, **_kwargs): | |
1fded56b | 249 | val = gizmosc.wxLEDNumberCtrl_GetAlignment(self, *_args, **_kwargs) |
950e7faf RD |
250 | return val |
251 | def GetDrawFaded(self, *_args, **_kwargs): | |
1fded56b | 252 | val = gizmosc.wxLEDNumberCtrl_GetDrawFaded(self, *_args, **_kwargs) |
950e7faf RD |
253 | return val |
254 | def GetValue(self, *_args, **_kwargs): | |
1fded56b | 255 | val = gizmosc.wxLEDNumberCtrl_GetValue(self, *_args, **_kwargs) |
950e7faf RD |
256 | return val |
257 | def SetAlignment(self, *_args, **_kwargs): | |
1fded56b | 258 | val = gizmosc.wxLEDNumberCtrl_SetAlignment(self, *_args, **_kwargs) |
950e7faf RD |
259 | return val |
260 | def SetDrawFaded(self, *_args, **_kwargs): | |
1fded56b | 261 | val = gizmosc.wxLEDNumberCtrl_SetDrawFaded(self, *_args, **_kwargs) |
950e7faf RD |
262 | return val |
263 | def SetValue(self, *_args, **_kwargs): | |
1fded56b | 264 | val = gizmosc.wxLEDNumberCtrl_SetValue(self, *_args, **_kwargs) |
950e7faf RD |
265 | return val |
266 | def __repr__(self): | |
1fded56b | 267 | return "<%s.%s instance; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
950e7faf RD |
268 | class wxLEDNumberCtrl(wxLEDNumberCtrlPtr): |
269 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 270 | self.this = gizmosc.new_wxLEDNumberCtrl(*_args,**_kwargs) |
950e7faf RD |
271 | self.thisown = 1 |
272 | self._setOORInfo(self) | |
273 | ||
274 | ||
275 | ||
276 | def wxPreLEDNumberCtrl(*_args,**_kwargs): | |
1fded56b RD |
277 | val = wxLEDNumberCtrlPtr(gizmosc.new_wxPreLEDNumberCtrl(*_args,**_kwargs)) |
278 | val.thisown = 1 | |
279 | val._setOORInfo(val) | |
280 | return val | |
281 | ||
282 | ||
283 | class wxTreeListColumnInfoPtr(wxObjectPtr): | |
284 | def __init__(self,this): | |
285 | self.this = this | |
286 | self.thisown = 0 | |
287 | def GetAlignment(self, *_args, **_kwargs): | |
288 | val = gizmosc.wxTreeListColumnInfo_GetAlignment(self, *_args, **_kwargs) | |
289 | return val | |
290 | def GetText(self, *_args, **_kwargs): | |
291 | val = gizmosc.wxTreeListColumnInfo_GetText(self, *_args, **_kwargs) | |
292 | return val | |
293 | def GetImage(self, *_args, **_kwargs): | |
294 | val = gizmosc.wxTreeListColumnInfo_GetImage(self, *_args, **_kwargs) | |
295 | return val | |
296 | def GetSelectedImage(self, *_args, **_kwargs): | |
297 | val = gizmosc.wxTreeListColumnInfo_GetSelectedImage(self, *_args, **_kwargs) | |
298 | return val | |
299 | def GetWidth(self, *_args, **_kwargs): | |
300 | val = gizmosc.wxTreeListColumnInfo_GetWidth(self, *_args, **_kwargs) | |
301 | return val | |
302 | def SetAlignment(self, *_args, **_kwargs): | |
303 | val = gizmosc.wxTreeListColumnInfo_SetAlignment(self, *_args, **_kwargs) | |
304 | return val | |
305 | def SetText(self, *_args, **_kwargs): | |
306 | val = gizmosc.wxTreeListColumnInfo_SetText(self, *_args, **_kwargs) | |
307 | return val | |
308 | def SetImage(self, *_args, **_kwargs): | |
309 | val = gizmosc.wxTreeListColumnInfo_SetImage(self, *_args, **_kwargs) | |
310 | return val | |
311 | def SetSelectedImage(self, *_args, **_kwargs): | |
312 | val = gizmosc.wxTreeListColumnInfo_SetSelectedImage(self, *_args, **_kwargs) | |
313 | return val | |
314 | def SetWidth(self, *_args, **_kwargs): | |
315 | val = gizmosc.wxTreeListColumnInfo_SetWidth(self, *_args, **_kwargs) | |
316 | return val | |
317 | def __repr__(self): | |
318 | return "<%s.%s instance; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
319 | class wxTreeListColumnInfo(wxTreeListColumnInfoPtr): | |
320 | def __init__(self,*_args,**_kwargs): | |
321 | self.this = gizmosc.new_wxTreeListColumnInfo(*_args,**_kwargs) | |
322 | self.thisown = 1 | |
323 | ||
324 | ||
325 | ||
326 | ||
327 | class wxTreeListCtrlPtr(wxControlPtr): | |
328 | def __init__(self,this): | |
329 | self.this = this | |
330 | self.thisown = 0 | |
331 | def Create(self, *_args, **_kwargs): | |
332 | val = gizmosc.wxTreeListCtrl_Create(self, *_args, **_kwargs) | |
333 | return val | |
334 | def _setCallbackInfo(self, *_args, **_kwargs): | |
335 | val = gizmosc.wxTreeListCtrl__setCallbackInfo(self, *_args, **_kwargs) | |
336 | return val | |
337 | def GetCount(self, *_args, **_kwargs): | |
338 | val = gizmosc.wxTreeListCtrl_GetCount(self, *_args, **_kwargs) | |
339 | return val | |
340 | def GetIndent(self, *_args, **_kwargs): | |
341 | val = gizmosc.wxTreeListCtrl_GetIndent(self, *_args, **_kwargs) | |
342 | return val | |
343 | def SetIndent(self, *_args, **_kwargs): | |
344 | val = gizmosc.wxTreeListCtrl_SetIndent(self, *_args, **_kwargs) | |
345 | return val | |
346 | def GetSpacing(self, *_args, **_kwargs): | |
347 | val = gizmosc.wxTreeListCtrl_GetSpacing(self, *_args, **_kwargs) | |
348 | return val | |
349 | def SetSpacing(self, *_args, **_kwargs): | |
350 | val = gizmosc.wxTreeListCtrl_SetSpacing(self, *_args, **_kwargs) | |
351 | return val | |
352 | def GetLineSpacing(self, *_args, **_kwargs): | |
353 | val = gizmosc.wxTreeListCtrl_GetLineSpacing(self, *_args, **_kwargs) | |
354 | return val | |
355 | def SetLineSpacing(self, *_args, **_kwargs): | |
356 | val = gizmosc.wxTreeListCtrl_SetLineSpacing(self, *_args, **_kwargs) | |
357 | return val | |
358 | def GetImageList(self, *_args, **_kwargs): | |
359 | val = gizmosc.wxTreeListCtrl_GetImageList(self, *_args, **_kwargs) | |
360 | return val | |
361 | def GetStateImageList(self, *_args, **_kwargs): | |
362 | val = gizmosc.wxTreeListCtrl_GetStateImageList(self, *_args, **_kwargs) | |
363 | return val | |
364 | def GetButtonsImageList(self, *_args, **_kwargs): | |
365 | val = gizmosc.wxTreeListCtrl_GetButtonsImageList(self, *_args, **_kwargs) | |
366 | return val | |
367 | def SetImageList(self, *_args, **_kwargs): | |
368 | val = gizmosc.wxTreeListCtrl_SetImageList(self, *_args, **_kwargs) | |
369 | return val | |
370 | def SetStateImageList(self, *_args, **_kwargs): | |
371 | val = gizmosc.wxTreeListCtrl_SetStateImageList(self, *_args, **_kwargs) | |
372 | return val | |
373 | def SetButtonsImageList(self, *_args, **_kwargs): | |
374 | val = gizmosc.wxTreeListCtrl_SetButtonsImageList(self, *_args, **_kwargs) | |
375 | return val | |
376 | def AssignImageList(self, *_args, **_kwargs): | |
377 | val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs) | |
15d9a04c | 378 | _args[0].thisown = 0 |
1fded56b RD |
379 | return val |
380 | def AssignStateImageList(self, *_args, **_kwargs): | |
381 | val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs) | |
15d9a04c | 382 | _args[0].thisown = 0 |
1fded56b RD |
383 | return val |
384 | def AssignButtonsImageList(self, *_args, **_kwargs): | |
385 | val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs) | |
15d9a04c | 386 | _args[0].thisown = 0 |
1fded56b RD |
387 | return val |
388 | def AddColumn(self, *_args, **_kwargs): | |
389 | val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs) | |
390 | return val | |
391 | def AddColumnInfo(self, *_args, **_kwargs): | |
392 | val = gizmosc.wxTreeListCtrl_AddColumnInfo(self, *_args, **_kwargs) | |
393 | return val | |
394 | def InsertColumn(self, *_args, **_kwargs): | |
395 | val = gizmosc.wxTreeListCtrl_InsertColumn(self, *_args, **_kwargs) | |
396 | return val | |
397 | def InsertColumnInfo(self, *_args, **_kwargs): | |
398 | val = gizmosc.wxTreeListCtrl_InsertColumnInfo(self, *_args, **_kwargs) | |
399 | return val | |
400 | def RemoveColumn(self, *_args, **_kwargs): | |
401 | val = gizmosc.wxTreeListCtrl_RemoveColumn(self, *_args, **_kwargs) | |
402 | return val | |
403 | def GetColumnCount(self, *_args, **_kwargs): | |
404 | val = gizmosc.wxTreeListCtrl_GetColumnCount(self, *_args, **_kwargs) | |
405 | return val | |
406 | def SetColumnWidth(self, *_args, **_kwargs): | |
407 | val = gizmosc.wxTreeListCtrl_SetColumnWidth(self, *_args, **_kwargs) | |
408 | return val | |
409 | def GetColumnWidth(self, *_args, **_kwargs): | |
410 | val = gizmosc.wxTreeListCtrl_GetColumnWidth(self, *_args, **_kwargs) | |
411 | return val | |
412 | def SetMainColumn(self, *_args, **_kwargs): | |
413 | val = gizmosc.wxTreeListCtrl_SetMainColumn(self, *_args, **_kwargs) | |
414 | return val | |
415 | def GetMainColumn(self, *_args, **_kwargs): | |
416 | val = gizmosc.wxTreeListCtrl_GetMainColumn(self, *_args, **_kwargs) | |
417 | return val | |
418 | def SetColumnText(self, *_args, **_kwargs): | |
419 | val = gizmosc.wxTreeListCtrl_SetColumnText(self, *_args, **_kwargs) | |
420 | return val | |
421 | def GetColumnText(self, *_args, **_kwargs): | |
422 | val = gizmosc.wxTreeListCtrl_GetColumnText(self, *_args, **_kwargs) | |
423 | return val | |
424 | def SetColumn(self, *_args, **_kwargs): | |
425 | val = gizmosc.wxTreeListCtrl_SetColumn(self, *_args, **_kwargs) | |
426 | return val | |
427 | def GetColumn(self, *_args, **_kwargs): | |
428 | val = gizmosc.wxTreeListCtrl_GetColumn(self, *_args, **_kwargs) | |
429 | if val: val = wxTreeListColumnInfoPtr(val) | |
430 | return val | |
431 | def SetColumnAlignment(self, *_args, **_kwargs): | |
432 | val = gizmosc.wxTreeListCtrl_SetColumnAlignment(self, *_args, **_kwargs) | |
433 | return val | |
434 | def GetColumnAlignment(self, *_args, **_kwargs): | |
435 | val = gizmosc.wxTreeListCtrl_GetColumnAlignment(self, *_args, **_kwargs) | |
436 | return val | |
437 | def SetColumnImage(self, *_args, **_kwargs): | |
438 | val = gizmosc.wxTreeListCtrl_SetColumnImage(self, *_args, **_kwargs) | |
439 | return val | |
440 | def GetColumnImage(self, *_args, **_kwargs): | |
441 | val = gizmosc.wxTreeListCtrl_GetColumnImage(self, *_args, **_kwargs) | |
442 | return val | |
443 | def GetItemText(self, *_args, **_kwargs): | |
444 | val = gizmosc.wxTreeListCtrl_GetItemText(self, *_args, **_kwargs) | |
445 | return val | |
446 | def GetItemImage(self, *_args, **_kwargs): | |
447 | val = gizmosc.wxTreeListCtrl_GetItemImage(self, *_args, **_kwargs) | |
448 | return val | |
449 | def SetItemText(self, *_args, **_kwargs): | |
450 | val = gizmosc.wxTreeListCtrl_SetItemText(self, *_args, **_kwargs) | |
451 | return val | |
452 | def SetItemImage(self, *_args, **_kwargs): | |
453 | val = gizmosc.wxTreeListCtrl_SetItemImage(self, *_args, **_kwargs) | |
454 | return val | |
455 | def GetItemData(self, *_args, **_kwargs): | |
456 | val = gizmosc.wxTreeListCtrl_GetItemData(self, *_args, **_kwargs) | |
457 | if val: val = wxTreeItemDataPtr(val) | |
458 | return val | |
459 | def SetItemData(self, *_args, **_kwargs): | |
460 | val = gizmosc.wxTreeListCtrl_SetItemData(self, *_args, **_kwargs) | |
461 | return val | |
462 | def GetPyData(self, *_args, **_kwargs): | |
463 | val = gizmosc.wxTreeListCtrl_GetPyData(self, *_args, **_kwargs) | |
464 | return val | |
465 | def SetPyData(self, *_args, **_kwargs): | |
466 | val = gizmosc.wxTreeListCtrl_SetPyData(self, *_args, **_kwargs) | |
467 | return val | |
468 | def SetItemHasChildren(self, *_args, **_kwargs): | |
469 | val = gizmosc.wxTreeListCtrl_SetItemHasChildren(self, *_args, **_kwargs) | |
470 | return val | |
471 | def SetItemBold(self, *_args, **_kwargs): | |
472 | val = gizmosc.wxTreeListCtrl_SetItemBold(self, *_args, **_kwargs) | |
473 | return val | |
474 | def SetItemTextColour(self, *_args, **_kwargs): | |
475 | val = gizmosc.wxTreeListCtrl_SetItemTextColour(self, *_args, **_kwargs) | |
476 | return val | |
477 | def SetItemBackgroundColour(self, *_args, **_kwargs): | |
478 | val = gizmosc.wxTreeListCtrl_SetItemBackgroundColour(self, *_args, **_kwargs) | |
479 | return val | |
480 | def SetItemFont(self, *_args, **_kwargs): | |
481 | val = gizmosc.wxTreeListCtrl_SetItemFont(self, *_args, **_kwargs) | |
482 | return val | |
483 | def GetItemBold(self, *_args, **_kwargs): | |
484 | val = gizmosc.wxTreeListCtrl_GetItemBold(self, *_args, **_kwargs) | |
485 | return val | |
486 | def GetItemTextColour(self, *_args, **_kwargs): | |
487 | val = gizmosc.wxTreeListCtrl_GetItemTextColour(self, *_args, **_kwargs) | |
488 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
489 | return val | |
490 | def GetItemBackgroundColour(self, *_args, **_kwargs): | |
491 | val = gizmosc.wxTreeListCtrl_GetItemBackgroundColour(self, *_args, **_kwargs) | |
492 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
493 | return val | |
494 | def GetItemFont(self, *_args, **_kwargs): | |
495 | val = gizmosc.wxTreeListCtrl_GetItemFont(self, *_args, **_kwargs) | |
496 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
497 | return val | |
498 | def IsVisible(self, *_args, **_kwargs): | |
499 | val = gizmosc.wxTreeListCtrl_IsVisible(self, *_args, **_kwargs) | |
500 | return val | |
501 | def ItemHasChildren(self, *_args, **_kwargs): | |
502 | val = gizmosc.wxTreeListCtrl_ItemHasChildren(self, *_args, **_kwargs) | |
503 | return val | |
504 | def IsExpanded(self, *_args, **_kwargs): | |
505 | val = gizmosc.wxTreeListCtrl_IsExpanded(self, *_args, **_kwargs) | |
506 | return val | |
507 | def IsSelected(self, *_args, **_kwargs): | |
508 | val = gizmosc.wxTreeListCtrl_IsSelected(self, *_args, **_kwargs) | |
509 | return val | |
510 | def IsBold(self, *_args, **_kwargs): | |
511 | val = gizmosc.wxTreeListCtrl_IsBold(self, *_args, **_kwargs) | |
512 | return val | |
513 | def GetChildrenCount(self, *_args, **_kwargs): | |
514 | val = gizmosc.wxTreeListCtrl_GetChildrenCount(self, *_args, **_kwargs) | |
515 | return val | |
516 | def GetRootItem(self, *_args, **_kwargs): | |
517 | val = gizmosc.wxTreeListCtrl_GetRootItem(self, *_args, **_kwargs) | |
518 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
519 | return val | |
520 | def GetSelection(self, *_args, **_kwargs): | |
521 | val = gizmosc.wxTreeListCtrl_GetSelection(self, *_args, **_kwargs) | |
522 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
523 | return val | |
524 | def GetSelections(self, *_args, **_kwargs): | |
525 | val = gizmosc.wxTreeListCtrl_GetSelections(self, *_args, **_kwargs) | |
526 | return val | |
527 | def GetItemParent(self, *_args, **_kwargs): | |
528 | val = gizmosc.wxTreeListCtrl_GetItemParent(self, *_args, **_kwargs) | |
529 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
530 | return val | |
531 | def GetFirstChild(self, *_args, **_kwargs): | |
532 | val = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs) | |
533 | return val | |
534 | def GetNextChild(self, *_args, **_kwargs): | |
535 | val = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs) | |
536 | return val | |
537 | def GetLastChild(self, *_args, **_kwargs): | |
538 | val = gizmosc.wxTreeListCtrl_GetLastChild(self, *_args, **_kwargs) | |
539 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
540 | return val | |
541 | def GetNextSibling(self, *_args, **_kwargs): | |
542 | val = gizmosc.wxTreeListCtrl_GetNextSibling(self, *_args, **_kwargs) | |
543 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
544 | return val | |
545 | def GetPrevSibling(self, *_args, **_kwargs): | |
546 | val = gizmosc.wxTreeListCtrl_GetPrevSibling(self, *_args, **_kwargs) | |
547 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
548 | return val | |
549 | def GetFirstVisibleItem(self, *_args, **_kwargs): | |
550 | val = gizmosc.wxTreeListCtrl_GetFirstVisibleItem(self, *_args, **_kwargs) | |
551 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
552 | return val | |
553 | def GetNextVisible(self, *_args, **_kwargs): | |
554 | val = gizmosc.wxTreeListCtrl_GetNextVisible(self, *_args, **_kwargs) | |
555 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
556 | return val | |
557 | def GetPrevVisible(self, *_args, **_kwargs): | |
558 | val = gizmosc.wxTreeListCtrl_GetPrevVisible(self, *_args, **_kwargs) | |
559 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
560 | return val | |
561 | def GetNext(self, *_args, **_kwargs): | |
562 | val = gizmosc.wxTreeListCtrl_GetNext(self, *_args, **_kwargs) | |
563 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
564 | return val | |
565 | def AddRoot(self, *_args, **_kwargs): | |
566 | val = gizmosc.wxTreeListCtrl_AddRoot(self, *_args, **_kwargs) | |
567 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
568 | return val | |
569 | def PrependItem(self, *_args, **_kwargs): | |
570 | val = gizmosc.wxTreeListCtrl_PrependItem(self, *_args, **_kwargs) | |
571 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
572 | return val | |
573 | def InsertItem(self, *_args, **_kwargs): | |
574 | val = gizmosc.wxTreeListCtrl_InsertItem(self, *_args, **_kwargs) | |
575 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
576 | return val | |
577 | def InsertItemBefore(self, *_args, **_kwargs): | |
578 | val = gizmosc.wxTreeListCtrl_InsertItemBefore(self, *_args, **_kwargs) | |
579 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
580 | return val | |
581 | def AppendItem(self, *_args, **_kwargs): | |
582 | val = gizmosc.wxTreeListCtrl_AppendItem(self, *_args, **_kwargs) | |
583 | if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 | |
584 | return val | |
585 | def Delete(self, *_args, **_kwargs): | |
586 | val = gizmosc.wxTreeListCtrl_Delete(self, *_args, **_kwargs) | |
587 | return val | |
588 | def DeleteChildren(self, *_args, **_kwargs): | |
589 | val = gizmosc.wxTreeListCtrl_DeleteChildren(self, *_args, **_kwargs) | |
590 | return val | |
591 | def DeleteAllItems(self, *_args, **_kwargs): | |
592 | val = gizmosc.wxTreeListCtrl_DeleteAllItems(self, *_args, **_kwargs) | |
593 | return val | |
594 | def Expand(self, *_args, **_kwargs): | |
595 | val = gizmosc.wxTreeListCtrl_Expand(self, *_args, **_kwargs) | |
596 | return val | |
597 | def ExpandAll(self, *_args, **_kwargs): | |
598 | val = gizmosc.wxTreeListCtrl_ExpandAll(self, *_args, **_kwargs) | |
599 | return val | |
600 | def Collapse(self, *_args, **_kwargs): | |
601 | val = gizmosc.wxTreeListCtrl_Collapse(self, *_args, **_kwargs) | |
602 | return val | |
603 | def CollapseAndReset(self, *_args, **_kwargs): | |
604 | val = gizmosc.wxTreeListCtrl_CollapseAndReset(self, *_args, **_kwargs) | |
605 | return val | |
606 | def Toggle(self, *_args, **_kwargs): | |
607 | val = gizmosc.wxTreeListCtrl_Toggle(self, *_args, **_kwargs) | |
608 | return val | |
609 | def Unselect(self, *_args, **_kwargs): | |
610 | val = gizmosc.wxTreeListCtrl_Unselect(self, *_args, **_kwargs) | |
611 | return val | |
612 | def UnselectAll(self, *_args, **_kwargs): | |
613 | val = gizmosc.wxTreeListCtrl_UnselectAll(self, *_args, **_kwargs) | |
614 | return val | |
615 | def SelectItem(self, *_args, **_kwargs): | |
616 | val = gizmosc.wxTreeListCtrl_SelectItem(self, *_args, **_kwargs) | |
617 | return val | |
618 | def EnsureVisible(self, *_args, **_kwargs): | |
619 | val = gizmosc.wxTreeListCtrl_EnsureVisible(self, *_args, **_kwargs) | |
620 | return val | |
621 | def ScrollTo(self, *_args, **_kwargs): | |
622 | val = gizmosc.wxTreeListCtrl_ScrollTo(self, *_args, **_kwargs) | |
623 | return val | |
624 | def HitTest(self, *_args, **_kwargs): | |
625 | val = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs) | |
626 | return val | |
627 | def GetBoundingRect(self, *_args, **_kwargs): | |
628 | val = gizmosc.wxTreeListCtrl_GetBoundingRect(self, *_args, **_kwargs) | |
629 | return val | |
630 | def EditLabel(self, *_args, **_kwargs): | |
631 | val = gizmosc.wxTreeListCtrl_EditLabel(self, *_args, **_kwargs) | |
632 | return val | |
633 | def Edit(self, *_args, **_kwargs): | |
634 | val = gizmosc.wxTreeListCtrl_Edit(self, *_args, **_kwargs) | |
635 | return val | |
636 | def SortChildren(self, *_args, **_kwargs): | |
637 | val = gizmosc.wxTreeListCtrl_SortChildren(self, *_args, **_kwargs) | |
638 | return val | |
639 | def GetItemSelectedImage(self, *_args, **_kwargs): | |
640 | val = gizmosc.wxTreeListCtrl_GetItemSelectedImage(self, *_args, **_kwargs) | |
641 | return val | |
642 | def SetItemSelectedImage(self, *_args, **_kwargs): | |
643 | val = gizmosc.wxTreeListCtrl_SetItemSelectedImage(self, *_args, **_kwargs) | |
644 | return val | |
645 | def GetHeaderWindow(self, *_args, **_kwargs): | |
646 | val = gizmosc.wxTreeListCtrl_GetHeaderWindow(self, *_args, **_kwargs) | |
647 | return val | |
648 | def GetMainWindow(self, *_args, **_kwargs): | |
649 | val = gizmosc.wxTreeListCtrl_GetMainWindow(self, *_args, **_kwargs) | |
650 | return val | |
651 | def __repr__(self): | |
652 | return "<%s.%s instance; proxy of C++ wxTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
653 | ||
654 | # Redefine some methods that SWIG gets a bit confused on... | |
655 | def GetFirstChild(self, *_args, **_kwargs): | |
656 | val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs) | |
657 | val1 = wxTreeItemIdPtr(val1) | |
658 | val1.thisown = 1 | |
659 | return (val1,val2) | |
660 | def GetNextChild(self, *_args, **_kwargs): | |
661 | val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs) | |
662 | val1 = wxTreeItemIdPtr(val1) | |
663 | val1.thisown = 1 | |
664 | return (val1,val2) | |
665 | def HitTest(self, *_args, **_kwargs): | |
666 | val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs) | |
667 | val1 = wxTreeItemIdPtr(val1) | |
668 | val1.thisown = 1 | |
669 | return (val1, val2, val3) | |
670 | ||
671 | class wxTreeListCtrl(wxTreeListCtrlPtr): | |
672 | def __init__(self,*_args,**_kwargs): | |
673 | self.this = gizmosc.new_wxTreeListCtrl(*_args,**_kwargs) | |
674 | self.thisown = 1 | |
675 | self._setCallbackInfo(self, wxTreeListCtrl) | |
676 | self._setOORInfo(self) | |
677 | ||
678 | ||
679 | ||
680 | def wxPreTreeListCtrl(*_args,**_kwargs): | |
681 | val = wxTreeListCtrlPtr(gizmosc.new_wxPreTreeListCtrl(*_args,**_kwargs)) | |
950e7faf RD |
682 | val.thisown = 1 |
683 | val._setOORInfo(val) | |
684 | return val | |
685 | ||
686 | ||
ebf4302c RD |
687 | |
688 | ||
689 | #-------------- FUNCTION WRAPPERS ------------------ | |
690 | ||
691 | ||
692 | ||
693 | #-------------- VARIABLE WRAPPERS ------------------ | |
694 | ||
695 | wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT | |
696 | wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY | |
697 | wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS | |
698 | wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER | |
6187ec8f RD |
699 | wxEL_ALLOW_NEW = gizmosc.wxEL_ALLOW_NEW |
700 | wxEL_ALLOW_EDIT = gizmosc.wxEL_ALLOW_EDIT | |
701 | wxEL_ALLOW_DELETE = gizmosc.wxEL_ALLOW_DELETE | |
950e7faf RD |
702 | wxLED_ALIGN_LEFT = gizmosc.wxLED_ALIGN_LEFT |
703 | wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT | |
704 | wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER | |
705 | wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK | |
706 | wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED | |
1fded56b RD |
707 | wxTL_ALIGN_LEFT = gizmosc.wxTL_ALIGN_LEFT |
708 | wxTL_ALIGN_RIGHT = gizmosc.wxTL_ALIGN_RIGHT | |
709 | wxTL_ALIGN_CENTER = gizmosc.wxTL_ALIGN_CENTER | |
710 | wxTREE_HITTEST_ONITEMCOLUMN = gizmosc.wxTREE_HITTEST_ONITEMCOLUMN | |
ebf4302c RD |
711 | |
712 | ||
713 | #-------------- USER INCLUDE ----------------------- | |
714 | ||
715 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
716 | ||
717 | wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr | |
718 | wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr | |
719 | wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr | |
611dc22c RD |
720 | |
721 | wx.wxEditableListBoxPtr = wxEditableListBoxPtr | |
722 | ||
723 | wx.wxRemotelyScrolledTreeCtrlPtr = wxRemotelyScrolledTreeCtrlPtr | |
724 | wx.wxTreeCompanionWindowPtr = wxTreeCompanionWindowPtr | |
725 | wx.wxThinSplitterWindowPtr = wxThinSplitterWindowPtr | |
726 | wx.wxSplitterScrolledWindowPtr = wxSplitterScrolledWindowPtr |