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


Functions that deal with Size Classes.  


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


\doxysubsection{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. 

\doxysubsection{Function Documentation}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{edje\_size\_class\_set()}{edje\_size\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+size\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{size\+\_\+class,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{minw,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{minh,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{maxw,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{maxh }\end{DoxyParamCaption})}



Sets 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}
\mbox{\hyperlink{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}{edje\+\_\+size\+\_\+class\+\_\+get()}}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{edje\_size\_class\_get()}{edje\_size\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+size\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{size\+\_\+class,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{minw,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{minh,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{maxw,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{maxh }\end{DoxyParamCaption})}



Gets 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}
\mbox{\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}}
\doxysubsubsection{\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})}



Deletes 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}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{edje\_size\_class\_list()}{edje\_size\_class\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ edje\+\_\+size\+\_\+class\+\_\+list (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Lists size classes. 

\begin{DoxyReturn}{Returns}
A list of size class names (strings). These strings are stringshares and the list must be \mbox{\hyperlink{group__Eina__Stringshare__Group_ga495411b0bc85b9c0d59ec7255a025260}{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\+\_\+foreach().

\mbox{\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}}
\doxysubsubsection{\texorpdfstring{edje\_size\_class\_active\_iterator\_new()}{edje\_size\_class\_active\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}}$\ast$ edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Iterates 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 E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET.

\mbox{\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}}
\doxysubsubsection{\texorpdfstring{edje\_mmap\_size\_class\_iterator\_new()}{edje\_mmap\_size\_class\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}}$\ast$ edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f }\end{DoxyParamCaption})}



Iterates over all size classes provided by an Edje file. 


\begin{DoxyParams}{Parameters}
{\em f} & The mapped edje file.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator of Edje\+\_\+\+Size\+\_\+\+Class provided by the Edje file.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}


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

