Hi,
I’m trying to capture wx.EVT_RIGHT_CLICK to pop a context menu on a AUINotebook tab, but it seems all mouse events are eaten by the control. Does anyone have suggestions for a work-around?
Cheers, Frank
Hi,
I’m trying to capture wx.EVT_RIGHT_CLICK to pop a context menu on a AUINotebook tab, but it seems all mouse events are eaten by the control. Does anyone have suggestions for a work-around?
Cheers, Frank
I can't find an API to access it, but a wx.AUINotebook will have
children which are instances of wx.AUITabCtrl, and binding mouse
events to those seems to work. Be sure you call event.Skip() to allow
the base class handling to happen.
On 2/1/07, Frank Niessink <frank@niessink.com> wrote:
Hi,
I'm trying to capture wx.EVT_RIGHT_CLICK to pop a context menu on a
AUINotebook tab, but it seems all mouse events are eaten by the control.
Does anyone have suggestions for a work-around?