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