[racket] Custom Keybindings - Editor Insert Poofed
Okay, it looks like on-subwindow-char is not being called properly
anymore. Here's a small program that illustrates the problem. It
prints out the frame, but I think it should print out the
editor-canvas. This seems to be linux specific.
#lang racket/gui
(define f%
(class frame%
(define/override (on-subwindow-char receiver evt)
(printf "receiver: ~s\n" receiver)
#f)
(super-new)))
(define f (new f% [label ""] [width 400] [height 400]))
(define t (new text%))
(define ec (new editor-canvas% [parent f] [editor t]))
(send ec focus)
(send f show #t)
Robby