Widget.disabledReason

If the widget is not enabled this string may be presented to the user when they try to use it. The exact manner and time it gets displayed is up to the implementation of the control.

Setting this does NOT disable the widget. You need to call enabled = false; separately. It does set the data though.

  1. string disabledReason [@property getter]
    class Widget
    @property
    string
    disabledReason
    ()
  2. string disabledReason [@property setter]

See Also

Meta

History

Added November 23, 2021 (dub v10.4)