docs/source/reference/lua-scripting/widgets/container.rst
Wraps around its children. Convenient for creating border-type templates.
Relative size and position don't work for children.
For template children, relative size and position depend on the children's combined size.
.. list-table:: :header-rows: 1 :widths: 20 20 60
inheritAlpha is set to true, this becomes the maximum alpha value the widget can take.alpha with parents alpha.
| If the parent has inheritAlpha set to true, the value after modulating is passed to the child.Base widget events are special, they can propagate up to the parent widget.
This can be prevented by changing the propagateEvents property, or by assigning an event handler.
The event is still allowed to propagate if the event handler returns true.
.. list-table:: :header-rows: 1 :widths: 20 20 60
KeyboardEvent <../openmw_input.html##(KeyboardEvent)>_KeyboardEvent <../openmw_input.html##(KeyboardEvent)>_MouseEvent <../openmw_ui.html##(MouseEvent)>_MouseEvent.button is the mouse button being held
| (nil when simply moving, and not dragging)MouseEvent <../openmw_ui.html##(MouseEvent)>_MouseEvent <../openmw_ui.html##(MouseEvent)>_