\hypertarget{group__CopyPaste}{}\doxysection{Copy\+Paste}
\label{group__CopyPaste}\index{CopyPaste@{CopyPaste}}


Copy and paste feature implementations.  


\doxysubsection*{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 PRIMARY and CLIPBOARD selections. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Drag__User__Info}{\+\_\+\+Elm\+\_\+\+Drag\+\_\+\+User\+\_\+\+Info}}
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\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_ga186e453d363fae18c1c8ac70ffe45b06}{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 PRIMARY and CLIPBOARD 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_gac768ece3880847cf1c19a9df46736c90}{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_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 \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$($\ast$ \mbox{\hyperlink{group__CopyPaste_ga9a3c07ac7f64b4d58f1cab2269f18d2f}{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_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$ \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_ga105f8b20bd390532d9f13595fbab6f7a}{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}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}} \{ \newline
\mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}{ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+PRIMARY}} = 0
, \newline
\mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a9aeeac4fde0e0fd1c888b0a2d53e3e53}{ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+SECONDARY}}
, \newline
\mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946abfceb433ba8c806beed01aae29abeee3}{ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+XDND}}
, \newline
\mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946ad84db78a515199cf4bd0d325f08c3842}{ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+CLIPBOARD}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the types of selection property names. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}} \{ \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a6846735767a36a423c36de944acef09d}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+TARGETS}} = -\/1
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ad201ee57a3b3ed334ebb0396887dc67d}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+NONE}} = 0
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+TEXT}} = 1
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3e2a474c22527d9237789dcb64e3b802}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+MARKUP}} = 2
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+IMAGE}} = 4
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a8ff4bae6a6cace955b84c41b363d6309}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+VCARD}} = 8
, \newline
\mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3a383dba54ef3b183f51b7482bbf7b7e}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+HTML}} = 16
 \}
\begin{DoxyCompactList}\small\item\em Defines the types of content. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} \{ \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa5ecba192567bc69e88245f83b995e3ad}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+UNKNOWN}} = 0
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa09776d4f14d18828a38fc403a945d13b}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+COPY}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aae13f4678e3b246972d4049b7fe4d9a2f}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+MOVE}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa4c66027388caa67082db87906f4a8876}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+PRIVATE}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa41e3fb4381395a45478a6744cefd7c4e}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+ASK}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa357bec5ae42d482da884fe391939ee9c}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+LIST}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa1b53a8fcb7164b5ac1ff3485cbf133e5}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+LINK}}
, \newline
\mbox{\hyperlink{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa42a3802fa11c0959b7a5c7c803dcb620}{ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+DESCRIPTION}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the kind of action associated with the drop data if for XDND. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{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_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection, \mbox{\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 
\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_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}} selection, \mbox{\hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{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_gac38d40972bbc6b184bc1126313b49946}{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_gac38d40972bbc6b184bc1126313b49946}{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_ga8ef03135fd5621daaa92639567184016}{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_ga8ef03135fd5621daaa92639567184016}{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_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, const char $\ast$data, \mbox{\hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action}} action, \mbox{\hyperlink{group__CopyPaste_ga9a3c07ac7f64b4d58f1cab2269f18d2f}{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_ga105f8b20bd390532d9f13595fbab6f7a}{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_gac768ece3880847cf1c19a9df46736c90}{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_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}} format, \mbox{\hyperlink{group__CopyPaste_gac768ece3880847cf1c19a9df46736c90}{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}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}{ELM\+\_\+\+CNP\+\_\+\+EVENT\+\_\+\+SELECTION\+\_\+\+CHANGED}}
\begin{DoxyCompactList}\small\item\em Event notifying that the selection has changed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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}{\texttt{ http\+://www.\+jwz.\+org/doc/x-\/cut-\/and-\/paste.\+html}}
\item X11\+R6 Inter-\/\+Client Communication Conventions Manual, section 2
\end{DoxyItemize}

TODO\+: add for other window system. 

\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga186e453d363fae18c1c8ac70ffe45b06}\label{group__CopyPaste_ga186e453d363fae18c1c8ac70ffe45b06}} 
\index{CopyPaste@{CopyPaste}!Elm\_Cnp\_Event\_Selection\_Changed@{Elm\_Cnp\_Event\_Selection\_Changed}}
\index{Elm\_Cnp\_Event\_Selection\_Changed@{Elm\_Cnp\_Event\_Selection\_Changed}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 PRIMARY and CLIPBOARD selections. 

\begin{DoxySince}{Since}
1.\+20 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}\label{group__CopyPaste_gaf5d8d457f395d487ac274409de21a0fc}} 
\index{CopyPaste@{CopyPaste}!Elm\_Drop\_Cb@{Elm\_Drop\_Cb}}
\index{Elm\_Drop\_Cb@{Elm\_Drop\_Cb}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 FIXME\+: this should probably be a smart callback \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__CopyPaste_gac768ece3880847cf1c19a9df46736c90}\label{group__CopyPaste_gac768ece3880847cf1c19a9df46736c90}} 
\index{CopyPaste@{CopyPaste}!Elm\_Xy\_Item\_Get\_Cb@{Elm\_Xy\_Item\_Get\_Cb}}
\index{Elm\_Xy\_Item\_Get\_Cb@{Elm\_Xy\_Item\_Get\_Cb}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 NULL if not found. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}\label{group__CopyPaste_ga19c49e67a78f27f94b420b7a45074519}} 
\index{CopyPaste@{CopyPaste}!Elm\_Selection\_Loss\_Cb@{Elm\_Selection\_Loss\_Cb}}
\index{Elm\_Selection\_Loss\_Cb@{Elm\_Selection\_Loss\_Cb}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac38d40972bbc6b184bc1126313b49946}{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_ga9a3c07ac7f64b4d58f1cab2269f18d2f}\label{group__CopyPaste_ga9a3c07ac7f64b4d58f1cab2269f18d2f}} 
\index{CopyPaste@{CopyPaste}!Elm\_Drag\_Icon\_Create\_Cb@{Elm\_Drag\_Icon\_Create\_Cb}}
\index{Elm\_Drag\_Icon\_Create\_Cb@{Elm\_Drag\_Icon\_Create\_Cb}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 NULL if not needed 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}\label{group__CopyPaste_ga053be01d911092a4e5f3a3b714084228}} 
\index{CopyPaste@{CopyPaste}!Elm\_Drag\_State@{Elm\_Drag\_State}}
\index{Elm\_Drag\_State@{Elm\_Drag\_State}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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{CopyPaste@{CopyPaste}!Elm\_Drag\_Done@{Elm\_Drag\_Done}}
\index{Elm\_Drag\_Done@{Elm\_Drag\_Done}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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} & TRUE if the dropped 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{CopyPaste@{CopyPaste}!Elm\_Drag\_Accept@{Elm\_Drag\_Accept}}
\index{Elm\_Drag\_Accept@{Elm\_Drag\_Accept}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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{CopyPaste@{CopyPaste}!Elm\_Drag\_Pos@{Elm\_Drag\_Pos}}
\index{Elm\_Drag\_Pos@{Elm\_Drag\_Pos}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga105f8b20bd390532d9f13595fbab6f7a}{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{CopyPaste@{CopyPaste}!Elm\_Drag\_Start@{Elm\_Drag\_Start}}
\index{Elm\_Drag\_Start@{Elm\_Drag\_Start}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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{CopyPaste@{CopyPaste}!Elm\_Drag\_Item\_Container\_Pos@{Elm\_Drag\_Item\_Container\_Pos}}
\index{Elm\_Drag\_Item\_Container\_Pos@{Elm\_Drag\_Item\_Container\_Pos}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga105f8b20bd390532d9f13595fbab6f7a}{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{CopyPaste@{CopyPaste}!Elm\_Drop\_Item\_Container\_Cb@{Elm\_Drop\_Item\_Container\_Cb}}
\index{Elm\_Drop\_Item\_Container\_Cb@{Elm\_Drop\_Item\_Container\_Cb}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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{CopyPaste@{CopyPaste}!Elm\_Drag\_User\_Info@{Elm\_Drag\_User\_Info}}
\index{Elm\_Drag\_User\_Info@{Elm\_Drag\_User\_Info}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 NULL, 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 NULL 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{CopyPaste@{CopyPaste}!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}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not. 
\end{DoxyReturn}


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}\label{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}} 
\index{CopyPaste@{CopyPaste}!Elm\_Sel\_Type@{Elm\_Sel\_Type}}
\index{Elm\_Sel\_Type@{Elm\_Sel\_Type}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\texorpdfstring{Elm\_Sel\_Type}{Elm\_Sel\_Type}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__CopyPaste_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}}}



Defines the types of selection property names. 

\begin{DoxySeeAlso}{See also}
\href{http://www.x.org/docs/X11/xlib.pdf}{\texttt{ http\+://www.\+x.\+org/docs/\+X11/xlib.\+pdf}} for more details. 
\end{DoxySeeAlso}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_TYPE\_PRIMARY@{ELM\_SEL\_TYPE\_PRIMARY}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_TYPE\_PRIMARY@{ELM\_SEL\_TYPE\_PRIMARY}}}\mbox{\Hypertarget{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}} 
ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+PRIMARY&Primary text selection (highlighted or selected text) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_TYPE\_SECONDARY@{ELM\_SEL\_TYPE\_SECONDARY}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_TYPE\_SECONDARY@{ELM\_SEL\_TYPE\_SECONDARY}}}\mbox{\Hypertarget{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a9aeeac4fde0e0fd1c888b0a2d53e3e53}\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a9aeeac4fde0e0fd1c888b0a2d53e3e53}} 
ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+SECONDARY&Used when primary selection is in use. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_TYPE\_XDND@{ELM\_SEL\_TYPE\_XDND}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_TYPE\_XDND@{ELM\_SEL\_TYPE\_XDND}}}\mbox{\Hypertarget{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946abfceb433ba8c806beed01aae29abeee3}\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946abfceb433ba8c806beed01aae29abeee3}} 
ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+XDND&Drag and Drop. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_TYPE\_CLIPBOARD@{ELM\_SEL\_TYPE\_CLIPBOARD}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_TYPE\_CLIPBOARD@{ELM\_SEL\_TYPE\_CLIPBOARD}}}\mbox{\Hypertarget{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946ad84db78a515199cf4bd0d325f08c3842}\label{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946ad84db78a515199cf4bd0d325f08c3842}} 
ELM\+\_\+\+SEL\+\_\+\+TYPE\+\_\+\+CLIPBOARD&Clipboard selection (ctrl+C) \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}\label{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}} 
\index{CopyPaste@{CopyPaste}!Elm\_Sel\_Format@{Elm\_Sel\_Format}}
\index{Elm\_Sel\_Format@{Elm\_Sel\_Format}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\texorpdfstring{Elm\_Sel\_Format}{Elm\_Sel\_Format}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}}}



Defines the types of content. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_TARGETS@{ELM\_SEL\_FORMAT\_TARGETS}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_TARGETS@{ELM\_SEL\_FORMAT\_TARGETS}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a6846735767a36a423c36de944acef09d}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a6846735767a36a423c36de944acef09d}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+TARGETS&For matching every possible atom. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_NONE@{ELM\_SEL\_FORMAT\_NONE}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_NONE@{ELM\_SEL\_FORMAT\_NONE}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ad201ee57a3b3ed334ebb0396887dc67d}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ad201ee57a3b3ed334ebb0396887dc67d}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+NONE&Content is from outside of Elementary. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_TEXT@{ELM\_SEL\_FORMAT\_TEXT}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_TEXT@{ELM\_SEL\_FORMAT\_TEXT}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+TEXT&Plain unformatted text\+: Used for things that don\textquotesingle{}t want rich markup. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_MARKUP@{ELM\_SEL\_FORMAT\_MARKUP}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_MARKUP@{ELM\_SEL\_FORMAT\_MARKUP}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3e2a474c22527d9237789dcb64e3b802}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3e2a474c22527d9237789dcb64e3b802}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+MARKUP&Edje textblock markup, including inline images. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_IMAGE@{ELM\_SEL\_FORMAT\_IMAGE}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_IMAGE@{ELM\_SEL\_FORMAT\_IMAGE}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+IMAGE&Images. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_VCARD@{ELM\_SEL\_FORMAT\_VCARD}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_VCARD@{ELM\_SEL\_FORMAT\_VCARD}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a8ff4bae6a6cace955b84c41b363d6309}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a8ff4bae6a6cace955b84c41b363d6309}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+VCARD&Vcards. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_SEL\_FORMAT\_HTML@{ELM\_SEL\_FORMAT\_HTML}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_SEL\_FORMAT\_HTML@{ELM\_SEL\_FORMAT\_HTML}}}\mbox{\Hypertarget{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3a383dba54ef3b183f51b7482bbf7b7e}\label{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a3a383dba54ef3b183f51b7482bbf7b7e}} 
ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+HTML&Raw HTML-\/like data (eg. webkit) \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}\label{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}} 
\index{CopyPaste@{CopyPaste}!Elm\_Xdnd\_Action@{Elm\_Xdnd\_Action}}
\index{Elm\_Xdnd\_Action@{Elm\_Xdnd\_Action}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\texorpdfstring{Elm\_Xdnd\_Action}{Elm\_Xdnd\_Action}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}}



Defines the kind of action associated with the drop data if for XDND. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_UNKNOWN@{ELM\_XDND\_ACTION\_UNKNOWN}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_UNKNOWN@{ELM\_XDND\_ACTION\_UNKNOWN}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa5ecba192567bc69e88245f83b995e3ad}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa5ecba192567bc69e88245f83b995e3ad}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+UNKNOWN&Action type is unknown. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_COPY@{ELM\_XDND\_ACTION\_COPY}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_COPY@{ELM\_XDND\_ACTION\_COPY}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa09776d4f14d18828a38fc403a945d13b}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa09776d4f14d18828a38fc403a945d13b}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+COPY&Copy the data. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_MOVE@{ELM\_XDND\_ACTION\_MOVE}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_MOVE@{ELM\_XDND\_ACTION\_MOVE}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aae13f4678e3b246972d4049b7fe4d9a2f}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aae13f4678e3b246972d4049b7fe4d9a2f}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+MOVE&Move the data. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_PRIVATE@{ELM\_XDND\_ACTION\_PRIVATE}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_PRIVATE@{ELM\_XDND\_ACTION\_PRIVATE}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa4c66027388caa67082db87906f4a8876}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa4c66027388caa67082db87906f4a8876}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+PRIVATE&Private action type. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_ASK@{ELM\_XDND\_ACTION\_ASK}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_ASK@{ELM\_XDND\_ACTION\_ASK}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa41e3fb4381395a45478a6744cefd7c4e}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa41e3fb4381395a45478a6744cefd7c4e}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+ASK&Ask the user what to do. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_LIST@{ELM\_XDND\_ACTION\_LIST}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_LIST@{ELM\_XDND\_ACTION\_LIST}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa357bec5ae42d482da884fe391939ee9c}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa357bec5ae42d482da884fe391939ee9c}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+LIST&List the data. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_LINK@{ELM\_XDND\_ACTION\_LINK}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_LINK@{ELM\_XDND\_ACTION\_LINK}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa1b53a8fcb7164b5ac1ff3485cbf133e5}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa1b53a8fcb7164b5ac1ff3485cbf133e5}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+LINK&Link the data. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_XDND\_ACTION\_DESCRIPTION@{ELM\_XDND\_ACTION\_DESCRIPTION}!CopyPaste@{CopyPaste}}\index{CopyPaste@{CopyPaste}!ELM\_XDND\_ACTION\_DESCRIPTION@{ELM\_XDND\_ACTION\_DESCRIPTION}}}\mbox{\Hypertarget{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa42a3802fa11c0959b7a5c7c803dcb620}\label{group__CopyPaste_gga105f8b20bd390532d9f13595fbab6f7aa42a3802fa11c0959b7a5c7c803dcb620}} 
ELM\+\_\+\+XDND\+\_\+\+ACTION\+\_\+\+DESCRIPTION&Describe the data. \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}\label{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}} 
\index{CopyPaste@{CopyPaste}!elm\_cnp\_selection\_set@{elm\_cnp\_selection\_set}}
\index{elm\_cnp\_selection\_set@{elm\_cnp\_selection\_set}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{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 EINA\+\_\+\+TRUE}, setting data was successful. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Ecore__Evas__Group_ga57e076087e153a7494000d2f84d2f58b}{ecore\+\_\+evas\+\_\+ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gabcb1ea261ee97867d2a43aa390472f88}{ecore\+\_\+evas\+\_\+selection\+\_\+set()}}, \mbox{\hyperlink{group__Eina__Array__Group_gafcc60b430bbc132114ef041e589d3ecf}{eina\+\_\+array\+\_\+count()}}, \mbox{\hyperlink{group__Eina__Array__Group_gae4a12746bff6643605953de2c47f2d02}{eina\+\_\+array\+\_\+data\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Array__Group_ga7fa7e2cdcfb739140d5c5a5044086ce1}{eina\+\_\+array\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__String__Group_ga6828f0ff26accbc42b5199d3467e238f}{eina\+\_\+memdup()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016a0bb46fe5eda9ca979eda20be6e897c10}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+IMAGE}}, \mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}{ELM\+\_\+\+SEL\+\_\+\+FORMAT\+\_\+\+TEXT}}, \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{struct__Eina__Slice_a814bda14dd4ee838595cdc596c37b56c}{\+\_\+\+Eina\+\_\+\+Slice\+::len}}, and \mbox{\hyperlink{struct__Eina__Slice_a181517cb6ab94d2b536f412dc74b39c1}{\+\_\+\+Eina\+\_\+\+Slice\+::mem}}.



Referenced by \mbox{\hyperlink{group__Managing_gaab8242e6c2aed7c9f7e353f8f79f520f}{elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+copy()}}, and \mbox{\hyperlink{group__Managing_gaef6264dd2a7b6816811b7791c2847646}{elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+cut()}}.

\mbox{\Hypertarget{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}\label{group__CopyPaste_ga21a9a2af690e6338221409960f47c690}} 
\index{CopyPaste@{CopyPaste}!elm\_cnp\_selection\_get@{elm\_cnp\_selection\_get}}
\index{elm\_cnp\_selection\_get@{elm\_cnp\_selection\_get}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac38d40972bbc6b184bc1126313b49946}{Elm\+\_\+\+Sel\+\_\+\+Type}}}]{selection,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga8ef03135fd5621daaa92639567184016}{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 NULL. 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 EINA\+\_\+\+TRUE}, getting selection data was successful. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Ecore__Evas__Group_ga57e076087e153a7494000d2f84d2f58b}{ecore\+\_\+evas\+\_\+ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gad4f9acecff08c3e972d83e3cff653447}{ecore\+\_\+evas\+\_\+selection\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Array__Group_ga1bcab88d8e913489a7ed28bb4cac6218}{eina\+\_\+array\+\_\+iterator\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}.



Referenced by \mbox{\hyperlink{group__Managing_ga4bea333d15fc0bd2d290da83cc86f934}{elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+paste()}}.

\mbox{\Hypertarget{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}\label{group__CopyPaste_gac3be43679b3cfff11c002cbaeeed7dbb}} 
\index{CopyPaste@{CopyPaste}!elm\_object\_cnp\_selection\_clear@{elm\_object\_cnp\_selection\_clear}}
\index{elm\_object\_cnp\_selection\_clear@{elm\_object\_cnp\_selection\_clear}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac38d40972bbc6b184bc1126313b49946}{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 EINA\+\_\+\+TRUE}, clearing data was successful. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Ecore__Evas__Group_ga57e076087e153a7494000d2f84d2f58b}{ecore\+\_\+evas\+\_\+ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gabcb1ea261ee97867d2a43aa390472f88}{ecore\+\_\+evas\+\_\+selection\+\_\+set()}}, and \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}.

\mbox{\Hypertarget{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}\label{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}} 
\index{CopyPaste@{CopyPaste}!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}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac38d40972bbc6b184bc1126313b49946}{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 NULL 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 NULL when called. If you wish to take the selection and then be notified of loss please do this (for example)\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__CopyPaste_ga25ab57b22dc92c654851848b205b219f}{elm\_cnp\_selection\_set}}(obj,\ \mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}{ELM\_SEL\_TYPE\_PRIMARY}},\ \mbox{\hyperlink{group__CopyPaste_gga8ef03135fd5621daaa92639567184016ab7f374618aa6a5b6104fef58cc592bfd}{ELM\_SEL\_FORMAT\_TEXT}},\ \textcolor{stringliteral}{"{}hello"{}},\ strlen(hello));}
\DoxyCodeLine{\mbox{\hyperlink{group__CopyPaste_ga758900b7b6b1d759ae893c32734d8d82}{elm\_cnp\_selection\_loss\_callback\_set}}(obj,\ \mbox{\hyperlink{group__CopyPaste_ggac38d40972bbc6b184bc1126313b49946a170944bcd4b6d4efeba94f2868a04926}{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}


Referenced by \mbox{\hyperlink{group__Managing_gaab8242e6c2aed7c9f7e353f8f79f520f}{elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+copy()}}, and \mbox{\hyperlink{group__Managing_gaef6264dd2a7b6816811b7791c2847646}{elm\+\_\+code\+\_\+widget\+\_\+selection\+\_\+cut()}}.

\mbox{\Hypertarget{group__CopyPaste_ga8aaf0135336bd1f321576f566df205ff}\label{group__CopyPaste_ga8aaf0135336bd1f321576f566df205ff}} 
\index{CopyPaste@{CopyPaste}!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}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE} if the clipboard has a selection
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+20 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Evas__Group_ga57e076087e153a7494000d2f84d2f58b}{ecore\+\_\+evas\+\_\+ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da91b1a5141e90bf00224bb82d6bd814fb}{ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+COPY\+\_\+\+AND\+\_\+\+PASTE\+\_\+\+BUFFER}}, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga3a0bcb8ec80dafdadd0c825272c93aa5}{ecore\+\_\+evas\+\_\+selection\+\_\+exists()}}, and \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}.

\mbox{\Hypertarget{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}\label{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}} 
\index{CopyPaste@{CopyPaste}!elm\_drop\_target\_add@{elm\_drop\_target\_add}}
\index{elm\_drop\_target\_add@{elm\_drop\_target\_add}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga8ef03135fd5621daaa92639567184016}{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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_gac38e4adc3089b2ee5356bdae0426db85}{eina\+\_\+hash\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Hash__Group_gaa1a3ef16d0247ba9a05648c16ccb3da6}{eina\+\_\+hash\+\_\+pointer\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}{elm\+\_\+drop\+\_\+item\+\_\+container\+\_\+add()}}.

\mbox{\Hypertarget{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}\label{group__CopyPaste_ga30590fdf042f05f48ff234c28ec1c125}} 
\index{CopyPaste@{CopyPaste}!elm\_drop\_target\_del@{elm\_drop\_target\_del}}
\index{elm\_drop\_target\_del@{elm\_drop\_target\_del}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga8ef03135fd5621daaa92639567184016}{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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Array__Group_ga7fa7e2cdcfb739140d5c5a5044086ce1}{eina\+\_\+array\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga6e9dc02a249e1fcdb64e38e7dc47afb3}{eina\+\_\+hash\+\_\+find()}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga5ff50760c480ab612433022352648a8f}{eina\+\_\+hash\+\_\+list\+\_\+remove()}}, \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\+\_\+\+LIST\+\_\+\+FOREACH}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}\label{group__CopyPaste_gafbba28b98c9cedca35b0c6da403321aa}} 
\index{CopyPaste@{CopyPaste}!elm\_drag\_start@{elm\_drag\_start}}
\index{elm\_drag\_start@{elm\_drag\_start}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{const char $\ast$}]{data,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga105f8b20bd390532d9f13595fbab6f7a}{Elm\+\_\+\+Xdnd\+\_\+\+Action}}}]{action,  }\item[{\mbox{\hyperlink{group__CopyPaste_ga9a3c07ac7f64b4d58f1cab2269f18d2f}{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 NULL 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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Array__Group_gafcc60b430bbc132114ef041e589d3ecf}{eina\+\_\+array\+\_\+count()}}, \mbox{\hyperlink{group__Eina__Array__Group_gae4a12746bff6643605953de2c47f2d02}{eina\+\_\+array\+\_\+data\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Array__Group_ga7fa7e2cdcfb739140d5c5a5044086ce1}{eina\+\_\+array\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Rectangle__Group_ga0cab4e55c4133b7d476af1de66545617}{EINA\+\_\+\+SIZE2D}}, \mbox{\hyperlink{group__Eina__Slice__Group_ga5a3195649b6959f64f27eae978862162}{EINA\+\_\+\+SLICE\+\_\+\+STR\+\_\+\+FULL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga6e8e78e110392480dd612df86a16b630}{evas\+\_\+object\+\_\+geometry\+\_\+get()}}, and \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\+\_\+object\+\_\+show()}}.

\mbox{\Hypertarget{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}\label{group__CopyPaste_gab648bef710682a5254aa3adfca0bccbb}} 
\index{CopyPaste@{CopyPaste}!elm\_drag\_cancel@{elm\_drag\_cancel}}
\index{elm\_drag\_cancel@{elm\_drag\_cancel}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}\label{group__CopyPaste_ga608d1815727b40fb1ecf7e66d33c9003}} 
\index{CopyPaste@{CopyPaste}!elm\_drag\_action\_set@{elm\_drag\_action\_set}}
\index{elm\_drag\_action\_set@{elm\_drag\_action\_set}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga105f8b20bd390532d9f13595fbab6f7a}{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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}\label{group__CopyPaste_ga0ab7b2197c6c0f7c0806ef9842e25995}} 
\index{CopyPaste@{CopyPaste}!elm\_drag\_item\_container\_add@{elm\_drag\_item\_container\_add}}
\index{elm\_drag\_item\_container\_add@{elm\_drag\_item\_container\_add}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_gac768ece3880847cf1c19a9df46736c90}{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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__List__Group_ga5e876264e6b2de0485c4a701f447db80}{eina\+\_\+list\+\_\+search\+\_\+unsorted()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a9fa52651ccf7e47cd3b7785fc4cf393f}{EVAS\+\_\+\+CALLBACK\+\_\+\+MOUSE\+\_\+\+DOWN}}, and \mbox{\hyperlink{group__Evas__Object__Group__Events_gac71a1038dad71da36f57b70c8ad10252}{evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add()}}.

\mbox{\Hypertarget{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}\label{group__CopyPaste_ga8b1a87df43f2d5ed020e128604147464}} 
\index{CopyPaste@{CopyPaste}!elm\_drag\_item\_container\_del@{elm\_drag\_item\_container\_del}}
\index{elm\_drag\_item\_container\_del@{elm\_drag\_item\_container\_del}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}\label{group__CopyPaste_ga250bae4f6f8e9195cefae317b180bd43}} 
\index{CopyPaste@{CopyPaste}!elm\_drop\_item\_container\_add@{elm\_drop\_item\_container\_add}}
\index{elm\_drop\_item\_container\_add@{elm\_drop\_item\_container\_add}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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_ga8ef03135fd5621daaa92639567184016}{Elm\+\_\+\+Sel\+\_\+\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group__CopyPaste_gac768ece3880847cf1c19a9df46736c90}{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 EINA\+\_\+\+TRUE}, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__List__Group_ga5e876264e6b2de0485c4a701f447db80}{eina\+\_\+list\+\_\+search\+\_\+unsorted()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__CopyPaste_ga8bb9ab62fff2db50b2983431b151d382}{elm\+\_\+drop\+\_\+target\+\_\+add()}}.

\mbox{\Hypertarget{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}\label{group__CopyPaste_ga8f67a3356c8a2dffd56a5336de5d4a93}} 
\index{CopyPaste@{CopyPaste}!elm\_drop\_item\_container\_del@{elm\_drop\_item\_container\_del}}
\index{elm\_drop\_item\_container\_del@{elm\_drop\_item\_container\_del}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE, if successful, or {\ttfamily EINA\+\_\+\+FALSE} if not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}\label{group__CopyPaste_ga04d572e7a72daa2c4b4745e04bca7915}} 
\index{CopyPaste@{CopyPaste}!ELM\_CNP\_EVENT\_SELECTION\_CHANGED@{ELM\_CNP\_EVENT\_SELECTION\_CHANGED}}
\index{ELM\_CNP\_EVENT\_SELECTION\_CHANGED@{ELM\_CNP\_EVENT\_SELECTION\_CHANGED}!CopyPaste@{CopyPaste}}
\doxysubsubsection{\texorpdfstring{ELM\_CNP\_EVENT\_SELECTION\_CHANGED}{ELM\_CNP\_EVENT\_SELECTION\_CHANGED}}
{\footnotesize\ttfamily int ELM\+\_\+\+CNP\+\_\+\+EVENT\+\_\+\+SELECTION\+\_\+\+CHANGED\hspace{0.3cm}{\ttfamily [extern]}}



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}


Referenced by \mbox{\hyperlink{group__Elm__General_ga0c2e80e13f4855004f7ccb61e891aef0}{elm\+\_\+init()}}.

