\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's positions inside the grid object'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'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, \hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{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, \hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{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's positions inside the grid object's area. 

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


\subsection{Function Documentation}
\hypertarget{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[{evas\+\_\+object\+\_\+textgrid\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+textgrid\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_ga600e9298229c1055d9c69c4f71624cf6}


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}
\hypertarget{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[{evas\+\_\+object\+\_\+grid\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+grid\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{evas}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}


Create a new grid. 

It'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}
\hypertarget{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[{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{obj, }
\item[{const char $\ast$}]{font\+\_\+source}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}


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's contents. If {\ttfamily font\+\_\+source} is {\ttfamily N\+U\+L\+L} 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's path. \\
\hline
\end{DoxyParams}
\hypertarget{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[{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eo} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}


Get the font file's path which is being used on a given textgrid object. 

\begin{DoxyReturn}{Returns}
The font file'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\+L\+L} 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}
\hypertarget{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[{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{obj, }
\item[{const char $\ast$}]{font\+\_\+name, }
\item[{{\bf Evas\+\_\+\+Font\+\_\+\+Size}}]{font\+\_\+size}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}


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's convention on naming fonts, as it's the underlying library used to query system fonts by Evas (see the {\ttfamily fc-\/list} command'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\+L\+L}, 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}
\hypertarget{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[{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eo} $\ast$}]{obj, }
\item[{const char $\ast$$\ast$}]{font\+\_\+name, }
\item[{{\bf Evas\+\_\+\+Font\+\_\+\+Size} $\ast$}]{font\+\_\+size}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}


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\+L\+L}.

\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}
