\hypertarget{group__Elm__Plug__Group}{}\doxysection{Plug}
\label{group__Elm__Plug__Group}\index{Plug@{Plug}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Plug__Group_ga6bc88ab8ae9963bc331736688a43cb98}{elm\+\_\+plug\+\_\+image\+\_\+object\+\_\+get}} (const Elm\+\_\+\+Plug $\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 $\ast$obj, const char $\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 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Plug__Group_ga6810f3a1a4fa6cf101ae25e8c86e4c61}{elm\+\_\+plug\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new plug image to the parent. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 \char`\"{}clicked\char`\"{}\+: the user clicked the image (press/release). The {\ttfamily event} parameter of the callback will be {\ttfamily NULL}. \item \char`\"{}image,deleted\char`\"{}\+: the server side was deleted. The {\ttfamily event} parameter of the callback will be {\ttfamily NULL}. \item \char`\"{}image,resized\char`\"{}\+: 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 \char`\"{}image,resized\char`\"{} 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}


\doxysubsection{Function Documentation}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_plug\_image\_object\_get()}{elm\_plug\_image\_object\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ elm\+\_\+plug\+\_\+image\+\_\+object\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Plug $\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}
\mbox{\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}}
\doxysubsubsection{\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 $\ast$}]{obj,  }\item[{const char $\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}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_plug\_add()}{elm\_plug\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+plug\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}}.

