Created
February 7, 2019 13:44
-
-
Save angeloped/5ff02b9478c42905495ca35274a3dfc3 to your computer and use it in GitHub Desktop.
Tkinter window example with gif icon display.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
root = Tk() | |
img = PhotoImage(file='b11.gif') | |
root.tk.call('wm', 'iconphoto', root._w, img) | |
root.mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello it doesnt work