Tkinter listbox clicking problem

Eric Brunel eric.brunel at pragmadev.com
Mon Sep 16 03:48:29 EDT 2002


Matthew Bonig wrote:
> I'm confused... I looked at these examples but I didn't see anything pop
> out that answered my question... or was this mostly for the other post?

Binding to <Button-1> is equivalent to binding to <ButtonPress-1>. When 
your button is pressed, the list has actually not been updated yet. But if 
you bind to <ButtonRelease-1>, you'll get what you want.

HTH
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com



More information about the Python-list mailing list