docs/source/reference/lua-scripting/widgets/widget.rst
Base widget type, all the other widgets inherit its properties and events.
.. 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... TODO: document the mouse pointer property, when API for reading / adding pointer types is available
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)>_.. list-table:: :header-rows: 1 :widths: 20 20 60