]>
Commit | Line | Data |
---|---|---|
44127b65 RD |
1 | # This file was created automatically by SWIG. |
2 | # Don't modify this file, modify the SWIG interface instead. | |
3 | ||
a5ee0656 RD |
4 | """ |
5 | Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`, | |
6 | `LEDNumberCtrl`, `TreeListCtrl`, etc. | |
7 | """ | |
8 | ||
44127b65 RD |
9 | import _gizmos |
10 | ||
36ed4f51 RD |
11 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): |
12 | if (name == "this"): | |
13 | if isinstance(value, class_type): | |
14 | self.__dict__[name] = value.this | |
15 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | |
16 | del value.thisown | |
17 | return | |
18 | method = class_type.__swig_setmethods__.get(name,None) | |
19 | if method: return method(self,value) | |
20 | if (not static) or hasattr(self,name) or (name == "thisown"): | |
21 | self.__dict__[name] = value | |
22 | else: | |
23 | raise AttributeError("You cannot add attributes to %s" % self) | |
24 | ||
25 | def _swig_setattr(self,class_type,name,value): | |
26 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
27 | ||
28 | def _swig_getattr(self,class_type,name): | |
29 | method = class_type.__swig_getmethods__.get(name,None) | |
30 | if method: return method(self) | |
31 | raise AttributeError,name | |
32 | ||
33 | import types | |
34 | try: | |
35 | _object = types.ObjectType | |
36 | _newclass = 1 | |
37 | except AttributeError: | |
38 | class _object : pass | |
39 | _newclass = 0 | |
40 | del types | |
41 | ||
42 | ||
43 | def _swig_setattr_nondynamic_method(set): | |
44 | def set_attr(self,name,value): | |
45 | if hasattr(self,name) or (name in ("this", "thisown")): | |
46 | set(self,name,value) | |
47 | else: | |
48 | raise AttributeError("You cannot add attributes to %s" % self) | |
49 | return set_attr | |
50 | ||
51 | ||
d55e5bfc RD |
52 | import _windows |
53 | import _core | |
54 | import _controls | |
bb4524c4 RD |
55 | import wx |
56 | __docfilter__ = wx._core.__DocFilter(globals()) | |
44127b65 RD |
57 | wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT |
58 | wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY | |
59 | DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS | |
60 | DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER | |
d55e5bfc | 61 | class DynamicSashSplitEvent(_core.CommandEvent): |
36ed4f51 | 62 | """Proxy of C++ DynamicSashSplitEvent class""" |
44127b65 RD |
63 | def __repr__(self): |
64 | return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
65 | def __init__(self, *args, **kwargs): | |
a95a7133 | 66 | """__init__(self, Object target) -> DynamicSashSplitEvent""" |
44127b65 RD |
67 | newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs) |
68 | self.this = newobj.this | |
69 | self.thisown = 1 | |
70 | del newobj.thisown | |
71 | ||
72 | class DynamicSashSplitEventPtr(DynamicSashSplitEvent): | |
73 | def __init__(self, this): | |
74 | self.this = this | |
75 | if not hasattr(self,"thisown"): self.thisown = 0 | |
76 | self.__class__ = DynamicSashSplitEvent | |
77 | _gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr) | |
cbd72d4f RD |
78 | cvar = _gizmos.cvar |
79 | DynamicSashNameStr = cvar.DynamicSashNameStr | |
80 | EditableListBoxNameStr = cvar.EditableListBoxNameStr | |
81 | TreeListCtrlNameStr = cvar.TreeListCtrlNameStr | |
44127b65 | 82 | |
d55e5bfc | 83 | class DynamicSashUnifyEvent(_core.CommandEvent): |
36ed4f51 | 84 | """Proxy of C++ DynamicSashUnifyEvent class""" |
44127b65 RD |
85 | def __repr__(self): |
86 | return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
87 | def __init__(self, *args, **kwargs): | |
a95a7133 | 88 | """__init__(self, Object target) -> DynamicSashUnifyEvent""" |
44127b65 RD |
89 | newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs) |
90 | self.this = newobj.this | |
91 | self.thisown = 1 | |
92 | del newobj.thisown | |
93 | ||
94 | class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent): | |
95 | def __init__(self, this): | |
96 | self.this = this | |
97 | if not hasattr(self,"thisown"): self.thisown = 0 | |
98 | self.__class__ = DynamicSashUnifyEvent | |
99 | _gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr) | |
100 | ||
d55e5bfc | 101 | class DynamicSashWindow(_core.Window): |
36ed4f51 | 102 | """Proxy of C++ DynamicSashWindow class""" |
44127b65 RD |
103 | def __repr__(self): |
104 | return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
105 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 106 | """ |
bfddbb17 RD |
107 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
108 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
cbd72d4f | 109 | String name=DynamicSashNameStr) -> DynamicSashWindow |
41f1cec7 | 110 | """ |
44127b65 RD |
111 | newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs) |
112 | self.this = newobj.this | |
113 | self.thisown = 1 | |
114 | del newobj.thisown | |
115 | self._setOORInfo(self) | |
116 | ||
117 | def Create(*args, **kwargs): | |
41f1cec7 | 118 | """ |
bfddbb17 RD |
119 | Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
120 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
cbd72d4f | 121 | String name=DynamicSashNameStr) -> bool |
41f1cec7 | 122 | """ |
44127b65 RD |
123 | return _gizmos.DynamicSashWindow_Create(*args, **kwargs) |
124 | ||
125 | def GetHScrollBar(*args, **kwargs): | |
a95a7133 | 126 | """GetHScrollBar(self, Window child) -> ScrollBar""" |
44127b65 RD |
127 | return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs) |
128 | ||
129 | def GetVScrollBar(*args, **kwargs): | |
a95a7133 | 130 | """GetVScrollBar(self, Window child) -> ScrollBar""" |
44127b65 RD |
131 | return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs) |
132 | ||
133 | ||
134 | class DynamicSashWindowPtr(DynamicSashWindow): | |
135 | def __init__(self, this): | |
136 | self.this = this | |
137 | if not hasattr(self,"thisown"): self.thisown = 0 | |
138 | self.__class__ = DynamicSashWindow | |
139 | _gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr) | |
140 | ||
141 | def PreDynamicSashWindow(*args, **kwargs): | |
142 | """PreDynamicSashWindow() -> DynamicSashWindow""" | |
143 | val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs) | |
144 | val.thisown = 1 | |
145 | return val | |
146 | ||
147 | EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) | |
148 | EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) | |
149 | ||
150 | EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW | |
151 | EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT | |
152 | EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE | |
d55e5bfc | 153 | class EditableListBox(_windows.Panel): |
36ed4f51 | 154 | """Proxy of C++ EditableListBox class""" |
44127b65 RD |
155 | def __repr__(self): |
156 | return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
157 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 158 | """ |
bfddbb17 RD |
159 | __init__(self, Window parent, int id=-1, String label=EmptyString, |
160 | Point pos=DefaultPosition, Size size=DefaultSize, | |
161 | long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, | |
cbd72d4f | 162 | String name=EditableListBoxNameStr) -> EditableListBox |
41f1cec7 | 163 | """ |
44127b65 RD |
164 | newobj = _gizmos.new_EditableListBox(*args, **kwargs) |
165 | self.this = newobj.this | |
166 | self.thisown = 1 | |
167 | del newobj.thisown | |
168 | self._setOORInfo(self) | |
169 | ||
170 | def SetStrings(*args, **kwargs): | |
a95a7133 | 171 | """SetStrings(self, wxArrayString strings)""" |
44127b65 RD |
172 | return _gizmos.EditableListBox_SetStrings(*args, **kwargs) |
173 | ||
174 | def GetStrings(*args, **kwargs): | |
a95a7133 | 175 | """GetStrings(self) -> PyObject""" |
44127b65 RD |
176 | return _gizmos.EditableListBox_GetStrings(*args, **kwargs) |
177 | ||
178 | def GetListCtrl(*args, **kwargs): | |
4cf4100f | 179 | """GetListCtrl(self) -> ListCtrl""" |
44127b65 RD |
180 | return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs) |
181 | ||
182 | def GetDelButton(*args, **kwargs): | |
a95a7133 | 183 | """GetDelButton(self) -> BitmapButton""" |
44127b65 RD |
184 | return _gizmos.EditableListBox_GetDelButton(*args, **kwargs) |
185 | ||
186 | def GetNewButton(*args, **kwargs): | |
a95a7133 | 187 | """GetNewButton(self) -> BitmapButton""" |
44127b65 RD |
188 | return _gizmos.EditableListBox_GetNewButton(*args, **kwargs) |
189 | ||
190 | def GetUpButton(*args, **kwargs): | |
a95a7133 | 191 | """GetUpButton(self) -> BitmapButton""" |
44127b65 RD |
192 | return _gizmos.EditableListBox_GetUpButton(*args, **kwargs) |
193 | ||
194 | def GetDownButton(*args, **kwargs): | |
a95a7133 | 195 | """GetDownButton(self) -> BitmapButton""" |
44127b65 RD |
196 | return _gizmos.EditableListBox_GetDownButton(*args, **kwargs) |
197 | ||
198 | def GetEditButton(*args, **kwargs): | |
a95a7133 | 199 | """GetEditButton(self) -> BitmapButton""" |
44127b65 RD |
200 | return _gizmos.EditableListBox_GetEditButton(*args, **kwargs) |
201 | ||
202 | ||
203 | class EditableListBoxPtr(EditableListBox): | |
204 | def __init__(self, this): | |
205 | self.this = this | |
206 | if not hasattr(self,"thisown"): self.thisown = 0 | |
207 | self.__class__ = EditableListBox | |
208 | _gizmos.EditableListBox_swigregister(EditableListBoxPtr) | |
209 | ||
d55e5bfc | 210 | class RemotelyScrolledTreeCtrl(_controls.TreeCtrl): |
36ed4f51 | 211 | """Proxy of C++ RemotelyScrolledTreeCtrl class""" |
44127b65 RD |
212 | def __repr__(self): |
213 | return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
214 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 215 | """ |
a95a7133 | 216 | __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
41f1cec7 RD |
217 | long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl |
218 | """ | |
44127b65 RD |
219 | newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs) |
220 | self.this = newobj.this | |
221 | self.thisown = 1 | |
222 | del newobj.thisown | |
223 | self._setOORInfo(self) | |
224 | ||
225 | def HideVScrollbar(*args, **kwargs): | |
a95a7133 | 226 | """HideVScrollbar(self)""" |
44127b65 RD |
227 | return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs) |
228 | ||
229 | def AdjustRemoteScrollbars(*args, **kwargs): | |
a95a7133 | 230 | """AdjustRemoteScrollbars(self)""" |
44127b65 RD |
231 | return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs) |
232 | ||
233 | def GetScrolledWindow(*args, **kwargs): | |
a95a7133 | 234 | """GetScrolledWindow(self) -> ScrolledWindow""" |
44127b65 RD |
235 | return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs) |
236 | ||
237 | def ScrollToLine(*args, **kwargs): | |
a95a7133 | 238 | """ScrollToLine(self, int posHoriz, int posVert)""" |
44127b65 RD |
239 | return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs) |
240 | ||
241 | def SetCompanionWindow(*args, **kwargs): | |
a95a7133 | 242 | """SetCompanionWindow(self, Window companion)""" |
44127b65 RD |
243 | return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs) |
244 | ||
245 | def GetCompanionWindow(*args, **kwargs): | |
a95a7133 | 246 | """GetCompanionWindow(self) -> Window""" |
44127b65 RD |
247 | return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs) |
248 | ||
249 | ||
250 | class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl): | |
251 | def __init__(self, this): | |
252 | self.this = this | |
253 | if not hasattr(self,"thisown"): self.thisown = 0 | |
254 | self.__class__ = RemotelyScrolledTreeCtrl | |
255 | _gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr) | |
256 | ||
d55e5bfc | 257 | class TreeCompanionWindow(_core.Window): |
36ed4f51 | 258 | """Proxy of C++ TreeCompanionWindow class""" |
44127b65 RD |
259 | def __repr__(self): |
260 | return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
261 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 262 | """ |
a95a7133 | 263 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
264 | Size size=DefaultSize, long style=0) -> TreeCompanionWindow |
265 | """ | |
44127b65 RD |
266 | newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs) |
267 | self.this = newobj.this | |
268 | self.thisown = 1 | |
269 | del newobj.thisown | |
270 | self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow) | |
271 | ||
272 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 273 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
44127b65 RD |
274 | return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs) |
275 | ||
276 | def GetTreeCtrl(*args, **kwargs): | |
a95a7133 | 277 | """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl""" |
44127b65 RD |
278 | return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs) |
279 | ||
280 | def SetTreeCtrl(*args, **kwargs): | |
a95a7133 | 281 | """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)""" |
44127b65 RD |
282 | return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs) |
283 | ||
284 | ||
285 | class TreeCompanionWindowPtr(TreeCompanionWindow): | |
286 | def __init__(self, this): | |
287 | self.this = this | |
288 | if not hasattr(self,"thisown"): self.thisown = 0 | |
289 | self.__class__ = TreeCompanionWindow | |
290 | _gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr) | |
291 | ||
d55e5bfc | 292 | class ThinSplitterWindow(_windows.SplitterWindow): |
36ed4f51 | 293 | """Proxy of C++ ThinSplitterWindow class""" |
44127b65 RD |
294 | def __repr__(self): |
295 | return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
296 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 297 | """ |
a95a7133 | 298 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
299 | Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow |
300 | """ | |
44127b65 RD |
301 | newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs) |
302 | self.this = newobj.this | |
303 | self.thisown = 1 | |
304 | del newobj.thisown | |
305 | self._setOORInfo(self) | |
306 | ||
307 | ||
308 | class ThinSplitterWindowPtr(ThinSplitterWindow): | |
309 | def __init__(self, this): | |
310 | self.this = this | |
311 | if not hasattr(self,"thisown"): self.thisown = 0 | |
312 | self.__class__ = ThinSplitterWindow | |
313 | _gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr) | |
314 | ||
d55e5bfc | 315 | class SplitterScrolledWindow(_windows.ScrolledWindow): |
36ed4f51 | 316 | """Proxy of C++ SplitterScrolledWindow class""" |
44127b65 RD |
317 | def __repr__(self): |
318 | return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
319 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 320 | """ |
a95a7133 | 321 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
322 | Size size=DefaultSize, long style=0) -> SplitterScrolledWindow |
323 | """ | |
44127b65 RD |
324 | newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs) |
325 | self.this = newobj.this | |
326 | self.thisown = 1 | |
327 | del newobj.thisown | |
328 | self._setOORInfo(self) | |
329 | ||
330 | ||
331 | class SplitterScrolledWindowPtr(SplitterScrolledWindow): | |
332 | def __init__(self, this): | |
333 | self.this = this | |
334 | if not hasattr(self,"thisown"): self.thisown = 0 | |
335 | self.__class__ = SplitterScrolledWindow | |
336 | _gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr) | |
337 | ||
338 | LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT | |
339 | LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT | |
340 | LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER | |
341 | LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK | |
342 | LED_DRAW_FADED = _gizmos.LED_DRAW_FADED | |
d55e5bfc | 343 | class LEDNumberCtrl(_core.Control): |
36ed4f51 | 344 | """Proxy of C++ LEDNumberCtrl class""" |
44127b65 RD |
345 | def __repr__(self): |
346 | return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
347 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 348 | """ |
a95a7133 | 349 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
350 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl |
351 | """ | |
44127b65 RD |
352 | newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs) |
353 | self.this = newobj.this | |
354 | self.thisown = 1 | |
355 | del newobj.thisown | |
356 | self._setOORInfo(self) | |
357 | ||
358 | def Create(*args, **kwargs): | |
41f1cec7 | 359 | """ |
a95a7133 | 360 | Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 | 361 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool |
36ed4f51 RD |
362 | |
363 | Do the 2nd phase and create the GUI control. | |
41f1cec7 | 364 | """ |
44127b65 RD |
365 | return _gizmos.LEDNumberCtrl_Create(*args, **kwargs) |
366 | ||
367 | def GetAlignment(*args, **kwargs): | |
a95a7133 | 368 | """GetAlignment(self) -> int""" |
44127b65 RD |
369 | return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs) |
370 | ||
371 | def GetDrawFaded(*args, **kwargs): | |
a95a7133 | 372 | """GetDrawFaded(self) -> bool""" |
44127b65 RD |
373 | return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs) |
374 | ||
375 | def GetValue(*args, **kwargs): | |
a95a7133 | 376 | """GetValue(self) -> String""" |
44127b65 RD |
377 | return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs) |
378 | ||
379 | def SetAlignment(*args, **kwargs): | |
b411df4a | 380 | """SetAlignment(self, int Alignment, bool Redraw=True)""" |
44127b65 RD |
381 | return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs) |
382 | ||
383 | def SetDrawFaded(*args, **kwargs): | |
b411df4a | 384 | """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)""" |
44127b65 RD |
385 | return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs) |
386 | ||
387 | def SetValue(*args, **kwargs): | |
b411df4a | 388 | """SetValue(self, String Value, bool Redraw=True)""" |
44127b65 RD |
389 | return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs) |
390 | ||
391 | ||
392 | class LEDNumberCtrlPtr(LEDNumberCtrl): | |
393 | def __init__(self, this): | |
394 | self.this = this | |
395 | if not hasattr(self,"thisown"): self.thisown = 0 | |
396 | self.__class__ = LEDNumberCtrl | |
397 | _gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr) | |
398 | ||
399 | def PreLEDNumberCtrl(*args, **kwargs): | |
400 | """PreLEDNumberCtrl() -> LEDNumberCtrl""" | |
401 | val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs) | |
402 | val.thisown = 1 | |
403 | return val | |
404 | ||
405 | TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT | |
406 | TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT | |
407 | TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER | |
408 | TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN | |
0439c23b RD |
409 | TL_SEARCH_VISIBLE = _gizmos.TL_SEARCH_VISIBLE |
410 | TL_SEARCH_LEVEL = _gizmos.TL_SEARCH_LEVEL | |
411 | TL_SEARCH_FULL = _gizmos.TL_SEARCH_FULL | |
412 | TL_SEARCH_PARTIAL = _gizmos.TL_SEARCH_PARTIAL | |
413 | TL_SEARCH_NOCASE = _gizmos.TL_SEARCH_NOCASE | |
bb4524c4 RD |
414 | TR_DONT_ADJUST_MAC = _gizmos.TR_DONT_ADJUST_MAC |
415 | wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC | |
d55e5bfc | 416 | class TreeListColumnInfo(_core.Object): |
36ed4f51 | 417 | """Proxy of C++ TreeListColumnInfo class""" |
44127b65 RD |
418 | def __repr__(self): |
419 | return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
420 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 421 | """ |
a95a7133 | 422 | __init__(self, String text=EmptyString, int image=-1, size_t width=100, |
0439c23b | 423 | bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo |
41f1cec7 | 424 | """ |
44127b65 RD |
425 | newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs) |
426 | self.this = newobj.this | |
427 | self.thisown = 1 | |
428 | del newobj.thisown | |
0439c23b RD |
429 | def GetShown(*args, **kwargs): |
430 | """GetShown(self) -> bool""" | |
431 | return _gizmos.TreeListColumnInfo_GetShown(*args, **kwargs) | |
432 | ||
44127b65 | 433 | def GetAlignment(*args, **kwargs): |
a95a7133 | 434 | """GetAlignment(self) -> int""" |
44127b65 RD |
435 | return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs) |
436 | ||
437 | def GetText(*args, **kwargs): | |
a95a7133 | 438 | """GetText(self) -> String""" |
44127b65 RD |
439 | return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs) |
440 | ||
441 | def GetImage(*args, **kwargs): | |
a95a7133 | 442 | """GetImage(self) -> int""" |
44127b65 RD |
443 | return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs) |
444 | ||
445 | def GetSelectedImage(*args, **kwargs): | |
a95a7133 | 446 | """GetSelectedImage(self) -> int""" |
44127b65 RD |
447 | return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs) |
448 | ||
449 | def GetWidth(*args, **kwargs): | |
a95a7133 | 450 | """GetWidth(self) -> size_t""" |
44127b65 RD |
451 | return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs) |
452 | ||
0439c23b RD |
453 | def SetShown(*args, **kwargs): |
454 | """SetShown(self, bool shown)""" | |
455 | return _gizmos.TreeListColumnInfo_SetShown(*args, **kwargs) | |
456 | ||
44127b65 | 457 | def SetAlignment(*args, **kwargs): |
a95a7133 | 458 | """SetAlignment(self, int alignment)""" |
44127b65 RD |
459 | return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs) |
460 | ||
461 | def SetText(*args, **kwargs): | |
a95a7133 | 462 | """SetText(self, String text)""" |
44127b65 RD |
463 | return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs) |
464 | ||
465 | def SetImage(*args, **kwargs): | |
a95a7133 | 466 | """SetImage(self, int image)""" |
44127b65 RD |
467 | return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs) |
468 | ||
469 | def SetSelectedImage(*args, **kwargs): | |
a95a7133 | 470 | """SetSelectedImage(self, int image)""" |
44127b65 RD |
471 | return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs) |
472 | ||
473 | def SetWidth(*args, **kwargs): | |
a95a7133 | 474 | """SetWidth(self, size_t with)""" |
44127b65 RD |
475 | return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs) |
476 | ||
477 | ||
478 | class TreeListColumnInfoPtr(TreeListColumnInfo): | |
479 | def __init__(self, this): | |
480 | self.this = this | |
481 | if not hasattr(self,"thisown"): self.thisown = 0 | |
482 | self.__class__ = TreeListColumnInfo | |
483 | _gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr) | |
484 | ||
d55e5bfc | 485 | class TreeListCtrl(_core.Control): |
36ed4f51 | 486 | """Proxy of C++ TreeListCtrl class""" |
44127b65 RD |
487 | def __repr__(self): |
488 | return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
489 | def __init__(self, *args, **kwargs): | |
41f1cec7 | 490 | """ |
a95a7133 | 491 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
492 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
493 | Validator validator=DefaultValidator, | |
cbd72d4f | 494 | String name=TreeListCtrlNameStr) -> TreeListCtrl |
41f1cec7 | 495 | """ |
44127b65 RD |
496 | newobj = _gizmos.new_TreeListCtrl(*args, **kwargs) |
497 | self.this = newobj.this | |
498 | self.thisown = 1 | |
499 | del newobj.thisown | |
500 | self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl) | |
501 | ||
502 | def Create(*args, **kwargs): | |
41f1cec7 | 503 | """ |
a95a7133 | 504 | Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 RD |
505 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
506 | Validator validator=DefaultValidator, | |
cbd72d4f | 507 | String name=TreeListCtrlNameStr) -> bool |
ce7284bd RD |
508 | |
509 | Do the 2nd phase and create the GUI control. | |
41f1cec7 | 510 | """ |
44127b65 RD |
511 | return _gizmos.TreeListCtrl_Create(*args, **kwargs) |
512 | ||
513 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 514 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
44127b65 RD |
515 | return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs) |
516 | ||
517 | def GetCount(*args, **kwargs): | |
a95a7133 | 518 | """GetCount(self) -> size_t""" |
44127b65 RD |
519 | return _gizmos.TreeListCtrl_GetCount(*args, **kwargs) |
520 | ||
521 | def GetIndent(*args, **kwargs): | |
a95a7133 | 522 | """GetIndent(self) -> unsigned int""" |
44127b65 RD |
523 | return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs) |
524 | ||
525 | def SetIndent(*args, **kwargs): | |
a95a7133 | 526 | """SetIndent(self, unsigned int indent)""" |
44127b65 RD |
527 | return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs) |
528 | ||
44127b65 | 529 | def GetLineSpacing(*args, **kwargs): |
a95a7133 | 530 | """GetLineSpacing(self) -> unsigned int""" |
44127b65 RD |
531 | return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs) |
532 | ||
533 | def SetLineSpacing(*args, **kwargs): | |
a95a7133 | 534 | """SetLineSpacing(self, unsigned int spacing)""" |
44127b65 RD |
535 | return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs) |
536 | ||
537 | def GetImageList(*args, **kwargs): | |
a95a7133 | 538 | """GetImageList(self) -> ImageList""" |
44127b65 RD |
539 | return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs) |
540 | ||
541 | def GetStateImageList(*args, **kwargs): | |
a95a7133 | 542 | """GetStateImageList(self) -> ImageList""" |
44127b65 RD |
543 | return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs) |
544 | ||
545 | def GetButtonsImageList(*args, **kwargs): | |
a95a7133 | 546 | """GetButtonsImageList(self) -> ImageList""" |
44127b65 RD |
547 | return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs) |
548 | ||
549 | def SetImageList(*args, **kwargs): | |
a95a7133 | 550 | """SetImageList(self, ImageList imageList)""" |
44127b65 RD |
551 | return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs) |
552 | ||
553 | def SetStateImageList(*args, **kwargs): | |
a95a7133 | 554 | """SetStateImageList(self, ImageList imageList)""" |
44127b65 RD |
555 | return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs) |
556 | ||
557 | def SetButtonsImageList(*args, **kwargs): | |
a95a7133 | 558 | """SetButtonsImageList(self, ImageList imageList)""" |
44127b65 RD |
559 | return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs) |
560 | ||
561 | def AssignImageList(*args, **kwargs): | |
a95a7133 | 562 | """AssignImageList(self, ImageList imageList)""" |
58203fa6 | 563 | return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs) |
44127b65 RD |
564 | |
565 | def AssignStateImageList(*args, **kwargs): | |
a95a7133 | 566 | """AssignStateImageList(self, ImageList imageList)""" |
58203fa6 | 567 | return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs) |
44127b65 RD |
568 | |
569 | def AssignButtonsImageList(*args, **kwargs): | |
a95a7133 | 570 | """AssignButtonsImageList(self, ImageList imageList)""" |
58203fa6 | 571 | return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs) |
44127b65 RD |
572 | |
573 | def AddColumn(*args, **kwargs): | |
a95a7133 | 574 | """AddColumn(self, String text)""" |
44127b65 RD |
575 | return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs) |
576 | ||
577 | def AddColumnInfo(*args, **kwargs): | |
a95a7133 | 578 | """AddColumnInfo(self, TreeListColumnInfo col)""" |
44127b65 RD |
579 | return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs) |
580 | ||
581 | def InsertColumn(*args, **kwargs): | |
a95a7133 | 582 | """InsertColumn(self, size_t before, String text)""" |
44127b65 RD |
583 | return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs) |
584 | ||
585 | def InsertColumnInfo(*args, **kwargs): | |
a95a7133 | 586 | """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)""" |
44127b65 RD |
587 | return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs) |
588 | ||
589 | def RemoveColumn(*args, **kwargs): | |
a95a7133 | 590 | """RemoveColumn(self, size_t column)""" |
44127b65 RD |
591 | return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs) |
592 | ||
593 | def GetColumnCount(*args, **kwargs): | |
a95a7133 | 594 | """GetColumnCount(self) -> size_t""" |
44127b65 RD |
595 | return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs) |
596 | ||
597 | def SetColumnWidth(*args, **kwargs): | |
a95a7133 | 598 | """SetColumnWidth(self, size_t column, size_t width)""" |
44127b65 RD |
599 | return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs) |
600 | ||
601 | def GetColumnWidth(*args, **kwargs): | |
a95a7133 | 602 | """GetColumnWidth(self, size_t column) -> int""" |
44127b65 RD |
603 | return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs) |
604 | ||
605 | def SetMainColumn(*args, **kwargs): | |
a95a7133 | 606 | """SetMainColumn(self, size_t column)""" |
44127b65 RD |
607 | return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs) |
608 | ||
609 | def GetMainColumn(*args, **kwargs): | |
a95a7133 | 610 | """GetMainColumn(self) -> size_t""" |
44127b65 RD |
611 | return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs) |
612 | ||
613 | def SetColumnText(*args, **kwargs): | |
a95a7133 | 614 | """SetColumnText(self, size_t column, String text)""" |
44127b65 RD |
615 | return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs) |
616 | ||
617 | def GetColumnText(*args, **kwargs): | |
a95a7133 | 618 | """GetColumnText(self, size_t column) -> String""" |
44127b65 RD |
619 | return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs) |
620 | ||
621 | def SetColumn(*args, **kwargs): | |
a95a7133 | 622 | """SetColumn(self, size_t column, TreeListColumnInfo info)""" |
44127b65 RD |
623 | return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs) |
624 | ||
625 | def GetColumn(*args, **kwargs): | |
a95a7133 | 626 | """GetColumn(self, size_t column) -> TreeListColumnInfo""" |
44127b65 RD |
627 | return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs) |
628 | ||
629 | def SetColumnAlignment(*args, **kwargs): | |
a95a7133 | 630 | """SetColumnAlignment(self, size_t column, int align)""" |
44127b65 RD |
631 | return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs) |
632 | ||
633 | def GetColumnAlignment(*args, **kwargs): | |
a95a7133 | 634 | """GetColumnAlignment(self, size_t column) -> int""" |
44127b65 RD |
635 | return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs) |
636 | ||
637 | def SetColumnImage(*args, **kwargs): | |
a95a7133 | 638 | """SetColumnImage(self, size_t column, int image)""" |
44127b65 RD |
639 | return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs) |
640 | ||
641 | def GetColumnImage(*args, **kwargs): | |
a95a7133 | 642 | """GetColumnImage(self, size_t column) -> int""" |
44127b65 RD |
643 | return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs) |
644 | ||
0439c23b RD |
645 | def ShowColumn(*args, **kwargs): |
646 | """ShowColumn(self, size_t column, bool shown)""" | |
647 | return _gizmos.TreeListCtrl_ShowColumn(*args, **kwargs) | |
648 | ||
649 | def IsColumnShown(*args, **kwargs): | |
650 | """IsColumnShown(self, size_t column) -> bool""" | |
651 | return _gizmos.TreeListCtrl_IsColumnShown(*args, **kwargs) | |
652 | ||
44127b65 | 653 | def GetItemText(*args, **kwargs): |
a95a7133 | 654 | """GetItemText(self, TreeItemId item, int column=-1) -> String""" |
44127b65 RD |
655 | return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs) |
656 | ||
657 | def GetItemImage(*args, **kwargs): | |
a95a7133 | 658 | """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int""" |
44127b65 RD |
659 | return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs) |
660 | ||
661 | def SetItemText(*args, **kwargs): | |
a95a7133 | 662 | """SetItemText(self, TreeItemId item, String text, int column=-1)""" |
44127b65 RD |
663 | return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs) |
664 | ||
665 | def SetItemImage(*args, **kwargs): | |
a95a7133 | 666 | """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)""" |
44127b65 RD |
667 | return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs) |
668 | ||
669 | def GetItemData(*args, **kwargs): | |
a95a7133 | 670 | """GetItemData(self, TreeItemId item) -> TreeItemData""" |
44127b65 RD |
671 | return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs) |
672 | ||
673 | def SetItemData(*args, **kwargs): | |
a95a7133 | 674 | """SetItemData(self, TreeItemId item, TreeItemData data)""" |
44127b65 RD |
675 | return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs) |
676 | ||
677 | def GetItemPyData(*args, **kwargs): | |
a95a7133 | 678 | """GetItemPyData(self, TreeItemId item) -> PyObject""" |
44127b65 RD |
679 | return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs) |
680 | ||
681 | def SetItemPyData(*args, **kwargs): | |
a95a7133 | 682 | """SetItemPyData(self, TreeItemId item, PyObject obj)""" |
44127b65 RD |
683 | return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs) |
684 | ||
fbc46b20 RD |
685 | GetPyData = GetItemPyData |
686 | SetPyData = SetItemPyData | |
44127b65 | 687 | def SetItemHasChildren(*args, **kwargs): |
a95a7133 | 688 | """SetItemHasChildren(self, TreeItemId item, bool has=True)""" |
44127b65 RD |
689 | return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs) |
690 | ||
691 | def SetItemBold(*args, **kwargs): | |
a95a7133 | 692 | """SetItemBold(self, TreeItemId item, bool bold=True)""" |
44127b65 RD |
693 | return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs) |
694 | ||
695 | def SetItemTextColour(*args, **kwargs): | |
0439c23b | 696 | """SetItemTextColour(self, TreeItemId item, Colour colour)""" |
44127b65 RD |
697 | return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs) |
698 | ||
699 | def SetItemBackgroundColour(*args, **kwargs): | |
0439c23b | 700 | """SetItemBackgroundColour(self, TreeItemId item, Colour colour)""" |
44127b65 RD |
701 | return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs) |
702 | ||
703 | def SetItemFont(*args, **kwargs): | |
a95a7133 | 704 | """SetItemFont(self, TreeItemId item, Font font)""" |
44127b65 RD |
705 | return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs) |
706 | ||
707 | def GetItemBold(*args, **kwargs): | |
a95a7133 | 708 | """GetItemBold(self, TreeItemId item) -> bool""" |
44127b65 RD |
709 | return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs) |
710 | ||
711 | def GetItemTextColour(*args, **kwargs): | |
a95a7133 | 712 | """GetItemTextColour(self, TreeItemId item) -> Colour""" |
44127b65 RD |
713 | return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs) |
714 | ||
715 | def GetItemBackgroundColour(*args, **kwargs): | |
a95a7133 | 716 | """GetItemBackgroundColour(self, TreeItemId item) -> Colour""" |
44127b65 RD |
717 | return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs) |
718 | ||
719 | def GetItemFont(*args, **kwargs): | |
a95a7133 | 720 | """GetItemFont(self, TreeItemId item) -> Font""" |
44127b65 RD |
721 | return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs) |
722 | ||
723 | def IsVisible(*args, **kwargs): | |
a95a7133 | 724 | """IsVisible(self, TreeItemId item) -> bool""" |
44127b65 RD |
725 | return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs) |
726 | ||
727 | def ItemHasChildren(*args, **kwargs): | |
a95a7133 | 728 | """ItemHasChildren(self, TreeItemId item) -> bool""" |
44127b65 RD |
729 | return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs) |
730 | ||
731 | def IsExpanded(*args, **kwargs): | |
a95a7133 | 732 | """IsExpanded(self, TreeItemId item) -> bool""" |
44127b65 RD |
733 | return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs) |
734 | ||
735 | def IsSelected(*args, **kwargs): | |
a95a7133 | 736 | """IsSelected(self, TreeItemId item) -> bool""" |
44127b65 RD |
737 | return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs) |
738 | ||
739 | def IsBold(*args, **kwargs): | |
a95a7133 | 740 | """IsBold(self, TreeItemId item) -> bool""" |
44127b65 RD |
741 | return _gizmos.TreeListCtrl_IsBold(*args, **kwargs) |
742 | ||
743 | def GetChildrenCount(*args, **kwargs): | |
a95a7133 | 744 | """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t""" |
44127b65 RD |
745 | return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs) |
746 | ||
747 | def GetRootItem(*args, **kwargs): | |
a95a7133 | 748 | """GetRootItem(self) -> TreeItemId""" |
44127b65 RD |
749 | return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs) |
750 | ||
751 | def GetSelection(*args, **kwargs): | |
a95a7133 | 752 | """GetSelection(self) -> TreeItemId""" |
44127b65 RD |
753 | return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs) |
754 | ||
755 | def GetSelections(*args, **kwargs): | |
a95a7133 | 756 | """GetSelections(self) -> PyObject""" |
44127b65 RD |
757 | return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs) |
758 | ||
759 | def GetItemParent(*args, **kwargs): | |
a95a7133 | 760 | """GetItemParent(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
761 | return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs) |
762 | ||
763 | def GetFirstChild(*args, **kwargs): | |
a95a7133 | 764 | """GetFirstChild(self, TreeItemId item) -> PyObject""" |
44127b65 RD |
765 | return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs) |
766 | ||
767 | def GetNextChild(*args, **kwargs): | |
0439c23b | 768 | """GetNextChild(self, TreeItemId item, void cookie) -> PyObject""" |
44127b65 RD |
769 | return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs) |
770 | ||
771 | def GetLastChild(*args, **kwargs): | |
a95a7133 | 772 | """GetLastChild(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
773 | return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs) |
774 | ||
775 | def GetNextSibling(*args, **kwargs): | |
a95a7133 | 776 | """GetNextSibling(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
777 | return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs) |
778 | ||
779 | def GetPrevSibling(*args, **kwargs): | |
a95a7133 | 780 | """GetPrevSibling(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
781 | return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs) |
782 | ||
783 | def GetFirstVisibleItem(*args, **kwargs): | |
a95a7133 | 784 | """GetFirstVisibleItem(self) -> TreeItemId""" |
44127b65 RD |
785 | return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs) |
786 | ||
787 | def GetNextVisible(*args, **kwargs): | |
a95a7133 | 788 | """GetNextVisible(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
789 | return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs) |
790 | ||
791 | def GetPrevVisible(*args, **kwargs): | |
a95a7133 | 792 | """GetPrevVisible(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
793 | return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs) |
794 | ||
795 | def GetNext(*args, **kwargs): | |
a95a7133 | 796 | """GetNext(self, TreeItemId item) -> TreeItemId""" |
44127b65 RD |
797 | return _gizmos.TreeListCtrl_GetNext(*args, **kwargs) |
798 | ||
799 | def AddRoot(*args, **kwargs): | |
a95a7133 | 800 | """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" |
44127b65 RD |
801 | return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs) |
802 | ||
803 | def PrependItem(*args, **kwargs): | |
41f1cec7 | 804 | """ |
a95a7133 | 805 | PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
41f1cec7 RD |
806 | TreeItemData data=None) -> TreeItemId |
807 | """ | |
44127b65 RD |
808 | return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs) |
809 | ||
810 | def InsertItem(*args, **kwargs): | |
41f1cec7 | 811 | """ |
a95a7133 | 812 | InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text, |
41f1cec7 RD |
813 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId |
814 | """ | |
44127b65 RD |
815 | return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs) |
816 | ||
817 | def InsertItemBefore(*args, **kwargs): | |
41f1cec7 | 818 | """ |
a95a7133 | 819 | InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1, |
41f1cec7 RD |
820 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId |
821 | """ | |
44127b65 RD |
822 | return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs) |
823 | ||
824 | def AppendItem(*args, **kwargs): | |
41f1cec7 | 825 | """ |
a95a7133 | 826 | AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
41f1cec7 RD |
827 | TreeItemData data=None) -> TreeItemId |
828 | """ | |
44127b65 RD |
829 | return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs) |
830 | ||
831 | def Delete(*args, **kwargs): | |
a95a7133 | 832 | """Delete(self, TreeItemId item)""" |
44127b65 RD |
833 | return _gizmos.TreeListCtrl_Delete(*args, **kwargs) |
834 | ||
835 | def DeleteChildren(*args, **kwargs): | |
a95a7133 | 836 | """DeleteChildren(self, TreeItemId item)""" |
44127b65 RD |
837 | return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs) |
838 | ||
839 | def DeleteAllItems(*args, **kwargs): | |
a95a7133 | 840 | """DeleteAllItems(self)""" |
44127b65 RD |
841 | return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs) |
842 | ||
843 | def Expand(*args, **kwargs): | |
a95a7133 | 844 | """Expand(self, TreeItemId item)""" |
44127b65 RD |
845 | return _gizmos.TreeListCtrl_Expand(*args, **kwargs) |
846 | ||
847 | def ExpandAll(*args, **kwargs): | |
a95a7133 | 848 | """ExpandAll(self, TreeItemId item)""" |
44127b65 RD |
849 | return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs) |
850 | ||
851 | def Collapse(*args, **kwargs): | |
a95a7133 | 852 | """Collapse(self, TreeItemId item)""" |
44127b65 RD |
853 | return _gizmos.TreeListCtrl_Collapse(*args, **kwargs) |
854 | ||
855 | def CollapseAndReset(*args, **kwargs): | |
a95a7133 | 856 | """CollapseAndReset(self, TreeItemId item)""" |
44127b65 RD |
857 | return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs) |
858 | ||
859 | def Toggle(*args, **kwargs): | |
a95a7133 | 860 | """Toggle(self, TreeItemId item)""" |
44127b65 RD |
861 | return _gizmos.TreeListCtrl_Toggle(*args, **kwargs) |
862 | ||
863 | def Unselect(*args, **kwargs): | |
a95a7133 | 864 | """Unselect(self)""" |
44127b65 RD |
865 | return _gizmos.TreeListCtrl_Unselect(*args, **kwargs) |
866 | ||
867 | def UnselectAll(*args, **kwargs): | |
a95a7133 | 868 | """UnselectAll(self)""" |
44127b65 RD |
869 | return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs) |
870 | ||
871 | def SelectItem(*args, **kwargs): | |
a95a7133 | 872 | """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)""" |
44127b65 RD |
873 | return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs) |
874 | ||
0439c23b RD |
875 | def SelectAll(*args, **kwargs): |
876 | """SelectAll(self, bool extended_select=False)""" | |
877 | return _gizmos.TreeListCtrl_SelectAll(*args, **kwargs) | |
878 | ||
44127b65 | 879 | def EnsureVisible(*args, **kwargs): |
a95a7133 | 880 | """EnsureVisible(self, TreeItemId item)""" |
44127b65 RD |
881 | return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs) |
882 | ||
883 | def ScrollTo(*args, **kwargs): | |
a95a7133 | 884 | """ScrollTo(self, TreeItemId item)""" |
44127b65 RD |
885 | return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs) |
886 | ||
887 | def HitTest(*args, **kwargs): | |
a95a7133 | 888 | """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId""" |
44127b65 RD |
889 | return _gizmos.TreeListCtrl_HitTest(*args, **kwargs) |
890 | ||
891 | def GetBoundingRect(*args, **kwargs): | |
a95a7133 | 892 | """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject""" |
44127b65 RD |
893 | return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs) |
894 | ||
895 | def EditLabel(*args, **kwargs): | |
a95a7133 | 896 | """EditLabel(self, TreeItemId item)""" |
44127b65 RD |
897 | return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs) |
898 | ||
899 | def Edit(*args, **kwargs): | |
a95a7133 | 900 | """Edit(self, TreeItemId item)""" |
44127b65 RD |
901 | return _gizmos.TreeListCtrl_Edit(*args, **kwargs) |
902 | ||
903 | def SortChildren(*args, **kwargs): | |
a95a7133 | 904 | """SortChildren(self, TreeItemId item)""" |
44127b65 RD |
905 | return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs) |
906 | ||
0439c23b RD |
907 | def FindItem(*args, **kwargs): |
908 | """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId""" | |
909 | return _gizmos.TreeListCtrl_FindItem(*args, **kwargs) | |
44127b65 RD |
910 | |
911 | def GetHeaderWindow(*args, **kwargs): | |
a95a7133 | 912 | """GetHeaderWindow(self) -> Window""" |
44127b65 RD |
913 | return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs) |
914 | ||
915 | def GetMainWindow(*args, **kwargs): | |
412d302d | 916 | """GetMainWindow(self) -> ScrolledWindow""" |
44127b65 RD |
917 | return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs) |
918 | ||
919 | ||
920 | class TreeListCtrlPtr(TreeListCtrl): | |
921 | def __init__(self, this): | |
922 | self.this = this | |
923 | if not hasattr(self,"thisown"): self.thisown = 0 | |
924 | self.__class__ = TreeListCtrl | |
925 | _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr) | |
926 | ||
927 | def PreTreeListCtrl(*args, **kwargs): | |
928 | """PreTreeListCtrl() -> TreeListCtrl""" | |
929 | val = _gizmos.new_PreTreeListCtrl(*args, **kwargs) | |
930 | val.thisown = 1 | |
931 | return val | |
932 | ||
933 |