summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-23 12:26:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-23 12:28:47 -0500
commitbb389fc9af335f4916780812ace7273d64e8bceb (patch)
treea813a9e9779fb83e25ff8b25af395b6fda6e6dad
parent90bfa8d2a3317aa2b8f861256b8b23743f976385 (diff)
table: implement Evas.Object_Smart.calculate
this allows tables to be manually calculated ref T2836
-rw-r--r--src/lib/elm_table.c8
-rw-r--r--src/lib/elm_table.eo1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/elm_table.c b/src/lib/elm_table.c
index 1a4d01a7d..ed1a9061e 100644
--- a/src/lib/elm_table.c
+++ b/src/lib/elm_table.c
@@ -407,4 +407,12 @@ _elm_table_class_constructor(Eo_Class *klass)
407 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 407 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
408} 408}
409 409
410EOLIAN void
411_elm_table_evas_object_smart_calculate(Eo *obj, void *pd EINA_UNUSED)
412{
413 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
414
415 evas_object_smart_calculate(wd->resize_obj);
416}
417
410#include "elm_table.eo.c" 418#include "elm_table.eo.c"
diff --git a/src/lib/elm_table.eo b/src/lib/elm_table.eo
index 2793f3545..9d2ae65ba 100644
--- a/src/lib/elm_table.eo
+++ b/src/lib/elm_table.eo
@@ -120,6 +120,7 @@ class Elm.Table (Elm.Widget)
120 Eo.Base.constructor; 120 Eo.Base.constructor;
121 Evas.Object_Smart.add; 121 Evas.Object_Smart.add;
122 Evas.Object_Smart.del; 122 Evas.Object_Smart.del;
123 Evas.Object_Smart.calculate;
123 Elm.Widget.focus_direction; 124 Elm.Widget.focus_direction;
124 Elm.Widget.focus_next_manager_is; 125 Elm.Widget.focus_next_manager_is;
125 Elm.Widget.focus_next; 126 Elm.Widget.focus_next;