GUI Frameworks in Python?

Kevin Dahlhausen kdahlhaus at yahoo.com
Thu Apr 8 08:55:53 EDT 2004


I'm a big fan of pyFltk (http://pyfltk.sourceforge.net/):

from fltk import *

def theCancelButtonCallback(ptr):
    import sys
    sys.exit(0)

window = Fl_Window(100,100,200,90)
window.label(sys.argv[0])

button = Fl_Button(9,20,180,50)
button.label("Hello World")

button.callback(theCancelButtonCallback)

window.end()
window.show(len(sys.argv), sys.argv)
Fl.run()

Does not look like a win-32 app under win-32 though.



More information about the Python-list mailing list