\hypertarget{group__Ecore__Wl__Dnd__Group}{}\section{Functions dealing with Wayland Drag-\/n-\/\+Drop}
\label{group__Ecore__Wl__Dnd__Group}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}


Functions to interface with Wayland Drag-\/n-\/\+Drop.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Wl__Dnd__Group_ga88a0228b7d1399f7f6879ec45699db25}{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input, const char $\ast$$\ast$types\+\_\+offered)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Wl__Dnd__Group_ga93d0b5c2294a688a6d3658bee4590d54}{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input, const char $\ast$type)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Wl__Dnd__Group_gac8226a1b7d55903cb7a84007ffa5a65d}{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Wl__Dnd__Group_ga7333b3ea01a8d4b3b1ce72e7cb63ca8e}{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Wl__Dnd__Group_ga73e7142d2d68d8a1a6c11bf474f03c00}{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input, \hyperlink{Ecore__Wayland_8h_a77854d0e7336ac1b6b01bcfe279d5bfd}{Ecore\+\_\+\+Wl\+\_\+\+Window} $\ast$win, \hyperlink{Ecore__Wayland_8h_a77854d0e7336ac1b6b01bcfe279d5bfd}{Ecore\+\_\+\+Wl\+\_\+\+Window} $\ast$dragwin, int x, int y, int w, int h)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Wl__Dnd__Group_gab78828c16c885be5d416bc1dabd4133c}{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Wl__Dnd__Group_ga6516b64c65bdad5937b9aa13511d8b32}{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input, const char $\ast$type)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Wl__Dnd__Group_gaaa7cc1a6f3ab6836bd11044f6cb4b404}{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input, const char $\ast$$\ast$types\+\_\+offered)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} struct wl\+\_\+array $\ast$ \hyperlink{group__Ecore__Wl__Dnd__Group_gae90fc97ed9680fa32f767210343f2607}{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get} (Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$input)
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Wl__Dnd__Group_ga396b63cdc7cbbb4a4b2e25b82ebdb6ac}{ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} on)
\begin{DoxyCompactList}\small\item\em Enable/disable server mode. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions to interface with Wayland Drag-\/n-\/\+Drop. 



\subsection{Function Documentation}
\hypertarget{group__Ecore__Wl__Dnd__Group_ga88a0228b7d1399f7f6879ec45699db25}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input, }
\item[{const char $\ast$$\ast$}]{types\+\_\+offered}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga88a0228b7d1399f7f6879ec45699db25}
\begin{DoxyReturn}{Returns}
false on error, true otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.



Referenced by ecore\+\_\+wl\+\_\+dnd\+\_\+set\+\_\+selection().

\hypertarget{group__Ecore__Wl__Dnd__Group_ga93d0b5c2294a688a6d3658bee4590d54}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input, }
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga93d0b5c2294a688a6d3658bee4590d54}
\begin{DoxyReturn}{Returns}
false if type not found or on error, true otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.



Referenced by ecore\+\_\+wl\+\_\+dnd\+\_\+get\+\_\+selection().

\hypertarget{group__Ecore__Wl__Dnd__Group_gac8226a1b7d55903cb7a84007ffa5a65d}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+owner\+\_\+has (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_gac8226a1b7d55903cb7a84007ffa5a65d}
\begin{DoxyReturn}{Returns}
true if input has a selection source, false otherwise or on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.



Referenced by ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+has\+\_\+owner().

\hypertarget{group__Ecore__Wl__Dnd__Group_ga7333b3ea01a8d4b3b1ce72e7cb63ca8e}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear@{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+wl\+\_\+dnd\+\_\+selection\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga7333b3ea01a8d4b3b1ce72e7cb63ca8e}
\begin{DoxyReturn}{Returns}
false on error, true otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Ecore__Wl__Dnd__Group_ga73e7142d2d68d8a1a6c11bf474f03c00}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+start (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input, }
\item[{{\bf Ecore\+\_\+\+Wl\+\_\+\+Window} $\ast$}]{win, }
\item[{{\bf Ecore\+\_\+\+Wl\+\_\+\+Window} $\ast$}]{dragwin, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{w, }
\item[{int}]{h}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga73e7142d2d68d8a1a6c11bf474f03c00}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Ecore__Wl__Dnd__Group_gab78828c16c885be5d416bc1dabd4133c}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+end (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_gab78828c16c885be5d416bc1dabd4133c}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References ecore\+\_\+event\+\_\+add(), and E\+C\+O\+R\+E\+\_\+\+W\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+N\+D\+\_\+\+E\+N\+D.

\hypertarget{group__Ecore__Wl__Dnd__Group_ga6516b64c65bdad5937b9aa13511d8b32}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input, }
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga6516b64c65bdad5937b9aa13511d8b32}
\begin{DoxyReturn}{Returns}
false if type not found or on error, true otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Ecore__Wl__Dnd__Group_gaaa7cc1a6f3ab6836bd11044f6cb4b404}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input, }
\item[{const char $\ast$$\ast$}]{types\+\_\+offered}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_gaaa7cc1a6f3ab6836bd11044f6cb4b404}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Ecore__Wl__Dnd__Group_gae90fc97ed9680fa32f767210343f2607}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get@{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}struct wl\+\_\+array $\ast$ ecore\+\_\+wl\+\_\+dnd\+\_\+drag\+\_\+types\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Wl\+\_\+\+Input $\ast$}]{input}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_gae90fc97ed9680fa32f767210343f2607}
\begin{DoxyReturn}{Returns}
the data types being offered for drag-\/and-\/drop, or N\+U\+L\+L on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8

1.\+8 
\end{DoxySince}
\hypertarget{group__Ecore__Wl__Dnd__Group_ga396b63cdc7cbbb4a4b2e25b82ebdb6ac}{}\index{Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}!ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set@{ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set}}
\index{ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set@{ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set}!Functions dealing with Wayland Drag-\/n-\/\+Drop@{Functions dealing with Wayland Drag-\/n-\/\+Drop}}
\subsubsection[{ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+wl\+\_\+server\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{on}
\end{DoxyParamCaption}
)}\label{group__Ecore__Wl__Dnd__Group_ga396b63cdc7cbbb4a4b2e25b82ebdb6ac}


Enable/disable server mode. 

\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
With this enabled, the compositor acts as a Wayland server, iterating the display and dispatching events. With it disabled, the process is handled as a client. 