Tkinter Transparent Background

[Solved] Tkinter Transparent Background | Php - Code Explorer | yomemimo.com
Question : tkinter transparent background

Answered by : xerothermic-xenomorph-sb5pxbg82uq4

#Import the Tkinter Library
from tkinter import *
#Create an instance of Tkinter Frame
win = Tk()
#Set the geometry of window
win.geometry("700x350")
#Add a background color to the Main Window
win.config(bg = '#add123')
#Create a transparent window
win.wm_attributes('-transparentcolor','#add123')
win.mainloop()

Source : https://www.tutorialspoint.com/creating-a-transparent-background-in-a-tkinter-window | Last Update : Tue, 03 May 22

Answers related to tkinter transparent background

Code Explorer Popular Question For Php