Widget.active

bool active() const nothrow @nogc

Checks if the widget is active (enabled).

Returns

true if active
void active(bool value) nothrow @nogc

Sets the widget's active state.

Parameters

valuetrue to activate, false to deactivate