summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_grid.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-03 15:55:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-03 16:52:31 +0900
commit31279d2513f02588854c3720aa811be0ea83c0e4 (patch)
treeedc2d68ccc1376430305a44a9e877af03983e581 /src/lib/elementary/efl_ui_grid.eo
parent681ddb2f909d0282f0c0ec04230d89999e90983a (diff)
downloadefl-31279d2513f02588854c3720aa811be0ea83c0e4.tar.gz
Efl.Pack: Replace pack_direction with Efl.Orientation
Since I first made the pack_direction before orientation existed, the names didn't match. This should improve API consistency.
Diffstat (limited to 'src/lib/elementary/efl_ui_grid.eo')
-rw-r--r--src/lib/elementary/efl_ui_grid.eo19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/lib/elementary/efl_ui_grid.eo b/src/lib/elementary/efl_ui_grid.eo
index 71d8289f49..ff86585acf 100644
--- a/src/lib/elementary/efl_ui_grid.eo
+++ b/src/lib/elementary/efl_ui_grid.eo
@@ -1,23 +1,20 @@
-class Efl.Ui.Grid (Elm.Widget, Efl.Pack.Grid, Efl.Pack.Layout)
+class Efl.Ui.Grid (Elm.Widget, Efl.Pack.Grid, Efl.Pack.Layout,
+ Efl.Orientation)
{
implements {
Eo.Base.constructor;
-
- // Smart obj
Evas.Object.Smart.add;
Evas.Object.Smart.del;
Evas.Object.Smart.calculate;
-
- // Focus
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.focus_next;
Elm.Widget.theme_apply;
-
- // Packing interface
Efl.Container.content_iterate;
Efl.Container.content_count;
+ Efl.Orientation.orientation.set;
+ Efl.Orientation.orientation.get;
Efl.Pack.pack_clear;
Efl.Pack.unpack_all;
Efl.Pack.unpack;
@@ -34,13 +31,9 @@ class Efl.Ui.Grid (Elm.Widget, Efl.Pack.Grid, Efl.Pack.Layout)
Efl.Pack.Grid.grid_columns.get;
Efl.Pack.Grid.grid_rows.set;
Efl.Pack.Grid.grid_rows.get;
- Efl.Pack.Grid.grid_directions.set;
- Efl.Pack.Grid.grid_directions.get;
+ Efl.Pack.Grid.grid_orientation.set;
+ Efl.Pack.Grid.grid_orientation.get;
Efl.Pack.Linear.pack_end;
- Efl.Pack.Linear.pack_direction.set;
- Efl.Pack.Linear.pack_direction.get;
-
- // Custom layouts
Efl.Pack.Layout.layout_update;
Efl.Pack.Layout.layout_request;
Efl.Pack.Layout.layout_engine.get;