setCanTarget
Sets whether @widget can be the target of pointer events.
Parameters
canTarget
whether this widget should be able to receive pointer events
Sets whether @widget can be the target of pointer events.
whether this widget should be able to receive pointer events