efl_ui_layout_part_table: implement missing API

setting of these properties does not work, as they are not available in
legacy, but edje is still creating legacy objects.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10007
This commit is contained in:
Marcel Hollerbach 2019-09-18 14:59:44 +02:00 committed by Cedric Bail
parent 2f48607e7c
commit bf12fe241e
2 changed files with 21 additions and 3 deletions

View File

@ -447,5 +447,23 @@ _efl_ui_layout_part_table_efl_pack_table_table_rows_get(const Eo *obj EINA_UNUSE
return rows;
}
EOLIAN static void
_efl_ui_layout_part_table_efl_pack_table_table_rows_set(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd EINA_UNUSED, int rows EINA_UNUSED)
{
ERR("This API is currently not supported on table parts");
}
EOLIAN static void
_efl_ui_layout_part_table_efl_pack_table_table_columns_set(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd EINA_UNUSED, int cols EINA_UNUSED)
{
ERR("This API is currently not supported on table parts");
}
EOLIAN static void
_efl_ui_layout_part_table_efl_pack_table_table_size_set(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd EINA_UNUSED, int cols EINA_UNUSED, int rows EINA_UNUSED)
{
ERR("This API is currently not supported on table parts");
}
#include "efl_ui_layout_part_box.eo.c"
#include "efl_ui_layout_part_table.eo.c"

View File

@ -21,8 +21,8 @@ class Efl.Ui.Layout_Part_Table extends Efl.Object implements Efl.Pack_Table
Efl.Pack_Table.table_contents_get;
Efl.Pack_Table.table_cell_column { get; set; }
Efl.Pack_Table.table_cell_row { get; set; }
Efl.Pack_Table.table_size { get; }
Efl.Pack_Table.table_columns { get; }
Efl.Pack_Table.table_rows { get; }
Efl.Pack_Table.table_size { get; set; }
Efl.Pack_Table.table_columns { get; set; }
Efl.Pack_Table.table_rows { get; set; }
}
}