Note I am bringing this over to geda-dev since it involves technical
details about PCB. . . . .

> The menu system in
> pcb, for example, is data driven now, so you should be able to drop in
> ANY menu system, as long as it can call the relevent callbacks (which
> still use XEvents, but abstracting that out should be trivial if/when
> needed).

I'm glad to hear that the menus are cleanly separated from the other
code. 

One PCB annoyance (that is, something *I* find annoying) is this:
Once a pull-down menu appears, you can't hit escape, or click on any
section of the screen to make it go away.  The only way to close an
unwanted pull-down is to click on a greyed-out option on the pull-down
itself.  

I can probably fix is this if I know where the pull-down menu
callbacks are defined, and I can figure out how to trap an "esc-key"
event, and can figure out what to call to close the pull-down.

Any quick hints about where to look would be appreciated.  I can try
the fix & then submit patches if I can suss it out.  

Stuart

Reply via email to