[Pythonmac-SIG] Re: mac event loop

Peter Sommerfeld peter.sommerfeld@gmx.de
Fri, 23 Oct 1998 13:05:27 +0200


Jack Jansen wrote:

> The only problem is getting at the docstring: to get it for 
> GetWindowUserState, for instance, you'll first have to create a Window
> object. I don't know of any way around this (does anyone else?).

Will check it out. Should be no problem at all.

> Still, I find that it's low-level enough and adaptable enough that 
> I hardly ever write an event loop from scratch anymore. I'm still 
> pretty angry with myself for starting from scratch once  
> (for cmifed/grins, my main project), because in the long run it would 
> have saved lots and lots of work if I had adapted FrameWork in stead.

Much work indeed. I'll see. For me it's at least a good opportunity to
learn python and something more about the mac. Perfection is reached at
the point of desaster ... <grin>

> What would be nice if we had an alternative high-level framework, for
> instance by exporting metrowerks PowerPlant framework to Python. This 
> is basically what Mark Hammond has done for MFC on Windows, and the 
> result is that PythonWin programs often look pretty slick.

Agreed. If portability is an issue a cross-platform lib would do the
job too. I would like to see wxWindows on the mac to check it out.

Anyway, back to work ...

Thanks a lot

Peter