Efl.Ui.Dnd (mixin)

Description

No description supplied.

Members

drag_action_set

Set the action for the drag
void efl_ui_dnd_drag_action_set(Eo *obj, Efl_Ui_Selection_Action action, unsigned int seat);


drag_cancel

Cancel the on-going drag
void efl_ui_dnd_drag_cancel(Eo *obj, unsigned int seat);


drag_start

Start a drag and drop process at the drag side. During dragging, there are three events emitted as belows: - EFL_UI_DND_EVENT_DRAG_POS - EFL_UI_DND_EVENT_DRAG_ACCEPT - EFL_UI_DND_EVENT_DRAG_DONE
void efl_ui_dnd_drag_start(Eo *obj, Efl_Ui_Selection_Format format, Eina_Slice data, Efl_Ui_Selection_Action action, Efl_Dnd_Drag_Icon_Create icon_func, unsigned int seat);


drop_target_add

Make the current object as drop target. There are four events emitted: - EFL_UI_DND_EVENT_DRAG_ENTER - EFL_UI_DND_EVENT_DRAG_LEAVE - EFL_UI_DND_EVENT_DRAG_POS - EFL_UI_DND_EVENT_DRAG_DROP.
void efl_ui_dnd_drop_target_add(Eo *obj, Efl_Ui_Selection_Format format, unsigned int seat);


drop_target_del

Delete the dropable status from object
void efl_ui_dnd_drop_target_del(Eo *obj, Efl_Ui_Selection_Format format, unsigned int seat);


Events

drag,accept

accept drag data
EFL_UI_DND_EVENT_DRAG_ACCEPT(Eina_Bool *)


drag,done

drag is done (mouse up)
EFL_UI_DND_EVENT_DRAG_DONE(void)


drag,drop

called when the drag object dropped on this object
EFL_UI_DND_EVENT_DRAG_DROP(Efl_Ui_Selection_Data)


drag,enter

called when the drag object enters this object
EFL_UI_DND_EVENT_DRAG_ENTER(void)


drag,leave

called when the drag object leaves this object
EFL_UI_DND_EVENT_DRAG_LEAVE(void)


drag,pos

called when the drag object changes drag position
EFL_UI_DND_EVENT_DRAG_POS(Efl_Dnd_Drag_Pos)