Mar-18-2020, 01:48 AM
I think your asking about a window icon. To be honest it's usually the last thing on my mind when creating a gui. On linux you would use a bitmap x10 16 bits:
do a search for tkinter and window icon I believe the tk you see is the default icon.
def main(): root = Tk() root.title('Tkinter Test') #root.iconbitmap('/path/to/your.bmp') app = Application(master=root) app.mainloop()on a window platform it's .ico
do a search for tkinter and window icon I believe the tk you see is the default icon.