Widget.inDestruction

Returns whether the widget is currently being destroyed. This information can sometimes be used to avoid doing unnecessary work.

class Widget
bool
inDestruction
()

Return Value

Type: bool

%TRUE if @widget is being destroyed

Meta