[GRASS-dev] Discussing new GUI toolkit: v.pydigit
Hamish
hamish_nospam at yahoo.com
Thu Jun 1 01:10:28 EDT 2006
> I wonder - does it (python I assume you mean here) get button-click
> info from the system, or interpret mouse/trackpad directly? A
> feature of recent PowerBooks, and the new MacBook I'm lovin', is (if
> one uses the pad-tap feature) tapping with *two* fingers does a right-
>
> click. If Python sees it as left/right click, you wouldn't have to
> worry about trying to interpret meta-keys as well. Same goes for
> ctrl-click - it's a standard setup for the system to do a right-click
>
> - if Python sees this as right-click instead of ctrl-click, it
> wouldn't have to deal with having to have alternatives for extra
> buttons on a Mac. There's nothing for a middle-click, so we're only
> down to two buttons, not one.
>
> There are also drivers available to do similar things for older
> PowerBooks.
AFAIR, ctrl-click and apple-click on the mac were translated to
middle/right click somewhere in the system before X11. (but it doesn't
always work right in some X applications)
Play with "xev" to test?
Hamish
More information about the grass-dev
mailing list