Structure holding the info about selected data


  • pos - Coordinates of the drop (DND operations only)
  • format - Format of the selection
  • data - Selection data
  • action - Action to perform with the data
  • item - Item under the drag position. It is only available for container


struct Efl.Selection.Data {
    pos: Eina.Position2D;
    format: Efl.Selection.Format;
    data: Eina.Slice;
    action: Efl.Selection.Action;
    item: free(Efl.Object, efl_del);

C signature

typedef struct _Efl_Selection_Data {
    Eina_Position2D pos;
    Efl_Selection_Format format;
    Eina_Slice data;
    Efl_Selection_Action action;
    Efl_Object *item;
} Efl_Selection_Data;