\doxysubsection{Plug}
\hypertarget{group__Elm__Plug__Group}{}\label{group__Elm__Plug__Group}\index{Plug@{Plug}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Efl\+\_\+\+Canvas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Plug__Group_ga6bc88ab8ae9963bc331736688a43cb98}{elm\+\_\+plug\+\_\+image\+\_\+object\+\_\+get}} (const Elm\+\_\+\+Plug \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get the basic Evas\+\_\+\+Image object from this object (widget). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Plug__Group_ga158f7d277840657d67a9ded81b718e2e}{elm\+\_\+plug\+\_\+connect}} (Elm\+\_\+\+Plug \texorpdfstring{$\ast$}{*}obj, const char \texorpdfstring{$\ast$}{*}svcname, int svcnum, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} svcsys)
\begin{DoxyCompactList}\small\item\em Connect a plug widget to service provided by socket image. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Plug__Group_ga6810f3a1a4fa6cf101ae25e8c86e4c61}{elm\+\_\+plug\+\_\+add}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}parent)
\begin{DoxyCompactList}\small\item\em Add a new plug image to the parent. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{plug_inheritance_tree}}
\end{DoxyImageNoCaption}


An object that allows one to show an image which other process created. It can be used anywhere like any other elementary widget.

This widget emits the following signals\+: \begin{DoxyItemize}
\item "{}clicked"{}\+: the user clicked the image (press/release). The {\ttfamily event} parameter of the callback will be {\ttfamily NULL}. \item "{}image,deleted"{}\+: the server side was deleted. The {\ttfamily event} parameter of the callback will be {\ttfamily NULL}. \item "{}image,resized"{}\+: the server side was resized. The {\ttfamily event} parameter of the callback will be {\ttfamily Evas\+\_\+\+Coord\+\_\+\+Size} (two integers).\end{DoxyItemize}
\begin{DoxyNote}{Note}
the event "{}image,resized"{} will be sent whenever the server resized its image and this {\bfseries{always}} happen on the first time. Then it can be used to track when the server-\/side image is fully known (client connected to server, retrieved its image buffer through shared memory and resized the evas object). 
\end{DoxyNote}


\doxysubsubsection{Function Documentation}
\Hypertarget{group__Elm__Plug__Group_ga6bc88ab8ae9963bc331736688a43cb98}\label{group__Elm__Plug__Group_ga6bc88ab8ae9963bc331736688a43cb98} 
\index{Plug@{Plug}!elm\_plug\_image\_object\_get@{elm\_plug\_image\_object\_get}}
\index{elm\_plug\_image\_object\_get@{elm\_plug\_image\_object\_get}!Plug@{Plug}}
\doxysubsubsubsection{\texorpdfstring{elm\_plug\_image\_object\_get()}{elm\_plug\_image\_object\_get()}}
{\footnotesize\ttfamily Efl\+\_\+\+Canvas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+plug\+\_\+image\+\_\+object\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Plug \texorpdfstring{$\ast$}{*}}]{obj }\end{DoxyParamCaption})}



Get the basic Evas\+\_\+\+Image object from this object (widget). 

This function allows one to get the underlying Evas object of type Image from this elementary widget. It can be useful to do things like get the pixel data, save the image to a file, etc.

\begin{DoxyNote}{Note}
Be careful to not manipulate it, as it is under control of elementary.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The inlined image object or {\ttfamily null}. 
\end{DoxyReturn}
\Hypertarget{group__Elm__Plug__Group_ga158f7d277840657d67a9ded81b718e2e}\label{group__Elm__Plug__Group_ga158f7d277840657d67a9ded81b718e2e} 
\index{Plug@{Plug}!elm\_plug\_connect@{elm\_plug\_connect}}
\index{elm\_plug\_connect@{elm\_plug\_connect}!Plug@{Plug}}
\doxysubsubsubsection{\texorpdfstring{elm\_plug\_connect()}{elm\_plug\_connect()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+plug\+\_\+connect (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Plug \texorpdfstring{$\ast$}{*}}]{obj,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{svcname,  }\item[{int}]{svcnum,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{svcsys }\end{DoxyParamCaption})}



Connect a plug widget to service provided by socket image. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em svcname} & The service name to connect to set up by the socket. \\
\hline
\mbox{\texttt{ in}}  & {\em svcnum} & The service number to connect to (set up by socket). \\
\hline
\mbox{\texttt{ in}}  & {\em svcsys} & Boolean to set if the service is a system one or not (set up by socket).\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} on success, {\ttfamily false} on error. 
\end{DoxyReturn}
\Hypertarget{group__Elm__Plug__Group_ga6810f3a1a4fa6cf101ae25e8c86e4c61}\label{group__Elm__Plug__Group_ga6810f3a1a4fa6cf101ae25e8c86e4c61} 
\index{Plug@{Plug}!elm\_plug\_add@{elm\_plug\_add}}
\index{elm\_plug\_add@{elm\_plug\_add}!Plug@{Plug}}
\doxysubsubsubsection{\texorpdfstring{elm\_plug\_add()}{elm\_plug\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+plug\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{parent }\end{DoxyParamCaption})}



Add a new plug image to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new plug image object or NULL if it cannot be created 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

