Widget.getCanTarget

bool getCanTarget() nothrow

Queries whether widget can be the target of pointer events.

Returns

true if widget can receive pointer events