Description

Whether the widget is enabled (accepts and reacts to user inputs).

Each widget may handle the disabled state differently, but overall disabled widgets shall not respond to any input events. This is false by default, meaning the widget is enabled.

Values

  • disabled - true if the widget is disabled.

Getter

Returns whether the widget is disabled.

This will return true if any widget in the parent hierarchy is disabled. Re-enabling that parent may in turn change the disabled state of this widget.

Setter

Enables or disables this widget.

Disabling a widget will disable all its children recursively, but only this widget will be marked as disabled internally.

Signature

@property disabled {
    get {
        values {
            disabled: bool (false);
        }
    }
    set {
        values {
            disabled: bool (false);
        }
    }
}

C signature

Eina_Bool efl_ui_widget_disabled_get(const Eo *obj);
void efl_ui_widget_disabled_set(Eo *obj, Eina_Bool disabled);

Implemented by

  • Efl.Ui.Widget.disabled