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=-1, Point pos=DefaultPosition,
64 Size size=DefaultSize, 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=-1, Point pos=DefaultPosition,
76 Size size=DefaultSize, 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=-1, String label=EmptyString,
115 Point pos=DefaultPosition, Size size=DefaultSize,
116 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
117 String name=EditableListBoxNameStr) -> EditableListBox
119 newobj
= _gizmos
.new_EditableListBox(*args
, **kwargs
)
120 self
.this
= newobj
.this
123 self
._setOORInfo
(self
)
125 def SetStrings(*args
, **kwargs
):
126 """SetStrings(self, wxArrayString strings)"""
127 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
129 def GetStrings(*args
, **kwargs
):
130 """GetStrings(self) -> PyObject"""
131 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
133 def GetListCtrl(*args
, **kwargs
):
134 """GetListCtrl(self) -> wxListCtrl"""
135 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
137 def GetDelButton(*args
, **kwargs
):
138 """GetDelButton(self) -> BitmapButton"""
139 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
141 def GetNewButton(*args
, **kwargs
):
142 """GetNewButton(self) -> BitmapButton"""
143 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
145 def GetUpButton(*args
, **kwargs
):
146 """GetUpButton(self) -> BitmapButton"""
147 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
149 def GetDownButton(*args
, **kwargs
):
150 """GetDownButton(self) -> BitmapButton"""
151 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
153 def GetEditButton(*args
, **kwargs
):
154 """GetEditButton(self) -> BitmapButton"""
155 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
158 class EditableListBoxPtr(EditableListBox
):
159 def __init__(self
, this
):
161 if not hasattr(self
,"thisown"): self
.thisown
= 0
162 self
.__class
__ = EditableListBox
163 _gizmos
.EditableListBox_swigregister(EditableListBoxPtr
)
165 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
167 return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
168 def __init__(self
, *args
, **kwargs
):
170 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
171 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
173 newobj
= _gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
)
174 self
.this
= newobj
.this
177 self
._setOORInfo
(self
)
179 def HideVScrollbar(*args
, **kwargs
):
180 """HideVScrollbar(self)"""
181 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
183 def AdjustRemoteScrollbars(*args
, **kwargs
):
184 """AdjustRemoteScrollbars(self)"""
185 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
187 def GetScrolledWindow(*args
, **kwargs
):
188 """GetScrolledWindow(self) -> ScrolledWindow"""
189 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
191 def ScrollToLine(*args
, **kwargs
):
192 """ScrollToLine(self, int posHoriz, int posVert)"""
193 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
195 def SetCompanionWindow(*args
, **kwargs
):
196 """SetCompanionWindow(self, Window companion)"""
197 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
199 def GetCompanionWindow(*args
, **kwargs
):
200 """GetCompanionWindow(self) -> Window"""
201 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
204 class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl
):
205 def __init__(self
, this
):
207 if not hasattr(self
,"thisown"): self
.thisown
= 0
208 self
.__class
__ = RemotelyScrolledTreeCtrl
209 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr
)
211 class TreeCompanionWindow(_core
.Window
):
213 return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
214 def __init__(self
, *args
, **kwargs
):
216 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
217 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
219 newobj
= _gizmos
.new_TreeCompanionWindow(*args
, **kwargs
)
220 self
.this
= newobj
.this
223 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
225 def _setCallbackInfo(*args
, **kwargs
):
226 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
227 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
229 def GetTreeCtrl(*args
, **kwargs
):
230 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
231 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
233 def SetTreeCtrl(*args
, **kwargs
):
234 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
235 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
238 class TreeCompanionWindowPtr(TreeCompanionWindow
):
239 def __init__(self
, this
):
241 if not hasattr(self
,"thisown"): self
.thisown
= 0
242 self
.__class
__ = TreeCompanionWindow
243 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr
)
245 class ThinSplitterWindow(_windows
.SplitterWindow
):
247 return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
248 def __init__(self
, *args
, **kwargs
):
250 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
251 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
253 newobj
= _gizmos
.new_ThinSplitterWindow(*args
, **kwargs
)
254 self
.this
= newobj
.this
257 self
._setOORInfo
(self
)
260 class ThinSplitterWindowPtr(ThinSplitterWindow
):
261 def __init__(self
, this
):
263 if not hasattr(self
,"thisown"): self
.thisown
= 0
264 self
.__class
__ = ThinSplitterWindow
265 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr
)
267 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
269 return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
270 def __init__(self
, *args
, **kwargs
):
272 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
273 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
275 newobj
= _gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
)
276 self
.this
= newobj
.this
279 self
._setOORInfo
(self
)
282 class SplitterScrolledWindowPtr(SplitterScrolledWindow
):
283 def __init__(self
, this
):
285 if not hasattr(self
,"thisown"): self
.thisown
= 0
286 self
.__class
__ = SplitterScrolledWindow
287 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr
)
289 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
290 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
291 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
292 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
293 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
294 class LEDNumberCtrl(_core
.Control
):
296 return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
297 def __init__(self
, *args
, **kwargs
):
299 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
300 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
302 newobj
= _gizmos
.new_LEDNumberCtrl(*args
, **kwargs
)
303 self
.this
= newobj
.this
306 self
._setOORInfo
(self
)
308 def Create(*args
, **kwargs
):
310 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
311 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
313 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
315 def GetAlignment(*args
, **kwargs
):
316 """GetAlignment(self) -> int"""
317 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
319 def GetDrawFaded(*args
, **kwargs
):
320 """GetDrawFaded(self) -> bool"""
321 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
323 def GetValue(*args
, **kwargs
):
324 """GetValue(self) -> String"""
325 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
327 def SetAlignment(*args
, **kwargs
):
328 """SetAlignment(self, int Alignment, bool Redraw=true)"""
329 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
331 def SetDrawFaded(*args
, **kwargs
):
332 """SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
333 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
335 def SetValue(*args
, **kwargs
):
336 """SetValue(self, String Value, bool Redraw=true)"""
337 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
340 class LEDNumberCtrlPtr(LEDNumberCtrl
):
341 def __init__(self
, this
):
343 if not hasattr(self
,"thisown"): self
.thisown
= 0
344 self
.__class
__ = LEDNumberCtrl
345 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr
)
347 def PreLEDNumberCtrl(*args
, **kwargs
):
348 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
349 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
353 TL_ALIGN_LEFT
= _gizmos
.TL_ALIGN_LEFT
354 TL_ALIGN_RIGHT
= _gizmos
.TL_ALIGN_RIGHT
355 TL_ALIGN_CENTER
= _gizmos
.TL_ALIGN_CENTER
356 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
357 TL_SEARCH_VISIBLE
= _gizmos
.TL_SEARCH_VISIBLE
358 TL_SEARCH_LEVEL
= _gizmos
.TL_SEARCH_LEVEL
359 TL_SEARCH_FULL
= _gizmos
.TL_SEARCH_FULL
360 TL_SEARCH_PARTIAL
= _gizmos
.TL_SEARCH_PARTIAL
361 TL_SEARCH_NOCASE
= _gizmos
.TL_SEARCH_NOCASE
362 class TreeListColumnInfo(_core
.Object
):
364 return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
365 def __init__(self
, *args
, **kwargs
):
367 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
368 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
370 newobj
= _gizmos
.new_TreeListColumnInfo(*args
, **kwargs
)
371 self
.this
= newobj
.this
374 def GetShown(*args
, **kwargs
):
375 """GetShown(self) -> bool"""
376 return _gizmos
.TreeListColumnInfo_GetShown(*args
, **kwargs
)
378 def GetAlignment(*args
, **kwargs
):
379 """GetAlignment(self) -> int"""
380 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
382 def GetText(*args
, **kwargs
):
383 """GetText(self) -> String"""
384 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
386 def GetImage(*args
, **kwargs
):
387 """GetImage(self) -> int"""
388 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
390 def GetSelectedImage(*args
, **kwargs
):
391 """GetSelectedImage(self) -> int"""
392 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
394 def GetWidth(*args
, **kwargs
):
395 """GetWidth(self) -> size_t"""
396 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
398 def SetShown(*args
, **kwargs
):
399 """SetShown(self, bool shown)"""
400 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
402 def SetAlignment(*args
, **kwargs
):
403 """SetAlignment(self, int alignment)"""
404 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
406 def SetText(*args
, **kwargs
):
407 """SetText(self, String text)"""
408 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
410 def SetImage(*args
, **kwargs
):
411 """SetImage(self, int image)"""
412 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
414 def SetSelectedImage(*args
, **kwargs
):
415 """SetSelectedImage(self, int image)"""
416 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
418 def SetWidth(*args
, **kwargs
):
419 """SetWidth(self, size_t with)"""
420 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
423 class TreeListColumnInfoPtr(TreeListColumnInfo
):
424 def __init__(self
, this
):
426 if not hasattr(self
,"thisown"): self
.thisown
= 0
427 self
.__class
__ = TreeListColumnInfo
428 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr
)
430 class TreeListCtrl(_core
.Control
):
432 return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
433 def __init__(self
, *args
, **kwargs
):
435 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
436 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
437 Validator validator=DefaultValidator,
438 String name=TreeListCtrlNameStr) -> TreeListCtrl
440 newobj
= _gizmos
.new_TreeListCtrl(*args
, **kwargs
)
441 self
.this
= newobj
.this
444 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
446 def Create(*args
, **kwargs
):
448 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
449 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
450 Validator validator=DefaultValidator,
451 String name=TreeListCtrlNameStr) -> bool
453 Do the 2nd phase and create the GUI control.
455 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
457 def _setCallbackInfo(*args
, **kwargs
):
458 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
459 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
461 def GetCount(*args
, **kwargs
):
462 """GetCount(self) -> size_t"""
463 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
465 def GetIndent(*args
, **kwargs
):
466 """GetIndent(self) -> unsigned int"""
467 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
469 def SetIndent(*args
, **kwargs
):
470 """SetIndent(self, unsigned int indent)"""
471 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
473 def GetLineSpacing(*args
, **kwargs
):
474 """GetLineSpacing(self) -> unsigned int"""
475 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
477 def SetLineSpacing(*args
, **kwargs
):
478 """SetLineSpacing(self, unsigned int spacing)"""
479 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
481 def GetImageList(*args
, **kwargs
):
482 """GetImageList(self) -> ImageList"""
483 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
485 def GetStateImageList(*args
, **kwargs
):
486 """GetStateImageList(self) -> ImageList"""
487 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
489 def GetButtonsImageList(*args
, **kwargs
):
490 """GetButtonsImageList(self) -> ImageList"""
491 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
493 def SetImageList(*args
, **kwargs
):
494 """SetImageList(self, ImageList imageList)"""
495 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
497 def SetStateImageList(*args
, **kwargs
):
498 """SetStateImageList(self, ImageList imageList)"""
499 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
501 def SetButtonsImageList(*args
, **kwargs
):
502 """SetButtonsImageList(self, ImageList imageList)"""
503 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
505 def AssignImageList(*args
, **kwargs
):
506 """AssignImageList(self, ImageList imageList)"""
507 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
509 def AssignStateImageList(*args
, **kwargs
):
510 """AssignStateImageList(self, ImageList imageList)"""
511 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
513 def AssignButtonsImageList(*args
, **kwargs
):
514 """AssignButtonsImageList(self, ImageList imageList)"""
515 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
517 def AddColumn(*args
, **kwargs
):
518 """AddColumn(self, String text)"""
519 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
521 def AddColumnInfo(*args
, **kwargs
):
522 """AddColumnInfo(self, TreeListColumnInfo col)"""
523 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
525 def InsertColumn(*args
, **kwargs
):
526 """InsertColumn(self, size_t before, String text)"""
527 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
529 def InsertColumnInfo(*args
, **kwargs
):
530 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
531 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
533 def RemoveColumn(*args
, **kwargs
):
534 """RemoveColumn(self, size_t column)"""
535 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
537 def GetColumnCount(*args
, **kwargs
):
538 """GetColumnCount(self) -> size_t"""
539 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
541 def SetColumnWidth(*args
, **kwargs
):
542 """SetColumnWidth(self, size_t column, size_t width)"""
543 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
545 def GetColumnWidth(*args
, **kwargs
):
546 """GetColumnWidth(self, size_t column) -> int"""
547 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
549 def SetMainColumn(*args
, **kwargs
):
550 """SetMainColumn(self, size_t column)"""
551 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
553 def GetMainColumn(*args
, **kwargs
):
554 """GetMainColumn(self) -> size_t"""
555 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
557 def SetColumnText(*args
, **kwargs
):
558 """SetColumnText(self, size_t column, String text)"""
559 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
561 def GetColumnText(*args
, **kwargs
):
562 """GetColumnText(self, size_t column) -> String"""
563 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
565 def SetColumn(*args
, **kwargs
):
566 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
567 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
569 def GetColumn(*args
, **kwargs
):
570 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
571 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
573 def SetColumnAlignment(*args
, **kwargs
):
574 """SetColumnAlignment(self, size_t column, int align)"""
575 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
577 def GetColumnAlignment(*args
, **kwargs
):
578 """GetColumnAlignment(self, size_t column) -> int"""
579 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
581 def SetColumnImage(*args
, **kwargs
):
582 """SetColumnImage(self, size_t column, int image)"""
583 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
585 def GetColumnImage(*args
, **kwargs
):
586 """GetColumnImage(self, size_t column) -> int"""
587 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
589 def ShowColumn(*args
, **kwargs
):
590 """ShowColumn(self, size_t column, bool shown)"""
591 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
593 def IsColumnShown(*args
, **kwargs
):
594 """IsColumnShown(self, size_t column) -> bool"""
595 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
597 def GetItemText(*args
, **kwargs
):
598 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
599 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
601 def GetItemImage(*args
, **kwargs
):
602 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
603 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
605 def SetItemText(*args
, **kwargs
):
606 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
607 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
609 def SetItemImage(*args
, **kwargs
):
610 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
611 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
613 def GetItemData(*args
, **kwargs
):
614 """GetItemData(self, TreeItemId item) -> TreeItemData"""
615 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
617 def SetItemData(*args
, **kwargs
):
618 """SetItemData(self, TreeItemId item, TreeItemData data)"""
619 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
621 def GetItemPyData(*args
, **kwargs
):
622 """GetItemPyData(self, TreeItemId item) -> PyObject"""
623 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
625 def SetItemPyData(*args
, **kwargs
):
626 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
627 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
629 GetPyData
= GetItemPyData
630 SetPyData
= SetItemPyData
631 def SetItemHasChildren(*args
, **kwargs
):
632 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
633 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
635 def SetItemBold(*args
, **kwargs
):
636 """SetItemBold(self, TreeItemId item, bool bold=True)"""
637 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
639 def SetItemTextColour(*args
, **kwargs
):
640 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
641 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
643 def SetItemBackgroundColour(*args
, **kwargs
):
644 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
645 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
647 def SetItemFont(*args
, **kwargs
):
648 """SetItemFont(self, TreeItemId item, Font font)"""
649 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
651 def GetItemBold(*args
, **kwargs
):
652 """GetItemBold(self, TreeItemId item) -> bool"""
653 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
655 def GetItemTextColour(*args
, **kwargs
):
656 """GetItemTextColour(self, TreeItemId item) -> Colour"""
657 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
659 def GetItemBackgroundColour(*args
, **kwargs
):
660 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
661 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
663 def GetItemFont(*args
, **kwargs
):
664 """GetItemFont(self, TreeItemId item) -> Font"""
665 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
667 def IsVisible(*args
, **kwargs
):
668 """IsVisible(self, TreeItemId item) -> bool"""
669 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
671 def ItemHasChildren(*args
, **kwargs
):
672 """ItemHasChildren(self, TreeItemId item) -> bool"""
673 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
675 def IsExpanded(*args
, **kwargs
):
676 """IsExpanded(self, TreeItemId item) -> bool"""
677 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
679 def IsSelected(*args
, **kwargs
):
680 """IsSelected(self, TreeItemId item) -> bool"""
681 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
683 def IsBold(*args
, **kwargs
):
684 """IsBold(self, TreeItemId item) -> bool"""
685 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
687 def GetChildrenCount(*args
, **kwargs
):
688 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
689 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
691 def GetRootItem(*args
, **kwargs
):
692 """GetRootItem(self) -> TreeItemId"""
693 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
695 def GetSelection(*args
, **kwargs
):
696 """GetSelection(self) -> TreeItemId"""
697 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
699 def GetSelections(*args
, **kwargs
):
700 """GetSelections(self) -> PyObject"""
701 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
703 def GetItemParent(*args
, **kwargs
):
704 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
705 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
707 def GetFirstChild(*args
, **kwargs
):
708 """GetFirstChild(self, TreeItemId item) -> PyObject"""
709 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
711 def GetNextChild(*args
, **kwargs
):
712 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
713 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
715 def GetLastChild(*args
, **kwargs
):
716 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
717 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
719 def GetNextSibling(*args
, **kwargs
):
720 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
721 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
723 def GetPrevSibling(*args
, **kwargs
):
724 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
725 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
727 def GetFirstVisibleItem(*args
, **kwargs
):
728 """GetFirstVisibleItem(self) -> TreeItemId"""
729 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
731 def GetNextVisible(*args
, **kwargs
):
732 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
733 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
735 def GetPrevVisible(*args
, **kwargs
):
736 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
737 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
739 def GetNext(*args
, **kwargs
):
740 """GetNext(self, TreeItemId item) -> TreeItemId"""
741 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
743 def AddRoot(*args
, **kwargs
):
744 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
745 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
747 def PrependItem(*args
, **kwargs
):
749 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
750 TreeItemData data=None) -> TreeItemId
752 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
754 def InsertItem(*args
, **kwargs
):
756 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
757 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
759 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
761 def InsertItemBefore(*args
, **kwargs
):
763 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
764 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
766 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
768 def AppendItem(*args
, **kwargs
):
770 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
771 TreeItemData data=None) -> TreeItemId
773 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
775 def Delete(*args
, **kwargs
):
776 """Delete(self, TreeItemId item)"""
777 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
779 def DeleteChildren(*args
, **kwargs
):
780 """DeleteChildren(self, TreeItemId item)"""
781 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
783 def DeleteAllItems(*args
, **kwargs
):
784 """DeleteAllItems(self)"""
785 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
787 def Expand(*args
, **kwargs
):
788 """Expand(self, TreeItemId item)"""
789 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
791 def ExpandAll(*args
, **kwargs
):
792 """ExpandAll(self, TreeItemId item)"""
793 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
795 def Collapse(*args
, **kwargs
):
796 """Collapse(self, TreeItemId item)"""
797 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
799 def CollapseAndReset(*args
, **kwargs
):
800 """CollapseAndReset(self, TreeItemId item)"""
801 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
803 def Toggle(*args
, **kwargs
):
804 """Toggle(self, TreeItemId item)"""
805 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
807 def Unselect(*args
, **kwargs
):
809 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
811 def UnselectAll(*args
, **kwargs
):
812 """UnselectAll(self)"""
813 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
815 def SelectItem(*args
, **kwargs
):
816 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
817 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
819 def SelectAll(*args
, **kwargs
):
820 """SelectAll(self, bool extended_select=False)"""
821 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
823 def EnsureVisible(*args
, **kwargs
):
824 """EnsureVisible(self, TreeItemId item)"""
825 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
827 def ScrollTo(*args
, **kwargs
):
828 """ScrollTo(self, TreeItemId item)"""
829 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
831 def HitTest(*args
, **kwargs
):
832 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
833 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
835 def GetBoundingRect(*args
, **kwargs
):
836 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
837 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
839 def EditLabel(*args
, **kwargs
):
840 """EditLabel(self, TreeItemId item)"""
841 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
843 def Edit(*args
, **kwargs
):
844 """Edit(self, TreeItemId item)"""
845 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
847 def SortChildren(*args
, **kwargs
):
848 """SortChildren(self, TreeItemId item)"""
849 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
851 def FindItem(*args
, **kwargs
):
852 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
853 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
855 def GetHeaderWindow(*args
, **kwargs
):
856 """GetHeaderWindow(self) -> Window"""
857 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
859 def GetMainWindow(*args
, **kwargs
):
860 """GetMainWindow(self) -> Window"""
861 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
864 class TreeListCtrlPtr(TreeListCtrl
):
865 def __init__(self
, this
):
867 if not hasattr(self
,"thisown"): self
.thisown
= 0
868 self
.__class
__ = TreeListCtrl
869 _gizmos
.TreeListCtrl_swigregister(TreeListCtrlPtr
)
871 def PreTreeListCtrl(*args
, **kwargs
):
872 """PreTreeListCtrl() -> TreeListCtrl"""
873 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)