tkinter 3.0 multiple keyboard events together

Pavel Kosina geon at post.cz
Thu Dec 25 23:52:52 EST 2008


Is it possible to catch in an event more that one key from keyboard? In 
my code, I can handle always the only one, the first I press, the others 
are omitted. Say, I press both "4" and "8" and only "4" is catched.

def movePlayer(event):
    print (event.keysym)


Thank you.

-- 
geon
Pavel Kosina




More information about the Python-list mailing list