code: def __configure_canvas(self, *args):
          
          if self.interior.winfo_reqwidth() is not self._canvas.winfo_width():
              self._canvas.configure(width=self.interior.winfo_reqwidth())
docs: Private function to configure the internal Canvas.
          
          Changes the width of the canvas to fit the interior Frame
          
          :param args: Tkinter event