\hypertarget{group__Evas__Object__Grid}{}\doxysection{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 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Evas__Object__Grid_ga600e9298229c1055d9c69c4f71624cf6}{evas\+\_\+object\+\_\+textgrid\+\_\+add}} (\mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} $\ast$e)
\begin{DoxyCompactList}\small\item\em Add a textgrid to the given Evas. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Evas__Object__Grid_ga3a5ff60355253d80e6964940adbfd710}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+set}} (\mbox{\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$ \mbox{\hyperlink{group__Evas__Object__Grid_ga32f08ef7204bba149dc35ec2ec0a77db}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+source\+\_\+get}} (const \mbox{\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 \mbox{\hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, const char $\ast$font\+\_\+name, \mbox{\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 \mbox{\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, const char $\ast$$\ast$font\+\_\+name, \mbox{\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 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}{evas\+\_\+object\+\_\+grid\+\_\+add}} (\mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} $\ast$evas)
\begin{DoxyCompactList}\small\item\em Create a new grid. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Evas__Object__Grid_ga768e272352c7b135677f268b6e03e638}{evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} mirrored)
\begin{DoxyCompactList}\small\item\em Sets the mirrored mode of the grid. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Object__Grid_ga5e8c38ebf10afcf038b6058028a88539}{evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets the mirrored mode of the grid. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


\doxysubsection{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.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_textgrid\_add()}{evas\_object\_textgrid\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ evas\+\_\+object\+\_\+textgrid\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\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 efl\+\_\+add, efl\+\_\+isa(), E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+F\+A\+L\+S\+E\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, and E\+V\+A\+S\+\_\+\+C\+A\+N\+V\+A\+S\+\_\+\+C\+L\+A\+SS.

\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.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_grid\_add()}{evas\_object\_grid\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ evas\+\_\+object\+\_\+grid\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\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 efl\+\_\+add, efl\+\_\+isa(), E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+F\+A\+L\+S\+E\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, and E\+V\+A\+S\+\_\+\+C\+A\+N\+V\+A\+S\+\_\+\+C\+L\+A\+SS.

\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.}}
\doxysubsubsection{\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[{\mbox{\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}
\mbox{\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()}} 

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

\mbox{\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{\texttt{ 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.}}
\doxysubsubsection{\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 \mbox{\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}
\mbox{\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()}} 

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

\mbox{\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.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_textgrid\_font\_set()}{evas\_object\_textgrid\_font\_set()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{const char $\ast$}]{font\+\_\+name,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{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}
\mbox{\hyperlink{group__Evas__Object__Grid_gae7ef36ae18d184348c8c9df04c241dee}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get()}} 

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

\mbox{\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{\texttt{ in}}  & {\em font\+\_\+name} & The font (family) name. \\
\hline
\mbox{\texttt{ 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.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_textgrid\_font\_get()}{evas\_object\_textgrid\_font\_get()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{const char $\ast$$\ast$}]{font\+\_\+name,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{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}
\mbox{\hyperlink{group__Evas__Object__Grid_ga7b44c3404882bac275a71396696e5458}{evas\+\_\+object\+\_\+textgrid\+\_\+font\+\_\+set()}} 

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

\mbox{\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{\texttt{ out}}  & {\em font\+\_\+name} & The font (family) name. \\
\hline
\mbox{\texttt{ out}}  & {\em font\+\_\+size} & The font size, in points. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Evas__Object__Grid_ga768e272352c7b135677f268b6e03e638}\label{group__Evas__Object__Grid_ga768e272352c7b135677f268b6e03e638}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\_object\_grid\_mirrored\_set@{evas\_object\_grid\_mirrored\_set}}
\index{evas\_object\_grid\_mirrored\_set@{evas\_object\_grid\_mirrored\_set}!Grid Smart Object.@{Grid Smart Object.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_grid\_mirrored\_set()}{evas\_object\_grid\_mirrored\_set()}}
{\footnotesize\ttfamily void evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{mirrored }\end{DoxyParamCaption})}



Sets the mirrored mode of the grid. 

In mirrored mode the grid items go from right to left instead of left to right. That is, 0,0 is top right, not to left.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em mirrored} & {\ttfamily true} if mirrored mode is set, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\mbox{\Hypertarget{group__Evas__Object__Grid_ga5e8c38ebf10afcf038b6058028a88539}\label{group__Evas__Object__Grid_ga5e8c38ebf10afcf038b6058028a88539}} 
\index{Grid Smart Object.@{Grid Smart Object.}!evas\_object\_grid\_mirrored\_get@{evas\_object\_grid\_mirrored\_get}}
\index{evas\_object\_grid\_mirrored\_get@{evas\_object\_grid\_mirrored\_get}!Grid Smart Object.@{Grid Smart Object.}}
\doxysubsubsection{\texorpdfstring{evas\_object\_grid\_mirrored\_get()}{evas\_object\_grid\_mirrored\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Gets the mirrored mode of the grid. 

See also \mbox{\hyperlink{group__Evas__Object__Grid_ga768e272352c7b135677f268b6e03e638}{evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+set}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if mirrored mode is set, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
