Python vs Java : GUI, drag an drop

Moshe Zadka moshez at math.huji.ac.il
Tue May 16 00:11:57 EDT 2000


On Mon, 15 May 2000, Jarek Wilkiewicz wrote:

> At present I'm considering using Java, the 2D API and Java D&D API.
> Can I accomplish something similar using Python ? What graphic libraries
> would I use ? Does it make more sense than coding the GUI in Java?

What operating system do you use? Are native widgets top priorities? It
would be nice to know the constraints you're operating under.

If you're on a UNIX system, or native widgets are not of the utmost
importance, I'd recommend Gtk+, with very rich D'n'D API. Tkinter has an
experimental D'n'D inside one application API -- I don't know if it's
enough for you. If you want to code in Python and still use the Java UI
libraries, you can use JPython. Be aware, though, that it is a bit of a
resource hog.

--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list