\hypertarget{group__Ecore__X__Init__Group}{}\section{X Library Init and Shutdown Functions}
\label{group__Ecore__X__Init__Group}\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}


Functions that start and shut down the Ecore X Library.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__X__Init__Group_ga92e834eefd48b55101fa30c7386a709e}{ecore\+\_\+x\+\_\+init}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Initialize the X display connection to the given display. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__X__Init__Group_gaebb628e400a8c90696b67935bef84873}{ecore\+\_\+x\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore X library. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__X__Init__Group_ga01158850d3f9632f4bc6c79fb194e09b}{ecore\+\_\+x\+\_\+disconnect}} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore X library. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that start and shut down the Ecore X Library. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__X__Init__Group_ga92e834eefd48b55101fa30c7386a709e}\label{group__Ecore__X__Init__Group_ga92e834eefd48b55101fa30c7386a709e}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+init@{ecore\+\_\+x\+\_\+init}}
\index{ecore\+\_\+x\+\_\+init@{ecore\+\_\+x\+\_\+init}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+init()}{ecore\_x\_init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+x\+\_\+init (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Initialize the X display connection to the given display. 


\begin{DoxyParams}{Parameters}
{\em name} & Display target name. If {\ttfamily N\+U\+LL}, the default display is assumed. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of times the library has been initialized without being shut down. 0 is returned if an error occurs. 
\end{DoxyReturn}


References ecore\+\_\+event\+\_\+shutdown(), ecore\+\_\+shutdown(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), and eina\+\_\+shutdown().



Referenced by elm\+\_\+quicklaunch\+\_\+fork().

\mbox{\Hypertarget{group__Ecore__X__Init__Group_gaebb628e400a8c90696b67935bef84873}\label{group__Ecore__X__Init__Group_gaebb628e400a8c90696b67935bef84873}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+shutdown@{ecore\+\_\+x\+\_\+shutdown}}
\index{ecore\+\_\+x\+\_\+shutdown@{ecore\+\_\+x\+\_\+shutdown}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+shutdown()}{ecore\_x\_shutdown()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+x\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore X library. 

In shutting down the library, the X display connection is terminated and any event handlers for it are removed.

\begin{DoxyReturn}{Returns}
The number of times the library has been initialized without being shut down. 0 is returned if an error occurs. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__X__Init__Group_ga01158850d3f9632f4bc6c79fb194e09b}\label{group__Ecore__X__Init__Group_ga01158850d3f9632f4bc6c79fb194e09b}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+disconnect@{ecore\+\_\+x\+\_\+disconnect}}
\index{ecore\+\_\+x\+\_\+disconnect@{ecore\+\_\+x\+\_\+disconnect}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+disconnect()}{ecore\_x\_disconnect()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+x\+\_\+disconnect (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore X library. 

As ecore\+\_\+x\+\_\+shutdown, except do not close Display, only connection. 