Two Tkinter questions (long)
Greg Ewing
see at my.signature
Wed Jul 5 22:14:18 EDT 2000
Aaron Ginn wrote:
>
> self.Filter = Button(self.button_frame, text = 'Filter', \
> command = self.do_filter())
You're calling the function there instead of passing it.
Get rid of the empty brackets:
self.Filter = Button(self.button_frame, text = 'Filter', \
command = self.do_filter)
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list