Tk after and after_cancel
Ben Schmidt
brs31 at student.canterbury.ac.nz
Wed Nov 1 18:42:22 EST 2000
More information about the Python-list mailing list
Wed Nov 1 18:42:22 EST 2000
- Previous message (by thread): xml how to and saxlib
- Next message (by thread): URLLIB and PROXY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've been playing around with python and I've created an program that has back and next buttons on it. When one of the buttons is clicked and released, the system either goes to the next state or the previous one. Also if you click and hold a list of where you've been also comes up, like the back and forward buttons on netscape. When the button is pressed, an after event is activated so that after 200 miliseconds the menu shows. Once the button is released before the 200 miliseconds, an after_cancel callback is made to stop the menu displaying. This works fine, but when I click twice on one of the buttons, it seems that the second after_cancel either doesn't get called or doesn't cancel the second after callback. Can someone help me out here? or point me to where some documentation on this is? Thanks Ben -- Minds are like parachutes, they don't function properly unless open.
- Previous message (by thread): xml how to and saxlib
- Next message (by thread): URLLIB and PROXY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list