Hi Michael, At least in Python 2.5.4 linked to Tk 8.4 (Windows version), the following fails because event.widget holds a string (the tcl/tk widget name), not a Tkinter class.
> def callback(event):
> print event.widget.index('active')
Maybe fixed in later editions, but if one wants a solution that will
work on older versions...
Mick
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss
