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:
table = Table(win)
table.show()
table.padding = (space_between_columns, space_between_rows)
table.pack(table_content_object, x_coord, y_coord, colspan, rowspan)
table.pack(table_content_object, x_coord, y_coord, colspan, rowspan)
table.pack(table_content_object, x_coord, y_coord, colspan, rowspan)
efl.elementary.
Table
(Object parent, *args, **kwargs)¶parent (efl.evas.Object
) – The parent object
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance
efl.elementary.
table_pack_set
(subobj, x, y, w, h)¶Set the packing location of an existing child of the table
Modifies the position of an object already in the table.
Note
All positioning inside the table is relative to rows and
columns, so a value of 0 for x and y, means the top left cell of
the table, and a value of 1 for w and h means subobj
only
takes that 1 cell.
subobj (Object
) – The subobject to be modified in the table
x (int) – Row number
y (int) – Column number
w (int) – rowspan
h (int) – colspan