Bind Key action : Key Action : Event PYTHON examples


PYTHON examples » Event » Key Action »

 

Bind Key action


Bind Key action: Return


from Tkinter import *

root = Tk()
def greet(*ignore): print 'Hello World'
root.bind('<Return>', greet)
root.mainloop()

           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Event
» Key Action