class BBS::Widget

Base widget. All visual elements inherit from this.

bounds

a Rect (x, y, width, height) in screen coordinates

parent

the enclosing Container, or nil

id

an optional Symbol for lookup via Container#find

Subclasses override render and optionally handle_event.