Let's take a look at the following steps for building our application class:
- Move down under the Application class doc string (the line that reads Application root window) and start an __init__() method for Application, as follows:
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.title("ABQ Data Entry Application") self.resizable(width=False, height=False)
- Once again we make the familiar call to super().__init__(), passing along any arguments or keyword arguments.
Note that we don't pass in a parent widget here, since Application is the root window.
- We call .title() to set our application's title string; this isn't required, but it will certainly help users who are running multiple ...