Re: [Anygui-devel] On AnyGUI Core
Brought to you by:
mlh
From: Magnus L. H. <ma...@he...> - 2005-08-05 14:41:41
|
Peter Damoc <pd...@gm...>: > > Hello list, > [snip] > AnyGUI tries to unify the API and use existing toolkits BUT in this > it opens not one but many cans of worms, not only will the end user > have to deal with the quirks of one toolkit but with the quirks of > many. The idea was (originally) to keep things at such a low level that the developer only needed to worry about the general logical structure of the GUI, and the details would be handled by the back-end. That was the idea, but... ;) > As a programmer I would like to have is an OSS python GUI toolkit > that looks great everywhere and acts the same on all platforms > without custom hack in the app code. I agree. Nowadays I think wxPython and PyQt seem like promising candidates, actually. One option to look out for in the future is Greg's PyGUI: http://www.cosc.canterbury.ac.nz/~greg/python_gui [snip] > Now to the real question of this email. > What should a crazy enough person do to try and build such a > toolkit? How could he reuse the work that went into AnyGUI? Hm. Much of the code (and blood, sweat and tears) of Anygui deals with the front-end/back-end stuff -- and if you want to implement the actual GUI stuff yourself, I guess you could just scrap all that. If you want to keep this mechanism, you could probably build on what's there... But if you don't want a pure-Python layer that sits on top of other packages (not sure if you do or not ;) -- why not simply use a packages such as wxPython? It seems to have the BDFLs blessing, so... -- Magnus Lie Hetland Fall seven times, stand up eight http://hetland.org [Japanese proverb] |