\hypertarget{group__Edje__Object__Text__Class}{\section{Edje Class\+: Text}
\label{group__Edje__Object__Text__Class}\index{Edje Class\+: Text@{Edje Class\+: Text}}
}


Functions that deal with Text Classes.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}{edje\+\_\+text\+\_\+class\+\_\+set} (const char $\ast$text\+\_\+class, const char $\ast$font, \hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size} size)
\begin{DoxyCompactList}\small\item\em Set the Edje text class. \end{DoxyCompactList}\item 
void \hyperlink{group__Edje__Object__Text__Class_gab64222c463060368d279ecdeee726dd6}{edje\+\_\+text\+\_\+class\+\_\+del} (const char $\ast$text\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the text class. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Edje__Object__Text__Class_ga11ca61fa534e26ed8e7490f6afe16a29}{edje\+\_\+text\+\_\+class\+\_\+list} (void)
\begin{DoxyCompactList}\small\item\em List text classes. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

Sometimes we want to change the text of two or more parts equally and that's when we use text classes.

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

\subsection{Function Documentation}
\hypertarget{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}{\index{Edje Class\+: Text@{Edje Class\+: Text}!edje\+\_\+text\+\_\+class\+\_\+set@{edje\+\_\+text\+\_\+class\+\_\+set}}
\index{edje\+\_\+text\+\_\+class\+\_\+set@{edje\+\_\+text\+\_\+class\+\_\+set}!Edje Class\+: Text@{Edje Class\+: Text}}
\subsubsection[{edje\+\_\+text\+\_\+class\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} edje\+\_\+text\+\_\+class\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{text\+\_\+class, }
\item[{const char $\ast$}]{font, }
\item[{{\bf Evas\+\_\+\+Font\+\_\+\+Size}}]{size}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}


Set the Edje text class. 


\begin{DoxyParams}{Parameters}
{\em text\+\_\+class} & The text class name \\
\hline
{\em font} & The font name \\
\hline
{\em size} & The font size\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, on success or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}, on error
\end{DoxyReturn}
This function updates all Edje members at the process level which belong to this text class with the new font attributes. If the {\ttfamily size} is 0 then the font size will be kept with the previous size. If the {\ttfamily size} is less then 0 then the font size will be calculated in the percentage. For example, if the {\ttfamily size} is -\/50, then the font size will be scaled to half of the original size and if the {\ttfamily size} is -\/10 then the font size will be scaled as much as 0.\+1x.

\begin{DoxySeeAlso}{See also}
edje\+\_\+text\+\_\+class\+\_\+get(). 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, 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\+C\+H, eina\+\_\+iterator\+\_\+free(), eina\+\_\+stringshare\+\_\+add(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Edje__Object__Text__Class_gab64222c463060368d279ecdeee726dd6}{\index{Edje Class\+: Text@{Edje Class\+: Text}!edje\+\_\+text\+\_\+class\+\_\+del@{edje\+\_\+text\+\_\+class\+\_\+del}}
\index{edje\+\_\+text\+\_\+class\+\_\+del@{edje\+\_\+text\+\_\+class\+\_\+del}!Edje Class\+: Text@{Edje Class\+: Text}}
\subsubsection[{edje\+\_\+text\+\_\+class\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}void edje\+\_\+text\+\_\+class\+\_\+del (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{text\+\_\+class}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Text__Class_gab64222c463060368d279ecdeee726dd6}


Delete the text class. 


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

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\+C\+H, eina\+\_\+iterator\+\_\+free(), eina\+\_\+stringshare\+\_\+del(), and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Edje__Object__Text__Class_ga11ca61fa534e26ed8e7490f6afe16a29}{\index{Edje Class\+: Text@{Edje Class\+: Text}!edje\+\_\+text\+\_\+class\+\_\+list@{edje\+\_\+text\+\_\+class\+\_\+list}}
\index{edje\+\_\+text\+\_\+class\+\_\+list@{edje\+\_\+text\+\_\+class\+\_\+list}!Edje Class\+: Text@{Edje Class\+: Text}}
\subsubsection[{edje\+\_\+text\+\_\+class\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ edje\+\_\+text\+\_\+class\+\_\+list (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Text__Class_ga11ca61fa534e26ed8e7490f6afe16a29}


List text classes. 

\begin{DoxyReturn}{Returns}
A list of text class names (strings). These strings are stringshares and the list must be free()'d by the caller.
\end{DoxyReturn}
This function lists all text classes known about by the current process. 

References eina\+\_\+hash\+\_\+foreach().

