0

I want to change the title of my program from its default "Python" to lets say "MyProgram". Also, if I choose "About" from this menu, the dialog box comes up with a picture of the Python logo. How can I change that image?

Pictures for reference: https://i.stack.imgur.com/dUFcn.jpg

https://i.stack.imgur.com/2iJzE.jpg

ohbrobig
  • 939
  • 2
  • 13
  • 34

1 Answers1

0

I'm pretty sure you have to create an app bundle with py2app to get that changed. Otherwise it just defaults to Python.

See the following answer:

According to that, you will have to also make sure that the plist file is filled out correctly.

Community
  • 1
  • 1
Mike Driscoll
  • 32,629
  • 8
  • 45
  • 88
  • Intending on making it a windows exe, so would py2exe let me do this? – ohbrobig Mar 25 '15 at 18:44
  • Yes, I believe all the Windows ones allow you to change that. I believe you can use `SetIcon` for the frame's icon - http://www.blog.pythonlibrary.org/2008/05/23/wxpython-embedding-an-image-in-your-title-bar/. I am not sure what About menu you are looking at. A `wx.AboutBox` should be customizable. – Mike Driscoll Mar 25 '15 at 19:06