Re: On AnyGUI Core

Magnus Lie Hetland <[email protected]> Fri, 5 Aug 2005 16:41:27 +0200
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Peter Damoc <[email protected]>:
>
> 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]


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf