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


Functions that deal with Text Classes.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}{edje\+\_\+text\+\_\+class\+\_\+set}} (const char $\ast$text\+\_\+class, const char $\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} size)
\begin{DoxyCompactList}\small\item\em Sets the Edje text class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_gac58127d97e612792fdd08f00bf921461}{edje\+\_\+text\+\_\+class\+\_\+get}} (const char $\ast$text\+\_\+class, const char $\ast$$\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$size)
\begin{DoxyCompactList}\small\item\em Gets the font and the font size from Edje text class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Text__Class_gab64222c463060368d279ecdeee726dd6}{edje\+\_\+text\+\_\+class\+\_\+del}} (const char $\ast$text\+\_\+class)
\begin{DoxyCompactList}\small\item\em Deletes the text class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Edje__Object__Text__Class_ga11ca61fa534e26ed8e7490f6afe16a29}{edje\+\_\+text\+\_\+class\+\_\+list}} (void)
\begin{DoxyCompactList}\small\item\em Lists text classes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ \mbox{\hyperlink{group__Edje__Object__Text__Class_ga87a6ffce57064c2e19cd40ed462db895}{edje\+\_\+text\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Iterate 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__Text__Class_ga673357a224554e27f7aa833be4fac1cc}{edje\+\_\+mmap\+\_\+text\+\_\+class\+\_\+iterator\+\_\+new}} (\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$f)
\begin{DoxyCompactList}\small\item\em Iterate over all text classes provided by an Edje file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_ga6213e6ba938896692cc89b56460473ac}{edje\+\_\+object\+\_\+text\+\_\+class\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$text\+\_\+class, const char $\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} size)
\begin{DoxyCompactList}\small\item\em Sets Edje text class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_ga6ac39cce6c4c491198f0055183c4daf8}{edje\+\_\+object\+\_\+text\+\_\+class\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$text\+\_\+class, const char $\ast$$\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$size)
\begin{DoxyCompactList}\small\item\em Gets font and font size from edje text class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Text__Class_ga292ec6ec2abc50ddbcbd9943b5b8668a}{edje\+\_\+object\+\_\+text\+\_\+class\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$text\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the object text class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_gab08b90ae02e7a7e376437b828e13e528}{edje\+\_\+file\+\_\+text\+\_\+class\+\_\+set}} (const char $\ast$file, const char $\ast$text\+\_\+class, const char $\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} size)
\begin{DoxyCompactList}\small\item\em Sets Edje text class for edje file (if loaded) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_gac3d44014e2d427153632e1d62916deed}{edje\+\_\+file\+\_\+text\+\_\+class\+\_\+del}} (const char $\ast$file, const char $\ast$text\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the file text class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Text__Class_ga724a6d383791254f99dde20019e9c69a}{edje\+\_\+file\+\_\+text\+\_\+class\+\_\+get}} (const char $\ast$file, const char $\ast$text\+\_\+class, const char $\ast$$\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$size)
\begin{DoxyCompactList}\small\item\em Gets font and font size from edje file if loaded. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

Sometimes we want to change the text of two or more parts equally and that\textquotesingle{}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. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}\label{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}}
\doxysubsubsection{\texorpdfstring{edje\_text\_class\_set()}{edje\_text\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+text\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}}}]{size }\end{DoxyParamCaption})}



Sets 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 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 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}
\mbox{\hyperlink{group__Edje__Object__Text__Class_gac58127d97e612792fdd08f00bf921461}{edje\+\_\+text\+\_\+class\+\_\+get()}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_gac58127d97e612792fdd08f00bf921461}\label{group__Edje__Object__Text__Class_gac58127d97e612792fdd08f00bf921461}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_text\_class\_get@{edje\_text\_class\_get}}
\index{edje\_text\_class\_get@{edje\_text\_class\_get}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_text\_class\_get()}{edje\_text\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+text\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$$\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$}]{size }\end{DoxyParamCaption})}



Gets the font and the font size from 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 EINA\+\_\+\+TRUE} on success, or {\ttfamily EINA\+\_\+\+FALSE} on error
\end{DoxyReturn}
This function gets the font and the font name from the specified Edje text class. The font string will only be valid until the text class is changed or edje is shut down. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__Text__Class_ga89c1386d949e637236757ac220c18fca}{edje\+\_\+text\+\_\+class\+\_\+set()}}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_gab64222c463060368d279ecdeee726dd6}\label{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}}
\doxysubsubsection{\texorpdfstring{edje\_text\_class\_del()}{edje\_text\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+text\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{const char $\ast$}]{text\+\_\+class }\end{DoxyParamCaption})}



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



Lists text classes. 

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

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

\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga87a6ffce57064c2e19cd40ed462db895}\label{group__Edje__Object__Text__Class_ga87a6ffce57064c2e19cd40ed462db895}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_text\_class\_active\_iterator\_new@{edje\_text\_class\_active\_iterator\_new}}
\index{edje\_text\_class\_active\_iterator\_new@{edje\_text\_class\_active\_iterator\_new}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_text\_class\_active\_iterator\_new()}{edje\_text\_class\_active\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}}$\ast$ edje\+\_\+text\+\_\+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\+\_\+\+Text\+\_\+\+Class of the currently active text class
\end{DoxyReturn}
This function only iterates over the Edje\+\_\+\+Text\+\_\+\+Class in use by an application.

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


References EINA\+\_\+\+MAGIC\+\_\+\+SET.

\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga673357a224554e27f7aa833be4fac1cc}\label{group__Edje__Object__Text__Class_ga673357a224554e27f7aa833be4fac1cc}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_mmap\_text\_class\_iterator\_new@{edje\_mmap\_text\_class\_iterator\_new}}
\index{edje\_mmap\_text\_class\_iterator\_new@{edje\_mmap\_text\_class\_iterator\_new}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_mmap\_text\_class\_iterator\_new()}{edje\_mmap\_text\_class\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}}$\ast$ edje\+\_\+mmap\+\_\+text\+\_\+class\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f }\end{DoxyParamCaption})}



Iterate over all text 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\+\_\+\+Text\+\_\+\+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__Text__Class_ga6213e6ba938896692cc89b56460473ac}\label{group__Edje__Object__Text__Class_ga6213e6ba938896692cc89b56460473ac}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_object\_text\_class\_set@{edje\_object\_text\_class\_set}}
\index{edje\_object\_text\_class\_set@{edje\_object\_text\_class\_set}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_object\_text\_class\_set()}{edje\_object\_text\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+text\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}}}]{size }\end{DoxyParamCaption})}



Sets Edje text class. 

This function sets the text class for the Edje.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The text class name \\
\hline
\mbox{\texttt{ in}}  & {\em font} & Font name \\
\hline
\mbox{\texttt{ in}}  & {\em size} & Font Size\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga6ac39cce6c4c491198f0055183c4daf8}\label{group__Edje__Object__Text__Class_ga6ac39cce6c4c491198f0055183c4daf8}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_object\_text\_class\_get@{edje\_object\_text\_class\_get}}
\index{edje\_object\_text\_class\_get@{edje\_object\_text\_class\_get}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_object\_text\_class\_get()}{edje\_object\_text\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+text\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$$\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$}]{size }\end{DoxyParamCaption})}



Gets font and font size from edje text class. 

This function gets the font and the font size from the object text class. The font string will only be valid until the text class is changed or the edje object is deleted.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The text class name \\
\hline
\mbox{\texttt{ out}}  & {\em font} & Font name \\
\hline
\mbox{\texttt{ out}}  & {\em size} & Font Size\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga292ec6ec2abc50ddbcbd9943b5b8668a}\label{group__Edje__Object__Text__Class_ga292ec6ec2abc50ddbcbd9943b5b8668a}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_object\_text\_class\_del@{edje\_object\_text\_class\_del}}
\index{edje\_object\_text\_class\_del@{edje\_object\_text\_class\_del}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_object\_text\_class\_del()}{edje\_object\_text\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+object\+\_\+text\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{text\+\_\+class }\end{DoxyParamCaption})}



Delete the object text class. 

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

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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The color class to be deleted.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Edje__Object__Text__Class_gab08b90ae02e7a7e376437b828e13e528}\label{group__Edje__Object__Text__Class_gab08b90ae02e7a7e376437b828e13e528}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_file\_text\_class\_set@{edje\_file\_text\_class\_set}}
\index{edje\_file\_text\_class\_set@{edje\_file\_text\_class\_set}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_file\_text\_class\_set()}{edje\_file\_text\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+file\+\_\+text\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}}}]{size }\end{DoxyParamCaption})}



Sets Edje text class for edje file (if loaded) 

This function sets the text class for All Edje Objects created from Edje file. (if edje file loaded before)


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em file} & edje file path \\
\hline
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The text class name \\
\hline
\mbox{\texttt{ in}}  & {\em font} & Font name \\
\hline
\mbox{\texttt{ in}}  & {\em size} & Font Size\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error 
\end{DoxyReturn}


References EINA\+\_\+\+FALSE, eina\+\_\+hash\+\_\+direct\+\_\+add(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+string\+\_\+small\+\_\+new(), eina\+\_\+stringshare\+\_\+add(), eina\+\_\+stringshare\+\_\+replace(), and EINA\+\_\+\+TRUE.

\mbox{\Hypertarget{group__Edje__Object__Text__Class_gac3d44014e2d427153632e1d62916deed}\label{group__Edje__Object__Text__Class_gac3d44014e2d427153632e1d62916deed}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_file\_text\_class\_del@{edje\_file\_text\_class\_del}}
\index{edje\_file\_text\_class\_del@{edje\_file\_text\_class\_del}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_file\_text\_class\_del()}{edje\_file\_text\_class\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+file\+\_\+text\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{text\+\_\+class }\end{DoxyParamCaption})}



Delete the file text class. 

This function deletes any values at the file level for the specified file and text class.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The text class to be deleted. \\
\hline
\end{DoxyParams}


References EINA\+\_\+\+FALSE, eina\+\_\+hash\+\_\+del(), eina\+\_\+hash\+\_\+find(), eina\+\_\+stringshare\+\_\+del(), and EINA\+\_\+\+TRUE.

\mbox{\Hypertarget{group__Edje__Object__Text__Class_ga724a6d383791254f99dde20019e9c69a}\label{group__Edje__Object__Text__Class_ga724a6d383791254f99dde20019e9c69a}} 
\index{Edje Class: Text@{Edje Class: Text}!edje\_file\_text\_class\_get@{edje\_file\_text\_class\_get}}
\index{edje\_file\_text\_class\_get@{edje\_file\_text\_class\_get}!Edje Class: Text@{Edje Class: Text}}
\doxysubsubsection{\texorpdfstring{edje\_file\_text\_class\_get()}{edje\_file\_text\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+file\+\_\+text\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$$\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} $\ast$}]{size }\end{DoxyParamCaption})}



Gets font and font size from edje file if loaded. 

This function gets the font and the font size from the file text class.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em text\+\_\+class} & The text class name \\
\hline
\mbox{\texttt{ out}}  & {\em font} & Font name \\
\hline
\mbox{\texttt{ out}}  & {\em size} & Font Size\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error 
\end{DoxyReturn}


References EINA\+\_\+\+FALSE, eina\+\_\+hash\+\_\+find(), and EINA\+\_\+\+TRUE.

