Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tkinter as tk
- root = tk.Tk()
- root.config(bg='red')
- root.title('Ventana hueca :o')
- btn = tk.Button(text='No sabía que se podía \nhacer una ventana hueca', bg='green')
- btn.pack(expand='yes')
- root.attributes('-fullscreen', 1)
- root.attributes('-transparentcolor', 'red')
- root.attributes('-topmost', 1)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment