[wxPython-users] Re: fixed key bindings in notebook

AK andrei.avk at gmail.com
Tue Mar 18 16:52:11 PDT 2008


Franz Steinhäusler wrote:
> On Tue, 18 Mar 2008 18:37:15 -0500, AK <andrei.avk at gmail.com> wrote:
>
>   
>>> [...]
>>> It seems to work!
>>>   
>>>       
>> That's great, it does work for me, too. I just got rid of the 
>> self.grandparent line. Have you got alt-left and alt-right to work, too? -ak
>>     
>
> Cool, that it worked for you.
>
> The difference is in the architecture. Thel alt-right left/right is/was not handled
> on that layer, but on the shortcut-key system. That means, everything in our application
> goes from the frame (with the menu) downwards.
>
> Pseudo Code: Alt-right => switch the tabs manually by calling notebook setselection 
> and some other code, what is needed to transfer to the behaviour of the new selected tab.
>   
Perfect, I thought that'd be the thing to try but I was afraid 
flatnotebook would refuse to be so easy to deal with.
thanks, -ak




More information about the wxpython-users mailing list