One possibility is to have big-bang accept an argument that is a frame (or a panel generally) and then people could fit them into their own frames and I guess that you could support this without too much work. I'd be happy to suggest how to do that with a diff if that would be useful.
Robby On Sat, Oct 29, 2011 at 12:38 PM, Matthias Felleisen <matth...@ccs.neu.edu> wrote: > > On Oct 28, 2011, at 4:22 AM, jvjul...@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 > > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users