From 1fae66c35454445218c8124f254c227f579484f5 Mon Sep 17 00:00:00 2001 From: "Jonas M. Gastal" Date: Thu, 16 Feb 2012 18:38:37 +0000 Subject: [PATCH] Small bump to elm_table doc. SVN revision: 68030 --- src/lib/elm_table.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_table.h b/src/lib/elm_table.h index a979beb..c214f82 100644 --- a/src/lib/elm_table.h +++ b/src/lib/elm_table.h @@ -2,11 +2,21 @@ * @defgroup Table Table * * A container widget to arrange other widgets in a table where items can - * also span multiple columns or rows - even overlap (and then be raised or + * span multiple columns or rows - even overlap (and then be raised or * lowered accordingly to adjust stacking if they do overlap). * - * For a Table widget the row/column count is not fixed. - * The table widget adjusts itself when subobjects are added to it dynamically. + * 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: + * @code + * 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, x_coord, y_coord, colspan, rowspan); + * elm_table_pack(table, table_content_object, next_x_coord, next_y_coord, colspan, rowspan); + * elm_table_pack(table, table_content_object, other_x_coord, other_y_coord, colspan, rowspan); + * @endcode * * The following are examples of how to use a table: * @li @ref tutorial_table_01 -- 2.7.4