Next / Previous / Contents / Shipman's homepage

4.2. Application.__init__(): Constructor

The constructor is quite pro forma: call the parent class constructor, register the application with its .grid() method, create the widgets, and run some initial tests.

scrolledlisttest
    def __init__(self):
        """Constructor for the Application class.
        """
        Frame.__init__(self, None)
        self.grid()
        self.__createWidgets()
        self.__tests()