\hypertarget{group__Evas__Object__Grid}{}\section{Grid Smart Object.}
\label{group__Evas__Object__Grid}\index{Grid Smart Object.@{Grid Smart Object.}}


Convenience smart object that packs children under a regular grid layout, using their virtual grid location and size to determine children\textquotesingle{}s positions inside the grid object\textquotesingle{}s area.  


\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Evas__Object__Grid_ga600e9298229c1055d9c69c4f71624cf6}{evas\+\_\+object\+\_\+textgrid\+\_\+add} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Add a textgrid to the given Evas. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, const char $\ast$font\+\_\+source)
\begin{DoxyCompactList}\small\item\em Set the font (source) file to be used on a given textgrid object. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get} (const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the font file\textquotesingle{}s path which is being used on a given textgrid object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, const char $\ast$font\+\_\+name, Evas\+\_\+\+Font\+\_\+\+Size font\+\_\+size)
\begin{DoxyCompactList}\small\item\em Set the font family and size on a given textgrid object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get} (const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, const char $\ast$$\ast$font\+\_\+name, Evas\+\_\+\+Font\+\_\+\+Size $\ast$font\+\_\+size)
\begin{DoxyCompactList}\small\item\em Retrieve the font family and size in use on a given textgrid object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}{evas\+\_\+object\+\_\+grid\+\_\+add} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$evas)
\begin{DoxyCompactList}\small\item\em Create a new grid. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Convenience smart object that packs children under a regular grid layout, using their virtual grid location and size to determine children\textquotesingle{}s positions inside the grid object\textquotesingle{}s area. 

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


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Evas__Object__Grid_ga600e9298229c1055d9c69c4f71624cf6}\label{group__Evas__Object__Grid_ga600e9298229c1055d9c69c4f71624cf6}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+textgrid\+\_\+add@{evas\+\_\+object\+\_\+textgrid\+\_\+add}}
\index{evas\+\_\+object\+\_\+textgrid\+\_\+add@{evas\+\_\+object\+\_\+textgrid\+\_\+add}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+textgrid\+\_\+add()}{evas\_object\_textgrid\_add()}}
{\footnotesize\ttfamily \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+textgrid\+\_\+add (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$}]{e }\end{DoxyParamCaption})}



Add a textgrid to the given Evas. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new textgrid object.
\end{DoxyReturn}
This function adds a new textgrid object to the Evas {\ttfamily e} and returns the object.

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


References eo\+\_\+add.

\mbox{\Hypertarget{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}\label{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+grid\+\_\+add@{evas\+\_\+object\+\_\+grid\+\_\+add}}
\index{evas\+\_\+object\+\_\+grid\+\_\+add@{evas\+\_\+object\+\_\+grid\+\_\+add}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+grid\+\_\+add()}{evas\_object\_grid\_add()}}
{\footnotesize\ttfamily \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+grid\+\_\+add (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$}]{evas }\end{DoxyParamCaption})}



Create a new grid. 

It\textquotesingle{}s set to a virtual size of 1x1 by default and add children with evas\+\_\+object\+\_\+grid\+\_\+pack(). \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+U\+N\+U\+S\+ED, and eo\+\_\+add.

\mbox{\Hypertarget{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}\label{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set}}
\index{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set()}{evas\_object\_textgrid\_font\_source\_set()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{const char $\ast$}]{font\+\_\+source }\end{DoxyParamCaption})}



Set the font (source) file to be used on a given textgrid object. 

This function allows the font file {\ttfamily font\+\_\+source} to be explicitly set for the textgrid object {\ttfamily obj}, overriding system lookup, which will first occur in the given file\textquotesingle{}s contents. If {\ttfamily font\+\_\+source} is {\ttfamily N\+U\+LL} or is an empty string, or the same font\+\_\+source has already been set, or on error, this function does nothing.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()} 

\hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set()} 

\hyperlink{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em font\+\_\+source} & The font file\textquotesingle{}s path. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}\label{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get}}
\index{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get()}{evas\_object\_textgrid\_font\_source\_get()}}
{\footnotesize\ttfamily const char$\ast$ evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the font file\textquotesingle{}s path which is being used on a given textgrid object. 

\begin{DoxyReturn}{Returns}
The font file\textquotesingle{}s path.
\end{DoxyReturn}
This function returns the font source path of the textgrid object {\ttfamily obj}. If the font source path has not been set, or on error, {\ttfamily N\+U\+LL} is returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()} 

\hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set()} 

\hyperlink{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\mbox{\Hypertarget{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}\label{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set}}
\index{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set()}{evas\_object\_textgrid\_font\_set()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{const char $\ast$}]{font\+\_\+name,  }\item[{Evas\+\_\+\+Font\+\_\+\+Size}]{font\+\_\+size }\end{DoxyParamCaption})}



Set the font family and size on a given textgrid object. 

This function allows the font name {\ttfamily font\+\_\+name} and size {\ttfamily font\+\_\+size} of the textgrid object {\ttfamily obj} to be set. The {\ttfamily font\+\_\+name} string has to follow fontconfig\textquotesingle{}s convention on naming fonts, as it\textquotesingle{}s the underlying library used to query system fonts by Evas (see the {\ttfamily fc-\/list} command\textquotesingle{}s output, on your system, to get an idea). It also has to be a monospace font. If {\ttfamily font\+\_\+name} is {\ttfamily N\+U\+LL}, or if it is an empty string, or if {\ttfamily font\+\_\+size} is less or equal than 0, or on error, this function does nothing.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()} 

\hyperlink{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set()} 

\hyperlink{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em font\+\_\+name} & The font (family) name. \\
\hline
\mbox{\tt in}  & {\em font\+\_\+size} & The font size, in points. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}\label{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get}}
\index{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get@{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get}!Grid Smart Object.@{Grid Smart Object.}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()}{evas\_object\_textgrid\_font\_get()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{const char $\ast$$\ast$}]{font\+\_\+name,  }\item[{Evas\+\_\+\+Font\+\_\+\+Size $\ast$}]{font\+\_\+size }\end{DoxyParamCaption})}



Retrieve the font family and size in use on a given textgrid object. 

This function allows the font name and size of a textgrid object {\ttfamily obj} to be queried and stored respectively in the buffers {\ttfamily font\+\_\+name} and {\ttfamily font\+\_\+size}. Be aware that the font name string is still owned by Evas and should {\bfseries not} have free() called on it by the caller of the function. On error, the font name is the empty string and the font size is 0. {\ttfamily font\+\_\+name} and {\ttfamily font\+\_\+source} can be {\ttfamily N\+U\+LL}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set()} 

\hyperlink{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set()} 

\hyperlink{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em font\+\_\+name} & The font (family) name. \\
\hline
\mbox{\tt out}  & {\em font\+\_\+size} & The font size, in points. \\
\hline
\end{DoxyParams}
