10. Tkinter: Keyboard input
Channel:
Subscribers:
5,850
Published on ● Video Link: https://www.youtube.com/watch?v=TbfKFyOPrtc
Video Code
from tkinter import*
def mKey(event):
print("m key pressed")
def downKey(event):
print("Down key pressed")
master=Tk()
master.title("My title")
master.configure(background='white')
master.geometry("350x200")
master.bind('m',mKey)
master.bind('Down',downKey) #Down key must be surrounded by more than and less than symbols (not allowed on YouTube comments)
Other Videos By Game Design with Reilly
2020-04-29 | 2. Javascript: Variables |
2020-04-29 | 1. JavaScript: Outputs |
2020-04-22 | 18. Tkinter: Scales / Sliders |
2020-04-22 | 17. Tkinter: Combo Box |
2020-04-22 | 16. Tkinter: Checkboxes |
2020-04-22 | 15. Tkinter: Radio buttons |
2020-04-22 | 14. Tkinter: Text Entry |
2020-04-08 | 13. Tkinter: ScrollText |
2020-04-08 | 12. Tkinter: Notebook and keyboard inputs |
2020-04-08 | 11. Tkinter: Notebook |
2020-04-08 | 10. Tkinter: Keyboard input |
2020-04-08 | 9. Tkinter: Looping a grid |
2020-04-01 | 8. Tkinter: Frames |
2020-04-01 | 7. Tkinter: Place Layout |
2020-04-01 | 6. Tkinter: Grid Layout |
2020-04-01 | 5. Tkinter: Side Layout |
2020-04-01 | 4. Tkinter: Widget Functions |
2020-04-01 | 3. Tkinter: Widgets |
2020-04-01 | 2 Tkinter: First window |
2020-04-01 | 1 Tkinter: Introduction |
Tags:
Tkinter
python
introduction
intro
tutorial
inputs
outputs
widgets
window
layouts
keyboard
frames
grid
side
place