how to add icon to tkinter window
root.iconbitmap('icon.ico')
how to add icon to tkinter window
root.iconbitmap('icon.ico')
tkinter app icon
import tkinter as tk
root = tk.Tk()
root.iconbitmap("myIcon.ico")
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()
icon tkiner
import tkinter as tk
root = tk.Tk()
root.title('Tkinter Window Demo')
root.geometry('300x200+50+50')
root.resizable(False, False)
root.iconbitmap('./assets/pythontutorial.ico')
root.mainloop()
Code language: PHP (php)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us