\hypertarget{group__CopyPaste}{}\section{Copy\+Paste}
\label{group__CopyPaste}\index{Copy\+Paste@{Copy\+Paste}}


Copy and paste feature implementations.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Selection__Data}{\+\_\+\+Elm\+\_\+\+Selection\+\_\+\+Data}}
\begin{DoxyCompactList}\small\item\em Structure holding the info about selected data. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structElm__Cnp__Event__Selection__Changed}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}}
\begin{DoxyCompactList}\small\item\em Event to notify when a display server\textquotesingle{}s selection has changed Only sent for P\+R\+I\+M\+A\+RY and C\+L\+I\+P\+B\+O\+A\+RD selections. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Drag__User__Info}{\+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__CopyPaste_ga6e4cae39c247b473d4862d8233ad7913}\label{group__CopyPaste_ga6e4cae39c247b473d4862d8233ad7913}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+RY}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+RY
\item 
\mbox{\Hypertarget{group__CopyPaste_gac12c96435d45d3c193af361377bdcd99}\label{group__CopyPaste_gac12c96435d45d3c193af361377bdcd99}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+RY}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+RY
\item 
\mbox{\Hypertarget{group__CopyPaste_gab36b371824d2bc128f950fd65d0a4be2}\label{group__CopyPaste_gab36b371824d2bc128f950fd65d0a4be2}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+ND}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+ND
\item 
\mbox{\Hypertarget{group__CopyPaste_ga5855e162eb304adce538201d7db7ad71}\label{group__CopyPaste_ga5855e162eb304adce538201d7db7ad71}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+RD}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+RD
\item 
\mbox{\Hypertarget{group__CopyPaste_ga21b2ddde70eac3d2eeda3160dfed2840}\label{group__CopyPaste_ga21b2ddde70eac3d2eeda3160dfed2840}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+TS}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+TS
\item 
\mbox{\Hypertarget{group__CopyPaste_ga3e569da6905dccc968a2648c3a5e1b2b}\label{group__CopyPaste_ga3e569da6905dccc968a2648c3a5e1b2b}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+NE}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+NE
\item 
\mbox{\Hypertarget{group__CopyPaste_ga214ccc68ed209f7e817e1c34d6bc743f}\label{group__CopyPaste_ga214ccc68ed209f7e817e1c34d6bc743f}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+XT}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+XT
\item 
\mbox{\Hypertarget{group__CopyPaste_gae457bef67388036791da35e067cc4fe1}\label{group__CopyPaste_gae457bef67388036791da35e067cc4fe1}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+UP}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+UP
\item 
\mbox{\Hypertarget{group__CopyPaste_ga0b8d0931c31d0deb1686d22d2bf7b198}\label{group__CopyPaste_ga0b8d0931c31d0deb1686d22d2bf7b198}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+GE}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+GE
\item 
\mbox{\Hypertarget{group__CopyPaste_ga3096d63d9888d7474ffd5730ff574521}\label{group__CopyPaste_ga3096d63d9888d7474ffd5730ff574521}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+RD}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+RD
\item 
\mbox{\Hypertarget{group__CopyPaste_ga52b4ac2c447375926ddf9d3864d67ade}\label{group__CopyPaste_ga52b4ac2c447375926ddf9d3864d67ade}} 
\#define {\bfseries E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+ML}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+ML
\item 
\mbox{\Hypertarget{group__CopyPaste_ga4d913d26f3a4b24b92f8bdfb2fc554ec}\label{group__CopyPaste_ga4d913d26f3a4b24b92f8bdfb2fc554ec}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+WN}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+WN
\item 
\mbox{\Hypertarget{group__CopyPaste_gabfe57f981ec9f09e21f17f610343bcb1}\label{group__CopyPaste_gabfe57f981ec9f09e21f17f610343bcb1}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+PY}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+PY
\item 
\mbox{\Hypertarget{group__CopyPaste_gac434386f25840e68d8346ffb63eecd69}\label{group__CopyPaste_gac434386f25840e68d8346ffb63eecd69}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+VE}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+VE
\item 
\mbox{\Hypertarget{group__CopyPaste_gaf8eea8a6b945dc6b0d2c596129374884}\label{group__CopyPaste_gaf8eea8a6b945dc6b0d2c596129374884}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+TE}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+TE
\item 
\mbox{\Hypertarget{group__CopyPaste_ga2b09101bb5d2c74430489d83c8f983bb}\label{group__CopyPaste_ga2b09101bb5d2c74430489d83c8f983bb}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+SK}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+SK
\item 
\mbox{\Hypertarget{group__CopyPaste_ga81f42e3b243ac860d66450c8184609df}\label{group__CopyPaste_ga81f42e3b243ac860d66450c8184609df}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+ST}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+ST
\item 
\mbox{\Hypertarget{group__CopyPaste_ga6fe50df7528f61e19f676b74897e4486}\label{group__CopyPaste_ga6fe50df7528f61e19f676b74897e4486}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+NK}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+NK
\item 
\mbox{\Hypertarget{group__CopyPaste_ga76f1ba9b3c9eb008ce1f94abb6a18468}\label{group__CopyPaste_ga76f1ba9b3c9eb008ce1f94abb6a18468}} 
\#define {\bfseries E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+ON}~E\+F\+L\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+ON
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef Efl\+\_\+\+Selection\+\_\+\+Type \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}
\begin{DoxyCompactList}\small\item\em Defines the types of selection property names. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}\label{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}} 
typedef Efl\+\_\+\+Selection\+\_\+\+Format \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}
\begin{DoxyCompactList}\small\item\em Defines the types of content. \end{DoxyCompactList}\item 
typedef Efl\+\_\+\+Selection\+\_\+\+Action \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}
\begin{DoxyCompactList}\small\item\em Defines the kind of action associated with the drop data if for X\+D\+ND. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__CopyPaste_gae0bbc898e74e3267cc687ad648e68a70}\label{group__CopyPaste_gae0bbc898e74e3267cc687ad648e68a70}} 
typedef struct \mbox{\hyperlink{struct__Elm__Selection__Data}{\+\_\+\+Elm\+\_\+\+Selection\+\_\+\+Data}} {\bfseries Elm\+\_\+\+Selection\+\_\+\+Data}
\item 
typedef struct \mbox{\hyperlink{structElm__Cnp__Event__Selection__Changed}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}} \mbox{\hyperlink{group__CopyPaste_ga15758b79477f4c645911d6331ca8335f}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}}
\begin{DoxyCompactList}\small\item\em Event to notify when a display server\textquotesingle{}s selection has changed Only sent for P\+R\+I\+M\+A\+RY and C\+L\+I\+P\+B\+O\+A\+RD selections. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{struct__Elm__Selection__Data}{Elm\+\_\+\+Selection\+\_\+\+Data}} $\ast$ev)
\begin{DoxyCompactList}\small\item\em Callback invoked in when the selected data is \textquotesingle{}dropped\textquotesingle{} at its destination. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$($\ast$ \mbox{\hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}) (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, int $\ast$xposret, int $\ast$yposret)
\begin{DoxyCompactList}\small\item\em Callback invoked to find out what object is under (x,y) coords. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection)
\begin{DoxyCompactList}\small\item\em Callback invoked in when the selection ownership for a given selection is lost. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$($\ast$ \mbox{\hyperlink{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$win, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$xoff, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$yoff)
\begin{DoxyCompactList}\small\item\em Callback called to create a drag icon object. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is finished, enters, or leaves an object. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_ga08e796c4c34580675156a4a69a859e45}{Elm\+\_\+\+Drag\+\_\+\+Done}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} accepted)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is finished. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_ga24611547a7209040cf54e2c723107788}{Elm\+\_\+\+Drag\+\_\+\+Accept}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} doaccept)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is responded to with an accept or deny. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is over an object, and gives object-\/relative coordinates. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_gaacb567cbc53cec019455846e1577b02d}{Elm\+\_\+\+Drag\+\_\+\+Start}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Callback called when a drag starts from an item container. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$cont, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, int xposret, int yposret, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is over an object. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{struct__Elm__Selection__Data}{Elm\+\_\+\+Selection\+\_\+\+Data}} $\ast$ev, int xposret, int yposret)
\begin{DoxyCompactList}\small\item\em Callback invoked in when the selected data is \textquotesingle{}dropped\textquotesingle{} on container. \end{DoxyCompactList}\item 
typedef struct \mbox{\hyperlink{struct__Elm__Drag__User__Info}{\+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}} \mbox{\hyperlink{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}
\begin{DoxyCompactList}\small\item\em Structure describing user information for the drag process. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}}) (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Callback invoked when starting to drag for a container. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, const void $\ast$buf, size\+\_\+t buflen)
\begin{DoxyCompactList}\small\item\em Set copy data for a widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}{elm\+\_\+cnp\+\_\+selection\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, \mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}} datacb, void $\ast$udata)
\begin{DoxyCompactList}\small\item\em Get data from a widget that has a selection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection)
\begin{DoxyCompactList}\small\item\em Clear the selection data of a widget. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection, \mbox{\hyperlink{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set a function to be called when a selection is lost. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga8aaf0135336bd1f321576f566df205ff}{elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$win)
\begin{DoxyCompactList}\small\item\em Determine whether the clipboard selection has an owner. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}{elm\+\_\+drop\+\_\+target\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} entercb, void $\ast$enterdata, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} leavecb, void $\ast$leavedata, \mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}} poscb, void $\ast$posdata, \mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}} dropcb, void $\ast$dropdata)
\begin{DoxyCompactList}\small\item\em Set the given object as a target for drops for drag-\/and-\/drop. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}{elm\+\_\+drop\+\_\+target\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} entercb, void $\ast$enterdata, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} leavecb, void $\ast$leavedata, \mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}} poscb, void $\ast$posdata, \mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}} dropcb, void $\ast$dropdata)
\begin{DoxyCompactList}\small\item\em Deletes the drop target status of an object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}{elm\+\_\+drag\+\_\+start}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, const char $\ast$data, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action, \mbox{\hyperlink{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}} createicon, void $\ast$createdata, \mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}} dragpos, void $\ast$dragdata, \mbox{\hyperlink{group__CopyPaste_ga24611547a7209040cf54e2c723107788}{Elm\+\_\+\+Drag\+\_\+\+Accept}} acceptcb, void $\ast$acceptdata, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} dragdone, void $\ast$donecbdata)
\begin{DoxyCompactList}\small\item\em Begins a drag given a source object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}{elm\+\_\+drag\+\_\+cancel}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Cancels the current drag operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}{elm\+\_\+drag\+\_\+action\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action)
\begin{DoxyCompactList}\small\item\em Changes the current drag action. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, double tm\+\_\+to\+\_\+anim, double tm\+\_\+to\+\_\+drag, \mbox{\hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}} itemgetcb, \mbox{\hyperlink{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}} data\+\_\+get)
\begin{DoxyCompactList}\small\item\em Set a item container (list, genlist, grid) as source of drag. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Deletes a item container from drag-\/source list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, \mbox{\hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}} itemgetcb, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} entercb, void $\ast$enterdata, \mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}} leavecb, void $\ast$leavedata, \mbox{\hyperlink{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}} poscb, void $\ast$posdata, \mbox{\hyperlink{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}} dropcb, void $\ast$dropdata)
\begin{DoxyCompactList}\small\item\em Set a item container (list, genlist, grid) as target for drop. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Removes a container from list of drop targets. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}{E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED}}
\begin{DoxyCompactList}\small\item\em Event notifying that the selection has changed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Copy and paste feature implementations. 

Implements the following functionality a. select, copy/cut and paste b. clipboard c. drag and drop in order to share data across application windows.

Contains functions to select text or a portion of data, send it to a buffer, and paste the data into a target.

elm\+\_\+cnp provides a generic copy and paste facility based on its windowing system. It is not necessary to know the details of each windowing system, but some terms and behavior are common. Currently the X11 window system is widely used, and only X11 functionality is implemented.

In X11\+R6 window system, Copy\+Paste works like a peer-\/to-\/peer communication. Copying is an operation on an object in an X server. X11 calls those objects \textquotesingle{}selections\textquotesingle{} which have names. Generally, two selection types are needed for copy and paste\+: The Primary selection and the Clipboard selection. Primary selection is for selecting text (that means highlighted text). Clipboard selection is for explicit copying behavior (such as ctrl+c, or \textquotesingle{}copy\textquotesingle{} in a menu). Thus, in applications most cases only use the clipboard selection. As stated before, taking ownership of a selection doesn\textquotesingle{}t move any actual data. Copying and Pasting is described as follows\+:
\begin{DoxyEnumerate}
\item Copy text in Program A \+: Program A takes ownership of the selection
\item Paste text in Program B \+: Program B notes that Program A owns the selection
\item Program B asks A for the text
\item Program A responds and sends the text to program B
\item Program B pastes the response More information is on
\end{DoxyEnumerate}
\begin{DoxyItemize}
\item \href{http://www.jwz.org/doc/x-cut-and-paste.html}{\tt http\+://www.\+jwz.\+org/doc/x-\/cut-\/and-\/paste.\+html}
\item X11\+R6 Inter-\/\+Client Communication Conventions Manual, section 2
\end{DoxyItemize}

T\+O\+DO\+: add for other window system. 

\subsection{Typedef Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}\label{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Sel\+\_\+\+Type@{Elm\+\_\+\+Sel\+\_\+\+Type}}
\index{Elm\+\_\+\+Sel\+\_\+\+Type@{Elm\+\_\+\+Sel\+\_\+\+Type}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Sel\+\_\+\+Type}{Elm\_Sel\_Type}}
{\footnotesize\ttfamily typedef Efl\+\_\+\+Selection\+\_\+\+Type \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}}



Defines the types of selection property names. 

\begin{DoxySeeAlso}{See also}
\href{http://www.x.org/docs/X11/xlib.pdf}{\tt http\+://www.\+x.\+org/docs/\+X11/xlib.\+pdf} for more details. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}\label{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Xdnd\+\_\+\+Action@{Elm\+\_\+\+Xdnd\+\_\+\+Action}}
\index{Elm\+\_\+\+Xdnd\+\_\+\+Action@{Elm\+\_\+\+Xdnd\+\_\+\+Action}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Xdnd\+\_\+\+Action}{Elm\_Xdnd\_Action}}
{\footnotesize\ttfamily typedef Efl\+\_\+\+Selection\+\_\+\+Action \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}}



Defines the kind of action associated with the drop data if for X\+D\+ND. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga15758b79477f4c645911d6331ca8335f}\label{group__CopyPaste_ga15758b79477f4c645911d6331ca8335f}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed@{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}}
\index{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed@{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}{Elm\_Cnp\_Event\_Selection\_Changed}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{structElm__Cnp__Event__Selection__Changed}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}}  \mbox{\hyperlink{structElm__Cnp__Event__Selection__Changed}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}}}



Event to notify when a display server\textquotesingle{}s selection has changed Only sent for P\+R\+I\+M\+A\+RY and C\+L\+I\+P\+B\+O\+A\+RD selections. 

\begin{DoxySince}{Since}
1.\+20 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}\label{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drop\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Cb}}
\index{Elm\+\_\+\+Drop\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drop\+\_\+\+Cb}{Elm\_Drop\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ Elm\+\_\+\+Drop\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{struct__Elm__Selection__Data}{Elm\+\_\+\+Selection\+\_\+\+Data}} $\ast$ev)}



Callback invoked in when the selected data is \textquotesingle{}dropped\textquotesingle{} at its destination. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The evas object where selected data is \textquotesingle{}dropped\textquotesingle{}. \\
\hline
{\em ev} & struct holding information about selected data F\+I\+X\+ME\+: this should probably be a smart callback \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}\label{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb@{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}
\index{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb@{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}{Elm\_Xy\_Item\_Get\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}}$\ast$($\ast$ Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb) (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, int $\ast$xposret, int $\ast$yposret)}



Callback invoked to find out what object is under (x,y) coords. 


\begin{DoxyParams}{Parameters}
{\em obj} & The container object \\
\hline
{\em x} & cord to check \\
\hline
{\em y} & cord to check \\
\hline
{\em xposret} & Position relative to item (left (-\/1), middle (0), right (1) \\
\hline
{\em yposret} & Position relative to item (upper (-\/1), middle (0), bottom (1) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
object under x,y cords or N\+U\+LL if not found. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}\label{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb@{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}}
\index{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb@{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}{Elm\_Selection\_Loss\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection)}



Callback invoked in when the selection ownership for a given selection is lost. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em selection} & The selection that is lost \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}\label{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb@{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}}
\index{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb@{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}{Elm\_Drag\_Icon\_Create\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$($\ast$ Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$win, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$xoff, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$yoff)}



Callback called to create a drag icon object. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em win} & The window to create the objects relative to \\
\hline
{\em xoff} & A return coordinate for the X offset at which to place the drag icon object relative to the source drag object \\
\hline
{\em yoff} & A return coordinate for the Y offset at which to place the drag icon object relative to the source drag object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An object to fill the drag window with or N\+U\+LL if not needed 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}\label{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+State@{Elm\+\_\+\+Drag\+\_\+\+State}}
\index{Elm\+\_\+\+Drag\+\_\+\+State@{Elm\+\_\+\+Drag\+\_\+\+State}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+State}{Elm\_Drag\_State}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+State) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)}



Callback called when a drag is finished, enters, or leaves an object. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The object where the drag started \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga08e796c4c34580675156a4a69a859e45}\label{group__CopyPaste_ga08e796c4c34580675156a4a69a859e45}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Done@{Elm\+\_\+\+Drag\+\_\+\+Done}}
\index{Elm\+\_\+\+Drag\+\_\+\+Done@{Elm\+\_\+\+Drag\+\_\+\+Done}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Done}{Elm\_Drag\_Done}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Done) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} accepted)}



Callback called when a drag is finished. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The object where the drag started \\
\hline
{\em accepted} & T\+R\+UE if the droppped-\/data is accepted on drop \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga24611547a7209040cf54e2c723107788}\label{group__CopyPaste_ga24611547a7209040cf54e2c723107788}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Accept@{Elm\+\_\+\+Drag\+\_\+\+Accept}}
\index{Elm\+\_\+\+Drag\+\_\+\+Accept@{Elm\+\_\+\+Drag\+\_\+\+Accept}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Accept}{Elm\_Drag\_Accept}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Accept) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} doaccept)}



Callback called when a drag is responded to with an accept or deny. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The object where the drag started \\
\hline
{\em doaccept} & A boolean as to if the target accepts the drag or not \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gac7f945797f5ca11076502229559f5379}\label{group__CopyPaste_gac7f945797f5ca11076502229559f5379}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Pos}}
\index{Elm\+\_\+\+Drag\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Pos}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Pos}{Elm\_Drag\_Pos}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Pos) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action)}



Callback called when a drag is over an object, and gives object-\/relative coordinates. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The object where the drag started \\
\hline
{\em x} & The X coordinate relative to the top-\/left of the object \\
\hline
{\em y} & The Y coordinate relative to the top-\/left of the object \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gaacb567cbc53cec019455846e1577b02d}\label{group__CopyPaste_gaacb567cbc53cec019455846e1577b02d}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Start@{Elm\+\_\+\+Drag\+\_\+\+Start}}
\index{Elm\+\_\+\+Drag\+\_\+\+Start@{Elm\+\_\+\+Drag\+\_\+\+Start}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Start}{Elm\_Drag\_Start}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Start) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)}



Callback called when a drag starts from an item container. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The object where the drag started \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}\label{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}}
\index{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}{Elm\_Drag\_Item\_Container\_Pos}}
{\footnotesize\ttfamily typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$cont, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} y, int xposret, int yposret, \mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action)}



Callback called when a drag is over an object. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em cont} & The container object where the drag started \\
\hline
{\em it} & The object item in container where mouse-\/over \\
\hline
{\em x} & The X coordinate relative to the top-\/left of the object \\
\hline
{\em y} & The Y coordinate relative to the top-\/left of the object \\
\hline
{\em xposret} & Position relative to item (left (-\/1), middle (0), right (1) \\
\hline
{\em yposret} & Position relative to item (upper (-\/1), middle (0), bottom (1) \\
\hline
{\em action} & The drag action to be done \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}\label{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}}
\index{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}{Elm\_Drop\_Item\_Container\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{struct__Elm__Selection__Data}{Elm\+\_\+\+Selection\+\_\+\+Data}} $\ast$ev, int xposret, int yposret)}



Callback invoked in when the selected data is \textquotesingle{}dropped\textquotesingle{} on container. 


\begin{DoxyParams}{Parameters}
{\em data} & Application specific data \\
\hline
{\em obj} & The evas object where selected data is \textquotesingle{}dropped\textquotesingle{}. \\
\hline
{\em it} & The item in container where drop-\/cords \\
\hline
{\em ev} & struct holding information about selected data \\
\hline
{\em xposret} & Position relative to item (left (-\/1), middle (0), right (1) \\
\hline
{\em yposret} & Position relative to item (upper (-\/1), middle (0), bottom (1) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}\label{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info@{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}
\index{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info@{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}{Elm\_Drag\_User\_Info}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__Elm__Drag__User__Info}{\+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}} \mbox{\hyperlink{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}}



Structure describing user information for the drag process. 


\begin{DoxyParams}{Parameters}
{\em format} & The drag formats supported by the data (output) \\
\hline
{\em data} & The drag data itself (a string) (output) \\
\hline
{\em icons} & if value not N\+U\+LL, play default anim (output) \\
\hline
{\em action} & The drag action to be done (output) \\
\hline
{\em createicon} & Function to call to create a drag object, or N\+U\+LL if not wanted (output) \\
\hline
{\em createdata} & Application data passed to {\ttfamily createicon} (output) \\
\hline
{\em dragpos} & Function called with each position of the drag, x, y being screen coordinates if possible, and action being the current action. (output) \\
\hline
{\em dragdata} & Application data passed to {\ttfamily dragpos} (output) \\
\hline
{\em acceptcb} & Function called indicating if drop target accepts (or does not) the drop data while dragging (output) \\
\hline
{\em acceptdata} & Application data passed to {\ttfamily acceptcb} (output) \\
\hline
{\em dragdone} & Function to call when drag is done (output) \\
\hline
{\em donecbdata} & Application data to pass to {\ttfamily dragdone} (output) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}\label{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}} 
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb@{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}}
\index{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb@{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}{Elm\_Item\_Container\_Data\_Get\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb) (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$it, \mbox{\hyperlink{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}} $\ast$info)}



Callback invoked when starting to drag for a container. 


\begin{DoxyParams}{Parameters}
{\em obj} & The container object \\
\hline
{\em it} & The Elm\+\_\+\+Object\+\_\+\+Item pointer where drag-\/start \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not. 
\end{DoxyReturn}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}\label{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+cnp\+\_\+selection\+\_\+set@{elm\+\_\+cnp\+\_\+selection\+\_\+set}}
\index{elm\+\_\+cnp\+\_\+selection\+\_\+set@{elm\+\_\+cnp\+\_\+selection\+\_\+set}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+cnp\+\_\+selection\+\_\+set()}{elm\_cnp\_selection\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+cnp\+\_\+selection\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{const void $\ast$}]{buf,  }\item[{size\+\_\+t}]{buflen }\end{DoxyParamCaption})}



Set copy data for a widget. 

Set copy data and take ownership of selection. Format is used for specifying the selection type, and this is used during pasting.


\begin{DoxyParams}{Parameters}
{\em selection} & Selection type for copying and pasting \\
\hline
{\em obj} & The source widget pointer \\
\hline
{\em format} & Selection format \\
\hline
{\em buf} & The data selected \\
\hline
{\em buflen} & The size of {\ttfamily buf} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, setting data was successful. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+future\+\_\+then\+\_\+easy, E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT, \+\_\+\+Eina\+\_\+\+Slice\+::len, and \+\_\+\+Eina\+\_\+\+Slice\+::mem.



Referenced by elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+copy(), and elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+cut().

\mbox{\Hypertarget{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}\label{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+cnp\+\_\+selection\+\_\+get@{elm\+\_\+cnp\+\_\+selection\+\_\+get}}
\index{elm\+\_\+cnp\+\_\+selection\+\_\+get@{elm\+\_\+cnp\+\_\+selection\+\_\+get}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+cnp\+\_\+selection\+\_\+get()}{elm\_cnp\_selection\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+cnp\+\_\+selection\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}}}]{datacb,  }\item[{void $\ast$}]{udata }\end{DoxyParamCaption})}



Get data from a widget that has a selection. 

Get the current selection data from a widget. The widget input here will usually be elm\+\_\+entry, in which case {\ttfamily datacb} and {\ttfamily udata} can be N\+U\+LL. If a different widget is passed, {\ttfamily datacb} and {\ttfamily udata} are used for retrieving data.

\begin{DoxySeeAlso}{See also}
also \mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()}}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em selection} & Selection type for copying and pasting \\
\hline
{\em format} & Selection format \\
\hline
{\em obj} & The source widget \\
\hline
{\em datacb} & The user data callback if the target widget isn\textquotesingle{}t elm\+\_\+entry \\
\hline
{\em udata} & The user data pointer for {\ttfamily datacb} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, getting selection data was successful. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+paste().

\mbox{\Hypertarget{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}\label{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear@{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear}}
\index{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear@{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear()}{elm\_object\_cnp\_selection\_clear()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection }\end{DoxyParamCaption})}



Clear the selection data of a widget. 

Clear all data from the selection which is owned by a widget.

\begin{DoxySeeAlso}{See also}
also \mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()}}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em obj} & The source widget \\
\hline
{\em selection} & Selection type for copying and pasting \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, clearing data was successful. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}\label{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set@{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set}}
\index{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set@{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set()}{elm\_cnp\_selection\_loss\_callback\_set()}}
{\footnotesize\ttfamily void elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga39189ff69a73de815858fedb33c30ce8}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Set a function to be called when a selection is lost. 

The function {\ttfamily func} is set of be called when selection {\ttfamily selection} is lost to another process or when \mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()}} is called. If {\ttfamily func} is N\+U\+LL then it is not called. {\ttfamily data} is passed as the data parameter to the callback functions and selection is passed in as the selection that has been lost.

\mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()}} and \mbox{\hyperlink{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear()}} automatically set this los callback to N\+U\+LL when called. If you wish to take the selection and then be notified of loss please do this (for example)\+:


\begin{DoxyCode}
\mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\_cnp\_selection\_set}}(obj, ELM\_SEL\_TYPE\_PRIMARY, ELM\_SEL\_FORMAT\_TEXT, \textcolor{stringliteral}{"hello"}, strlen(
      hello));
\mbox{\hyperlink{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}{elm\_cnp\_selection\_loss\_callback\_set}}(obj, ELM\_SEL\_TYPE\_PRIMARY, loss\_cb, 
      NULL);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
also \mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()}}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em obj} & The object to indicate the window target/display system. \\
\hline
{\em selection} & Selection to be notified of for loss \\
\hline
{\em func} & The function to call \\
\hline
{\em data} & The data pointer passed to the function.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}


References eina\+\_\+list\+\_\+append().

\mbox{\Hypertarget{group__CopyPaste_ga8aaf0135336bd1f321576f566df205ff}\label{group__CopyPaste_ga8aaf0135336bd1f321576f566df205ff}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner@{elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner}}
\index{elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner@{elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner()}{elm\_cnp\_clipboard\_selection\_has\_owner()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{win }\end{DoxyParamCaption})}



Determine whether the clipboard selection has an owner. 


\begin{DoxyParams}{Parameters}
{\em win} & The window object to check for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if the clipboard has a selection
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+20 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}\label{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drop\+\_\+target\+\_\+add@{elm\+\_\+drop\+\_\+target\+\_\+add}}
\index{elm\+\_\+drop\+\_\+target\+\_\+add@{elm\+\_\+drop\+\_\+target\+\_\+add}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drop\+\_\+target\+\_\+add()}{elm\_drop\_target\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drop\+\_\+target\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{entercb,  }\item[{void $\ast$}]{enterdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{leavecb,  }\item[{void $\ast$}]{leavedata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}}}]{poscb,  }\item[{void $\ast$}]{posdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}}}]{dropcb,  }\item[{void $\ast$}]{dropdata }\end{DoxyParamCaption})}



Set the given object as a target for drops for drag-\/and-\/drop. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object \\
\hline
{\em format} & The formats supported for dropping \\
\hline
{\em entercb} & The function to call when the object is entered with a drag \\
\hline
{\em enterdata} & The application data to pass to enterdata \\
\hline
{\em leavecb} & The function to call when the object is left with a drag \\
\hline
{\em leavedata} & The application data to pass to leavedata \\
\hline
{\em poscb} & The function to call when the object has a drag over it \\
\hline
{\em posdata} & The application data to pass to posdata \\
\hline
{\em dropcb} & The function to call when a drop has occurred \\
\hline
{\em dropdata} & The application data to pass to dropcb \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References efl\+\_\+event\+\_\+callback\+\_\+add, efl\+\_\+key\+\_\+data\+\_\+get(), efl\+\_\+key\+\_\+data\+\_\+set(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add().

\mbox{\Hypertarget{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}\label{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drop\+\_\+target\+\_\+del@{elm\+\_\+drop\+\_\+target\+\_\+del}}
\index{elm\+\_\+drop\+\_\+target\+\_\+del@{elm\+\_\+drop\+\_\+target\+\_\+del}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drop\+\_\+target\+\_\+del()}{elm\_drop\_target\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drop\+\_\+target\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{entercb,  }\item[{void $\ast$}]{enterdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{leavecb,  }\item[{void $\ast$}]{leavedata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}}}]{poscb,  }\item[{void $\ast$}]{posdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}}}]{dropcb,  }\item[{void $\ast$}]{dropdata }\end{DoxyParamCaption})}



Deletes the drop target status of an object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object \\
\hline
{\em format} & The formats supported for dropping \\
\hline
{\em entercb} & The function to call when the object is entered with a drag \\
\hline
{\em enterdata} & The application data to pass to enterdata \\
\hline
{\em leavecb} & The function to call when the object is left with a drag \\
\hline
{\em leavedata} & The application data to pass to leavedata \\
\hline
{\em poscb} & The function to call when the object has a drag over it \\
\hline
{\em posdata} & The application data to pass to posdata \\
\hline
{\em dropcb} & The function to call when a drop has occurred \\
\hline
{\em dropdata} & The application data to pass to dropcb \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References efl\+\_\+event\+\_\+callback\+\_\+del(), efl\+\_\+key\+\_\+data\+\_\+get(), efl\+\_\+key\+\_\+data\+\_\+set(), eina\+\_\+list\+\_\+data\+\_\+get(), eina\+\_\+list\+\_\+remove(), E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del().

\mbox{\Hypertarget{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}\label{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+start@{elm\+\_\+drag\+\_\+start}}
\index{elm\+\_\+drag\+\_\+start@{elm\+\_\+drag\+\_\+start}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drag\+\_\+start()}{elm\_drag\_start()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drag\+\_\+start (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{const char $\ast$}]{data,  }\item[{\mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}}]{action,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}}}]{createicon,  }\item[{void $\ast$}]{createdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}}}]{dragpos,  }\item[{void $\ast$}]{dragdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga24611547a7209040cf54e2c723107788}{Elm\+\_\+\+Drag\+\_\+\+Accept}}}]{acceptcb,  }\item[{void $\ast$}]{acceptdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{dragdone,  }\item[{void $\ast$}]{donecbdata }\end{DoxyParamCaption})}



Begins a drag given a source object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The source object \\
\hline
{\em format} & The drag formats supported by the data \\
\hline
{\em data} & The drag data itself (a string) \\
\hline
{\em action} & The drag action to be done \\
\hline
{\em createicon} & Function to call to create a drag object, or N\+U\+LL if not wanted \\
\hline
{\em createdata} & Application data passed to {\ttfamily createicon} \\
\hline
{\em dragpos} & Function called with each position of the drag, x, y being screen coordinates if possible, and action being the current action. \\
\hline
{\em dragdata} & Application data passed to {\ttfamily dragpos} \\
\hline
{\em acceptcb} & Function called indicating if drop target accepts (or does not) the drop data while dragging\\
\hline
{\em acceptdata} & Application data passed to {\ttfamily acceptcb} \\
\hline
{\em dragdone} & Function to call when drag is done \\
\hline
{\em donecbdata} & Application data to pass to {\ttfamily dragdone} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References efl\+\_\+event\+\_\+callback\+\_\+add, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, E\+I\+N\+A\+\_\+\+T\+R\+UE, \+\_\+\+Eina\+\_\+\+Slice\+::len, and \+\_\+\+Eina\+\_\+\+Slice\+::mem.

\mbox{\Hypertarget{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}\label{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+cancel@{elm\+\_\+drag\+\_\+cancel}}
\index{elm\+\_\+drag\+\_\+cancel@{elm\+\_\+drag\+\_\+cancel}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drag\+\_\+cancel()}{elm\_drag\_cancel()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drag\+\_\+cancel (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Cancels the current drag operation. 

It can only be initiated from the source window.


\begin{DoxyParams}{Parameters}
{\em obj} & The source of the current drag. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}\label{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+action\+\_\+set@{elm\+\_\+drag\+\_\+action\+\_\+set}}
\index{elm\+\_\+drag\+\_\+action\+\_\+set@{elm\+\_\+drag\+\_\+action\+\_\+set}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drag\+\_\+action\+\_\+set()}{elm\_drag\_action\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drag\+\_\+action\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_gace9a69499297ebf559ca5c2e94d13c83}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}}]{action }\end{DoxyParamCaption})}



Changes the current drag action. 


\begin{DoxyParams}{Parameters}
{\em obj} & The source of a drag if a drag is underway \\
\hline
{\em action} & The drag action to be done \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}\label{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add@{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add}}
\index{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add@{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add()}{elm\_drag\_item\_container\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{double}]{tm\+\_\+to\+\_\+anim,  }\item[{double}]{tm\+\_\+to\+\_\+drag,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}}]{itemgetcb,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}}}]{data\+\_\+get }\end{DoxyParamCaption})}



Set a item container (list, genlist, grid) as source of drag. 


\begin{DoxyParams}{Parameters}
{\em obj} & The container object. \\
\hline
{\em tm\+\_\+to\+\_\+anim} & Time period to wait before start animation. \\
\hline
{\em tm\+\_\+to\+\_\+drag} & Time period to wait before start dragging. \\
\hline
{\em itemgetcb} & Callback to get Evas\+\_\+\+Object pointer for item at (x,y) \\
\hline
{\em data\+\_\+get} & Callback to get drag info \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References efl\+\_\+key\+\_\+data\+\_\+get(), efl\+\_\+key\+\_\+data\+\_\+set(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add().

\mbox{\Hypertarget{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}\label{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del@{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del}}
\index{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del@{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del()}{elm\_drag\_item\_container\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Deletes a item container from drag-\/source list. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del().

\mbox{\Hypertarget{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}\label{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add@{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add}}
\index{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add@{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add()}{elm\_drop\_item\_container\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeef912fe93e2bed550a4215162d70e3f}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}}]{itemgetcb,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{entercb,  }\item[{void $\ast$}]{enterdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}}}]{leavecb,  }\item[{void $\ast$}]{leavedata,  }\item[{\mbox{\hyperlink{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}}}]{poscb,  }\item[{void $\ast$}]{posdata,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}}}]{dropcb,  }\item[{void $\ast$}]{dropdata }\end{DoxyParamCaption})}



Set a item container (list, genlist, grid) as target for drop. 


\begin{DoxyParams}{Parameters}
{\em obj} & The container object. \\
\hline
{\em format} & The formats supported for dropping \\
\hline
{\em itemgetcb} & Callback to get Evas\+\_\+\+Object pointer for item at (x,y) \\
\hline
{\em entercb} & The function to call when the object is entered with a drag \\
\hline
{\em enterdata} & The application data to pass to enterdata \\
\hline
{\em leavecb} & The function to call when the object is left with a drag \\
\hline
{\em leavedata} & The application data to pass to leavedata \\
\hline
{\em poscb} & The function to call when the object has a drag over it \\
\hline
{\em posdata} & The application data to pass to posdata \\
\hline
{\em dropcb} & The function to call when a drop has occurred \\
\hline
{\em dropdata} & The application data to pass to dropcb \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References efl\+\_\+event\+\_\+callback\+\_\+add, efl\+\_\+key\+\_\+data\+\_\+get(), efl\+\_\+key\+\_\+data\+\_\+set(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add().

\mbox{\Hypertarget{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}\label{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}} 
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del@{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del}}
\index{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del@{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del()}{elm\_drop\_item\_container\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Removes a container from list of drop targets. 


\begin{DoxyParams}{Parameters}
{\em obj} & The container object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns E\+I\+N\+A\+\_\+\+T\+R\+UE, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del().



\subsection{Variable Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}\label{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}} 
\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED@{E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED}}
\index{E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED@{E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED}!Copy\+Paste@{Copy\+Paste}}
\subsubsection{\texorpdfstring{E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED}{ELM\_CNP\_EVENT\_SELECTION\_CHANGED}}
{\footnotesize\ttfamily int E\+L\+M\+\_\+\+C\+N\+P\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N\+\_\+\+C\+H\+A\+N\+G\+ED}



Event notifying that the selection has changed. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structElm__Cnp__Event__Selection__Changed}{Elm\+\_\+\+Cnp\+\_\+\+Event\+\_\+\+Selection\+\_\+\+Changed}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+20 
\end{DoxySince}
