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.
11 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
13 if isinstance(value
, class_type
):
14 self
.__dict
__[name
] = value
.this
15 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
18 method
= class_type
.__swig
_setmethods
__.get(name
,None)
19 if method
: return method(self
,value
)
20 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
21 self
.__dict
__[name
] = value
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
28 def _swig_getattr(self
,class_type
,name
):
29 method
= class_type
.__swig
_getmethods
__.get(name
,None)
30 if method
: return method(self
)
31 raise AttributeError,name
35 _object
= types
.ObjectType
37 except AttributeError:
43 def _swig_setattr_nondynamic_method(set):
44 def set_attr(self
,name
,value
):
45 if hasattr(self
,name
) or (name
in ("this", "thisown")):
48 raise AttributeError("You cannot add attributes to %s" % self
)
56 __docfilter__
= wx
._core
.__DocFilter
(globals())
57 DS_MANAGE_SCROLLBARS
= _gizmos
.DS_MANAGE_SCROLLBARS
58 DS_DRAG_CORNER
= _gizmos
.DS_DRAG_CORNER
59 wxEVT_DYNAMIC_SASH_SPLIT
= _gizmos
.wxEVT_DYNAMIC_SASH_SPLIT
60 wxEVT_DYNAMIC_SASH_UNIFY
= _gizmos
.wxEVT_DYNAMIC_SASH_UNIFY
61 class DynamicSashSplitEvent(_core
.CommandEvent
):
62 """Proxy of C++ DynamicSashSplitEvent class"""
64 return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
65 def __init__(self
, *args
, **kwargs
):
66 """__init__(self, Object target) -> DynamicSashSplitEvent"""
67 newobj
= _gizmos
.new_DynamicSashSplitEvent(*args
, **kwargs
)
68 self
.this
= newobj
.this
72 class DynamicSashSplitEventPtr(DynamicSashSplitEvent
):
73 def __init__(self
, this
):
75 if not hasattr(self
,"thisown"): self
.thisown
= 0
76 self
.__class
__ = DynamicSashSplitEvent
77 _gizmos
.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr
)
79 DynamicSashNameStr
= cvar
.DynamicSashNameStr
80 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
81 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
83 class DynamicSashUnifyEvent(_core
.CommandEvent
):
84 """Proxy of C++ DynamicSashUnifyEvent class"""
86 return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
87 def __init__(self
, *args
, **kwargs
):
88 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
89 newobj
= _gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
)
90 self
.this
= newobj
.this
94 class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent
):
95 def __init__(self
, this
):
97 if not hasattr(self
,"thisown"): self
.thisown
= 0
98 self
.__class
__ = DynamicSashUnifyEvent
99 _gizmos
.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr
)
101 class DynamicSashWindow(_core
.Window
):
102 """Proxy of C++ DynamicSashWindow class"""
104 return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
105 def __init__(self
, *args
, **kwargs
):
107 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
108 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
109 String name=DynamicSashNameStr) -> DynamicSashWindow
111 newobj
= _gizmos
.new_DynamicSashWindow(*args
, **kwargs
)
112 self
.this
= newobj
.this
115 self
._setOORInfo
(self
)
117 def Create(*args
, **kwargs
):
119 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
120 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
121 String name=DynamicSashNameStr) -> bool
123 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
125 def GetHScrollBar(*args
, **kwargs
):
126 """GetHScrollBar(self, Window child) -> ScrollBar"""
127 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
129 def GetVScrollBar(*args
, **kwargs
):
130 """GetVScrollBar(self, Window child) -> ScrollBar"""
131 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
134 class DynamicSashWindowPtr(DynamicSashWindow
):
135 def __init__(self
, this
):
137 if not hasattr(self
,"thisown"): self
.thisown
= 0
138 self
.__class
__ = DynamicSashWindow
139 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindowPtr
)
141 def PreDynamicSashWindow(*args
, **kwargs
):
142 """PreDynamicSashWindow() -> DynamicSashWindow"""
143 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
147 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
148 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
150 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
151 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
152 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
153 class EditableListBox(_windows
.Panel
):
154 """Proxy of C++ EditableListBox class"""
156 return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
157 def __init__(self
, *args
, **kwargs
):
159 __init__(self, Window parent, int id=-1, String label=EmptyString,
160 Point pos=DefaultPosition, Size size=DefaultSize,
161 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
162 String name=EditableListBoxNameStr) -> EditableListBox
164 newobj
= _gizmos
.new_EditableListBox(*args
, **kwargs
)
165 self
.this
= newobj
.this
168 self
._setOORInfo
(self
)
170 def SetStrings(*args
, **kwargs
):
171 """SetStrings(self, wxArrayString strings)"""
172 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
174 def GetStrings(*args
, **kwargs
):
175 """GetStrings(self) -> PyObject"""
176 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
178 def GetListCtrl(*args
, **kwargs
):
179 """GetListCtrl(self) -> ListCtrl"""
180 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
182 def GetDelButton(*args
, **kwargs
):
183 """GetDelButton(self) -> BitmapButton"""
184 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
186 def GetNewButton(*args
, **kwargs
):
187 """GetNewButton(self) -> BitmapButton"""
188 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
190 def GetUpButton(*args
, **kwargs
):
191 """GetUpButton(self) -> BitmapButton"""
192 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
194 def GetDownButton(*args
, **kwargs
):
195 """GetDownButton(self) -> BitmapButton"""
196 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
198 def GetEditButton(*args
, **kwargs
):
199 """GetEditButton(self) -> BitmapButton"""
200 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
203 class EditableListBoxPtr(EditableListBox
):
204 def __init__(self
, this
):
206 if not hasattr(self
,"thisown"): self
.thisown
= 0
207 self
.__class
__ = EditableListBox
208 _gizmos
.EditableListBox_swigregister(EditableListBoxPtr
)
210 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
211 """Proxy of C++ RemotelyScrolledTreeCtrl class"""
213 return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
214 def __init__(self
, *args
, **kwargs
):
216 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
217 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
219 newobj
= _gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
)
220 self
.this
= newobj
.this
223 self
._setOORInfo
(self
)
225 def HideVScrollbar(*args
, **kwargs
):
226 """HideVScrollbar(self)"""
227 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
229 def AdjustRemoteScrollbars(*args
, **kwargs
):
230 """AdjustRemoteScrollbars(self)"""
231 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
233 def GetScrolledWindow(*args
, **kwargs
):
234 """GetScrolledWindow(self) -> ScrolledWindow"""
235 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
237 def ScrollToLine(*args
, **kwargs
):
238 """ScrollToLine(self, int posHoriz, int posVert)"""
239 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
241 def SetCompanionWindow(*args
, **kwargs
):
242 """SetCompanionWindow(self, Window companion)"""
243 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
245 def GetCompanionWindow(*args
, **kwargs
):
246 """GetCompanionWindow(self) -> Window"""
247 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
250 class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl
):
251 def __init__(self
, this
):
253 if not hasattr(self
,"thisown"): self
.thisown
= 0
254 self
.__class
__ = RemotelyScrolledTreeCtrl
255 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr
)
257 class TreeCompanionWindow(_core
.Window
):
258 """Proxy of C++ TreeCompanionWindow class"""
260 return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
261 def __init__(self
, *args
, **kwargs
):
263 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
264 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
266 newobj
= _gizmos
.new_TreeCompanionWindow(*args
, **kwargs
)
267 self
.this
= newobj
.this
270 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
272 def _setCallbackInfo(*args
, **kwargs
):
273 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
274 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
276 def GetTreeCtrl(*args
, **kwargs
):
277 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
278 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
280 def SetTreeCtrl(*args
, **kwargs
):
281 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
282 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
285 class TreeCompanionWindowPtr(TreeCompanionWindow
):
286 def __init__(self
, this
):
288 if not hasattr(self
,"thisown"): self
.thisown
= 0
289 self
.__class
__ = TreeCompanionWindow
290 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr
)
292 class ThinSplitterWindow(_windows
.SplitterWindow
):
293 """Proxy of C++ ThinSplitterWindow class"""
295 return "<%s.%s; proxy of C++ wxThinSplitterWindow 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=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
301 newobj
= _gizmos
.new_ThinSplitterWindow(*args
, **kwargs
)
302 self
.this
= newobj
.this
305 self
._setOORInfo
(self
)
308 class ThinSplitterWindowPtr(ThinSplitterWindow
):
309 def __init__(self
, this
):
311 if not hasattr(self
,"thisown"): self
.thisown
= 0
312 self
.__class
__ = ThinSplitterWindow
313 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr
)
315 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
316 """Proxy of C++ SplitterScrolledWindow class"""
318 return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
319 def __init__(self
, *args
, **kwargs
):
321 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
322 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
324 newobj
= _gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
)
325 self
.this
= newobj
.this
328 self
._setOORInfo
(self
)
331 class SplitterScrolledWindowPtr(SplitterScrolledWindow
):
332 def __init__(self
, this
):
334 if not hasattr(self
,"thisown"): self
.thisown
= 0
335 self
.__class
__ = SplitterScrolledWindow
336 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr
)
338 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
339 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
340 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
341 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
342 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
343 class LEDNumberCtrl(_core
.Control
):
344 """Proxy of C++ LEDNumberCtrl class"""
346 return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
347 def __init__(self
, *args
, **kwargs
):
349 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
350 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
352 newobj
= _gizmos
.new_LEDNumberCtrl(*args
, **kwargs
)
353 self
.this
= newobj
.this
356 self
._setOORInfo
(self
)
358 def Create(*args
, **kwargs
):
360 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
361 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
363 Do the 2nd phase and create the GUI control.
365 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
367 def GetAlignment(*args
, **kwargs
):
368 """GetAlignment(self) -> int"""
369 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
371 def GetDrawFaded(*args
, **kwargs
):
372 """GetDrawFaded(self) -> bool"""
373 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
375 def GetValue(*args
, **kwargs
):
376 """GetValue(self) -> String"""
377 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
379 def SetAlignment(*args
, **kwargs
):
380 """SetAlignment(self, int Alignment, bool Redraw=True)"""
381 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
383 def SetDrawFaded(*args
, **kwargs
):
384 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
385 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
387 def SetValue(*args
, **kwargs
):
388 """SetValue(self, String Value, bool Redraw=True)"""
389 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
392 class LEDNumberCtrlPtr(LEDNumberCtrl
):
393 def __init__(self
, this
):
395 if not hasattr(self
,"thisown"): self
.thisown
= 0
396 self
.__class
__ = LEDNumberCtrl
397 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr
)
399 def PreLEDNumberCtrl(*args
, **kwargs
):
400 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
401 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
405 TL_ALIGN_LEFT
= _gizmos
.TL_ALIGN_LEFT
406 TL_ALIGN_RIGHT
= _gizmos
.TL_ALIGN_RIGHT
407 TL_ALIGN_CENTER
= _gizmos
.TL_ALIGN_CENTER
408 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
409 TL_SEARCH_VISIBLE
= _gizmos
.TL_SEARCH_VISIBLE
410 TL_SEARCH_LEVEL
= _gizmos
.TL_SEARCH_LEVEL
411 TL_SEARCH_FULL
= _gizmos
.TL_SEARCH_FULL
412 TL_SEARCH_PARTIAL
= _gizmos
.TL_SEARCH_PARTIAL
413 TL_SEARCH_NOCASE
= _gizmos
.TL_SEARCH_NOCASE
414 TR_DONT_ADJUST_MAC
= _gizmos
.TR_DONT_ADJUST_MAC
415 wx
.TR_DONT_ADJUST_MAC
= TR_DONT_ADJUST_MAC
416 class TreeListColumnInfo(_core
.Object
):
417 """Proxy of C++ TreeListColumnInfo class"""
419 return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
420 def __init__(self
, *args
, **kwargs
):
422 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
423 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
425 newobj
= _gizmos
.new_TreeListColumnInfo(*args
, **kwargs
)
426 self
.this
= newobj
.this
429 def GetShown(*args
, **kwargs
):
430 """GetShown(self) -> bool"""
431 return _gizmos
.TreeListColumnInfo_GetShown(*args
, **kwargs
)
433 def GetAlignment(*args
, **kwargs
):
434 """GetAlignment(self) -> int"""
435 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
437 def GetText(*args
, **kwargs
):
438 """GetText(self) -> String"""
439 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
441 def GetImage(*args
, **kwargs
):
442 """GetImage(self) -> int"""
443 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
445 def GetSelectedImage(*args
, **kwargs
):
446 """GetSelectedImage(self) -> int"""
447 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
449 def GetWidth(*args
, **kwargs
):
450 """GetWidth(self) -> size_t"""
451 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
453 def SetShown(*args
, **kwargs
):
454 """SetShown(self, bool shown)"""
455 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
457 def SetAlignment(*args
, **kwargs
):
458 """SetAlignment(self, int alignment)"""
459 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
461 def SetText(*args
, **kwargs
):
462 """SetText(self, String text)"""
463 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
465 def SetImage(*args
, **kwargs
):
466 """SetImage(self, int image)"""
467 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
469 def SetSelectedImage(*args
, **kwargs
):
470 """SetSelectedImage(self, int image)"""
471 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
473 def SetWidth(*args
, **kwargs
):
474 """SetWidth(self, size_t with)"""
475 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
478 class TreeListColumnInfoPtr(TreeListColumnInfo
):
479 def __init__(self
, this
):
481 if not hasattr(self
,"thisown"): self
.thisown
= 0
482 self
.__class
__ = TreeListColumnInfo
483 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr
)
485 class TreeListCtrl(_core
.Control
):
486 """Proxy of C++ TreeListCtrl class"""
488 return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
489 def __init__(self
, *args
, **kwargs
):
491 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
492 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
493 Validator validator=DefaultValidator,
494 String name=TreeListCtrlNameStr) -> TreeListCtrl
496 newobj
= _gizmos
.new_TreeListCtrl(*args
, **kwargs
)
497 self
.this
= newobj
.this
500 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
502 def Create(*args
, **kwargs
):
504 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
505 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
506 Validator validator=DefaultValidator,
507 String name=TreeListCtrlNameStr) -> bool
509 Do the 2nd phase and create the GUI control.
511 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
513 def _setCallbackInfo(*args
, **kwargs
):
514 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
515 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
517 def GetCount(*args
, **kwargs
):
518 """GetCount(self) -> size_t"""
519 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
521 def GetIndent(*args
, **kwargs
):
522 """GetIndent(self) -> unsigned int"""
523 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
525 def SetIndent(*args
, **kwargs
):
526 """SetIndent(self, unsigned int indent)"""
527 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
529 def GetLineSpacing(*args
, **kwargs
):
530 """GetLineSpacing(self) -> unsigned int"""
531 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
533 def SetLineSpacing(*args
, **kwargs
):
534 """SetLineSpacing(self, unsigned int spacing)"""
535 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
537 def GetImageList(*args
, **kwargs
):
538 """GetImageList(self) -> ImageList"""
539 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
541 def GetStateImageList(*args
, **kwargs
):
542 """GetStateImageList(self) -> ImageList"""
543 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
545 def GetButtonsImageList(*args
, **kwargs
):
546 """GetButtonsImageList(self) -> ImageList"""
547 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
549 def SetImageList(*args
, **kwargs
):
550 """SetImageList(self, ImageList imageList)"""
551 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
553 def SetStateImageList(*args
, **kwargs
):
554 """SetStateImageList(self, ImageList imageList)"""
555 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
557 def SetButtonsImageList(*args
, **kwargs
):
558 """SetButtonsImageList(self, ImageList imageList)"""
559 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
561 def AssignImageList(*args
, **kwargs
):
562 """AssignImageList(self, ImageList imageList)"""
563 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
565 def AssignStateImageList(*args
, **kwargs
):
566 """AssignStateImageList(self, ImageList imageList)"""
567 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
569 def AssignButtonsImageList(*args
, **kwargs
):
570 """AssignButtonsImageList(self, ImageList imageList)"""
571 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
573 def AddColumn(*args
, **kwargs
):
574 """AddColumn(self, String text)"""
575 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
577 def AddColumnInfo(*args
, **kwargs
):
578 """AddColumnInfo(self, TreeListColumnInfo col)"""
579 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
581 def InsertColumn(*args
, **kwargs
):
582 """InsertColumn(self, size_t before, String text)"""
583 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
585 def InsertColumnInfo(*args
, **kwargs
):
586 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
587 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
589 def RemoveColumn(*args
, **kwargs
):
590 """RemoveColumn(self, size_t column)"""
591 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
593 def GetColumnCount(*args
, **kwargs
):
594 """GetColumnCount(self) -> size_t"""
595 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
597 def SetColumnWidth(*args
, **kwargs
):
598 """SetColumnWidth(self, size_t column, size_t width)"""
599 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
601 def GetColumnWidth(*args
, **kwargs
):
602 """GetColumnWidth(self, size_t column) -> int"""
603 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
605 def SetMainColumn(*args
, **kwargs
):
606 """SetMainColumn(self, size_t column)"""
607 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
609 def GetMainColumn(*args
, **kwargs
):
610 """GetMainColumn(self) -> size_t"""
611 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
613 def SetColumnText(*args
, **kwargs
):
614 """SetColumnText(self, size_t column, String text)"""
615 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
617 def GetColumnText(*args
, **kwargs
):
618 """GetColumnText(self, size_t column) -> String"""
619 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
621 def SetColumn(*args
, **kwargs
):
622 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
623 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
625 def GetColumn(*args
, **kwargs
):
626 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
627 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
629 def SetColumnAlignment(*args
, **kwargs
):
630 """SetColumnAlignment(self, size_t column, int align)"""
631 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
633 def GetColumnAlignment(*args
, **kwargs
):
634 """GetColumnAlignment(self, size_t column) -> int"""
635 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
637 def SetColumnImage(*args
, **kwargs
):
638 """SetColumnImage(self, size_t column, int image)"""
639 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
641 def GetColumnImage(*args
, **kwargs
):
642 """GetColumnImage(self, size_t column) -> int"""
643 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
645 def ShowColumn(*args
, **kwargs
):
646 """ShowColumn(self, size_t column, bool shown)"""
647 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
649 def IsColumnShown(*args
, **kwargs
):
650 """IsColumnShown(self, size_t column) -> bool"""
651 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
653 def GetItemText(*args
, **kwargs
):
654 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
655 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
657 def GetItemImage(*args
, **kwargs
):
658 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
659 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
661 def SetItemText(*args
, **kwargs
):
662 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
663 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
665 def SetItemImage(*args
, **kwargs
):
666 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
667 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
669 def GetItemData(*args
, **kwargs
):
670 """GetItemData(self, TreeItemId item) -> TreeItemData"""
671 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
673 def SetItemData(*args
, **kwargs
):
674 """SetItemData(self, TreeItemId item, TreeItemData data)"""
675 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
677 def GetItemPyData(*args
, **kwargs
):
678 """GetItemPyData(self, TreeItemId item) -> PyObject"""
679 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
681 def SetItemPyData(*args
, **kwargs
):
682 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
683 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
685 GetPyData
= GetItemPyData
686 SetPyData
= SetItemPyData
687 def SetItemHasChildren(*args
, **kwargs
):
688 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
689 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
691 def SetItemBold(*args
, **kwargs
):
692 """SetItemBold(self, TreeItemId item, bool bold=True)"""
693 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
695 def SetItemTextColour(*args
, **kwargs
):
696 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
697 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
699 def SetItemBackgroundColour(*args
, **kwargs
):
700 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
701 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
703 def SetItemFont(*args
, **kwargs
):
704 """SetItemFont(self, TreeItemId item, Font font)"""
705 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
707 def GetItemBold(*args
, **kwargs
):
708 """GetItemBold(self, TreeItemId item) -> bool"""
709 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
711 def GetItemTextColour(*args
, **kwargs
):
712 """GetItemTextColour(self, TreeItemId item) -> Colour"""
713 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
715 def GetItemBackgroundColour(*args
, **kwargs
):
716 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
717 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
719 def GetItemFont(*args
, **kwargs
):
720 """GetItemFont(self, TreeItemId item) -> Font"""
721 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
723 def IsVisible(*args
, **kwargs
):
724 """IsVisible(self, TreeItemId item) -> bool"""
725 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
727 def ItemHasChildren(*args
, **kwargs
):
728 """ItemHasChildren(self, TreeItemId item) -> bool"""
729 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
731 def IsExpanded(*args
, **kwargs
):
732 """IsExpanded(self, TreeItemId item) -> bool"""
733 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
735 def IsSelected(*args
, **kwargs
):
736 """IsSelected(self, TreeItemId item) -> bool"""
737 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
739 def IsBold(*args
, **kwargs
):
740 """IsBold(self, TreeItemId item) -> bool"""
741 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
743 def GetChildrenCount(*args
, **kwargs
):
744 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
745 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
747 def GetRootItem(*args
, **kwargs
):
748 """GetRootItem(self) -> TreeItemId"""
749 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
751 def GetSelection(*args
, **kwargs
):
752 """GetSelection(self) -> TreeItemId"""
753 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
755 def GetSelections(*args
, **kwargs
):
756 """GetSelections(self) -> PyObject"""
757 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
759 def GetItemParent(*args
, **kwargs
):
760 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
761 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
763 def GetFirstChild(*args
, **kwargs
):
764 """GetFirstChild(self, TreeItemId item) -> PyObject"""
765 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
767 def GetNextChild(*args
, **kwargs
):
768 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
769 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
771 def GetLastChild(*args
, **kwargs
):
772 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
773 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
775 def GetNextSibling(*args
, **kwargs
):
776 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
777 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
779 def GetPrevSibling(*args
, **kwargs
):
780 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
781 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
783 def GetFirstVisibleItem(*args
, **kwargs
):
784 """GetFirstVisibleItem(self) -> TreeItemId"""
785 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
787 def GetNextVisible(*args
, **kwargs
):
788 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
789 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
791 def GetPrevVisible(*args
, **kwargs
):
792 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
793 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
795 def GetNext(*args
, **kwargs
):
796 """GetNext(self, TreeItemId item) -> TreeItemId"""
797 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
799 def AddRoot(*args
, **kwargs
):
800 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
801 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
803 def PrependItem(*args
, **kwargs
):
805 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
806 TreeItemData data=None) -> TreeItemId
808 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
810 def InsertItem(*args
, **kwargs
):
812 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
813 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
815 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
817 def InsertItemBefore(*args
, **kwargs
):
819 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
820 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
822 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
824 def AppendItem(*args
, **kwargs
):
826 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
827 TreeItemData data=None) -> TreeItemId
829 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
831 def Delete(*args
, **kwargs
):
832 """Delete(self, TreeItemId item)"""
833 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
835 def DeleteChildren(*args
, **kwargs
):
836 """DeleteChildren(self, TreeItemId item)"""
837 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
839 def DeleteAllItems(*args
, **kwargs
):
840 """DeleteAllItems(self)"""
841 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
843 def Expand(*args
, **kwargs
):
844 """Expand(self, TreeItemId item)"""
845 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
847 def ExpandAll(*args
, **kwargs
):
848 """ExpandAll(self, TreeItemId item)"""
849 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
851 def Collapse(*args
, **kwargs
):
852 """Collapse(self, TreeItemId item)"""
853 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
855 def CollapseAndReset(*args
, **kwargs
):
856 """CollapseAndReset(self, TreeItemId item)"""
857 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
859 def Toggle(*args
, **kwargs
):
860 """Toggle(self, TreeItemId item)"""
861 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
863 def Unselect(*args
, **kwargs
):
865 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
867 def UnselectAll(*args
, **kwargs
):
868 """UnselectAll(self)"""
869 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
871 def SelectItem(*args
, **kwargs
):
872 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
873 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
875 def SelectAll(*args
, **kwargs
):
876 """SelectAll(self, bool extended_select=False)"""
877 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
879 def EnsureVisible(*args
, **kwargs
):
880 """EnsureVisible(self, TreeItemId item)"""
881 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
883 def ScrollTo(*args
, **kwargs
):
884 """ScrollTo(self, TreeItemId item)"""
885 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
887 def HitTest(*args
, **kwargs
):
888 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
889 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
891 def GetBoundingRect(*args
, **kwargs
):
892 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
893 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
895 def EditLabel(*args
, **kwargs
):
896 """EditLabel(self, TreeItemId item)"""
897 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
899 def Edit(*args
, **kwargs
):
900 """Edit(self, TreeItemId item)"""
901 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
903 def SortChildren(*args
, **kwargs
):
904 """SortChildren(self, TreeItemId item)"""
905 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
907 def FindItem(*args
, **kwargs
):
908 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
909 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
911 def GetHeaderWindow(*args
, **kwargs
):
912 """GetHeaderWindow(self) -> Window"""
913 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
915 def GetMainWindow(*args
, **kwargs
):
916 """GetMainWindow(self) -> ScrolledWindow"""
917 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
920 class TreeListCtrlPtr(TreeListCtrl
):
921 def __init__(self
, this
):
923 if not hasattr(self
,"thisown"): self
.thisown
= 0
924 self
.__class
__ = TreeListCtrl
925 _gizmos
.TreeListCtrl_swigregister(TreeListCtrlPtr
)
927 def PreTreeListCtrl(*args
, **kwargs
):
928 """PreTreeListCtrl() -> TreeListCtrl"""
929 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)