[plt-scheme] redirecting keyboard events

From: pedro pinto (pedro.e.pinto at gmail.com)
Date: Fri Jan 27 13:05:41 EST 2006

Its no big deal. Turns out managing the current selection on a list box is
straightforward so I can just intercept arrow up/down and change the
selection myself.

One more question, is there a way to persuade a MrEd application to use as
its standard input/output something other than a console? I would like to
have emacs launch a mred app and then talk to it through stdin, stdout. Is
this possible?


On 1/27/06, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Fri, 27 Jan 2006 11:56:45 -0600, Robby Findler wrote:
> > I actually dnol't know the answer, but you might just try invoking the
> > on-event method on the listbox directly from on-subwindow-char (and
> > then returning some value to indicate the event had been handled).
> >
> > Should that work, Matthew?
> The problem is that there's no `on-event' method of list-box%.
> Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060127/285891e7/attachment.html>

Posted on the users mailing list.