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