RE: Python GUI: document/view versus window

Hammond, Mark (MHammond@jm.cmutual.com.au)
Wed, 15 Mar 95 12:08:00 PST

> Does anyone out there have an opinion on this (are you there Mark)?
> Is there some reason why we should[not] use Views? Does anyone care?
> The wrong decision now will be hard to change later. Does doc/view
> really offer anything? Comments please.
Im in 2 minds about this.

I think that the doc/view is worthwhile. However, I find that the "raw
windows" are very useful, and I do more work on Windows than I do on
docs/views.

eg, to move the window containing a view - I need to find the window frame,
and move that. There is no real concept of "moving a view". (eg, a single
frame window can have 2 views in it - say a splitter window). The "Frame
Window" still needs to be a first class citizen.

Views and documents are useful (IMHO) simply for managing data - eg, it
makes alot of sense to have a single document (managing the document data)
and multiple views (all sharing the documents data, but rendering it
differently). However, for "gui management" (moving/hiding/activating
windows etc), the "window" API is still needed.

So - I think that documents and views have their place, but only in the
context described above. I dont think documents and views should (or can)
hide the "window" concept.

Mark.