PyDocs

Nav

Graphical user interfaces with Tk

Wm.iconphoto

tkinter

method of Wm · Added in 3.3
  • Wm.iconphoto(default=False, *images)
Set the titlebar icon for the window from one or more PhotoImage objects given in images. Several images of different sizes (for example 16x16 and 32x32) may be supplied so that the window manager can choose an appropriate one. The image data is taken as a snapshot at the time of the call; later changes to the images are not reflected. If default is true, the icon is also applied to all top-level windows created in the future. On macOS only the first image is used. wm_iconphoto() is an alias of iconphoto().
0 Examples
No examples for tkinter/Wm.iconphoto.
See Also
No see-alsos for tkinter/Wm.iconphoto
0 Notes
No notes for Wm.iconphoto