\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}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Size__Class_ga67dde31c2f82ed3696c4c6e53fc0fbb2}{edje\+\_\+object\+\_\+size\+\_\+class\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$size\+\_\+class, int minw, int minh, int maxw, int maxh)
\begin{DoxyCompactList}\small\item\em Sets the object size class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Size__Class_gaa9f350579c59adde978a53465c59aa76}{edje\+\_\+object\+\_\+size\+\_\+class\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$size\+\_\+class, int $\ast$minw, int $\ast$minh, int $\ast$maxw, int $\ast$maxh)
\begin{DoxyCompactList}\small\item\em Gets the object size class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Size__Class_ga5344f3f9d28785643f8c8af80fd7e194}{edje\+\_\+object\+\_\+size\+\_\+class\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$size\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the object size class. \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 EINA\+\_\+\+TRUE} on success, or {\ttfamily EINA\+\_\+\+FALSE} 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 EINA\+\_\+\+TRUE} on success, or {\ttfamily EINA\+\_\+\+FALSE} 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 EINA\+\_\+\+MAGIC\+\_\+\+SET.

\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 EINA\+\_\+\+MAGIC\+\_\+\+SET.

\mbox{\Hypertarget{group__Edje__Object__Size__Class_ga67dde31c2f82ed3696c4c6e53fc0fbb2}\label{group__Edje__Object__Size__Class_ga67dde31c2f82ed3696c4c6e53fc0fbb2}} 
\index{Edje Class: Size@{Edje Class: Size}!edje\_object\_size\_class\_set@{edje\_object\_size\_class\_set}}
\index{edje\_object\_size\_class\_set@{edje\_object\_size\_class\_set}!Edje Class: Size@{Edje Class: Size}}
\doxysubsubsection{\texorpdfstring{edje\_object\_size\_class\_set()}{edje\_object\_size\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+size\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{size\+\_\+class,  }\item[{int}]{minw,  }\item[{int}]{minh,  }\item[{int}]{maxw,  }\item[{int}]{maxh }\end{DoxyParamCaption})}



Sets the object size class. 

This function sets the min and max values for an object level size class. This will make all edje parts in the specified object that have the specified size class update their min and max size with given values.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em size\+\_\+class} & The size class name \\
\hline
\mbox{\texttt{ in}}  & {\em minw} & The min width \\
\hline
\mbox{\texttt{ in}}  & {\em minh} & The min height \\
\hline
\mbox{\texttt{ in}}  & {\em maxw} & The max width \\
\hline
\mbox{\texttt{ in}}  & {\em maxh} & The max height\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Edje__Object__Size__Class_gaa9f350579c59adde978a53465c59aa76}\label{group__Edje__Object__Size__Class_gaa9f350579c59adde978a53465c59aa76}} 
\index{Edje Class: Size@{Edje Class: Size}!edje\_object\_size\_class\_get@{edje\_object\_size\_class\_get}}
\index{edje\_object\_size\_class\_get@{edje\_object\_size\_class\_get}!Edje Class: Size@{Edje Class: Size}}
\doxysubsubsection{\texorpdfstring{edje\_object\_size\_class\_get()}{edje\_object\_size\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+size\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{size\+\_\+class,  }\item[{int $\ast$}]{minw,  }\item[{int $\ast$}]{minh,  }\item[{int $\ast$}]{maxw,  }\item[{int $\ast$}]{maxh }\end{DoxyParamCaption})}



Gets the object size class. 

This function gets the min and max values for an object level size class. These values will only be valid until the size class is changed or the edje object is deleted.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em size\+\_\+class} & The size class name \\
\hline
\mbox{\texttt{ out}}  & {\em minw} & The min width \\
\hline
\mbox{\texttt{ out}}  & {\em minh} & The min height \\
\hline
\mbox{\texttt{ out}}  & {\em maxw} & The max width \\
\hline
\mbox{\texttt{ out}}  & {\em maxh} & The max height\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Edje__Object__Size__Class_ga5344f3f9d28785643f8c8af80fd7e194}\label{group__Edje__Object__Size__Class_ga5344f3f9d28785643f8c8af80fd7e194}} 
\index{Edje Class: Size@{Edje Class: Size}!edje\_object\_size\_class\_del@{edje\_object\_size\_class\_del}}
\index{edje\_object\_size\_class\_del@{edje\_object\_size\_class\_del}!Edje Class: Size@{Edje Class: Size}}
\doxysubsubsection{\texorpdfstring{edje\_object\_size\_class\_del()}{edje\_object\_size\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+object\+\_\+size\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{size\+\_\+class }\end{DoxyParamCaption})}



Delete the object size class. 

This function deletes any values at the object level for the specified object and size class.

Deleting the size class will revert it to the values defined by \mbox{\hyperlink{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92}{edje\+\_\+size\+\_\+class\+\_\+set()}} or the color class defined in the theme file.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em size\+\_\+class} & Size class name\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
