Advertisement
here2share

# Tk_aplha_pt3.py

Sep 29th, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. # Tk_aplha_pt3.py
  2.  
  3. from Tkinter import *
  4.  
  5. root = Tk()
  6.  
  7. def clicked(event):
  8.     x, y = root.winfo_pointerxy()
  9.     print('clicked at x:{}, y:{}'.format(x, y))
  10.  
  11. root.bind('<Button-1>', clicked)
  12. root.attributes('-fullscreen', 1)
  13. root.attributes('-topmost', 1)
  14.  
  15. root.wait_visibility(root)
  16. root.wm_attributes('-alpha', 0.3)
  17. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement