On Mon, Aug 17, 2009 at 06:02:58PM -0700, John M McIntosh wrote:
Well let me comment
For years the squeak community complained about the fact there was just one window and morphic, and no way to offer native widgets or have more than one window.
The folks providing funding for Sophie complained about this same fact too.
So years ago, Tim and I spent a summer working out how to provide the multiple window support for Squeak aka Areithfa Ffenestri http://wiki.squeak.org/squeak/3862
It's quite simple, the HostWindowProxy proxy lets you manipulate the window and draw to it. The VM was changed so that Events *should* tag UI events with a window index number. EventSensor then brings up the events and hands them to who ever is interested.
It's all fully explained on the web page.
We built it on the macintosh first, with *pending* support for the other platforms. I'm sure Bert did a Linux variation. mmm I'm sure windowIndex 0 refers to the main squeak window btw.
FWIW, I did make a start at getting this working on X11 for unix VMs, but did not get the project finished. Background: http://lists.squeakfoundation.org/pipermail/vm-dev/2008-July/001977.html I can dig up the missing attachments if anyone is interested. Bert may have done some related work since then. Dave