bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] A GTK wrapper for GNU APL


From: Chris Moller
Subject: Re: [Bug-apl] A GTK wrapper for GNU APL
Date: Sat, 16 Aug 2014 19:25:22 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Applied, committed, and pushed to github. 

Chris
Retired Computer Engineer


On 08/16/14 17:51, Frederick H. Pitts wrote:
Chris,

	I'm using

  if (
      /* Filter out NumLock status from event state */
      ( key_event->state & ~ GDK_MOD2_MASK ) == 0 &&
      (
        key_event->keyval == GDK_KEY_Return ||
          /* Honor numeric keypad enter key */
          key_event->keyval == GDK_KEY_KP_Enter
      )
  ) { /* send line to APL */ }

I think we are on the same page.  Only difference I see between your and
my solutions is that mine will honor the numeric keypad enter key
irrespective of the NumLock state whereas your requires NumLock to be
active for the numeric keypad enter key to be honored.  Personally, I
prefer the former arrangement.

Regards,

Fred
Retired Chemical Engineer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]