[plt-scheme] What scheme module is this GUI code for?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Sep 21 19:26:28 EDT 2007

We started with wxWindows ... something like a decade ago? Maybe
longer, I've lost track now. In any case, we've diverged quite a bit.
This question comes up not too infrequently, you might want to search
the plt-scheme mailing list archives for a more detailed discussion.

Robby

On 9/21/07, Stephen De Gabrielle <stephen at degabrielle.name> wrote:
> The MrEd [Drawing Toolbox]
>
> see
> http://download.plt-scheme.org/doc/371/html/mred/mred-Z-H-397.html#node_chap_5
>
> That wx stuff sounds familiar - but I don't know the relationship.
>
> If it helps -  there is a thankyou at the bottom of the TOC; 'Thanks to
> Julian Smart for wxWindows and his help. '
>
> s.
>
>
> On 9/21/07, Carnell, James E <jecarnell at saintfrancis.com> wrote:
> > I was looking at this code and it is almost the same as wxPython which
> > is a Python wrapper for a Xwindow system (I think I am saying that right
> > [I have yet to make a wrapper personally]). This is the best news so far
> > today... Maybe after getting wxPython into my head whatever module the
> > code below is for won't be totally new!
> >
> >                          ; Get the canvas's drawing context
> >                          (define dc (send canvas get-dc))
> >                          ; Make some pens and brushes
> >                          (define no-pen (make-object pen% "BLACK" 1
> > 'transparent))
> >                          (define blue-brush (make-object brush% "BLUE"
> > 'solid))
> >                          (define yellow-brush (make-object brush%
> > "YELLOW"
> > 'solid))
> >                          (define/public (redraw-chart list-of-integers)
> >                            (send dc set-pen no-pen)
> >                            (send dc set-brush blue-brush)
> >                            (send dc draw-rectangle 0 0 100 200)  ; big
> > blue rectangle
> >
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
>
>
>
> --
> Cheers,
>
> Stephen
>
>
>
> --
>  Stephen De Gabrielle
> s.degabrielle at ucl.ac.uk
> Telephone +44 (0)20 7679 5242 (x45242)
> Mobile                  079 851 890 45
>  http://www.uclic.ucl.ac.uk/annb/MaSI.html
> University College London Interaction Centre
> Remax House - 31/32 Alfred Place
> London - WC1E 7DP
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>


Posted on the users mailing list.