X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 10 Apr 2016 08:50:04 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] pcb-rnd: gtk multikey - looking for volunteers (arrow keys, fine tuning) In-Reply-To: <20160410080951.e5ca2ee76a044a574ea9db0f@gmail.com> Message-ID: References: <20160408093638 DOT c0d5ac7e389e162d04cda4fb AT gmail DOT com> <20160408101718 DOT 0c8cffa321e2c29214e46118 AT gmail DOT com> <20160410080951 DOT e5ca2ee76a044a574ea9db0f AT gmail DOT com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 On Sun, 10 Apr 2016, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >>> Well not right now, if I get enough time and could figure ut something useful I will however send you the files. >> >> If you get to it, please note that the file format has changed in >> pcb-rnd. Best to start from trunk/src/pcb-menu-gtk.lht. >> >> If anyone wants to join, please contact me so we can work out the >> most comfortable way of cooperation. > > I have looked at it and one the thing I want to try is move layer toggle layer visibility from "CTRL+1" to pressing "1" then layer is selected. I can't find neither where CTRL+1 is implemented or if this is possible. Good point - those were hardwired key bindings in both the gtk and the lesstif HID. I had a plan to change this since I first met them. I got to do it probably around the same time you wrote your mail this morning. If you svn up trunk/, you'll see that all the ToggleView() and SelectLayer() actions are now explicitly listed in the menu .lht files. As far as I can tell I removed all hardwired keys from the HID code. There are some keys still handled by lower layers, like in the gtk HID if you press F10 the menu pops up before the HID code has any chance to deal with the key press. Regards, Igor2