wx.aui.AuiNotebook CTRL TAB , page to page navigation does not work on OSX ? works in windows

Hi I am using

wxpython : 2.9.4.0

matplotlib : 1.3

In my application I have a number of matplotlib figure objects, one on each page of the wx.aui.AuiNotebook .The pages are each a figure and arranged as tabs on the top of the wxpython frame.

On Windows I can navigate from page to page using CTRL-TAB and CTRL-SHIFT-TAB.

However on OSX -Lion where I compiled wxpython using homebrew wxmac recipe , neither the CTRL-TAB, nor Alt/Tab navigate from page to page.

Instead what happens is that the “selection” moves from icon to icon i.e from the “Home” to the "Pan-zoom " icon on the bottom of the matplotlib figure. The wxAuiNotebook is oblvious of these mouse events.

Does anyone know how to restore the windows os behavior where CTRL-TAB changes the page on OSX.

Thanks

Hari

Hello all,

It turns out the command-(APPLE) -TAB does work to change the focus from page to page but only if the mouse is centered on top of the actual tab area . In windows mouse focus anywhere on the figure allows CTRL-TAB page flipping. But in OSX it only works when focussed on the acutal tab rectangle.

I checked what this was the behavior with the official wxpython wxAUINotebook demo application as well.

Thanks

Hari

···

On Sun, Oct 21, 2012 at 7:20 AM, hari jayaram harijay@gmail.com wrote:

Hi I am using
wxpython : 2.9.4.0

matplotlib : 1.3

In my application I have a number of matplotlib figure objects, one on each page of the wx.aui.AuiNotebook .The pages are each a figure and arranged as tabs on the top of the wxpython frame.

On Windows I can navigate from page to page using CTRL-TAB and CTRL-SHIFT-TAB.

However on OSX -Lion where I compiled wxpython using homebrew wxmac recipe , neither the CTRL-TAB, nor Alt/Tab navigate from page to page.

Instead what happens is that the “selection” moves from icon to icon i.e from the “Home” to the "Pan-zoom " icon on the bottom of the matplotlib figure. The wxAuiNotebook is oblvious of these mouse events.

Does anyone know how to restore the windows os behavior where CTRL-TAB changes the page on OSX.

Thanks

Hari