(bitmap, default) File "tkinter\__init__.py", line 2136, in wm_iconbitmap _tkinter.TclError: bitmap "empty.ico" not defined Name: customtkinter Version: 5.1.3 Summary: Create modern looking GUIs with Python Home-page: https://customtkinter.tomschimansky.com Author: Tom Schimansky ...
from Tkinter import * tk = Tk() tk.iconbitmap(d efault='foo.ico ') Label(tk, text='This window now has a custom icon.').pack() t = Toplevel(tk) Label(t, text='This one has the same custom icon.').pack() tk.mainloop() ...