Answers for "how to put icon in tkinter"

3

how to add icon to tkinter window

root.iconbitmap('icon.ico')
Posted by: Guest on November-05-2020
1

how to set icon in tkinter

img = PhotoImage(file='compost_.jpg')
root.tk.call('wm', 'iconphoto', root._w, img)
Posted by: Guest on September-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language