[racket] Customize world window

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sat Oct 29 13:38:40 EDT 2011

On Oct 28, 2011, at 4:22 AM, jvjulien at free.fr wrote:

> Hello,
> Is it possibile to customize world window (2htdp/universe) ?
> For example, is it possible to change title window and add GUI controls (sliders, text edit...) ?

The title is determined by the name clause in big-bang, e.g., 

  (big-bang 0 (to-draw (lambda (x) (text "hello world" 33 'red))) (name "jeeve"))

;; --- 

Otherwise it is impossible to get at the frame that displays the world. It is an instance of a private
locally created class with two possible mixins (mouse and key handlers). 

The request to get access to this frame in some form or another has surfaced 
before. I will put it on my todo list, but I do not know yet how to go about this. 

-- Matthias

Posted on the users mailing list.