Widget.getCanTarget

bool getCanTarget()

Queries whether widget can be the target of pointer events.

Returns

true if widget can receive pointer events