How to set a window icon once in Tkinter for all dialogs including messagebox on Windows? On Linux using Tkinter and TtkBootstrap, you can set up a logo once with: