Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

root.iconbitmap

import tkinter as tk
root = tk.Tk()

root.tk.call('wm', 'iconphoto', root._w, tk.PhotoImage(file='/path/to/ico/icon.png')

root.mainloop()
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+6 =