1

I am creating an asksaveasfilename dialog in python so the user can select a filelocation to save a file to. I have all of the functionality working fine, but when the window opens there is a logo in the top left corner that I would like to change to match the logo of my program. None of the properties that I found here allow me to change this logo. Is there a way to modify this property of asksaveasfilename?

elya5
  • 2,236
  • 1
  • 11
  • 27
user35510
  • 179
  • 2
  • 14

1 Answers1

2

I was able to find a solution to my problem with help from this question. If I put the following code before my asksaveasfilename the logo will appear in the top left corner of the dialog.

root = Tkinter.Tk()    
root.withdraw()
root.iconbitmap(r'images\\Logo.ico)
Community
  • 1
  • 1
user35510
  • 179
  • 2
  • 14