path: root/src/lib/elementary/efl_ui_grid.eo
diff options
authorJean-Philippe Andre <>2017-04-17 13:41:29 +0900
committerJean-Philippe Andre <>2017-04-18 15:34:29 +0900
commitacb9ae70fe7832b0c3a08fb3f316a9630405bc49 (patch)
tree27673d0562c3ec79c75b5d7b9bb0baf509956e2e /src/lib/elementary/efl_ui_grid.eo
parentd6d4c3c25b932ff5fac8c6d0834c515cfa9d9c3b (diff)
eo/elm: Simplify box/grid EO API
After talking with @eunue I realised that the way I'd first implemented the box/grid "pack" API was simply too complicated. I had tried to make it possible to change the layout function at runtime, like good old evas box, but since there are no function pointers in EO the final design was really convoluted. If someone really needs to change the layout of a box at runtime, just create your own subclass, or unpack all items and repack them in a new box. Note: there are still some issues with the layout params & flow
Diffstat (limited to 'src/lib/elementary/efl_ui_grid.eo')
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_grid.eo b/src/lib/elementary/efl_ui_grid.eo
index a1d8970c5f..746ff45d06 100644
--- a/src/lib/elementary/efl_ui_grid.eo
+++ b/src/lib/elementary/efl_ui_grid.eo
@@ -31,7 +31,5 @@ class Efl.Ui.Grid (Elm.Widget, Efl.Pack.Grid, Efl.Pack.Layout,
31 Efl.Pack.Linear.pack_end; 31 Efl.Pack.Linear.pack_end;
32 Efl.Pack.Layout.layout_update; 32 Efl.Pack.Layout.layout_update;
33 Efl.Pack.Layout.layout_request; 33 Efl.Pack.Layout.layout_request;
34 Efl.Pack.Layout.layout_engine { get; set; }
35 Efl.Pack.Layout.layout_do;
36 } 34 }
37} 35}