Answers for "how to make a tkinter window transparent"

0

how to make a tkinter window transparent

# Import module
from tkinter import *
 
# Create object
root = Tk()
 
# Adjust size
root.geometry("400x400")
 
# Create transparent window
root.attributes('-alpha',0.5)
 
# Execute tkinter
root.mainloop()
Posted by: Guest on August-30-2021

Code answers related to "how to make a tkinter window transparent"

Python Answers by Framework

Browse Popular Code Answers by Language