The StdHandler sends events only to the relevant widgets, e.g. mouse down/up to hovered widgets or key down/up/pressed to focused one.
But for example a scrollable container should eventually receive middle-click for movement, so it requires receiving event which any children would.
The Widget could have a method which tells about event receive options.
The
StdHandlersends events only to the relevant widgets, e.g. mouse down/up to hovered widgets or key down/up/pressed to focused one.But for example a scrollable container should eventually receive middle-click for movement, so it requires receiving event which any children would.
The
Widgetcould have a method which tells about event receive options.