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

From: Stephen De Gabrielle (stephen at degabrielle.name)
Date: Fri Sep 21 10:19:51 EDT 2007

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070921/666c6b6e/attachment.html>

Posted on the users mailing list.