Advertisement
isaiasprestes

Untitled

Apr 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. import tkinter as tk # Python 3
  2. root = tk.Tk()
  3.  
  4. # The image must be stored to Tk or it will be garbage collected.
  5. root.image = tk.PhotoImage(file='startup.gif')
  6. label = tk.Label(root, image=root.image, bg='white')
  7. root.overrideredirect(True)
  8. root.geometry("+250+250")
  9. root.lift()
  10. root.wm_attributes("-topmost", True)
  11. root.wm_attributes("-disabled", True)
  12. root.wm_attributes("-transparentcolor", "white")
  13. label.pack()
  14. label.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement