Sets the layout manager to use for measuring and allocating children of the widget.
a widget
a layout manager