Widget.isDrawable

bool isDrawable()

Determines whether widget can be drawn to. A widget can be drawn to if it is mapped and visible.

Returns

true if widget is drawable, false otherwise