Widget.disabledBy

Returns the widget that disabled this. It might be this or one of its parents all the way up the chain, or null if the widget is not disabled by anything. You can check disabledReason on the return value (after the null check!) to get a hint to display to the user.

class Widget
disabledBy
()

See Also

Meta

History

Added November 25, 2021 (dub v10.4)