def resize(self, width, height):
self._width = width<EOL>self._height = height<EOL>if width != "<STR_LIT>":<EOL><INDENT>self._set_tk_config("<STR_LIT:width>", width)<EOL><DEDENT>if height != "<STR_LIT>":<EOL><INDENT>self._set_tk_config("<STR_LIT>", height)<EOL><DEDENT>if width == "<STR_LIT>" or height == "<STR_LIT>":<EOL><INDENT>self.master.display_widgets()<EOL><DEDENT>
Resizes the widget.

:param int width:
    The width of the widget.

:param int height:
    The height of the widget.