Widget.setCanTarget

Sets whether @widget can be the target of pointer events.

class Widget
void
setCanTarget
()

Parameters

canTarget bool

whether this widget should be able to receive pointer events

Meta