Advertisement
here2share

# Tk_floating_text.py

Jun 5th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. # Tk_floating_text.py
  2.  
  3. import Tkinter
  4. label = Tkinter.Label(text='Floating Text', font=('Times','120'), fg='red', bg='dark red')
  5. label.master.overrideredirect(True)
  6. label.master.geometry("+250+250")
  7. label.master.lift()
  8. label.master.wm_attributes("-topmost", True)
  9. label.master.wm_attributes("-disabled", True)
  10. label.master.wm_attributes("-transparentcolor", "dark red")
  11. label.pack()
  12. label.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement