\section{Table}
\label{group__Table}\index{Table@{Table}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Table_gabb4d507c8b02acd001e998ae424335f4}{elm\+\_\+table\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new table to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Table_gac4604f1d9855a680a240e4c5d9a85032}{elm\+\_\+table\+\_\+pack\+\_\+set} (Evas\+\_\+\+Object $\ast$subobj, int col, int row, int colspan, int rowspan)
\begin{DoxyCompactList}\small\item\em Set the packing location of an existing child of the table. \end{DoxyCompactList}\item 
void \hyperlink{group__Table_ga76a90f70d22abe84c65ef3293c7450ee}{elm\+\_\+table\+\_\+pack\+\_\+get} (Evas\+\_\+\+Object $\ast$subobj, int $\ast$col, int $\ast$row, int $\ast$colspan, int $\ast$rowspan)
\begin{DoxyCompactList}\small\item\em Get the packing location of an existing child of the table. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{table_inheritance_tree}}
\end{DoxyImageNoCaption}


A container widget to arrange other widgets in a table where items can span multiple columns or rows -\/ even overlap (and then be raised or lowered accordingly to adjust stacking if they do overlap).

The row and column count is not fixed. The table widget adjusts itself when subobjects are added to it dynamically.

The most common way to use a table is\+: 
\begin{DoxyCode}
table = elm_table_add(win);
evas\_object\_show(table);
elm\_table\_padding\_set(table, space\_between\_columns, space\_between\_rows);
elm\_table\_pack(table, table\_content\_object, column, row, colspan, rowspan);
elm\_table\_pack(table, table\_content\_object, next\_column, next\_row, colspan, rowspan);
elm\_table\_pack(table, table\_content\_object, other\_column, other\_row, colspan, rowspan);
\end{DoxyCode}


The following are examples of how to use a table\+: \begin{DoxyItemize}
\item \hyperlink{tutorial_table_01}{tutorial\+\_\+table\+\_\+01} \item \hyperlink{tutorial_table_02}{tutorial\+\_\+table\+\_\+02} \end{DoxyItemize}


\subsection{Function Documentation}
\index{Table@{Table}!elm\+\_\+table\+\_\+add@{elm\+\_\+table\+\_\+add}}
\index{elm\+\_\+table\+\_\+add@{elm\+\_\+table\+\_\+add}!Table@{Table}}
\subsubsection[{\texorpdfstring{elm\+\_\+table\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}{elm_table_add(Evas_Object *parent)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+table\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Table_gabb4d507c8b02acd001e998ae424335f4}


Add a new table to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+LL if it cannot be created 
\end{DoxyReturn}


Referenced by elm\+\_\+combobox\+\_\+add().

\index{Table@{Table}!elm\+\_\+table\+\_\+pack\+\_\+get@{elm\+\_\+table\+\_\+pack\+\_\+get}}
\index{elm\+\_\+table\+\_\+pack\+\_\+get@{elm\+\_\+table\+\_\+pack\+\_\+get}!Table@{Table}}
\subsubsection[{\texorpdfstring{elm\+\_\+table\+\_\+pack\+\_\+get(\+Evas\+\_\+\+Object $\ast$subobj, int $\ast$col, int $\ast$row, int $\ast$colspan, int $\ast$rowspan)}{elm_table_pack_get(Evas_Object *subobj, int *col, int *row, int *colspan, int *rowspan)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+table\+\_\+pack\+\_\+get (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{subobj, }
\item[{int $\ast$}]{col, }
\item[{int $\ast$}]{row, }
\item[{int $\ast$}]{colspan, }
\item[{int $\ast$}]{rowspan}
\end{DoxyParamCaption}
)}\label{group__Table_ga76a90f70d22abe84c65ef3293c7450ee}


Get the packing location of an existing child of the table. 


\begin{DoxyParams}{Parameters}
{\em subobj} & The subobject to be modified in the table \\
\hline
{\em col} & Column number \\
\hline
{\em row} & Row number \\
\hline
{\em colspan} & colspan \\
\hline
{\em rowspan} & rowspan\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Table_gac4604f1d9855a680a240e4c5d9a85032}{elm\+\_\+table\+\_\+pack\+\_\+set()} 
\end{DoxySeeAlso}
\index{Table@{Table}!elm\+\_\+table\+\_\+pack\+\_\+set@{elm\+\_\+table\+\_\+pack\+\_\+set}}
\index{elm\+\_\+table\+\_\+pack\+\_\+set@{elm\+\_\+table\+\_\+pack\+\_\+set}!Table@{Table}}
\subsubsection[{\texorpdfstring{elm\+\_\+table\+\_\+pack\+\_\+set(\+Evas\+\_\+\+Object $\ast$subobj, int col, int row, int colspan, int rowspan)}{elm_table_pack_set(Evas_Object *subobj, int col, int row, int colspan, int rowspan)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+table\+\_\+pack\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{subobj, }
\item[{int}]{col, }
\item[{int}]{row, }
\item[{int}]{colspan, }
\item[{int}]{rowspan}
\end{DoxyParamCaption}
)}\label{group__Table_gac4604f1d9855a680a240e4c5d9a85032}


Set the packing location of an existing child of the table. 


\begin{DoxyParams}{Parameters}
{\em subobj} & The subobject to be modified in the table \\
\hline
{\em col} & Column number \\
\hline
{\em row} & Row number \\
\hline
{\em colspan} & colspan \\
\hline
{\em rowspan} & rowspan\\
\hline
\end{DoxyParams}
Modifies the position of an object already in the table.

\begin{DoxyNote}{Note}
All positioning inside the table is relative to rows and columns, so a value of 0 for col and row, means the top left cell of the table, and a value of 1 for colspan and rowspan means {\ttfamily subobj} only takes that 1 cell. 
\end{DoxyNote}
