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