code: def resize(self, width, height):
          
          self._width = width
          self._height = height
          if width != "fill":
              self._set_tk_config("width", width)
          if height != "fill":
              self._set_tk_config("height", height)
          if width == "fill" or height == "fill":
              self.master.display_widgets()
docs: Resizes the widget.
  
          :param int width:
              The width of the widget.
  
          :param int height:
              The height of the widget.