| | |
Tkinter Help
Thread Solved |
•
•
Join Date: Jul 2006
Posts: 608
Reputation:
Solved Threads: 150
Answered my own question. The event passes an event object to the handler. That's the "e" argument in the lambda function. If the handler is not expecting an event object to be passed, *crash*. Thus, it's efficient to use a lambda to "catch" the event and ignore it, calling your handler without passing the event.
Sorry for the dumb question.
Sorry for the dumb question.
Last edited by jrcagle; Jul 14th, 2006 at 2:52 pm.
![]() |
Similar Threads
- Tkinter exception (Python)
- TKinter tough time (Python)
- Tkinter: protecting text in the Entry widget (Python)
- Wondering about new windows in Tkinter (Python)
- Need Help with Tkinter (Python)
Other Threads in the Python Forum
- Previous Thread: Tuple List
- Next Thread: Newbie Problem
| Thread Tools | Search this Thread |
address advanced aliased anydbm bash beginner bits calling casino changecolor clear conversion convert corners count cturtle cursor curves definedlines dictionary digital dynamic dynamically events examples excel external file float format frange function gui handling hints homework i/o iframe import info input java line linux list lists loan loop matching mouse multiple number numbers output parsing path port prime programming projects py py2exe pygame python random rational raw_input recursion recursive scrolledtext searchingfile shebang signal singleton string strings subprocess table tails terminal text thread threading time tkinter tlapse tooltip tuple tutorial type ubuntu unicode urllib urllib2 valueerror variable web-scrape whileloop word wxpython






