X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f Date: Wed, 16 Sep 2015 20:49:14 -0400 Message-Id: <201509170049.t8H0nEAZ031617@envy.delorie.com> From: DJ Delorie To: geda-user AT delorie DOT com In-reply-to: (message from Kai-Martin Knaak on Thu, 17 Sep 2015 02:44:27 +0200) Subject: Re: [geda-user] key bindings References: <55F5EFB6 DOT 6050809 AT ecosensory DOT com> <20150914100244 DOT 4c371d64616a1ca14f7e3912 AT gmail DOT com> <201509161753 DOT t8GHr83L007994 AT envy DOT delorie DOT com> <201509161846 DOT t8GIk6Dm010388 AT envy DOT delorie DOT com> <201509161905 DOT t8GJ5MVY011855 AT envy DOT delorie DOT com> Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > Ok I forgot that PCB had that. > > What is missing though, is a way to make gschem compatible two-stroke > accels. The lesstif hid has that too :-) > In terms of pcb-GUI the mode would be the currently active tool. So > a "q" would do something different in via mode than in line mode or > in arc mode. Our current scheme is to define the hotkeys in the resource files by binding them to actions. To bind them on a context basis, I think would require something more complex in our action scripts. Perhaps Igor2's scripting work will give us a way to apply more complex bindings. > BTW, starcraft also provides a good GUI way to facilitate learning > the keys on the fly. On the lower right there is an area with icons > of the currently available actions. These icons are decorated with > the letter of the respective accel key. I think gtk offers a way to do this, if you use compatible APIs.