Programmatically deleting windows - Project in particular
Tim Rowledge
tim at sumeru.stanford.edu
Thu Jul 27 17:34:19 UTC 2000
In message <200007270249.WAA21996 at fellspt.charm.net> you wrote:
> The morph deleted in this case is the ProjectViewMorph which is in a
> SystemWindow. The SystemWindow would normally have been deleted a little
> later when Project>>okToChange returned to its sender,
> SystemWindow>>delete (where the user started the process rolling by
> clicking the close X).
Ah, OK, I didn't spot the split betwen the two Morphs.
That makes me wonder just how effective the code in the zapMVCProject
method could really be; seems like it wouldn't handle theImageSegment
stuff nor the project window!
It would be really nice to find a way to separate out the UI side of a
lot of this window manipulating stuff, so that programmatic manipulation
could work. I suppose that with an event queue working I could be really
evil and force made-up events onto the queue so that the UI would think
the user had said yes in the right places ;-)
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
If at first you don't succeed, you must be a programmer.
More information about the Squeak-dev
mailing list
|