Re: [racket-dev] Windowing API

2011-10-15 Thread Eric Dobson
Thanks that worked. -Eric On Oct 15, 2011, at 7:07 AM, Matthew Flatt wrote: > I think you'll have to handle `on-size' at the `racket/gui' level: > > (define panel > (new (class panel% > (define/override (on-size w h) >(tellv web-view setFrame: > #:type _

Re: [racket-dev] Windowing API

2011-10-15 Thread Matthew Flatt
I think you'll have to handle `on-size' at the `racket/gui' level: (define panel (new (class panel% (define/override (on-size w h) (tellv web-view setFrame: #:type _NSRect (make-NSRect (make-NSPoint 0 0) (

[racket-dev] Windowing API

2011-10-14 Thread Eric Dobson
I am trying to implement a WebKit panel in Racket, and am running in to some trouble with the windowing API. I cannot get resizing to work. In OS X it looks like it is supposed to be enabled by default so I assume racket is changing it so that it can do its layout algorithm. The problem is that