Hi Michael(s): > 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
This fails in 32-bit Python 2.7 for Windows (linked to Tk 8.5 with ttk/Tile). Malcolm _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss