Which GUI?

Steve Menard steve.mnard at sympatico.ca
Tue Feb 22 14:40:43 EST 2000


> > [suggesting Tkinter interface to all other GUI toolkits similar to
> > what's been done in Piddle and the DB-SIG]
> >
> > I'm sure there are nasty side-effects to that. Ideas?
>
> There are only two obvious ones, (i) you'd have to start by defining a
> Tkinter interface, including semantics, that is independent of Tcl/Tk;
> and (ii) since not all GUI toolkits would support all of the new
> "Tkinter" interface, many users would end up having to program to a
> 'lowest-common-denominator'.
>
> Personally, I think this would be a "good thing" for Python, and for GUI
> toolkits that allready have Python bindings, a first approximation
> (though not trivial) would be relatively easy to prototype...
>
> -- bjorn

This is more or less what I am currently doing. I need my program to run on
both CPython (using wxPython as the GUI) and JPython (Using Swing as the
gui).

I am currently defining gui architecture that is somewhat removed from the
actual toolkit. Then mapping it to these toolkits is relatively easy.





More information about the Python-list mailing list