public notifyPaintRequested(painter as Painter) as Void:
Emits paintRequested for the current widget bounds.
paintRequested
widget.notifyPaintRequested(painter)