\hypertarget{group__Edje__Object__Size__Class}{}\section{Edje Class\+: Size}
\label{group__Edje__Object__Size__Class}\index{Edje Class\+: Size@{Edje Class\+: Size}}


Functions that deal with Size Classes.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92}{edje\+\_\+size\+\_\+class\+\_\+set} (const char $\ast$size\+\_\+class, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} minw, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} minh, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} maxw, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} maxh)
\begin{DoxyCompactList}\small\item\em Set the Edje size class. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}{edje\+\_\+size\+\_\+class\+\_\+get} (const char $\ast$size\+\_\+class, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$minw, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$minh, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$maxw, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$maxh)
\begin{DoxyCompactList}\small\item\em Get the Edje size class. \end{DoxyCompactList}\item 
void \hyperlink{group__Edje__Object__Size__Class_ga55b8bb51c8228b2e4b5ffb7a021c1d06}{edje\+\_\+size\+\_\+class\+\_\+del} (const char $\ast$size\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the size class. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Edje__Object__Size__Class_ga5ecf060dd799ef6e4742de4498c1f71d}{edje\+\_\+size\+\_\+class\+\_\+list} (void)
\begin{DoxyCompactList}\small\item\em List size classes. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Edje__Object__Size__Class_ga489173e5a25a65422f546638e2718ac8}{edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new} (void)
\begin{DoxyCompactList}\small\item\em Iterate over all active classes of an application. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Edje__Object__Size__Class_ga544d418dab4b6ec92efd8fb2680b8507}{edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new} (\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File} $\ast$f)
\begin{DoxyCompactList}\small\item\em Iterate over all size classes provided by an Edje file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that deal with Size Classes. 

Sometimes we want to change the size of two or more parts equally and that\textquotesingle{}s when we use size classes.

If one or more parts are assigned with a size class, when we set attributes (minw etc.) to this class will update all these parts with the new attributes. Setting values to a size class at a process level will affect all parts with that size class, while at object level will affect only the parts inside an specified object. 

\subsection{Function Documentation}
\hypertarget{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92}{}\label{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+size\+\_\+class\+\_\+set@{edje\+\_\+size\+\_\+class\+\_\+set}}
\index{edje\+\_\+size\+\_\+class\+\_\+set@{edje\+\_\+size\+\_\+class\+\_\+set}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+size\+\_\+class\+\_\+set()}{edje\_size\_class\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} edje\+\_\+size\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{size\+\_\+class,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{minw,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{minh,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{maxw,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{maxh }\end{DoxyParamCaption})}



Set the Edje size class. 


\begin{DoxyParams}{Parameters}
{\em size\+\_\+class} & The size class name \\
\hline
{\em minw} & The min width \\
\hline
{\em minh} & The min height \\
\hline
{\em maxw} & The max width \\
\hline
{\em maxh} & The max height\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, on success or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}, on error
\end{DoxyReturn}
This function updates all Edje members at the process level which belong to this size class with the new min and max attributes.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}{edje\+\_\+size\+\_\+class\+\_\+get()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+add(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), eina\+\_\+hash\+\_\+string\+\_\+superfast\+\_\+new(), E\+I\+N\+A\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+stringshare\+\_\+add(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\hypertarget{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}{}\label{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+size\+\_\+class\+\_\+get@{edje\+\_\+size\+\_\+class\+\_\+get}}
\index{edje\+\_\+size\+\_\+class\+\_\+get@{edje\+\_\+size\+\_\+class\+\_\+get}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+size\+\_\+class\+\_\+get()}{edje\_size\_class\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} edje\+\_\+size\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{size\+\_\+class,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$}]{minw,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$}]{minh,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$}]{maxw,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} $\ast$}]{maxh }\end{DoxyParamCaption})}



Get the Edje size class. 


\begin{DoxyParams}{Parameters}
{\em size\+\_\+class} & The size class name \\
\hline
{\em minw} & The min width \\
\hline
{\em minh} & The min height \\
\hline
{\em maxw} & The max width \\
\hline
{\em maxh} & The max height\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, on success or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}, on error
\end{DoxyReturn}
This function gets the min and max size from the specified Edje size class.

\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+find(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\hypertarget{group__Edje__Object__Size__Class_ga55b8bb51c8228b2e4b5ffb7a021c1d06}{}\label{group__Edje__Object__Size__Class_ga55b8bb51c8228b2e4b5ffb7a021c1d06} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+size\+\_\+class\+\_\+del@{edje\+\_\+size\+\_\+class\+\_\+del}}
\index{edje\+\_\+size\+\_\+class\+\_\+del@{edje\+\_\+size\+\_\+class\+\_\+del}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+size\+\_\+class\+\_\+del()}{edje\_size\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+size\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{const char $\ast$}]{size\+\_\+class }\end{DoxyParamCaption})}



Delete the size class. 


\begin{DoxyParams}{Parameters}
{\em size\+\_\+class} & The size class name\\
\hline
\end{DoxyParams}
This function deletes any values at the process level for the specified size class.

\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References eina\+\_\+hash\+\_\+del(), 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\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\hypertarget{group__Edje__Object__Size__Class_ga5ecf060dd799ef6e4742de4498c1f71d}{}\label{group__Edje__Object__Size__Class_ga5ecf060dd799ef6e4742de4498c1f71d} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+size\+\_\+class\+\_\+list@{edje\+\_\+size\+\_\+class\+\_\+list}}
\index{edje\+\_\+size\+\_\+class\+\_\+list@{edje\+\_\+size\+\_\+class\+\_\+list}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+size\+\_\+class\+\_\+list()}{edje\_size\_class\_list()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}$\ast$ edje\+\_\+size\+\_\+class\+\_\+list (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



List size classes. 

\begin{DoxyReturn}{Returns}
A list of size class names (strings). These strings are stringshares and the list must be \hyperlink{group__Eina__Stringshare__Group_ga4453d2aff2b325c7b45048f30df9b1f5}{eina\+\_\+stringshare\+\_\+del()}\textquotesingle{}ed by the caller.
\end{DoxyReturn}
This function lists all size classes known about by the current process.

\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References \+\_\+\+Eina\+\_\+\+Hash\+\_\+\+Tuple\+::data, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+foreach(), eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), eina\+\_\+iterator\+\_\+free(), eina\+\_\+iterator\+\_\+next(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET, E\+I\+N\+A\+\_\+\+T\+R\+UE, and \+\_\+\+Eina\+\_\+\+Hash\+\_\+\+Tuple\+::key.

\hypertarget{group__Edje__Object__Size__Class_ga489173e5a25a65422f546638e2718ac8}{}\label{group__Edje__Object__Size__Class_ga489173e5a25a65422f546638e2718ac8} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new@{edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new}}
\index{edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new@{edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new()}{edje\_size\_class\_active\_iterator\_new()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}$\ast$ edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Iterate over all active classes of an application. 

\begin{DoxyReturn}{Returns}
an iterator of Edje\+\_\+\+Size\+\_\+\+Class of the currently active size class
\end{DoxyReturn}
This function only iterates over the Edje\+\_\+\+Size\+\_\+\+Class in use by an application.

\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References \+\_\+\+Eina\+\_\+\+Hash\+\_\+\+Tuple\+::data, E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+O\+UP, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+del(), eina\+\_\+hash\+\_\+direct\+\_\+add(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+iterator\+\_\+tuple\+\_\+new(), eina\+\_\+iterator\+\_\+free(), eina\+\_\+iterator\+\_\+next(), eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET, eina\+\_\+stringshare\+\_\+add(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\hypertarget{group__Edje__Object__Size__Class_ga544d418dab4b6ec92efd8fb2680b8507}{}\label{group__Edje__Object__Size__Class_ga544d418dab4b6ec92efd8fb2680b8507} 
\index{Edje Class\+: Size@{Edje Class\+: Size}!edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new@{edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new}}
\index{edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new@{edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new}!Edje Class\+: Size@{Edje Class\+: Size}}
\subsubsection{\texorpdfstring{edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new()}{edje\_mmap\_size\_class\_iterator\_new()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}$\ast$ edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File} $\ast$}]{f }\end{DoxyParamCaption})}



Iterate over all size classes provided by an Edje file. 

\begin{DoxyReturn}{Returns}
an iterator of Edje\+\_\+\+Size\+\_\+\+Class provided by the Edje file.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


References E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+O\+UP, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+iterator\+\_\+tuple\+\_\+new(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET, eina\+\_\+stringshare\+\_\+add(), eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+UE.

