Recipe 6-1. Creating an About Box
Problem
When I create an application, I usually want to include an “About” box to let the user know more about the application and me, and to give shout-outs to anyone who may have helped in the creation of my program. One cool feature wxPython provides is a custom AboutBox widget
. I think it looks a little odd, so I created my own About box using the HtmlWindow widget. However, I’ll show how to do it both ways in this recipe.
Solution
First, we’ll create a simple application that will allow you to see how to open the dialog via either a button or a menu item. ...