Data Structures | |
| struct | address_const_of |
| struct | address_of |
Public Member Functions | |
| void | clear (bool clear_) const |
| Faster way to remove all child objects from a table object. More... | |
| Eina_Accessor * | accessor_new () const |
| Get an accessor to get random access to the list of children for the table. More... | |
| Eina_Iterator * | iterator_new () const |
| Get an iterator to walk the list of children for the table. More... | |
| ::efl::eina::optional< ::evas::object > | add_to () const |
| Create a table that is child of a given element parent. More... | |
| bool | pack_get (::efl::eina::optional< ::evas::object > child_, unsigned short *col_, unsigned short *row_, unsigned short *colspan_, unsigned short *rowspan_) const |
| Get packing location of a child of table. More... | |
| bool | pack (::evas::object child_, unsigned short col_, unsigned short row_, unsigned short colspan_, unsigned short rowspan_) const |
| Add a new child to a table object or set its current packing. More... | |
| bool | unpack (::evas::object child_) const |
| Remove child from table. More... | |
| Evas_Object_Table_Homogeneous_Mode | homogeneous_get () const |
| Get the current layout homogeneous mode. More... | |
| void | homogeneous_set (Evas_Object_Table_Homogeneous_Mode homogeneous_) const |
| Set how this table should layout children. More... | |
| void | align_get (double *horizontal_, double *vertical_) const |
| Get alignment of the whole bounding box of contents. More... | |
| void | align_set (double horizontal_, double vertical_) const |
| Set the alignment of the whole bounding box of contents. More... | |
| void | padding_get (Evas_Coord *horizontal_, Evas_Coord *vertical_) const |
| Get padding between cells. More... | |
| void | padding_set (Evas_Coord horizontal_, Evas_Coord vertical_) const |
| Set padding between cells. More... | |
| bool | mirrored_get () const |
| Gets the mirrored mode of the table. More... | |
| void | mirrored_set (bool mirrored_) const |
| Sets the mirrored mode of the table. More... | |
| void | col_row_size_get (int *cols_, int *rows_) const |
| Get the number of columns and rows this table takes. More... | |
| ::efl::eina::optional< ::efl::eina::list< ::evas::object > > | children_get () const |
| Get the list of children for the table. More... | |
| ::efl::eina::optional< ::evas::object > | child_get (unsigned short col_, unsigned short row_) const |
| Get the child of the table at the given coordinates. More... | |
| operator::evas::table () const | |
| operator::evas::table & () | |
| operator::evas::table const & () const | |
Static Public Member Functions | |
| static Eo_Class const * | _eo_class () |
|
inline |
Faster way to remove all child objects from a table object.
| clear | if true, it will delete just removed children. |
|
inline |
Get an accessor to get random access to the list of children for the table.
|
inline |
Get an iterator to walk the list of children for the table.
|
inline |
Create a table that is child of a given element parent.
|
inline |
Get packing location of a child of table.
| child | The child object to add. | |
| [out] | col | pointer to store relative-horizontal position to place child. |
| [out] | row | pointer to store relative-vertical position to place child. |
| [out] | colspan | pointer to store how many relative-horizontal position to use for this child. |
| [out] | rowspan | pointer to store how many relative-vertical position to use for this child. |
|
inline |
Add a new child to a table object or set its current packing.
Note that columns and rows only guarantee 16bit unsigned values at best. That means that col + colspan AND row + rowspan must fit inside 16bit unsigned values cleanly. You will be warned once values exceed 15bit storage, and attempting to use values not able to fit in 16bits will result in failure.
| child | The child object to add. |
| col | relative-horizontal position to place child. |
| row | relative-vertical position to place child. |
| colspan | how many relative-horizontal position to use for this child. |
| rowspan | how many relative-vertical position to use for this child. |
|
inline |
Remove child from table.
| child |
|
inline |
Get the current layout homogeneous mode.
| homogeneous |
|
inline |
Set how this table should layout children.
WIDTH and COLUMNS, each cell will get WIDTH / COLUMNS pixels. If children have minimum size that is larger than this amount (including padding), then it will overflow and be aligned respecting the alignment hint, possible overlapping sibling cells. Weight hint is used as a boolean, if greater than zero it will make the child expand in that axis, taking as much space as possible (bounded to maximum size hint). Negative alignment will be considered as 0.5.| homogeneous |
|
inline |
Get alignment of the whole bounding box of contents.
| horizontal | |
| vertical |
|
inline |
Set the alignment of the whole bounding box of contents.
| horizontal | |
| vertical |
|
inline |
Get padding between cells.
| horizontal | |
| vertical |
|
inline |
Set padding between cells.
| horizontal | |
| vertical |
|
inline |
Gets the mirrored mode of the table.
EINA_TRUE if it's a mirrored table, EINA_FALSE otherwise. | mirrored | the mirrored mode to set |
|
inline |
Sets the mirrored mode of the table.
In mirrored mode the table items go from right to left instead of left to right. That is, 1,1 is top right, not top left.
| mirrored | the mirrored mode to set |
|
inline |
Get the number of columns and rows this table takes.
| cols | |
| rows |
|
inline |
Get the list of children for the table.
|
inline |
Get the child of the table at the given coordinates.
| child |