Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tkinter as tk
- import tkinter.ttk as ttk
- class App(tk.Tk):
- def __init__(self):
- super().__init__()
- self.rowconfigure(0, weight=1)
- self.columnconfigure(1, weight=1)
- self.title('Default Demo')
- self.geometry('420x200')
- def main():
- app = App()
- app.overrideredirect(True)
- app.wait_visibility(app)
- app.wm_attributes('-alpha', 0.2)
- app.wm_attributes("-topmost", True)
- app.config(bg='#00aaff')
- app.mainloop()
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement