Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Change tkinter app icon

'''To change the icon you should use iconbitmap or wn_iconbitmap
I'm under the impression that the file you wish to change it to must be an ico file.'''

import tkinter as tk

root = tk.Tk()
root.iconbitmap("myIcon.ico")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Change #tkinter #app #icon
ADD COMMENT
Topic
Name
3+7 =