overrideredirect(true) lost the icon in the taskbar, I want to restore it

52 views Asked by At
import tkinter as tk
from tkinter import *

window = Tk()
window.overrideredirect(True)

window.geometry("360x550")
window.title("NT-Sounds | Tiếng cười Livestream")
window.wm_attributes("-transparentcolor", "gray")


canvas = tk.Canvas(window, width = 360, height = 550, bg="white", highlightthickness=0)
canvas.pack()


window.resizable(False, False)
window.mainloop()

This is my code, how to show icon app on taskbar? Anyone help me please!!!

I have tried many ways, asked many forums but I can't solve it. I want to hide the title bar but don't want to lose the icon in the taskbar.

0

There are 0 answers