This is an old revision of the document!
A widget is a UI component such as the inventory window or item container window. A widget's layout is grid-based and contains child elements that either display information to the player (e.g. the player's HP or a quest description) or allow interaction by the player (e.g. a button that triggers a script or a slot to place an item into).