www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/16/20:49:25

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 <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <mtd2db$kk2$1@ger.gmane.org> (message from Kai-Martin Knaak on
Thu, 17 Sep 2015 02:44:27 +0200)
Subject: Re: [geda-user] key bindings
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1509131209260 DOT 6924 AT igor2priv> <55F5EFB6 DOT 6050809 AT ecosensory DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1509140349440 DOT 6924 AT igor2priv> <20150914100244 DOT 4c371d64616a1ca14f7e3912 AT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1509161940580 DOT 3528 AT lichen> <201509161753 DOT t8GHr83L007994 AT envy DOT delorie DOT com> <CAM2RGhQVThXyZDX7vfBNY3-8SgA0gH78bc30swP-EWzTEVr5WA AT mail DOT gmail DOT com> <201509161846 DOT t8GIk6Dm010388 AT envy DOT delorie DOT com> <CAM2RGhSj4z8HTSCnA8FpG962aEJJsSmnh=TS__R_qkdW2=Jb9Q AT mail DOT gmail DOT com> <201509161905 DOT t8GJ5MVY011855 AT envy DOT delorie DOT com> <CAM2RGhQYtTKyBHVG+9tpCvYiVixgG_gtTbxX+Z+QvRZYp91tEg AT mail DOT gmail DOT com> <mtd2db$kk2$1 AT ger DOT gmane DOT org>
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

> > 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019