gEDA-dev: PCB: escape key

Dan McMahill dan at mcmahill.net
Mon Mar 12 21:31:45 EDT 2007


I'm trying to chip away at the few remaining issues relating to user 
defined menus for the gtk HID.

The thing I came across is the escape key.  In the lesstif HID, it calls 
the action "Mode(Cancel)".  This puts you back to the starting point for 
the currently selected tool.  For example, if you are drawing a trace 
and hit ESC, it will stop adding segments for the current trace and put 
you in the state where you can start a new trace.  Hitting ESC a 2nd 
time calls "Mode(Cancel)" again but that doesn't do anything.

In the current gtk HID, the 2nd press of ESC returns you to the arrow tool.

Personally I prefer the gtk HID behaviour.

So, my question is if it is acceptable to modify the behaviour of 
"Mode(Cancel)" so that the 2nd call will return you to the arrow mode or 
if I need to add an additional call,  "Mode(Escape)" perhaps, that 
behaves like the current gtk HID.

Thanks
-Dan


More information about the geda-dev mailing list