Hello,
I’m unable to get wxPython to run my handler for the HyperTreeList’s EVT_TREE_ITEM_GETTOOLTIP event. This problem can be seen in demo/agw/HypeTreeList.py. It includes a checkbox for this event. The function is never called after the checkbox is checked even though the function is bound.
I’ve spent some time this afternoon looking at OnMouse in wx/lib/agw/hypetreelist.py and cannot figure out why it never calls my handler. The default handler in customtreectrl.py is always called instead.
-Matt
I discovered a solution/work around:
self.**_main_win**.Bind( wx.EVT_TREE_ITEM_GETTOOLTIP, self.OnGetToolTip )
This doesn’t:
self.Bind( wx.EVT_TREE_ITEM_GETTOOLTIP, self.OnGetToolTip )
···
On Thursday, May 30, 2019 at 4:14:38 PM UTC-7, Matt Kimberling wrote:
Hello,
I’m unable to get wxPython to run my handler for the HyperTreeList’s EVT_TREE_ITEM_GETTOOLTIP event. This problem can be seen in demo/agw/HypeTreeList.py. It includes a checkbox for this event. The function is never called after the checkbox is checked even though the function is bound.
I’ve spent some time this afternoon looking at OnMouse in wx/lib/agw/hypetreelist.py and cannot figure out why it never calls my handler. The default handler in customtreectrl.py is always called instead.
-Matt