[racket] #lang racket/gui

From: Laurent (laurent.orseau at gmail.com)
Date: Sun Sep 22 10:19:37 EDT 2013

Probably the frame is actually shown, but with 0x0 size.

Try with:
> (require racket/gui)
> (define frame (new frame% [label "Example"]
                     [min-width 200] [min-height 200]))
> (send frame show #t)

Laurent

On Sun, Sep 22, 2013 at 4:10 PM, Michael Rice <limitcase at gmail.com> wrote:

> I'm exploring Racket's Gui Toolkit but I'm having a problem even getting a
> frame to "show" in interactive mode.
>
> Definitions:
> #lang racket/gui  (clicked on run before entering lines below.
>
> Interactions:
> Welcome to DrRacket, version 5.3.6 [3m].
> Language: racket/gui; memory limit: 128 MB.
> > (define frame (new frame% [label "Example"]))
> > (send frame show #t)
> > frame
> (object:frame% ...)
> >
>
> I'm using the Fedora 18 x86_64 version.
>
> Michael
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130922/a48bbc1d/attachment-0001.html>

Posted on the users mailing list.