On 18-10-2013, at 18:54, Allin Cottrell <cottrell(a)wfu.edu> wrote:
Coming out of discussion of the gretl-quartz build for Mac, it seemed
to
me that since gretl has a multi-window design it might indeed be useful to
have a keyboard shortcut for switching between gretl windows.
I've now implemented this in CVS and snapshots. On the Mac it's bound to
command+` (accent grave). On other platforms it's bound to Ctrl+` at
present.
For non-Mac users: this is basically like a within-application version of
Alt-Tab. If anyone has ideas for a more idiomatic binding for Windows
and/or X11, please say.
For Mac users: I can't guarantee that this works just as it does with
"real" Mac applications. What it should do in gretl is cycle through the
gretl top-level windows, raising and giving focus to each in turn, and
wrapping around when you get to the end of the list.
It seems to work reasonably well.
But when you have a graph window open the behaviour becomes erratic.
Sometimes the switching key will work and sometimes not.
The window list key still works.
After closing the graph (gnuplot) window things seem to return to normal i.e. switching
windows works.
I've even had a fatal crash with continuous switching but cannot reproduce the crash.
Command+shift+` doesn't seem to work: it is the same as Command+~ on my keyboard
(Dutch; more or less the same as a US keyboard).
I don't know if Command+` will work with other keyboard layouts (German, Swiss, …).
Can't test.
Berend