Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_aplha_pt3.py
- from Tkinter import *
- root = Tk()
- def clicked(event):
- x, y = root.winfo_pointerxy()
- print('clicked at x:{}, y:{}'.format(x, y))
- root.bind('<Button-1>', clicked)
- root.attributes('-fullscreen', 1)
- root.attributes('-topmost', 1)
- root.wait_visibility(root)
- root.wm_attributes('-alpha', 0.3)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement