[Pythonmac-SIG] "Official" mac python Docs Project: requests for help/comments

Jack Jansen jack@oratrix.nl
Tue, 12 Sep 2000 22:58:11 +0200


Recently, "James B. Wilkinson" <jimmy@CS.cofc.EDU> said:
> I've also been mulling over the possibility of adding undo/redo to the
> Framework, but I'd hate to put out the effort only to find out that I
> should have quit using the Framework long ago and switched to something
> else. Mostly, I find it hard to believe that one of you guys hasn't already
> done that somewhere. Anybody got any advice for me on that?

FrameWork is only half the solution. In GRiNS (the stuff that pays my
rent) we started of using FrameWork, but by now it's only the Menu
code that has survived. Just's W (used in IDE) is in a similar
situation. Unfortunately both W and GRiNS-windowinterface are rather
specialised: they're fine for some applications but not for others.

But once you start thinking about what you'd really want in a GUI
framework if it is to remain general enough you quickly end up with
something resembling MFC:-(

The strong point of FrameWork is that it allows you to break into the
control-flow at many different places. W, for instance, uses a
different way to enable/disable menus and that plugs right in leaving
the rest intact. The weak points of FrameWork are that it has no
abstract command interface (but that shouldn't be difficult), that
it's dialog support is minimal and that it's control/toolbar support is 
non-existent.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm