    def set_layout(self, x, y, offset, w, h):
        """
        Set the size and position of the Widget.

        This should not be called directly.  It is used by the :py:obj:`.Layout` class to arrange
        all widgets within the Frame.

        :param x: The x position of the widget.
        :param y: The y position of the widget.
        :param offset: The allowed label size for the widget.
        :param w: The width of the widget.
        :param h: The height of the widget.
        """
        self._x = x
        self._y = y
        self._offset = offset
        self._w = w
        self._h = h
Set the size and position of the Widget.

This should not be called directly.  It is used by the :py:obj:`.Layout` class to arrange
all widgets within the Frame.

:param x: The x position of the widget.
:param y: The y position of the widget.
:param offset: The allowed label size for the widget.
:param w: The width of the widget.
:param h: The height of the widget.
asciimatics/widgets/widget.py