delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/04/10/02:43:26

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]" <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: <alpine.DEB.2.00.1604100844270.26144@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1604080628340 DOT 26144 AT igor2priv> <20160408093638 DOT c0d5ac7e389e162d04cda4fb AT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1604081010380 DOT 26144 AT igor2priv> <20160408101718 DOT 0c8cffa321e2c29214e46118 AT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1604081038430 DOT 26144 AT igor2priv>
<20160410080951 DOT e5ca2ee76a044a574ea9db0f AT gmail DOT com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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


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



- Raw text -


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