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


Copy and paste feature implementations.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Elm__Selection__Data}{\+\_\+\+Elm\+\_\+\+Selection\+\_\+\+Data}
\begin{DoxyCompactList}\small\item\em Structure holding the info about selected data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef Eina\+\_\+\+Bool($\ast$ \hyperlink{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}{Elm\+\_\+\+Drop\+\_\+\+Cb}) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, \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 \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$($\ast$ \hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}) (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, 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$ \hyperlink{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}) (void $\ast$data, \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{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 Evas\+\_\+\+Object $\ast$($\ast$ \hyperlink{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}) (void $\ast$data, Evas\+\_\+\+Object $\ast$win, Evas\+\_\+\+Coord $\ast$xoff, Evas\+\_\+\+Coord $\ast$yoff)
\begin{DoxyCompactList}\small\item\em Callback called to create a drag icon object. \end{DoxyCompactList}\item 
typedef void($\ast$ \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State}) (void $\ast$data, 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$ \hyperlink{group__CopyPaste_ga08e796c4c34580675156a4a69a859e45}{Elm\+\_\+\+Drag\+\_\+\+Done}) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool accepted)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is finished. \end{DoxyCompactList}\item 
typedef void($\ast$ \hyperlink{group__CopyPaste_ga24611547a7209040cf54e2c723107788}{Elm\+\_\+\+Drag\+\_\+\+Accept}) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, 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$ \hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos}) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, \hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{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$ \hyperlink{group__CopyPaste_gaacb567cbc53cec019455846e1577b02d}{Elm\+\_\+\+Drag\+\_\+\+Start}) (void $\ast$data, 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$ \hyperlink{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}) (void $\ast$data, Evas\+\_\+\+Object $\ast$cont, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, int xposret, int yposret, \hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action} action)
\begin{DoxyCompactList}\small\item\em Callback called when a drag is over an object. \end{DoxyCompactList}\item 
typedef Eina\+\_\+\+Bool($\ast$ \hyperlink{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, \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 \+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info \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 Eina\+\_\+\+Bool($\ast$ \hyperlink{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}) (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, \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*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type} \{ \\*
\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y}, 
\\*
\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a9aeeac4fde0e0fd1c888b0a2d53e3e53}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y}, 
\\*
\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946abfceb433ba8c806beed01aae29abeee3}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D}, 
\\*
\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946ad84db78a515199cf4bd0d325f08c3842}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D}
 \}\begin{DoxyCompactList}\small\item\em Defines the types of selection property names. \end{DoxyCompactList}
\item 
enum \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} \{ \\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a6846735767a36a423c36de944acef09d}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S} = -\/1, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ad201ee57a3b3ed334ebb0396887dc67d}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E} = 0x0, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T} = 0x01, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3e2a474c22527d9237789dcb64e3b802}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P} = 0x02, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E} = 0x04, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a8ff4bae6a6cace955b84c41b363d6309}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D} = 0x08, 
\\*
\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3a383dba54ef3b183f51b7482bbf7b7e}{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L} = 0x10
 \}\begin{DoxyCompactList}\small\item\em Defines the types of content. \end{DoxyCompactList}
\item 
enum \hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action} \{ \\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa5ecba192567bc69e88245f83b995e3ad}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa09776d4f14d18828a38fc403a945d13b}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aae13f4678e3b246972d4049b7fe4d9a2f}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa4c66027388caa67082db87906f4a8876}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa41e3fb4381395a45478a6744cefd7c4e}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa357bec5ae42d482da884fe391939ee9c}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa1b53a8fcb7164b5ac1ff3485cbf133e5}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K}, 
\\*
\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa42a3802fa11c0959b7a5c7c803dcb620}{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N}
 \}\begin{DoxyCompactList}\small\item\em Defines the kind of action associated with the drop data if for X\+D\+N\+D. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type} selection, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}{elm\+\_\+cnp\+\_\+selection\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type} selection, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} format, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type} selection)
\begin{DoxyCompactList}\small\item\em Clear the selection data of a widget. \end{DoxyCompactList}\item 
void \hyperlink{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type} selection, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}{elm\+\_\+drop\+\_\+target\+\_\+add} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} format, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} entercb, void $\ast$enterdata, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} leavecb, void $\ast$leavedata, \hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos} poscb, void $\ast$posdata, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}{elm\+\_\+drop\+\_\+target\+\_\+del} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} format, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} entercb, void $\ast$enterdata, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} leavecb, void $\ast$leavedata, \hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos} poscb, void $\ast$posdata, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}{elm\+\_\+drag\+\_\+start} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} format, const char $\ast$data, \hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action} action, \hyperlink{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb} createicon, void $\ast$createdata, \hyperlink{group__CopyPaste_gac7f945797f5ca11076502229559f5379}{Elm\+\_\+\+Drag\+\_\+\+Pos} dragpos, void $\ast$dragdata, \hyperlink{group__CopyPaste_ga24611547a7209040cf54e2c723107788}{Elm\+\_\+\+Drag\+\_\+\+Accept} acceptcb, void $\ast$acceptdata, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}{elm\+\_\+drag\+\_\+cancel} (Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Cancels the current drag operation. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}{elm\+\_\+drag\+\_\+action\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action} action)
\begin{DoxyCompactList}\small\item\em Changes the current drag action. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add} (Evas\+\_\+\+Object $\ast$obj, double tm\+\_\+to\+\_\+anim, double tm\+\_\+to\+\_\+drag, \hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb} itemgetcb, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del} (Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Deletes a item container from drag-\/source list. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add} (Evas\+\_\+\+Object $\ast$obj, \hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format} format, \hyperlink{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb} itemgetcb, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} entercb, void $\ast$enterdata, \hyperlink{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}{Elm\+\_\+\+Drag\+\_\+\+State} leavecb, void $\ast$leavedata, \hyperlink{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos} poscb, void $\ast$posdata, \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 
Eina\+\_\+\+Bool \hyperlink{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del} (Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Removes a container from list of drop targets. \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\+D\+O\+: add for other window system. 

\subsection{Typedef Documentation}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Accept@{Elm\+\_\+\+Drag\+\_\+\+Accept}}
\index{Elm\+\_\+\+Drag\+\_\+\+Accept@{Elm\+\_\+\+Drag\+\_\+\+Accept}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drag\+\_\+\+Accept}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Accept) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool doaccept)}\label{group__CopyPaste_ga24611547a7209040cf54e2c723107788}


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}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Done@{Elm\+\_\+\+Drag\+\_\+\+Done}}
\index{Elm\+\_\+\+Drag\+\_\+\+Done@{Elm\+\_\+\+Drag\+\_\+\+Done}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drag\+\_\+\+Done}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Done) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool accepted)}\label{group__CopyPaste_ga08e796c4c34580675156a4a69a859e45}


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\+U\+E if the droppped-\/data is accepted on drop \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef Evas\+\_\+\+Object$\ast$($\ast$ Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb) (void $\ast$data, Evas\+\_\+\+Object $\ast$win, Evas\+\_\+\+Coord $\ast$xoff, Evas\+\_\+\+Coord $\ast$yoff)}\label{group__CopyPaste_gaee316ec922472221b1c7f1d2073e322e}


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\+L\+L if not needed 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos) (void $\ast$data, Evas\+\_\+\+Object $\ast$cont, {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, int xposret, int yposret, {\bf Elm\+\_\+\+Xdnd\+\_\+\+Action} action)}\label{group__CopyPaste_gaeaf531636c8a4e2444bc5b946fa9b5df}


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}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Pos}}
\index{Elm\+\_\+\+Drag\+\_\+\+Pos@{Elm\+\_\+\+Drag\+\_\+\+Pos}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drag\+\_\+\+Pos}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Pos) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, {\bf Elm\+\_\+\+Xdnd\+\_\+\+Action} action)}\label{group__CopyPaste_gac7f945797f5ca11076502229559f5379}


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}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+Start@{Elm\+\_\+\+Drag\+\_\+\+Start}}
\index{Elm\+\_\+\+Drag\+\_\+\+Start@{Elm\+\_\+\+Drag\+\_\+\+Start}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drag\+\_\+\+Start}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+Start) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj)}\label{group__CopyPaste_gaacb567cbc53cec019455846e1577b02d}


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}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drag\+\_\+\+State@{Elm\+\_\+\+Drag\+\_\+\+State}}
\index{Elm\+\_\+\+Drag\+\_\+\+State@{Elm\+\_\+\+Drag\+\_\+\+State}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drag\+\_\+\+State}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Drag\+\_\+\+State) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj)}\label{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}


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}
\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[{Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info {\bf Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}\label{group__CopyPaste_gaf0b32859f5e8f7c0f0771c6893b6fa12}


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\+L\+L, 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\+L\+L 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}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Drop\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Cb}}
\index{Elm\+\_\+\+Drop\+\_\+\+Cb@{Elm\+\_\+\+Drop\+\_\+\+Cb}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Drop\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef Eina\+\_\+\+Bool($\ast$ Elm\+\_\+\+Drop\+\_\+\+Cb) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, {\bf Elm\+\_\+\+Selection\+\_\+\+Data} $\ast$ev)}\label{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}


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\+M\+E\+: this should probably be a smart callback \\
\hline
\end{DoxyParams}
\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[{Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef Eina\+\_\+\+Bool($\ast$ Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb) (void $\ast$data, Evas\+\_\+\+Object $\ast$obj, {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, {\bf Elm\+\_\+\+Selection\+\_\+\+Data} $\ast$ev, int xposret, int yposret)}\label{group__CopyPaste_ga7625d598af07b415edd33fe807ce99be}


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}
\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[{Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef Eina\+\_\+\+Bool($\ast$ Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb) (Evas\+\_\+\+Object $\ast$obj, {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, {\bf Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info} $\ast$info)}\label{group__CopyPaste_ga4b47e89f731f0d124c588ab05b729ece}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not. 
\end{DoxyReturn}
\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[{Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb) (void $\ast$data, {\bf Elm\+\_\+\+Sel\+\_\+\+Type} selection)}\label{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}


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}
\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[{Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$($\ast$ Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb) (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, int $\ast$xposret, int $\ast$yposret)}\label{group__CopyPaste_ga4f68d30311bca5f3c3af9b4b4bb34699}


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\+L\+L if not found. 
\end{DoxyReturn}


\subsection{Enumeration Type Documentation}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Sel\+\_\+\+Format@{Elm\+\_\+\+Sel\+\_\+\+Format}}
\index{Elm\+\_\+\+Sel\+\_\+\+Format@{Elm\+\_\+\+Sel\+\_\+\+Format}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Sel\+\_\+\+Format}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Sel\+\_\+\+Format}}\label{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}


Defines the types of content. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+A\+R\+G\+E\+T\+S\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a6846735767a36a423c36de944acef09d}
}]For matching every possible atom. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+N\+O\+N\+E\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ad201ee57a3b3ed334ebb0396887dc67d}
}]Content is from outside of Elementary. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T\+E\+X\+T\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}
}]Plain unformatted text\+: Used for things that don\textquotesingle{}t want rich markup. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+M\+A\+R\+K\+U\+P\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3e2a474c22527d9237789dcb64e3b802}
}]Edje textblock markup, including inline images. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+I\+M\+A\+G\+E\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}
}]Images. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+V\+C\+A\+R\+D\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a8ff4bae6a6cace955b84c41b363d6309}
}]Vcards. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+H\+T\+M\+L\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3a383dba54ef3b183f51b7482bbf7b7e}
}]Raw H\+T\+M\+L-\/like data (eg. webkit) \end{description}
\end{Desc}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Sel\+\_\+\+Type@{Elm\+\_\+\+Sel\+\_\+\+Type}}
\index{Elm\+\_\+\+Sel\+\_\+\+Type@{Elm\+\_\+\+Sel\+\_\+\+Type}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Sel\+\_\+\+Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Sel\+\_\+\+Type}}\label{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}


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}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+I\+M\+A\+R\+Y\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}
}]Primary text selection (highlighted or selected text) \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+C\+O\+N\+D\+A\+R\+Y\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a9aeeac4fde0e0fd1c888b0a2d53e3e53}
}]Used when primary selection is in use. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+X\+D\+N\+D\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946abfceb433ba8c806beed01aae29abeee3}
}]Drag \textquotesingle{}n\textquotesingle{} Drop. \index{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D@{E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D}}\item[{\em 
E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946ad84db78a515199cf4bd0d325f08c3842}
}]Clipboard selection (ctrl+\+C) \end{description}
\end{Desc}
\index{Copy\+Paste@{Copy\+Paste}!Elm\+\_\+\+Xdnd\+\_\+\+Action@{Elm\+\_\+\+Xdnd\+\_\+\+Action}}
\index{Elm\+\_\+\+Xdnd\+\_\+\+Action@{Elm\+\_\+\+Xdnd\+\_\+\+Action}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{Elm\+\_\+\+Xdnd\+\_\+\+Action}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Xdnd\+\_\+\+Action}}\label{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}


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

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa5ecba192567bc69e88245f83b995e3ad}
}]Action type is unknown. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+C\+O\+P\+Y\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa09776d4f14d18828a38fc403a945d13b}
}]Copy the data. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+M\+O\+V\+E\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aae13f4678e3b246972d4049b7fe4d9a2f}
}]Move the data. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+P\+R\+I\+V\+A\+T\+E\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa4c66027388caa67082db87906f4a8876}
}]Pricate action type. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+A\+S\+K\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa41e3fb4381395a45478a6744cefd7c4e}
}]Ask the user what to do. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+S\+T\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa357bec5ae42d482da884fe391939ee9c}
}]List the data. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+L\+I\+N\+K\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa1b53a8fcb7164b5ac1ff3485cbf133e5}
}]Link the data. \index{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N}!Copy\+Paste@{Copy\+Paste}}\index{Copy\+Paste@{Copy\+Paste}!E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N@{E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N}}\item[{\em 
E\+L\+M\+\_\+\+X\+D\+N\+D\+\_\+\+A\+C\+T\+I\+O\+N\+\_\+\+D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa42a3802fa11c0959b7a5c7c803dcb620}
}]Describe the data. \end{description}
\end{Desc}


\subsection{Function Documentation}
\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[{elm\+\_\+cnp\+\_\+selection\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Type selection, Elm\+\_\+\+Sel\+\_\+\+Format format, Elm\+\_\+\+Drop\+\_\+\+Cb datacb, void $\ast$udata)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+cnp\+\_\+selection\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Type}}]{selection, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{{\bf Elm\+\_\+\+Drop\+\_\+\+Cb}}]{datacb, }
\item[{void $\ast$}]{udata}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}


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\+L\+L. If a different widget is passed, {\ttfamily datacb} and {\ttfamily udata} are used for retrieving data.

\begin{DoxySeeAlso}{See also}
also \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\+U\+E}, getting selection data was successful. 
\end{DoxyReturn}


References E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D.

\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[{elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Type selection, Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb func, const void $\ast$data)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+cnp\+\_\+selection\+\_\+loss\+\_\+callback\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Type}}]{selection, }
\item[{{\bf Elm\+\_\+\+Selection\+\_\+\+Loss\+\_\+\+Cb}}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}


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 \hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\+\_\+cnp\+\_\+selection\+\_\+set()} is called. If {\ttfamily func} is N\+U\+L\+L 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.

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


\begin{DoxyCode}
1 elm\_cnp\_selection\_set(obj, ELM\_SEL\_TYPE\_PRIMARY, ELM\_SEL\_FORMAT\_TEXT, "hello", strlen(hello));
2 elm\_cnp\_selection\_loss\_callback\_set(obj, ELM\_SEL\_TYPE\_PRIMARY, loss\_cb, NULL);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
also \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 E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D.

\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[{elm\+\_\+cnp\+\_\+selection\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Type selection, Elm\+\_\+\+Sel\+\_\+\+Format format, const void $\ast$buf, size\+\_\+t buflen)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+cnp\+\_\+selection\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Type}}]{selection, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{const void $\ast$}]{buf, }
\item[{size\+\_\+t}]{buflen}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}


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\+U\+E}, setting data was successful. 
\end{DoxyReturn}


References E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D.

\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[{elm\+\_\+drag\+\_\+action\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Xdnd\+\_\+\+Action action)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drag\+\_\+action\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Xdnd\+\_\+\+Action}}]{action}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+cancel@{elm\+\_\+drag\+\_\+cancel}}
\index{elm\+\_\+drag\+\_\+cancel@{elm\+\_\+drag\+\_\+cancel}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{elm\+\_\+drag\+\_\+cancel(\+Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drag\+\_\+cancel (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}
\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[{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add(\+Evas\+\_\+\+Object $\ast$obj, double tm\+\_\+to\+\_\+anim, double tm\+\_\+to\+\_\+drag, Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb itemgetcb, Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb data\+\_\+get)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{tm\+\_\+to\+\_\+anim, }
\item[{double}]{tm\+\_\+to\+\_\+drag, }
\item[{{\bf Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}]{itemgetcb, }
\item[{{\bf Elm\+\_\+\+Item\+\_\+\+Container\+\_\+\+Data\+\_\+\+Get\+\_\+\+Cb}}]{data\+\_\+get}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del(\+Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drag\+\_\+item\+\_\+container\+\_\+del (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Copy\+Paste@{Copy\+Paste}!elm\+\_\+drag\+\_\+start@{elm\+\_\+drag\+\_\+start}}
\index{elm\+\_\+drag\+\_\+start@{elm\+\_\+drag\+\_\+start}!Copy\+Paste@{Copy\+Paste}}
\subsubsection[{elm\+\_\+drag\+\_\+start(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Format format, const char $\ast$data, Elm\+\_\+\+Xdnd\+\_\+\+Action action, Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb createicon, void $\ast$createdata, Elm\+\_\+\+Drag\+\_\+\+Pos dragpos, void $\ast$dragdata, Elm\+\_\+\+Drag\+\_\+\+Accept acceptcb, void $\ast$acceptdata, Elm\+\_\+\+Drag\+\_\+\+State dragdone, void $\ast$donecbdata)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drag\+\_\+start (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{const char $\ast$}]{data, }
\item[{{\bf Elm\+\_\+\+Xdnd\+\_\+\+Action}}]{action, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Icon\+\_\+\+Create\+\_\+\+Cb}}]{createicon, }
\item[{void $\ast$}]{createdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Pos}}]{dragpos, }
\item[{void $\ast$}]{dragdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Accept}}]{acceptcb, }
\item[{void $\ast$}]{acceptdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{dragdone, }
\item[{void $\ast$}]{donecbdata}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}


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\+L\+L 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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Format format, Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb itemgetcb, Elm\+\_\+\+Drag\+\_\+\+State entercb, void $\ast$enterdata, Elm\+\_\+\+Drag\+\_\+\+State leavecb, void $\ast$leavedata, Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos poscb, void $\ast$posdata, Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb dropcb, void $\ast$dropdata)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{{\bf Elm\+\_\+\+Xy\+\_\+\+Item\+\_\+\+Get\+\_\+\+Cb}}]{itemgetcb, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{entercb, }
\item[{void $\ast$}]{enterdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{leavecb, }
\item[{void $\ast$}]{leavedata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Item\+\_\+\+Container\+\_\+\+Pos}}]{poscb, }
\item[{void $\ast$}]{posdata, }
\item[{{\bf Elm\+\_\+\+Drop\+\_\+\+Item\+\_\+\+Container\+\_\+\+Cb}}]{dropcb, }
\item[{void $\ast$}]{dropdata}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+drop\+\_\+target\+\_\+add().

\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[{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del(\+Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+del (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}


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\+U\+E, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{elm\+\_\+drop\+\_\+target\+\_\+add(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Format format, Elm\+\_\+\+Drag\+\_\+\+State entercb, void $\ast$enterdata, Elm\+\_\+\+Drag\+\_\+\+State leavecb, void $\ast$leavedata, Elm\+\_\+\+Drag\+\_\+\+Pos poscb, void $\ast$posdata, Elm\+\_\+\+Drop\+\_\+\+Cb dropcb, void $\ast$dropdata)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drop\+\_\+target\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{entercb, }
\item[{void $\ast$}]{enterdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{leavecb, }
\item[{void $\ast$}]{leavedata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Pos}}]{poscb, }
\item[{void $\ast$}]{posdata, }
\item[{{\bf Elm\+\_\+\+Drop\+\_\+\+Cb}}]{dropcb, }
\item[{void $\ast$}]{dropdata}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
Set the given object as a target for drops for drag-\/and-\/drop. 

Referenced by elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add().

\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[{elm\+\_\+drop\+\_\+target\+\_\+del(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Format format, Elm\+\_\+\+Drag\+\_\+\+State entercb, void $\ast$enterdata, Elm\+\_\+\+Drag\+\_\+\+State leavecb, void $\ast$leavedata, Elm\+\_\+\+Drag\+\_\+\+Pos poscb, void $\ast$posdata, Elm\+\_\+\+Drop\+\_\+\+Cb dropcb, void $\ast$dropdata)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+drop\+\_\+target\+\_\+del (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Format}}]{format, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{entercb, }
\item[{void $\ast$}]{enterdata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+State}}]{leavecb, }
\item[{void $\ast$}]{leavedata, }
\item[{{\bf Elm\+\_\+\+Drag\+\_\+\+Pos}}]{poscb, }
\item[{void $\ast$}]{posdata, }
\item[{{\bf Elm\+\_\+\+Drop\+\_\+\+Cb}}]{dropcb, }
\item[{void $\ast$}]{dropdata}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}


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\+U\+E}, if successful, or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\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[{elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Sel\+\_\+\+Type selection)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Sel\+\_\+\+Type}}]{selection}
\end{DoxyParamCaption}
)}\label{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}


Clear the selection data of a widget. 

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

\begin{DoxySeeAlso}{See also}
also \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\+U\+E}, clearing data was successful. 
\end{DoxyReturn}


References E\+L\+M\+\_\+\+S\+E\+L\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+L\+I\+P\+B\+O\+A\+R\+D.

