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


Functions to deals with EDJ files.  


\doxysubsection*{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_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__File_ga4345b059ccd6d7d220429b11916d0ca8}{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 files. \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}


\doxysubsection{Detailed Description}
Functions to deals with EDJ files. 

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

This groups of functions interact with these EDJ files, either by loading them or retrieving information of the EDC file about objects. 

\doxysubsection{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}}
\doxysubsubsection{\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(), EINA\+\_\+\+ITERATOR\+\_\+\+FOREACH, 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}}
\doxysubsubsection{\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}}
\doxysubsubsection{\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 DBG, EINA\+\_\+\+FALSE, eina\+\_\+file\+\_\+filename\+\_\+get(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), EINA\+\_\+\+ITERATOR\+\_\+\+FOREACH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+list\+\_\+append(), eina\+\_\+list\+\_\+free(), and EINA\+\_\+\+TRUE.



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

\mbox{\Hypertarget{group__Edje__Object__File_ga4345b059ccd6d7d220429b11916d0ca8}\label{group__Edje__Object__File_ga4345b059ccd6d7d220429b11916d0ca8}} 
\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}}
\doxysubsubsection{\texorpdfstring{edje\_mmap\_3d\_has()}{edje\_mmap\_3d\_has()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} \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 group} & The group name\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 1} if a Scene is found is found, {\ttfamily 0} otherwise
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000033}{Deprecated}}]\end{DoxyRefDesc}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References EINA\+\_\+\+FALSE.

\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}}
\doxysubsubsection{\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 files. 

\begin{DoxyReturn}{Returns}
an iterator of Eina\+\_\+\+File for all currently open Edje files.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), and EINA\+\_\+\+MAGIC\+\_\+\+SET.

\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}}
\doxysubsubsection{\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}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{entry_example_8c-example}{entry\+\_\+example.\+c}}.\end{Desc}


References edje\+\_\+mmap\+\_\+collection\+\_\+list(), EINA\+\_\+\+FALSE, 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}}
\doxysubsubsection{\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()}}. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{entry_example_8c-example}{entry\+\_\+example.\+c}}.\end{Desc}


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}}
\doxysubsubsection{\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(), EINA\+\_\+\+FALSE, eina\+\_\+file\+\_\+close(), and eina\+\_\+file\+\_\+open().

