This class attempts to hide the differences in API between the different tree controls that are part of wxPython.
wx.lib.mixins.treemixin.DragAndDrop
, wx.lib.mixins.treemixin.ExpansionState
, wx.lib.mixins.treemixin.VirtualTree
HitTest returns a two-tuple (item, flags) for tree controls |
|
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.