\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}
\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(const char $\ast$size\+\_\+class, Evas\+\_\+\+Coord minw, Evas\+\_\+\+Coord minh, Evas\+\_\+\+Coord maxw, Evas\+\_\+\+Coord maxh)}{edje_size_class_set(const char *size_class, Evas_Coord minw, Evas_Coord minh, Evas_Coord maxw, Evas_Coord maxh)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} edje\+\_\+size\+\_\+class\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{size\+\_\+class, }
\item[{{\bf Evas\+\_\+\+Coord}}]{minw, }
\item[{{\bf Evas\+\_\+\+Coord}}]{minh, }
\item[{{\bf Evas\+\_\+\+Coord}}]{maxw, }
\item[{{\bf Evas\+\_\+\+Coord}}]{maxh}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92}{}\label{group__Edje__Object__Size__Class_gae97a214d588aa93384f30bb538a29d92}


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.

\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(const char $\ast$size\+\_\+class, Evas\+\_\+\+Coord $\ast$minw, Evas\+\_\+\+Coord $\ast$minh, Evas\+\_\+\+Coord $\ast$maxw, Evas\+\_\+\+Coord $\ast$maxh)}{edje_size_class_get(const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} edje\+\_\+size\+\_\+class\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{size\+\_\+class, }
\item[{{\bf Evas\+\_\+\+Coord} $\ast$}]{minw, }
\item[{{\bf Evas\+\_\+\+Coord} $\ast$}]{minh, }
\item[{{\bf Evas\+\_\+\+Coord} $\ast$}]{maxw, }
\item[{{\bf Evas\+\_\+\+Coord} $\ast$}]{maxh}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}{}\label{group__Edje__Object__Size__Class_ga1b281929860614da9416ece5c4cc154a}


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.

\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(const char $\ast$size\+\_\+class)}{edje_size_class_del(const char *size_class)}}]{\setlength{\rightskip}{0pt plus 5cm}void edje\+\_\+size\+\_\+class\+\_\+del (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{size\+\_\+class}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_ga55b8bb51c8228b2e4b5ffb7a021c1d06}{}\label{group__Edje__Object__Size__Class_ga55b8bb51c8228b2e4b5ffb7a021c1d06}


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.

\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(void)}{edje_size_class_list(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ edje\+\_\+size\+\_\+class\+\_\+list (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_ga5ecf060dd799ef6e4742de4498c1f71d}{}\label{group__Edje__Object__Size__Class_ga5ecf060dd799ef6e4742de4498c1f71d}


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.

\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(void)}{edje_size_class_active_iterator_new(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Iterator}$\ast$ edje\+\_\+size\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_ga489173e5a25a65422f546638e2718ac8}{}\label{group__Edje__Object__Size__Class_ga489173e5a25a65422f546638e2718ac8}


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.

\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(\+Eina\+\_\+\+File $\ast$f)}{edje_mmap_size_class_iterator_new(Eina_File *f)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Iterator}$\ast$ edje\+\_\+mmap\+\_\+size\+\_\+class\+\_\+iterator\+\_\+new (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+File} $\ast$}]{f}
\end{DoxyParamCaption}
)}\hypertarget{group__Edje__Object__Size__Class_ga544d418dab4b6ec92efd8fb2680b8507}{}\label{group__Edje__Object__Size__Class_ga544d418dab4b6ec92efd8fb2680b8507}


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 D\+BG, E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+O\+UP, E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW, E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT, E\+D\+J\+E\+\_\+\+P\+A\+R\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+B\+L\+O\+CK, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+hash\+\_\+iterator\+\_\+tuple\+\_\+new(), eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+list\+\_\+remove\+\_\+list(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET, eina\+\_\+strbuf\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+char(), eina\+\_\+strbuf\+\_\+append\+\_\+length(), eina\+\_\+strbuf\+\_\+append\+\_\+n(), eina\+\_\+strbuf\+\_\+free(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+get(), eina\+\_\+strbuf\+\_\+string\+\_\+steal(), eina\+\_\+stringshare\+\_\+add(), eina\+\_\+stringshare\+\_\+del(), E\+I\+N\+A\+\_\+\+T\+R\+UE, E\+RR, E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+B\+O\+TH, E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+H\+O\+R\+I\+Z\+O\+N\+T\+AL, E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+N\+E\+I\+T\+H\+ER, E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+V\+E\+R\+T\+I\+C\+AL, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, evas\+\_\+object\+\_\+data\+\_\+get(), evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add(), evas\+\_\+textblock\+\_\+escape\+\_\+string\+\_\+range\+\_\+get(), evas\+\_\+textblock\+\_\+string\+\_\+escape\+\_\+get(), evas\+\_\+textblock\+\_\+style\+\_\+free(), evas\+\_\+textblock\+\_\+style\+\_\+get(), evas\+\_\+textblock\+\_\+style\+\_\+new(), and evas\+\_\+textblock\+\_\+style\+\_\+set().

