Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_floating_text.py
- import Tkinter
- label = Tkinter.Label(text='Floating Text', font=('Times','120'), fg='red', bg='dark red')
- label.master.overrideredirect(True)
- label.master.geometry("+250+250")
- label.master.lift()
- label.master.wm_attributes("-topmost", True)
- label.master.wm_attributes("-disabled", True)
- label.master.wm_attributes("-transparentcolor", "dark red")
- label.pack()
- label.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement