Anlage des Repos
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from tkinter import *
|
||||
|
||||
root = Tk()
|
||||
def key():
|
||||
root.event_generate('<Motion>', warp=True, x=50, y=50)
|
||||
|
||||
def motion(event):
|
||||
print('motion {}, {}'.format(event.x, event.y))
|
||||
|
||||
|
||||
root.bind('<Key>', key)
|
||||
root.bind('<Motion>', motion)
|
||||
root.mainloop()
|
||||
Reference in New Issue
Block a user