[GRASSLIST:10423] Re: [GRASS5] gis manager 2 rc3 - bug fixes and updates

Glynn Clements glynn at gclements.plus.com
Mon Feb 20 05:59:12 EST 2006


Maciek Sieczka wrote:

> I recall Glynn suggested combination of 2 button mouse and keyboard.
> That could be good solutiun but is it possible to implement within
> current gis.m?

Yes. One of the major drawbacks of using the display architecture as a
GUI toolkit is that the only form of user input available is
unmodified mouse buttons. Tcl/Tk has no such restrictions; you can
receive key events, as well as obtaining the modifier state for mouse
events.

There's no reason why a decent GUI can't be made which only uses the
left mouse button, with the right mouse button reserved for a context
menu, and the middle button only used for functionality which can be
obtained by other means. All modern Windows applications manage to
work that way.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list