[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Re: gEDA-user: PCB lesstif pcb-menu.res ideas




>      {"fat via  30 mils"  a={"Ctrl-V b" "Ctrl<Keys>vb"} Atomic(Save) 
> ChangeSize(SelectedVias,65,mil) Atomic(Restore) ChangeDrillSize(SelectedVias, 
> 32, mil) Atomic(Block)}

I added this to my pcb-menu.res, and discovered two things:

1. I already had a Ctrl-V binding (which overrides multi-key bindings)

2. You have to press Ctrl-V Ctrl-B to invoke that command.

Does that help?

Also, try running "pcb --verbose ..." when debugging menus; that makes
it print each action it runs.

> If we could add components to libraries and reload pcb-menu.res files while pcb 
> runs,

Reloading pcb-menu.res might be do-able.  It means tearing down the
menu and building a new one; which means we have to be more careful
abou freeing memory else we'd leak more.

> (with several menus open

That might be trickier.  I think offering that is the same type of
project as remembering where they were across sessions.

> Is there a howto about pcb lesstif pcb-menu.res?  I read the pcb manual before 
> asking, but could not find the detail about where and what form a local 
> pcb-menu.res file was....

Did you read the "Customizing the menus" chapter?

> want me to write one and put it on gedasymbols.org or geda wiki once
> I getit figured out?

Better to update pcb's manual.

> Will pcb-menu.res be used same way by GTK GUI eventually?

One would like to hope so.  Want to volunteer?  ;-)


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev