\hypertarget{group__Ecore__Evas__Selection__Group}{}\doxysection{Ecore\+\_\+\+Evas methods to handle selection}
\label{group__Ecore__Evas__Selection__Group}\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}


These methods perform Copy\&Paste and Drag\&Drop operations.  


\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga428b1c6481e26d7b93a1bf464ca43ca2}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Changed\+\_\+\+Cb}}) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} selection)
\begin{DoxyCompactList}\small\item\em Callback called when the content of one of the selection buffers changes. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga135ca516962e28c3ba1624968fdd0338}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Finished\+\_\+\+Cb}}) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} accepted)
\begin{DoxyCompactList}\small\item\em This method is called when the mouse pointer enters or exits the specified window while performing a drag operation. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gae947ed01bbc1b675aa1ebccd9e56f836}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+State\+\_\+\+Changed\+\_\+\+Cb}}) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} inside)
\begin{DoxyCompactList}\small\item\em This method is called when the mouse pointer enters or exits the specified window while performing a drag operation. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga1fa7f975422ce47c86a3c5e01475acbe}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Motion\+\_\+\+Cb}}) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p)
\begin{DoxyCompactList}\small\item\em This method is called when the mouse pointer moves over the specified window while performing a drag operation. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga65137636d9d815bbb360ad2fde8537e8}{Ecore\+\_\+\+Evas\+\_\+\+Drop\+\_\+\+Cb}}) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p, const char $\ast$action)
\begin{DoxyCompactList}\small\item\em This method is called when the mouse pointer is released over the specified window while performing a drag operation (thus dropping the dragged content over the window). \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} \{ \newline
\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da378521e13d8cb5765dbae2241830a461}{ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+SELECTION\+\_\+\+BUFFER}} = 0
, \newline
\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da91b1a5141e90bf00224bb82d6bd814fb}{ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+COPY\+\_\+\+AND\+\_\+\+PASTE\+\_\+\+BUFFER}} = 1
, \newline
\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da1a3b715c7c700c913bbdde1f1cb01a31}{ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+DRAG\+\_\+\+AND\+\_\+\+DROP\+\_\+\+BUFFER}} = 2
, \newline
\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25dabe837ac9cf40e419fde18bc20c13470f}{ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+LAST}} = 3
 \}
\begin{DoxyCompactList}\small\item\em Data buffer to use in Copy\&Paste (and Drag\&Drop) operations. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga888df95bddf5213d363a12c1f2e859ac}{ecore\+\_\+evas\+\_\+callback\+\_\+selection\+\_\+changed\+\_\+set}} (Ecore\+\_\+\+Evas $\ast$ee, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga428b1c6481e26d7b93a1bf464ca43ca2}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Changed\+\_\+\+Cb}} cb)
\begin{DoxyCompactList}\small\item\em Sets a callback for Ecore\+\_\+\+Evas to be called when a selection buffer changes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gabcb1ea261ee97867d2a43aa390472f88}{ecore\+\_\+evas\+\_\+selection\+\_\+set}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} buffer, Eina\+\_\+\+Content $\ast$content)
\begin{DoxyCompactList}\small\item\em Sets the content of the specified selection buffer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga3a0bcb8ec80dafdadd0c825272c93aa5}{ecore\+\_\+evas\+\_\+selection\+\_\+exists}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} buffer)
\begin{DoxyCompactList}\small\item\em Checks if the specified selection buffer has content. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{structEina__Future}{Eina\+\_\+\+Future}} $\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga072530060d9b04952deb2b5b842f03f4}{ecore\+\_\+evas\+\_\+selection\+\_\+get}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} buffer, \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$acceptable\+\_\+types)
\begin{DoxyCompactList}\small\item\em Retrieves the content of the specified selection buffer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gab8490def3e8396b4c58a759db648f05e}{ecore\+\_\+evas\+\_\+drag\+\_\+start}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, Eina\+\_\+\+Content $\ast$content, Ecore\+\_\+\+Evas $\ast$drag\+\_\+rep, const char $\ast$action, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga135ca516962e28c3ba1624968fdd0338}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Finished\+\_\+\+Cb}} terminate\+\_\+cb, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Starts a new drag operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga8eb1485199cbf94a41853ab66ad859f1}{ecore\+\_\+evas\+\_\+drag\+\_\+cancel}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat)
\begin{DoxyCompactList}\small\item\em Cancels an ongoing drag operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga40657d67fe14830cb05cf096ba5767f7}{ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+state\+\_\+changed\+\_\+set}} (Ecore\+\_\+\+Evas $\ast$ee, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gae947ed01bbc1b675aa1ebccd9e56f836}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+State\+\_\+\+Changed\+\_\+\+Cb}} cb)
\begin{DoxyCompactList}\small\item\em Sets the method (callback) to call when the mouse pointer enters or exits the specified window while performing a drag operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga0745669f0c3db9daf9ef31a4cea24478}{ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+motion\+\_\+set}} (Ecore\+\_\+\+Evas $\ast$ee, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga1fa7f975422ce47c86a3c5e01475acbe}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Motion\+\_\+\+Cb}} cb)
\begin{DoxyCompactList}\small\item\em Sets the method (callback) to call when the mouse pointer moves over the specified window while performing a drag operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga293e3bb7501cfacb16fbbf6b4e507066}{ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+drop\+\_\+set}} (Ecore\+\_\+\+Evas $\ast$ee, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga65137636d9d815bbb360ad2fde8537e8}{Ecore\+\_\+\+Evas\+\_\+\+Drop\+\_\+\+Cb}} cb)
\begin{DoxyCompactList}\small\item\em Sets the method (callback) to call when the mouse pointer is released over the specified window while performing a drag operation (thus dropping the dragged content over the window). \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gac4ba39c4c4ec9f59d46d579d3eab0370}{ecore\+\_\+evas\+\_\+drop\+\_\+available\+\_\+types\+\_\+get}} (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat)
\begin{DoxyCompactList}\small\item\em Retrieves the list of types the data currently being dragged can be automatically converted to. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These methods perform Copy\&Paste and Drag\&Drop operations. 

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga428b1c6481e26d7b93a1bf464ca43ca2}\label{group__Ecore__Evas__Selection__Group_ga428b1c6481e26d7b93a1bf464ca43ca2}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Selection\_Changed\_Cb@{Ecore\_Evas\_Selection\_Changed\_Cb}}
\index{Ecore\_Evas\_Selection\_Changed\_Cb@{Ecore\_Evas\_Selection\_Changed\_Cb}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Selection\_Changed\_Cb}{Ecore\_Evas\_Selection\_Changed\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Changed\+\_\+\+Cb) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}} selection)}



Callback called when the content of one of the selection buffers changes. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore\+\_\+\+Evas that handles this selection. \\
\hline
\mbox{\texttt{ in}}  & {\em selection} & The selection buffer that has changed.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga135ca516962e28c3ba1624968fdd0338}\label{group__Ecore__Evas__Selection__Group_ga135ca516962e28c3ba1624968fdd0338}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Drag\_Finished\_Cb@{Ecore\_Evas\_Drag\_Finished\_Cb}}
\index{Ecore\_Evas\_Drag\_Finished\_Cb@{Ecore\_Evas\_Drag\_Finished\_Cb}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Drag\_Finished\_Cb}{Ecore\_Evas\_Drag\_Finished\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Finished\+\_\+\+Cb) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} accepted)}



This method is called when the mouse pointer enters or exits the specified window while performing a drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em p} & Position (in window coordinates) where the event occurred. \\
\hline
\mbox{\texttt{ in}}  & {\em inside} & {\ttfamily EINA\+\_\+\+TRUE} if the pointer just entered this window. {\ttfamily EINA\+\_\+\+FALSE} if it has just exited.\\
\hline
\end{DoxyParams}
Set this callback using ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+state\+\_\+changed\+\_\+set.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gae947ed01bbc1b675aa1ebccd9e56f836}\label{group__Ecore__Evas__Selection__Group_gae947ed01bbc1b675aa1ebccd9e56f836}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Drag\_State\_Changed\_Cb@{Ecore\_Evas\_Drag\_State\_Changed\_Cb}}
\index{Ecore\_Evas\_Drag\_State\_Changed\_Cb@{Ecore\_Evas\_Drag\_State\_Changed\_Cb}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Drag\_State\_Changed\_Cb}{Ecore\_Evas\_Drag\_State\_Changed\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+State\+\_\+\+Changed\+\_\+\+Cb) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} inside)}



This method is called when the mouse pointer enters or exits the specified window while performing a drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em p} & Position (in window coordinates) where the event occurred. \\
\hline
\mbox{\texttt{ in}}  & {\em inside} & {\ttfamily EINA\+\_\+\+TRUE} if the pointer just entered this window. {\ttfamily EINA\+\_\+\+FALSE} if it has just exited.\\
\hline
\end{DoxyParams}
Set this callback using ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+state\+\_\+changed\+\_\+set.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga1fa7f975422ce47c86a3c5e01475acbe}\label{group__Ecore__Evas__Selection__Group_ga1fa7f975422ce47c86a3c5e01475acbe}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Drag\_Motion\_Cb@{Ecore\_Evas\_Drag\_Motion\_Cb}}
\index{Ecore\_Evas\_Drag\_Motion\_Cb@{Ecore\_Evas\_Drag\_Motion\_Cb}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Drag\_Motion\_Cb}{Ecore\_Evas\_Drag\_Motion\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Motion\+\_\+\+Cb) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p)}



This method is called when the mouse pointer moves over the specified window while performing a drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em p} & Position (in window coordinates) where the event occurred.\\
\hline
\end{DoxyParams}
Set this callback using ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+motion\+\_\+set.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga65137636d9d815bbb360ad2fde8537e8}\label{group__Ecore__Evas__Selection__Group_ga65137636d9d815bbb360ad2fde8537e8}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Drop\_Cb@{Ecore\_Evas\_Drop\_Cb}}
\index{Ecore\_Evas\_Drop\_Cb@{Ecore\_Evas\_Drop\_Cb}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Drop\_Cb}{Ecore\_Evas\_Drop\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ecore\+\_\+\+Evas\+\_\+\+Drop\+\_\+\+Cb) (Ecore\+\_\+\+Evas $\ast$ee, unsigned int seat, \mbox{\hyperlink{group__Eina__Rectangle__Group_gaf21d8be3d5f6bb99fcf87d8946871d9e}{Eina\+\_\+\+Position2D}} p, const char $\ast$action)}



This method is called when the mouse pointer is released over the specified window while performing a drag operation (thus dropping the dragged content over the window). 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em p} & Position (in window coordinates) where the event occurred.\\
\hline
\end{DoxyParams}
The dropped data can be retrieved using ecore\+\_\+evas\+\_\+selection\+\_\+get and the ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+DRAG\+\_\+\+AND\+\_\+\+DROP\+\_\+\+BUFFER buffer.

Set this callback using ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+drop\+\_\+set.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}\label{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!Ecore\_Evas\_Selection\_Buffer@{Ecore\_Evas\_Selection\_Buffer}}
\index{Ecore\_Evas\_Selection\_Buffer@{Ecore\_Evas\_Selection\_Buffer}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{Ecore\_Evas\_Selection\_Buffer}{Ecore\_Evas\_Selection\_Buffer}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}}}



Data buffer to use in Copy\&Paste (and Drag\&Drop) operations. 

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_EVAS\_SELECTION\_BUFFER\_SELECTION\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_SELECTION\_BUFFER}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ECORE\_EVAS\_SELECTION\_BUFFER\_SELECTION\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_SELECTION\_BUFFER}}}\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da378521e13d8cb5765dbae2241830a461}\label{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da378521e13d8cb5765dbae2241830a461}} 
ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+SELECTION\+\_\+\+BUFFER&Stores selected / highlighted selection. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_EVAS\_SELECTION\_BUFFER\_COPY\_AND\_PASTE\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_COPY\_AND\_PASTE\_BUFFER}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ECORE\_EVAS\_SELECTION\_BUFFER\_COPY\_AND\_PASTE\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_COPY\_AND\_PASTE\_BUFFER}}}\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da91b1a5141e90bf00224bb82d6bd814fb}\label{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da91b1a5141e90bf00224bb82d6bd814fb}} 
ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+COPY\+\_\+\+AND\+\_\+\+PASTE\+\_\+\+BUFFER&Stores copied things (Ctrl + C) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_EVAS\_SELECTION\_BUFFER\_DRAG\_AND\_DROP\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_DRAG\_AND\_DROP\_BUFFER}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ECORE\_EVAS\_SELECTION\_BUFFER\_DRAG\_AND\_DROP\_BUFFER@{ECORE\_EVAS\_SELECTION\_BUFFER\_DRAG\_AND\_DROP\_BUFFER}}}\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da1a3b715c7c700c913bbdde1f1cb01a31}\label{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25da1a3b715c7c700c913bbdde1f1cb01a31}} 
ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+DRAG\+\_\+\+AND\+\_\+\+DROP\+\_\+\+BUFFER&Stores dragged things while drag and drop is happening. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_EVAS\_SELECTION\_BUFFER\_LAST@{ECORE\_EVAS\_SELECTION\_BUFFER\_LAST}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ECORE\_EVAS\_SELECTION\_BUFFER\_LAST@{ECORE\_EVAS\_SELECTION\_BUFFER\_LAST}}}\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25dabe837ac9cf40e419fde18bc20c13470f}\label{group__Ecore__Evas__Selection__Group_gga745d39d5f23f5ac18c5ceb2981e9e25dabe837ac9cf40e419fde18bc20c13470f}} 
ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+LAST&Sentinel value. Do not use. \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga888df95bddf5213d363a12c1f2e859ac}\label{group__Ecore__Evas__Selection__Group_ga888df95bddf5213d363a12c1f2e859ac}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_callback\_selection\_changed\_set@{ecore\_evas\_callback\_selection\_changed\_set}}
\index{ecore\_evas\_callback\_selection\_changed\_set@{ecore\_evas\_callback\_selection\_changed\_set}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_callback\_selection\_changed\_set()}{ecore\_evas\_callback\_selection\_changed\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void ecore\+\_\+evas\+\_\+callback\+\_\+selection\+\_\+changed\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga428b1c6481e26d7b93a1bf464ca43ca2}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Changed\+\_\+\+Cb}}}]{cb }\end{DoxyParamCaption})}



Sets a callback for Ecore\+\_\+\+Evas to be called when a selection buffer changes. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore\+\_\+\+Evas to set the callback on. \\
\hline
\mbox{\texttt{ in}}  & {\em cb} & The function to call.\\
\hline
\end{DoxyParams}
A call to this function will set a callback on an Ecore\+\_\+\+Evas, causing {\ttfamily func} to be called whenever {\ttfamily ee} selections change. Only one such callback can exist for each Ecore\+\_\+\+Evas. Calling this method multiple times overwrites previous functions. Use a NULL {\ttfamily func} to stop being notified.

\begin{DoxyWarning}{Warning}
If and when this function is called depends on the underlying windowing system.
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gabcb1ea261ee97867d2a43aa390472f88}\label{group__Ecore__Evas__Selection__Group_gabcb1ea261ee97867d2a43aa390472f88}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_selection\_set@{ecore\_evas\_selection\_set}}
\index{ecore\_evas\_selection\_set@{ecore\_evas\_selection\_set}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_selection\_set()}{ecore\_evas\_selection\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+evas\+\_\+selection\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}}}]{buffer,  }\item[{Eina\+\_\+\+Content $\ast$}]{content }\end{DoxyParamCaption})}



Sets the content of the specified selection buffer. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore\+\_\+\+Evas to set the selection buffer on. \\
\hline
\mbox{\texttt{ in}}  & {\em buffer} & The selection buffer to set. \\
\hline
\mbox{\texttt{ in}}  & {\em content} & Content to set to the selection buffer. The Eina\+\_\+\+Content specifies the MIME type of the data. Ownership of the content is transferred.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Only ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+SELECTION\+\_\+\+BUFFER and ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+COPY\+\_\+\+AND\+\_\+\+PASTE\+\_\+\+BUFFER buffers can be set. Drag and drop operations use a different set of methods.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+DRAG\+\_\+\+AND\+\_\+\+DROP\+\_\+\+BUFFER, ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+LAST, EINA\+\_\+\+FALSE, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+TRUE, ERR, and INF.



Referenced by elm\+\_\+cnp\+\_\+selection\+\_\+set(), and elm\+\_\+object\+\_\+cnp\+\_\+selection\+\_\+clear().

\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga3a0bcb8ec80dafdadd0c825272c93aa5}\label{group__Ecore__Evas__Selection__Group_ga3a0bcb8ec80dafdadd0c825272c93aa5}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_selection\_exists@{ecore\_evas\_selection\_exists}}
\index{ecore\_evas\_selection\_exists@{ecore\_evas\_selection\_exists}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_selection\_exists()}{ecore\_evas\_selection\_exists()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+evas\+\_\+selection\+\_\+exists (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}}}]{buffer }\end{DoxyParamCaption})}



Checks if the specified selection buffer has content. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The ecore evas to query \\
\hline
\mbox{\texttt{ in}}  & {\em buffer} & Which selection buffer to ask\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE if there is an available selection for the specified buffer.
\end{DoxyReturn}
EINA\+\_\+\+TRUE is also returned when the selection is in the window associated with {\ttfamily ee} 

\begin{DoxyNote}{Note}
Due to the asynchronous nature of selection buffers, this method might not return the right result when invoked from the selection callback set with ecore\+\_\+evas\+\_\+callback\+\_\+selection\+\_\+changed\+\_\+set.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+LAST, EINA\+\_\+\+FALSE, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+TRUE, and INF.



Referenced by elm\+\_\+cnp\+\_\+clipboard\+\_\+selection\+\_\+has\+\_\+owner().

\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga072530060d9b04952deb2b5b842f03f4}\label{group__Ecore__Evas__Selection__Group_ga072530060d9b04952deb2b5b842f03f4}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_selection\_get@{ecore\_evas\_selection\_get}}
\index{ecore\_evas\_selection\_get@{ecore\_evas\_selection\_get}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_selection\_get()}{ecore\_evas\_selection\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{structEina__Future}{Eina\+\_\+\+Future}}$\ast$ ecore\+\_\+evas\+\_\+selection\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga745d39d5f23f5ac18c5ceb2981e9e25d}{Ecore\+\_\+\+Evas\+\_\+\+Selection\+\_\+\+Buffer}}}]{buffer,  }\item[{\mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$}]{acceptable\+\_\+types }\end{DoxyParamCaption})}



Retrieves the content of the specified selection buffer. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The ecore evas to query. \\
\hline
\mbox{\texttt{ in}}  & {\em buffer} & Selection buffer to retrieve. \\
\hline
\mbox{\texttt{ in}}  & {\em acceptable\+\_\+types} & MIME types which are acceptable for the returned Eina\+\_\+\+Content. The iterator contains plain strings (char $\ast$). Ownership is transferred for the iterator but not for the strings. This is convenient for the usual case of a hard-\/coded array of strings, since the iterator can be generated on the fly, used and forgotten.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An \mbox{\hyperlink{structEina__Future}{Eina\+\_\+\+Future}} containing an Eina\+\_\+\+Content which has one of the types in {\ttfamily acceptable\+\_\+type}. An error is delivered when no matching type is found or when the requested selection buffer is empty.
\end{DoxyReturn}
This method is time consuming, therefore, it is recommended to verify the existence of a selection using ecore\+\_\+evas\+\_\+selection\+\_\+exists before calling it.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+LAST, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and INF.



Referenced by elm\+\_\+cnp\+\_\+selection\+\_\+get().

\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gab8490def3e8396b4c58a759db648f05e}\label{group__Ecore__Evas__Selection__Group_gab8490def3e8396b4c58a759db648f05e}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_drag\_start@{ecore\_evas\_drag\_start}}
\index{ecore\_evas\_drag\_start@{ecore\_evas\_drag\_start}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_drag\_start()}{ecore\_evas\_drag\_start()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+evas\+\_\+drag\+\_\+start (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat,  }\item[{Eina\+\_\+\+Content $\ast$}]{content,  }\item[{Ecore\+\_\+\+Evas $\ast$}]{drag\+\_\+rep,  }\item[{const char $\ast$}]{action,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga135ca516962e28c3ba1624968fdd0338}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Finished\+\_\+\+Cb}}}]{terminate\+\_\+cb,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Starts a new drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em content} & The content to delivery at the drop site (ownership is transferred). The Eina\+\_\+\+Content has data and its associated MIME type, plus a list of alternate types that can be provided. \\
\hline
\mbox{\texttt{ in}}  & {\em drag\+\_\+rep} & An Ecore\+\_\+\+Evas used as a visual representation of the content being dragged. It must have the same type as {\ttfamily ee}. This is the transparent object dragged along the mouse pointer to indicate that a drag operation is in progress. {\ttfamily terminate\+\_\+cb} will be called when {\ttfamily drag\+\_\+rep} is not needed anymore and it must be disposed of. Use {\ttfamily data} to convey {\ttfamily drag\+\_\+rep} to {\ttfamily terminate\+\_\+cb}. For example, if {\ttfamily drag\+\_\+rep} is owned by an Efl\+\_\+\+Window, {\ttfamily data} can point to that window. \\
\hline
\mbox{\texttt{ in}}  & {\em action} & Action the target application should perform upon receiving this content. It is entirely up to the target application to honor (or even understand) this request. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the drag operation has been successfully started.
\end{DoxyReturn}
This method must be called when a drag operation is initiated in order to provide the necessary information.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References ECORE\+\_\+\+EVAS\+\_\+\+SELECTION\+\_\+\+BUFFER\+\_\+\+DRAG\+\_\+\+AND\+\_\+\+DROP\+\_\+\+BUFFER, EINA\+\_\+\+FALSE, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, EINA\+\_\+\+TRUE, and INF.

\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga8eb1485199cbf94a41853ab66ad859f1}\label{group__Ecore__Evas__Selection__Group_ga8eb1485199cbf94a41853ab66ad859f1}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_drag\_cancel@{ecore\_evas\_drag\_cancel}}
\index{ecore\_evas\_drag\_cancel@{ecore\_evas\_drag\_cancel}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_drag\_cancel()}{ecore\_evas\_drag\_cancel()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+evas\+\_\+drag\+\_\+cancel (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat }\end{DoxyParamCaption})}



Cancels an ongoing drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the drag operation has been successfully cancelled.
\end{DoxyReturn}
The initiator of a drag operation can call this method to abort it.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References EINA\+\_\+\+FALSE, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and INF.

\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga40657d67fe14830cb05cf096ba5767f7}\label{group__Ecore__Evas__Selection__Group_ga40657d67fe14830cb05cf096ba5767f7}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_callback\_drop\_state\_changed\_set@{ecore\_evas\_callback\_drop\_state\_changed\_set}}
\index{ecore\_evas\_callback\_drop\_state\_changed\_set@{ecore\_evas\_callback\_drop\_state\_changed\_set}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_callback\_drop\_state\_changed\_set()}{ecore\_evas\_callback\_drop\_state\_changed\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+state\+\_\+changed\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_gae947ed01bbc1b675aa1ebccd9e56f836}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+State\+\_\+\+Changed\+\_\+\+Cb}}}]{cb }\end{DoxyParamCaption})}



Sets the method (callback) to call when the mouse pointer enters or exits the specified window while performing a drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em cb} & Method to call when the events are received.\\
\hline
\end{DoxyParams}
Only one such callback can exist for each Ecore\+\_\+\+Evas. Calling this method multiple times overwrites previous functions. Use a NULL {\ttfamily cb} func to stop being notified.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga0745669f0c3db9daf9ef31a4cea24478}\label{group__Ecore__Evas__Selection__Group_ga0745669f0c3db9daf9ef31a4cea24478}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_callback\_drop\_motion\_set@{ecore\_evas\_callback\_drop\_motion\_set}}
\index{ecore\_evas\_callback\_drop\_motion\_set@{ecore\_evas\_callback\_drop\_motion\_set}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_callback\_drop\_motion\_set()}{ecore\_evas\_callback\_drop\_motion\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+motion\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga1fa7f975422ce47c86a3c5e01475acbe}{Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Motion\+\_\+\+Cb}}}]{cb }\end{DoxyParamCaption})}



Sets the method (callback) to call when the mouse pointer moves over the specified window while performing a drag operation. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em cb} & Method to call when the events are received.\\
\hline
\end{DoxyParams}
Only one such callback can exist for each Ecore\+\_\+\+Evas. Calling this method multiple times overwrites previous functions. Use a NULL {\ttfamily cb} func to stop being notified.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_ga293e3bb7501cfacb16fbbf6b4e507066}\label{group__Ecore__Evas__Selection__Group_ga293e3bb7501cfacb16fbbf6b4e507066}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_callback\_drop\_drop\_set@{ecore\_evas\_callback\_drop\_drop\_set}}
\index{ecore\_evas\_callback\_drop\_drop\_set@{ecore\_evas\_callback\_drop\_drop\_set}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_callback\_drop\_drop\_set()}{ecore\_evas\_callback\_drop\_drop\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void ecore\+\_\+evas\+\_\+callback\+\_\+drop\+\_\+drop\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{\mbox{\hyperlink{group__Ecore__Evas__Selection__Group_ga65137636d9d815bbb360ad2fde8537e8}{Ecore\+\_\+\+Evas\+\_\+\+Drop\+\_\+\+Cb}}}]{cb }\end{DoxyParamCaption})}



Sets the method (callback) to call when the mouse pointer is released over the specified window while performing a drag operation (thus dropping the dragged content over the window). 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\mbox{\texttt{ in}}  & {\em cb} & Method to call when the events are received.\\
\hline
\end{DoxyParams}
Only one such callback can exist for each Ecore\+\_\+\+Evas. Calling this method multiple times overwrites previous functions. Use a NULL {\ttfamily cb} func to stop being notified.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Evas__Selection__Group_gac4ba39c4c4ec9f59d46d579d3eab0370}\label{group__Ecore__Evas__Selection__Group_gac4ba39c4c4ec9f59d46d579d3eab0370}} 
\index{Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}!ecore\_evas\_drop\_available\_types\_get@{ecore\_evas\_drop\_available\_types\_get}}
\index{ecore\_evas\_drop\_available\_types\_get@{ecore\_evas\_drop\_available\_types\_get}!Ecore\_Evas methods to handle selection@{Ecore\_Evas methods to handle selection}}
\doxysubsubsection{\texorpdfstring{ecore\_evas\_drop\_available\_types\_get()}{ecore\_evas\_drop\_available\_types\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}}$\ast$ ecore\+\_\+evas\+\_\+drop\+\_\+available\+\_\+types\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Evas $\ast$}]{ee,  }\item[{unsigned int}]{seat }\end{DoxyParamCaption})}



Retrieves the list of types the data currently being dragged can be automatically converted to. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ee} & The Ecore Evas the drag operation started on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
This can be used in any of the drag and drop callbacks (Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+State\+\_\+\+Changed\+\_\+\+Cb, Ecore\+\_\+\+Evas\+\_\+\+Drag\+\_\+\+Motion\+\_\+\+Cb and Ecore\+\_\+\+Evas\+\_\+\+Drop\+\_\+\+Cb) to check if the data being dragged is acceptable and give the user some early feedback before the data is actually dropped on the window.

This is functionally equivalent to calling ecore\+\_\+evas\+\_\+selection\+\_\+get and examining the available types in the returned Eina\+\_\+\+Content, but much faster since the actual data does not have to be asynchronously requested to the initiator application.

\begin{DoxySince}{Since}
1.\+24 
\end{DoxySince}


References eina\+\_\+array\+\_\+accessor\+\_\+new(), eina\+\_\+hash\+\_\+find(), and EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL.

