~~Title: Efl.Ui.Image.drag_target~~
====== Efl.Ui.Image.drag_target ======
===== 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.%%
{{page>:develop:api-include:efl:ui:image:property:drag_target:description&nouser&nolink&nodate}}
===== Values =====
* **set** - %%Turn on or off drop_target. Default is %%''false''%%.%%
//Overridden from [[:develop:api:efl:ui:draggable:property:drag_target|Efl.Ui.Draggable.drag_target]] **(get, set)**.//===== Signature =====
@property drag_target @pure_virtual {
get {}
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 =====
* [[:develop:api:efl:ui:draggable:property:drag_target|Efl.Ui.Draggable.drag_target]]
* [[:develop:api:efl:ui:image:property:drag_target|Efl.Ui.Image.drag_target]]