ANN: pyFltk-1.1.2

andreas a.held at computer.org
Wed Sep 12 08:17:55 CEST 2007


Hi

This is to announce the general availability of pyFltk-1.1.2.

pyFltk is a Python binding for the FLTK GUI toolkit (see http://www.fltk.org)
and
can be downloaded from http://pyfltk.sourceforge.net.

Changes include:
- support for Python objects in callbacks
- new interactive mode (courtesy of Michiel de Hoon)
- resolution of several compilation issues using MinGW and Linux
- improved documentation
- several bugfixes

FLTK and pyFltk are a very simple and intuitive GUI toolkit, enabling
you to create professional user interfaces with a minimal effort. For
instance, consider the following Hello World program, complete with
button callback:

from fltk import *
import sys

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

window = Fl_Window(100,100,200,90, sys.argv[0])
button = Fl_Button(9,20,180,50)
button.label("Hello World")
button.callback(theCancelButtonCallback)
window.end()
window.show(sys.argv)
Fl.run()

See http://pyfltk.sourceforge.net/examples.php for more examples.

Best regards

Andreas



More information about the Python-announce-list mailing list