[wxPython-users] The best way to jump around between 3 areas of program?

AK andrei.avk at gmail.com
Tue Mar 18 05:28:50 PDT 2008


Peter Damoc wrote:
> You could try to use the F keys for areas or simply numbers.
>
> F1 - Area 1
> F2 - Area 2
>
> If you already have actions associated with them use a CTRL+F combo.
Well, F1 and F2 are quite a bit out of home row, this app is going to be
keyboard heavy, like the Vim, so I want to follow same principle of staying
on home row. Ctrl-F is traditionally search command, so that's how it works
already. I was thinking also of ctrl-1 and -2 and -3 but that's usually 
what's
used for windows/tabs. I think I'll just have to figure out to change 
behaviour
of tab switching..
>
>
> Peter
>
> On Tue, Mar 18, 2008 at 7:38 AM, AK <andrei.avk at gmail.com 
> <mailto:andrei.avk at gmail.com>> wrote:
>
>     Programs that have multiple panes usually have a shortcut to jump
>     around
>     them. For instance, Treepad uses ctrl-tab. But I already have
>     flatNotebook in one pane, and ctrl-tab is also used for switching
>     tabs.
>     Is there a shortcut that's used in a few programs that's not ctrl-tab?
>     For that matter, I couldn't find how to change it in
>     flatnotebook.py. Is
>     it using wx.EVT_NAVIGATION_KEY, it seems, but how then it knows if
>     it's
>     ctrl-tab or ctrl-alt-tab for reverse switch? There's
>     event.GetDirection() call there, I feel like I'm a little lost. I'm
>     thinking maybe I should use ctrl-right and ctrl-left to change
>     tabs and
>     ctrl-tab to cycle through 3 areas of the application. thanks! -ak
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail:
>     wxPython-users-unsubscribe at lists.wxwidgets.org
>     <mailto:wxPython-users-unsubscribe at lists.wxwidgets.org>
>     For additional commands, e-mail:
>     wxPython-users-help at lists.wxwidgets.org
>     <mailto:wxPython-users-help at lists.wxwidgets.org>
>
>
>
>
> -- 
> There is NO FATE, we are the creators. 





More information about the wxpython-users mailing list