summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_grid.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/efl_ui_grid.eo
parent8c02bf5be65f6d8fa6c4659eb54746531fead1a4 (diff)
downloadefl-902950018be3682c0549174fc0c6d1c04141cd39.tar.gz
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/efl_ui_grid.eo')
-rw-r--r--src/lib/elementary/efl_ui_grid.eo6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_grid.eo b/src/lib/elementary/efl_ui_grid.eo
index afa0e6bac9..a6ee16a074 100644
--- a/src/lib/elementary/efl_ui_grid.eo
+++ b/src/lib/elementary/efl_ui_grid.eo
@@ -17,8 +17,8 @@ class Efl.Ui.Grid (Elm.Widget, Efl.Pack_Grid, Efl.Pack_Layout)
Elm.Widget.theme_apply;
// Packing interface
- Efl.Pack.contents_get;
- Efl.Pack.contents_count;
+ Efl.Container.content_iterate;
+ Efl.Container.content_count;
Efl.Pack.pack_clear;
Efl.Pack.unpack_all;
Efl.Pack.unpack;
@@ -26,8 +26,8 @@ class Efl.Ui.Grid (Elm.Widget, Efl.Pack_Grid, Efl.Pack_Layout)
Efl.Pack.pack_padding.get;
Efl.Pack.pack_padding.set;
Efl.Pack_Grid.pack_grid;
- Efl.Pack_Grid.grid_contents_at;
Efl.Pack_Grid.grid_content_at;
+ Efl.Pack_Grid.grid_content_iterate;
Efl.Pack_Grid.grid_content_position.set;
Efl.Pack_Grid.grid_content_position.get;
Efl.Pack_Grid.grid_size.set;