To view parent comment, click here.
To read all comments associated with this story, please click here.
I believe that is what every GUI toolkit is trying to achieve. Everytime you add an abstract supposed to be used by everyone, you actually add a new API and new complexity that will only be used by a few and ignored by the rest. Each GUI toolkit is already an abstraction. No need to add a layer there. Just need to convince everybody to use the same stuff.
There's more to these toolkits than panels and widgets, else I'm sure we'd be doing as you suggest. Have a look at either GTK or QT's capabilities sometime. You've got thread managing, SQL interfaces, data structure libraries, and other things that get quite specific. While I'm sure a simple interface definition could be in common for all of these things, it would be unable to take advantage of the best features.




Member since:
2005-07-07
The question begged is: why don't they have a nice abstract GUI PEP that all of the adapter module writers can target?
I'd like to distribut a python egg that can just use whatever is installed. Make GUI writing as close to dumb-simple as HTML, for the 80% solution.