code: def __configure_interior(self, *args):
          
          # Resize the canvas scrollregion to fit the entire frame
          (size_x, size_y) = (self.interior.winfo_reqwidth(), self.interior.winfo_reqheight())
          self._canvas.config(scrollregion="0 0 {0} {1}".format(size_x, size_y))
          if self.interior.winfo_reqwidth() is not self._canvas.winfo_width():
              # If the interior Frame is wider than the canvas, automatically resize the canvas to fit the frame
              self._canvas.config(width=self.interior.winfo_reqwidth())
docs: Private function to configure the interior Frame.
          
          :param args: Tkinter event