Description

Control whether the object's content is changed by drag and drop.

If drag_target is true the object can be the target of a dragging object. The content of this object can then be changed into dragging content. For example, if an object deals with image and drag_target is true, the user can drag the new image and drop it into said object. This object's image can then be changed into a new image.

Values

  • set - Turn on or off drop_target. Default is false.

Signature

@property drag_target @pure_virtual {
    get {
        values {
            set: bool;
        }
    }
    set {
        values {
            set: bool;
        }
    }
}

C signature

Eina_Bool efl_ui_draggable_drag_target_get(const Eo *obj);
void efl_ui_draggable_drag_target_set(Eo *obj, Eina_Bool set);

Implemented by

  • Efl.Ui.Draggable.drag_target