From: D-Man <ds...@ri...> - 2001-03-16 16:25:57
|
On Thu, Mar 15, 2001 at 10:00:18AM +0100, Georg Umgiesser wrote: | | Hallo, | | I like the idea of using Jython in parallel with Python. However, | I did not find any message in the Jython homepage on GUI's. | What GUI's are supported? Is Tkinter supported? To support Tkinter, you would need access to compiled C code. I think CPython does this by calling into the tcl interpreter to execute the Tk code (but I'm not 100% sure). Jython only has access to Java stuff, unless you use JNI to give Java access to C stuff. You could make Tkinter (or any other toolkit like PyGTK or wxPython) accessible, but it would be a pain and require JNI. Actually, if you like GTK, there are already Java bindings, and Jython connects Python to Java very seamlessly. Of course, that would require having GTK on the system, which means dealing with C binaries. One of the nice features of Python and Java is system independce, except for the interpreter itself. -D |