summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_layout.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-20 14:55:26 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-26 11:36:23 +0900
commit902950018be3682c0549174fc0c6d1c04141cd39 (patch)
treee909eb2fdd7b12dfbba38d8a8c4f16d9340398e5 /src/lib/elementary/elm_layout.eo
parent8c02bf5be65f6d8fa6c4659eb54746531fead1a4 (diff)
Efl: Introduce Efl.Container and unify APIs
This removes Efl.Pack_Named which had a terrible name, removes Elm.Container which should have been renamed Efl.Ui.Container anyway, and introduces an interface Efl.Container instead. The hierarchy tree is now changed as objects don't inherit from Efl.Container (it's an interface, not a regular class) but only implement it. Obviously it is very easy to reintroduce an Efl.Ui.Container parent class if we need it, but I guess it should have some actual logic. It's basically part of what Elm.Widget already does. Some function names have been modified to look better in C with the efl_content prefix. @feature
Diffstat (limited to 'src/lib/elementary/elm_layout.eo')
-rw-r--r--src/lib/elementary/elm_layout.eo13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_layout.eo b/src/lib/elementary/elm_layout.eo
index f769f47fcf..a9904b84d3 100644
--- a/src/lib/elementary/elm_layout.eo
+++ b/src/lib/elementary/elm_layout.eo
@@ -17,7 +17,7 @@ struct Elm.Layout_Part_Alias_Description
17 real_part: const(char)*; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]] 17 real_part: const(char)*; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]]
18} 18}
19 19
20class Elm.Layout (Elm.Container, Efl.File) 20class Elm.Layout (Elm.Widget, Efl.Container, Efl.File)
21{ 21{
22 eo_prefix: elm_obj_layout; 22 eo_prefix: elm_obj_layout;
23 data: Elm_Layout_Smart_Data; 23 data: Elm_Layout_Smart_Data;
@@ -489,11 +489,12 @@ class Elm.Layout (Elm.Container, Efl.File)
489 Elm.Widget.disable; 489 Elm.Widget.disable;
490 Elm.Widget.sub_object_del; 490 Elm.Widget.sub_object_del;
491 Elm.Widget.on_focus; 491 Elm.Widget.on_focus;
492 Elm.Container.content.get; 492 Efl.Container.content.get;
493 Elm.Container.content.set; 493 Efl.Container.content.set;
494 Elm.Container.content_unset; 494 Efl.Container.content_unset;
495 Elm.Container.content_names_iterate; 495 Efl.Container.content_part_name.get;
496 Elm.Container.content_objects_iterate; 496 Efl.Container.content_count;
497 Efl.Container.content_iterate;
497 } 498 }
498 events { 499 events {
499 theme,changed; 500 theme,changed;