This class attempts to hide the differences in API between the different tree controls that are part of wxPython.
lib.mixins.treemixin.DragAndDrop, lib.mixins.treemixin.ExpansionState, lib.mixins.treemixin.VirtualTree
ExpandAll | |
ExpandAllChildren | |
GetColumnCount | |
GetCount | |
GetFirstVisibleItem | |
GetItemChecked | |
GetItemImage | |
GetItemType | |
GetMainWindow | |
GetSelections | |
HitTest | HitTest returns a two-tuple (item, flags) for tree controls |
IsItemChecked | |
SelectItem | |
SetItemChecked | |
SetItemImage | |
SetItemType | |
UnselectAll |
This class attempts to hide the differences in API between the different tree controls that are part of wxPython.
HitTest returns a two-tuple (item, flags) for tree controls without columns and a three-tuple (item, flags, column) for tree controls with columns. Our caller can indicate this method to always return a three-tuple no matter what tree control we’re mixed in with by specifying the optional argument ‘alwaysReturnColumn’ to be True.