1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
6 `LEDNumberCtrl`, `TreeListCtrl`, etc.
15 __docfilter__
= wx
.__DocFilter
(globals())
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
20 class DynamicSashSplitEvent(_core
.CommandEvent
):
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
):
24 """__init__(self, Object target) -> DynamicSashSplitEvent"""
25 newobj
= _gizmos
.new_DynamicSashSplitEvent(*args
, **kwargs
)
26 self
.this
= newobj
.this
30 class DynamicSashSplitEventPtr(DynamicSashSplitEvent
):
31 def __init__(self
, this
):
33 if not hasattr(self
,"thisown"): self
.thisown
= 0
34 self
.__class
__ = DynamicSashSplitEvent
35 _gizmos
.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr
)
37 DynamicSashNameStr
= cvar
.DynamicSashNameStr
38 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
39 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
41 class DynamicSashUnifyEvent(_core
.CommandEvent
):
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
):
45 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
46 newobj
= _gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
)
47 self
.this
= newobj
.this
51 class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent
):
52 def __init__(self
, this
):
54 if not hasattr(self
,"thisown"): self
.thisown
= 0
55 self
.__class
__ = DynamicSashUnifyEvent
56 _gizmos
.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr
)
58 class DynamicSashWindow(_core
.Window
):
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
):
63 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
64 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
65 String name=DynamicSashNameStr) -> DynamicSashWindow
67 newobj
= _gizmos
.new_DynamicSashWindow(*args
, **kwargs
)
68 self
.this
= newobj
.this
71 self
._setOORInfo
(self
)
73 def Create(*args
, **kwargs
):
75 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
76 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
77 String name=DynamicSashNameStr) -> bool
79 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
81 def GetHScrollBar(*args
, **kwargs
):
82 """GetHScrollBar(self, Window child) -> ScrollBar"""
83 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
85 def GetVScrollBar(*args
, **kwargs
):
86 """GetVScrollBar(self, Window child) -> ScrollBar"""
87 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
90 class DynamicSashWindowPtr(DynamicSashWindow
):
91 def __init__(self
, this
):
93 if not hasattr(self
,"thisown"): self
.thisown
= 0
94 self
.__class
__ = DynamicSashWindow
95 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindowPtr
)
97 def PreDynamicSashWindow(*args
, **kwargs
):
98 """PreDynamicSashWindow() -> DynamicSashWindow"""
99 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
103 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
104 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
106 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
107 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
108 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
109 class EditableListBox(_windows
.Panel
):
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
):
114 __init__(self, Window parent, int id, String label, Point pos=DefaultPosition,
115 Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
116 String name=EditableListBoxNameStr) -> EditableListBox
118 newobj
= _gizmos
.new_EditableListBox(*args
, **kwargs
)
119 self
.this
= newobj
.this
122 self
._setOORInfo
(self
)
124 def SetStrings(*args
, **kwargs
):
125 """SetStrings(self, wxArrayString strings)"""
126 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
128 def GetStrings(*args
, **kwargs
):
129 """GetStrings(self) -> PyObject"""
130 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
132 def GetListCtrl(*args
, **kwargs
):
133 """GetListCtrl(self) -> wxListCtrl"""
134 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
136 def GetDelButton(*args
, **kwargs
):
137 """GetDelButton(self) -> BitmapButton"""
138 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
140 def GetNewButton(*args
, **kwargs
):
141 """GetNewButton(self) -> BitmapButton"""
142 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
144 def GetUpButton(*args
, **kwargs
):
145 """GetUpButton(self) -> BitmapButton"""
146 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
148 def GetDownButton(*args
, **kwargs
):
149 """GetDownButton(self) -> BitmapButton"""
150 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
152 def GetEditButton(*args
, **kwargs
):
153 """GetEditButton(self) -> BitmapButton"""
154 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
157 class EditableListBoxPtr(EditableListBox
):
158 def __init__(self
, this
):
160 if not hasattr(self
,"thisown"): self
.thisown
= 0
161 self
.__class
__ = EditableListBox
162 _gizmos
.EditableListBox_swigregister(EditableListBoxPtr
)
164 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
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
):
169 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
170 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
172 newobj
= _gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
)
173 self
.this
= newobj
.this
176 self
._setOORInfo
(self
)
178 def HideVScrollbar(*args
, **kwargs
):
179 """HideVScrollbar(self)"""
180 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
182 def AdjustRemoteScrollbars(*args
, **kwargs
):
183 """AdjustRemoteScrollbars(self)"""
184 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
186 def GetScrolledWindow(*args
, **kwargs
):
187 """GetScrolledWindow(self) -> ScrolledWindow"""
188 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
190 def ScrollToLine(*args
, **kwargs
):
191 """ScrollToLine(self, int posHoriz, int posVert)"""
192 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
194 def SetCompanionWindow(*args
, **kwargs
):
195 """SetCompanionWindow(self, Window companion)"""
196 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
198 def GetCompanionWindow(*args
, **kwargs
):
199 """GetCompanionWindow(self) -> Window"""
200 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
203 class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl
):
204 def __init__(self
, this
):
206 if not hasattr(self
,"thisown"): self
.thisown
= 0
207 self
.__class
__ = RemotelyScrolledTreeCtrl
208 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr
)
210 class TreeCompanionWindow(_core
.Window
):
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
):
215 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
216 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
218 newobj
= _gizmos
.new_TreeCompanionWindow(*args
, **kwargs
)
219 self
.this
= newobj
.this
222 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
224 def _setCallbackInfo(*args
, **kwargs
):
225 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
226 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
228 def GetTreeCtrl(*args
, **kwargs
):
229 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
230 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
232 def SetTreeCtrl(*args
, **kwargs
):
233 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
234 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
237 class TreeCompanionWindowPtr(TreeCompanionWindow
):
238 def __init__(self
, this
):
240 if not hasattr(self
,"thisown"): self
.thisown
= 0
241 self
.__class
__ = TreeCompanionWindow
242 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr
)
244 class ThinSplitterWindow(_windows
.SplitterWindow
):
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
):
249 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
250 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
252 newobj
= _gizmos
.new_ThinSplitterWindow(*args
, **kwargs
)
253 self
.this
= newobj
.this
256 self
._setOORInfo
(self
)
259 class ThinSplitterWindowPtr(ThinSplitterWindow
):
260 def __init__(self
, this
):
262 if not hasattr(self
,"thisown"): self
.thisown
= 0
263 self
.__class
__ = ThinSplitterWindow
264 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr
)
266 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
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
):
271 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
272 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
274 newobj
= _gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
)
275 self
.this
= newobj
.this
278 self
._setOORInfo
(self
)
281 class SplitterScrolledWindowPtr(SplitterScrolledWindow
):
282 def __init__(self
, this
):
284 if not hasattr(self
,"thisown"): self
.thisown
= 0
285 self
.__class
__ = SplitterScrolledWindow
286 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr
)
288 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
289 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
290 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
291 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
292 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
293 class LEDNumberCtrl(_core
.Control
):
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
):
298 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
299 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
301 newobj
= _gizmos
.new_LEDNumberCtrl(*args
, **kwargs
)
302 self
.this
= newobj
.this
305 self
._setOORInfo
(self
)
307 def Create(*args
, **kwargs
):
309 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
310 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
312 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
314 def GetAlignment(*args
, **kwargs
):
315 """GetAlignment(self) -> int"""
316 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
318 def GetDrawFaded(*args
, **kwargs
):
319 """GetDrawFaded(self) -> bool"""
320 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
322 def GetValue(*args
, **kwargs
):
323 """GetValue(self) -> String"""
324 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
326 def SetAlignment(*args
, **kwargs
):
327 """SetAlignment(self, int Alignment, bool Redraw=true)"""
328 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
330 def SetDrawFaded(*args
, **kwargs
):
331 """SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
332 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
334 def SetValue(*args
, **kwargs
):
335 """SetValue(self, String Value, bool Redraw=true)"""
336 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
339 class LEDNumberCtrlPtr(LEDNumberCtrl
):
340 def __init__(self
, this
):
342 if not hasattr(self
,"thisown"): self
.thisown
= 0
343 self
.__class
__ = LEDNumberCtrl
344 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr
)
346 def PreLEDNumberCtrl(*args
, **kwargs
):
347 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
348 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
352 TL_ALIGN_LEFT
= _gizmos
.TL_ALIGN_LEFT
353 TL_ALIGN_RIGHT
= _gizmos
.TL_ALIGN_RIGHT
354 TL_ALIGN_CENTER
= _gizmos
.TL_ALIGN_CENTER
355 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
356 TL_SEARCH_VISIBLE
= _gizmos
.TL_SEARCH_VISIBLE
357 TL_SEARCH_LEVEL
= _gizmos
.TL_SEARCH_LEVEL
358 TL_SEARCH_FULL
= _gizmos
.TL_SEARCH_FULL
359 TL_SEARCH_PARTIAL
= _gizmos
.TL_SEARCH_PARTIAL
360 TL_SEARCH_NOCASE
= _gizmos
.TL_SEARCH_NOCASE
361 class TreeListColumnInfo(_core
.Object
):
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
):
366 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
367 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
369 newobj
= _gizmos
.new_TreeListColumnInfo(*args
, **kwargs
)
370 self
.this
= newobj
.this
373 def GetShown(*args
, **kwargs
):
374 """GetShown(self) -> bool"""
375 return _gizmos
.TreeListColumnInfo_GetShown(*args
, **kwargs
)
377 def GetAlignment(*args
, **kwargs
):
378 """GetAlignment(self) -> int"""
379 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
381 def GetText(*args
, **kwargs
):
382 """GetText(self) -> String"""
383 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
385 def GetImage(*args
, **kwargs
):
386 """GetImage(self) -> int"""
387 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
389 def GetSelectedImage(*args
, **kwargs
):
390 """GetSelectedImage(self) -> int"""
391 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
393 def GetWidth(*args
, **kwargs
):
394 """GetWidth(self) -> size_t"""
395 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
397 def SetShown(*args
, **kwargs
):
398 """SetShown(self, bool shown)"""
399 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
401 def SetAlignment(*args
, **kwargs
):
402 """SetAlignment(self, int alignment)"""
403 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
405 def SetText(*args
, **kwargs
):
406 """SetText(self, String text)"""
407 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
409 def SetImage(*args
, **kwargs
):
410 """SetImage(self, int image)"""
411 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
413 def SetSelectedImage(*args
, **kwargs
):
414 """SetSelectedImage(self, int image)"""
415 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
417 def SetWidth(*args
, **kwargs
):
418 """SetWidth(self, size_t with)"""
419 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
422 class TreeListColumnInfoPtr(TreeListColumnInfo
):
423 def __init__(self
, this
):
425 if not hasattr(self
,"thisown"): self
.thisown
= 0
426 self
.__class
__ = TreeListColumnInfo
427 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr
)
429 class TreeListCtrl(_core
.Control
):
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
):
434 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
435 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
436 Validator validator=DefaultValidator,
437 String name=TreeListCtrlNameStr) -> TreeListCtrl
439 newobj
= _gizmos
.new_TreeListCtrl(*args
, **kwargs
)
440 self
.this
= newobj
.this
443 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
445 def Create(*args
, **kwargs
):
447 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
448 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
449 Validator validator=DefaultValidator,
450 String name=TreeListCtrlNameStr) -> bool
452 Do the 2nd phase and create the GUI control.
454 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
456 def _setCallbackInfo(*args
, **kwargs
):
457 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
458 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
460 def GetCount(*args
, **kwargs
):
461 """GetCount(self) -> size_t"""
462 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
464 def GetIndent(*args
, **kwargs
):
465 """GetIndent(self) -> unsigned int"""
466 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
468 def SetIndent(*args
, **kwargs
):
469 """SetIndent(self, unsigned int indent)"""
470 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
472 def GetLineSpacing(*args
, **kwargs
):
473 """GetLineSpacing(self) -> unsigned int"""
474 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
476 def SetLineSpacing(*args
, **kwargs
):
477 """SetLineSpacing(self, unsigned int spacing)"""
478 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
480 def GetImageList(*args
, **kwargs
):
481 """GetImageList(self) -> ImageList"""
482 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
484 def GetStateImageList(*args
, **kwargs
):
485 """GetStateImageList(self) -> ImageList"""
486 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
488 def GetButtonsImageList(*args
, **kwargs
):
489 """GetButtonsImageList(self) -> ImageList"""
490 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
492 def SetImageList(*args
, **kwargs
):
493 """SetImageList(self, ImageList imageList)"""
494 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
496 def SetStateImageList(*args
, **kwargs
):
497 """SetStateImageList(self, ImageList imageList)"""
498 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
500 def SetButtonsImageList(*args
, **kwargs
):
501 """SetButtonsImageList(self, ImageList imageList)"""
502 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
504 def AssignImageList(*args
, **kwargs
):
505 """AssignImageList(self, ImageList imageList)"""
506 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
508 def AssignStateImageList(*args
, **kwargs
):
509 """AssignStateImageList(self, ImageList imageList)"""
510 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
512 def AssignButtonsImageList(*args
, **kwargs
):
513 """AssignButtonsImageList(self, ImageList imageList)"""
514 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
516 def AddColumn(*args
, **kwargs
):
517 """AddColumn(self, String text)"""
518 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
520 def AddColumnInfo(*args
, **kwargs
):
521 """AddColumnInfo(self, TreeListColumnInfo col)"""
522 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
524 def InsertColumn(*args
, **kwargs
):
525 """InsertColumn(self, size_t before, String text)"""
526 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
528 def InsertColumnInfo(*args
, **kwargs
):
529 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
530 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
532 def RemoveColumn(*args
, **kwargs
):
533 """RemoveColumn(self, size_t column)"""
534 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
536 def GetColumnCount(*args
, **kwargs
):
537 """GetColumnCount(self) -> size_t"""
538 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
540 def SetColumnWidth(*args
, **kwargs
):
541 """SetColumnWidth(self, size_t column, size_t width)"""
542 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
544 def GetColumnWidth(*args
, **kwargs
):
545 """GetColumnWidth(self, size_t column) -> int"""
546 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
548 def SetMainColumn(*args
, **kwargs
):
549 """SetMainColumn(self, size_t column)"""
550 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
552 def GetMainColumn(*args
, **kwargs
):
553 """GetMainColumn(self) -> size_t"""
554 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
556 def SetColumnText(*args
, **kwargs
):
557 """SetColumnText(self, size_t column, String text)"""
558 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
560 def GetColumnText(*args
, **kwargs
):
561 """GetColumnText(self, size_t column) -> String"""
562 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
564 def SetColumn(*args
, **kwargs
):
565 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
566 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
568 def GetColumn(*args
, **kwargs
):
569 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
570 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
572 def SetColumnAlignment(*args
, **kwargs
):
573 """SetColumnAlignment(self, size_t column, int align)"""
574 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
576 def GetColumnAlignment(*args
, **kwargs
):
577 """GetColumnAlignment(self, size_t column) -> int"""
578 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
580 def SetColumnImage(*args
, **kwargs
):
581 """SetColumnImage(self, size_t column, int image)"""
582 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
584 def GetColumnImage(*args
, **kwargs
):
585 """GetColumnImage(self, size_t column) -> int"""
586 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
588 def ShowColumn(*args
, **kwargs
):
589 """ShowColumn(self, size_t column, bool shown)"""
590 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
592 def IsColumnShown(*args
, **kwargs
):
593 """IsColumnShown(self, size_t column) -> bool"""
594 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
596 def GetItemText(*args
, **kwargs
):
597 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
598 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
600 def GetItemImage(*args
, **kwargs
):
601 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
602 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
604 def SetItemText(*args
, **kwargs
):
605 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
606 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
608 def SetItemImage(*args
, **kwargs
):
609 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
610 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
612 def GetItemData(*args
, **kwargs
):
613 """GetItemData(self, TreeItemId item) -> TreeItemData"""
614 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
616 def SetItemData(*args
, **kwargs
):
617 """SetItemData(self, TreeItemId item, TreeItemData data)"""
618 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
620 def GetItemPyData(*args
, **kwargs
):
621 """GetItemPyData(self, TreeItemId item) -> PyObject"""
622 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
624 def SetItemPyData(*args
, **kwargs
):
625 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
626 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
628 GetPyData
= GetItemPyData
629 SetPyData
= SetItemPyData
630 def SetItemHasChildren(*args
, **kwargs
):
631 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
632 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
634 def SetItemBold(*args
, **kwargs
):
635 """SetItemBold(self, TreeItemId item, bool bold=True)"""
636 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
638 def SetItemTextColour(*args
, **kwargs
):
639 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
640 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
642 def SetItemBackgroundColour(*args
, **kwargs
):
643 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
644 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
646 def SetItemFont(*args
, **kwargs
):
647 """SetItemFont(self, TreeItemId item, Font font)"""
648 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
650 def GetItemBold(*args
, **kwargs
):
651 """GetItemBold(self, TreeItemId item) -> bool"""
652 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
654 def GetItemTextColour(*args
, **kwargs
):
655 """GetItemTextColour(self, TreeItemId item) -> Colour"""
656 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
658 def GetItemBackgroundColour(*args
, **kwargs
):
659 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
660 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
662 def GetItemFont(*args
, **kwargs
):
663 """GetItemFont(self, TreeItemId item) -> Font"""
664 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
666 def IsVisible(*args
, **kwargs
):
667 """IsVisible(self, TreeItemId item) -> bool"""
668 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
670 def ItemHasChildren(*args
, **kwargs
):
671 """ItemHasChildren(self, TreeItemId item) -> bool"""
672 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
674 def IsExpanded(*args
, **kwargs
):
675 """IsExpanded(self, TreeItemId item) -> bool"""
676 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
678 def IsSelected(*args
, **kwargs
):
679 """IsSelected(self, TreeItemId item) -> bool"""
680 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
682 def IsBold(*args
, **kwargs
):
683 """IsBold(self, TreeItemId item) -> bool"""
684 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
686 def GetChildrenCount(*args
, **kwargs
):
687 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
688 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
690 def GetRootItem(*args
, **kwargs
):
691 """GetRootItem(self) -> TreeItemId"""
692 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
694 def GetSelection(*args
, **kwargs
):
695 """GetSelection(self) -> TreeItemId"""
696 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
698 def GetSelections(*args
, **kwargs
):
699 """GetSelections(self) -> PyObject"""
700 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
702 def GetItemParent(*args
, **kwargs
):
703 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
704 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
706 def GetFirstChild(*args
, **kwargs
):
707 """GetFirstChild(self, TreeItemId item) -> PyObject"""
708 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
710 def GetNextChild(*args
, **kwargs
):
711 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
712 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
714 def GetLastChild(*args
, **kwargs
):
715 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
716 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
718 def GetNextSibling(*args
, **kwargs
):
719 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
720 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
722 def GetPrevSibling(*args
, **kwargs
):
723 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
724 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
726 def GetFirstVisibleItem(*args
, **kwargs
):
727 """GetFirstVisibleItem(self) -> TreeItemId"""
728 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
730 def GetNextVisible(*args
, **kwargs
):
731 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
732 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
734 def GetPrevVisible(*args
, **kwargs
):
735 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
736 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
738 def GetNext(*args
, **kwargs
):
739 """GetNext(self, TreeItemId item) -> TreeItemId"""
740 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
742 def AddRoot(*args
, **kwargs
):
743 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
744 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
746 def PrependItem(*args
, **kwargs
):
748 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
749 TreeItemData data=None) -> TreeItemId
751 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
753 def InsertItem(*args
, **kwargs
):
755 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
756 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
758 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
760 def InsertItemBefore(*args
, **kwargs
):
762 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
763 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
765 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
767 def AppendItem(*args
, **kwargs
):
769 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
770 TreeItemData data=None) -> TreeItemId
772 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
774 def Delete(*args
, **kwargs
):
775 """Delete(self, TreeItemId item)"""
776 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
778 def DeleteChildren(*args
, **kwargs
):
779 """DeleteChildren(self, TreeItemId item)"""
780 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
782 def DeleteAllItems(*args
, **kwargs
):
783 """DeleteAllItems(self)"""
784 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
786 def Expand(*args
, **kwargs
):
787 """Expand(self, TreeItemId item)"""
788 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
790 def ExpandAll(*args
, **kwargs
):
791 """ExpandAll(self, TreeItemId item)"""
792 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
794 def Collapse(*args
, **kwargs
):
795 """Collapse(self, TreeItemId item)"""
796 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
798 def CollapseAndReset(*args
, **kwargs
):
799 """CollapseAndReset(self, TreeItemId item)"""
800 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
802 def Toggle(*args
, **kwargs
):
803 """Toggle(self, TreeItemId item)"""
804 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
806 def Unselect(*args
, **kwargs
):
808 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
810 def UnselectAll(*args
, **kwargs
):
811 """UnselectAll(self)"""
812 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
814 def SelectItem(*args
, **kwargs
):
815 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
816 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
818 def SelectAll(*args
, **kwargs
):
819 """SelectAll(self, bool extended_select=False)"""
820 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
822 def EnsureVisible(*args
, **kwargs
):
823 """EnsureVisible(self, TreeItemId item)"""
824 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
826 def ScrollTo(*args
, **kwargs
):
827 """ScrollTo(self, TreeItemId item)"""
828 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
830 def HitTest(*args
, **kwargs
):
831 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
832 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
834 def GetBoundingRect(*args
, **kwargs
):
835 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
836 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
838 def EditLabel(*args
, **kwargs
):
839 """EditLabel(self, TreeItemId item)"""
840 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
842 def Edit(*args
, **kwargs
):
843 """Edit(self, TreeItemId item)"""
844 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
846 def SortChildren(*args
, **kwargs
):
847 """SortChildren(self, TreeItemId item)"""
848 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
850 def FindItem(*args
, **kwargs
):
851 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
852 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
854 def GetHeaderWindow(*args
, **kwargs
):
855 """GetHeaderWindow(self) -> Window"""
856 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
858 def GetMainWindow(*args
, **kwargs
):
859 """GetMainWindow(self) -> Window"""
860 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
863 class TreeListCtrlPtr(TreeListCtrl
):
864 def __init__(self
, this
):
866 if not hasattr(self
,"thisown"): self
.thisown
= 0
867 self
.__class
__ = TreeListCtrl
868 _gizmos
.TreeListCtrl_swigregister(TreeListCtrlPtr
)
870 def PreTreeListCtrl(*args
, **kwargs
):
871 """PreTreeListCtrl() -> TreeListCtrl"""
872 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)