\hypertarget{group__Edje__Object__File}{}\section{Edje Object File}
\label{group__Edje__Object__File}\index{Edje Object File@{Edje Object File}}


Functions to deals with E\+DJ files.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Edje__Object__File_gaa305461761c074079d3e8a5a1b71f71f}{edje\+\_\+mmap\+\_\+collection\+\_\+list}} (\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$f)
\begin{DoxyCompactList}\small\item\em Gets a list of groups in an edje mapped file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__File_ga487b2bef0c47c30cd143b84a6d7c9167}{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$lst)
\begin{DoxyCompactList}\small\item\em Frees file collection list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__File_ga8d44d75ddf833e86e2dc54d81e17e9d5}{edje\+\_\+mmap\+\_\+group\+\_\+exists}} (\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$f, const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Determines whether a group matching glob exists in an edje mapped file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__File_ga1e03c788f92a870f58ffd5cf8bba1ee0}{edje\+\_\+mmap\+\_\+3d\+\_\+has}} (\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$f, const char $\ast$group)
\begin{DoxyCompactList}\small\item\em Determines whether a group have 3D Scene. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ \mbox{\hyperlink{group__Edje__Object__File_ga12c147c724ad4f56058d7d432e706d0e}{edje\+\_\+file\+\_\+iterator\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Iterates over all the opened Edje file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Edje__Object__File_gaee33f65946d7ee62af5211ab9ab8faa9}{edje\+\_\+file\+\_\+collection\+\_\+list}} (const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Gets a list of groups in an edje file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__File_ga4301434642378c3a733e39836446ae4f}{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$lst)
\begin{DoxyCompactList}\small\item\em Frees file collection list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__File_ga068228de33199dd1dd15495e38368309}{edje\+\_\+file\+\_\+group\+\_\+exists}} (const char $\ast$file, const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Determines whether a group matching glob exists in an edje file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions to deals with E\+DJ files. 

Layouts in Edje are usually called themes and they are created using the E\+DC language. The E\+DC language is declarative and must be compiled before being used. The output of this compilation is an E\+DJ file, this file can be loaded by Edje, and the result is a edje object.

This groups of functions interact with these E\+DJ files, either by loading them or retrieving information of the E\+DC file about objects. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Edje__Object__File_gaa305461761c074079d3e8a5a1b71f71f}\label{group__Edje__Object__File_gaa305461761c074079d3e8a5a1b71f71f}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+mmap\+\_\+collection\+\_\+list@{edje\+\_\+mmap\+\_\+collection\+\_\+list}}
\index{edje\+\_\+mmap\+\_\+collection\+\_\+list@{edje\+\_\+mmap\+\_\+collection\+\_\+list}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+mmap\+\_\+collection\+\_\+list()}{edje\_mmap\_collection\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ edje\+\_\+mmap\+\_\+collection\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f }\end{DoxyParamCaption})}



Gets a list of groups in an edje mapped file. 


\begin{DoxyParams}{Parameters}
{\em f} & The mapped file\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eina\+\_\+\+List of group names (char $\ast$)
\end{DoxyReturn}
Note\+: the list must be freed using \mbox{\hyperlink{group__Edje__Object__File_ga487b2bef0c47c30cd143b84a6d7c9167}{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free()}} when you are done with it. 

References eina\+\_\+hash\+\_\+iterator\+\_\+key\+\_\+new(), E\+I\+N\+A\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().



Referenced by edje\+\_\+file\+\_\+collection\+\_\+list().

\mbox{\Hypertarget{group__Edje__Object__File_ga487b2bef0c47c30cd143b84a6d7c9167}\label{group__Edje__Object__File_ga487b2bef0c47c30cd143b84a6d7c9167}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free@{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free}}
\index{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free@{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free()}{edje\_mmap\_collection\_list\_free()}}
{\footnotesize\ttfamily void edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$}]{lst }\end{DoxyParamCaption})}



Frees file collection list. 


\begin{DoxyParams}{Parameters}
{\em lst} & The Eina\+\_\+\+List of groups\\
\hline
\end{DoxyParams}
Frees the list returned by \mbox{\hyperlink{group__Edje__Object__File_gaa305461761c074079d3e8a5a1b71f71f}{edje\+\_\+mmap\+\_\+collection\+\_\+list()}}. 

References edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free().

\mbox{\Hypertarget{group__Edje__Object__File_ga8d44d75ddf833e86e2dc54d81e17e9d5}\label{group__Edje__Object__File_ga8d44d75ddf833e86e2dc54d81e17e9d5}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+mmap\+\_\+group\+\_\+exists@{edje\+\_\+mmap\+\_\+group\+\_\+exists}}
\index{edje\+\_\+mmap\+\_\+group\+\_\+exists@{edje\+\_\+mmap\+\_\+group\+\_\+exists}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+mmap\+\_\+group\+\_\+exists()}{edje\_mmap\_group\_exists()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+mmap\+\_\+group\+\_\+exists (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f,  }\item[{const char $\ast$}]{glob }\end{DoxyParamCaption})}



Determines whether a group matching glob exists in an edje mapped file. 


\begin{DoxyParams}{Parameters}
{\em f} & The mapped file \\
\hline
{\em glob} & A glob to match on\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 1} if a match is found, {\ttfamily 0} otherwise 
\end{DoxyReturn}


References D\+BG, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+file\+\_\+filename\+\_\+get(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), E\+I\+N\+A\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+list\+\_\+append(), eina\+\_\+list\+\_\+free(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by edje\+\_\+file\+\_\+group\+\_\+exists().

\mbox{\Hypertarget{group__Edje__Object__File_ga1e03c788f92a870f58ffd5cf8bba1ee0}\label{group__Edje__Object__File_ga1e03c788f92a870f58ffd5cf8bba1ee0}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+mmap\+\_\+3d\+\_\+has@{edje\+\_\+mmap\+\_\+3d\+\_\+has}}
\index{edje\+\_\+mmap\+\_\+3d\+\_\+has@{edje\+\_\+mmap\+\_\+3d\+\_\+has}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+mmap\+\_\+3d\+\_\+has()}{edje\_mmap\_3d\_has()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+mmap\+\_\+3d\+\_\+has (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f,  }\item[{const char $\ast$}]{group }\end{DoxyParamCaption})}



Determines whether a group have 3D Scene. 


\begin{DoxyParams}{Parameters}
{\em f} & The mapped file \\
\hline
{\em glob} & The group name\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 1} if a Scene is found is found, {\ttfamily 0} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Edje__Object__File_ga12c147c724ad4f56058d7d432e706d0e}\label{group__Edje__Object__File_ga12c147c724ad4f56058d7d432e706d0e}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+file\+\_\+iterator\+\_\+new@{edje\+\_\+file\+\_\+iterator\+\_\+new}}
\index{edje\+\_\+file\+\_\+iterator\+\_\+new@{edje\+\_\+file\+\_\+iterator\+\_\+new}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+file\+\_\+iterator\+\_\+new()}{edje\_file\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}}$\ast$ edje\+\_\+file\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Iterates over all the opened Edje file. 

\begin{DoxyReturn}{Returns}
an iterator of Eina\+\_\+\+File currently opened Edje file.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET.

\mbox{\Hypertarget{group__Edje__Object__File_gaee33f65946d7ee62af5211ab9ab8faa9}\label{group__Edje__Object__File_gaee33f65946d7ee62af5211ab9ab8faa9}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+file\+\_\+collection\+\_\+list@{edje\+\_\+file\+\_\+collection\+\_\+list}}
\index{edje\+\_\+file\+\_\+collection\+\_\+list@{edje\+\_\+file\+\_\+collection\+\_\+list}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+file\+\_\+collection\+\_\+list()}{edje\_file\_collection\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ edje\+\_\+file\+\_\+collection\+\_\+list (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file }\end{DoxyParamCaption})}



Gets a list of groups in an edje file. 


\begin{DoxyParams}{Parameters}
{\em file} & The path to the edje file\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eina\+\_\+\+List of group names (char $\ast$) 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__File_gaa305461761c074079d3e8a5a1b71f71f}{edje\+\_\+mmap\+\_\+collection\+\_\+list()}}
\end{DoxySeeAlso}
Note\+: the list must be freed using \mbox{\hyperlink{group__Edje__Object__File_ga4301434642378c3a733e39836446ae4f}{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free()}} when you are done with it.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__File_ga8d44d75ddf833e86e2dc54d81e17e9d5}{edje\+\_\+mmap\+\_\+group\+\_\+exists()}} 
\end{DoxySeeAlso}


References edje\+\_\+mmap\+\_\+collection\+\_\+list(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+file\+\_\+close(), and eina\+\_\+file\+\_\+open().

\mbox{\Hypertarget{group__Edje__Object__File_ga4301434642378c3a733e39836446ae4f}\label{group__Edje__Object__File_ga4301434642378c3a733e39836446ae4f}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free@{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free}}
\index{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free@{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free()}{edje\_file\_collection\_list\_free()}}
{\footnotesize\ttfamily void edje\+\_\+file\+\_\+collection\+\_\+list\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$}]{lst }\end{DoxyParamCaption})}



Frees file collection list. 


\begin{DoxyParams}{Parameters}
{\em lst} & The Eina\+\_\+\+List of groups\\
\hline
\end{DoxyParams}
Frees the list returned by \mbox{\hyperlink{group__Edje__Object__File_gaee33f65946d7ee62af5211ab9ab8faa9}{edje\+\_\+file\+\_\+collection\+\_\+list()}}. 

References eina\+\_\+list\+\_\+data\+\_\+get(), eina\+\_\+list\+\_\+remove(), and eina\+\_\+stringshare\+\_\+del().



Referenced by edje\+\_\+mmap\+\_\+collection\+\_\+list\+\_\+free().

\mbox{\Hypertarget{group__Edje__Object__File_ga068228de33199dd1dd15495e38368309}\label{group__Edje__Object__File_ga068228de33199dd1dd15495e38368309}} 
\index{Edje Object File@{Edje Object File}!edje\+\_\+file\+\_\+group\+\_\+exists@{edje\+\_\+file\+\_\+group\+\_\+exists}}
\index{edje\+\_\+file\+\_\+group\+\_\+exists@{edje\+\_\+file\+\_\+group\+\_\+exists}!Edje Object File@{Edje Object File}}
\subsubsection{\texorpdfstring{edje\+\_\+file\+\_\+group\+\_\+exists()}{edje\_file\_group\_exists()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+file\+\_\+group\+\_\+exists (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{glob }\end{DoxyParamCaption})}



Determines whether a group matching glob exists in an edje file. 


\begin{DoxyParams}{Parameters}
{\em file} & The file path \\
\hline
{\em glob} & A glob to match on\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 1} if a match is found, {\ttfamily 0} otherwise 
\end{DoxyReturn}


References edje\+\_\+mmap\+\_\+group\+\_\+exists(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+file\+\_\+close(), and eina\+\_\+file\+\_\+open().

