summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_grid.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-12 14:10:47 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-20 10:47:40 +0900
commit2343aa79005bb0d9de69f375047b033298bb8953 (patch)
tree9988f3702cfe9cd98cad8334728699b23f0580ad /src/lib/elementary/efl_ui_grid.eo
parentb18a993dc0a1f9aa762dbafcce63155fb73d7d7b (diff)
Efl.Ui.Grid: Add implementation of a grid/table
This is only a partial implementation, work in progress. The grid object should be a replacement for evas and elementary's table and grid. Only the layout of items inside the container is different, otherwise the API should be the same. For now, this widget is based on an evas table but the full layout logic will need to be reimplemented, eventually. @feature
Diffstat (limited to 'src/lib/elementary/efl_ui_grid.eo')
-rw-r--r--src/lib/elementary/efl_ui_grid.eo50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_grid.eo b/src/lib/elementary/efl_ui_grid.eo
new file mode 100644
index 0000000000..accbddc65a
--- /dev/null
+++ b/src/lib/elementary/efl_ui_grid.eo
@@ -0,0 +1,50 @@
1class Efl.Ui.Grid (Elm.Widget, Efl.Pack_Grid)
2{
3 methods {
4 }
5 implements {
6 Eo.Base.constructor;
7
8 Evas.Object_Smart.add;
9 Evas.Object_Smart.del;
10 Evas.Object_Smart.calculate;
11
12 Elm.Widget.focus_direction;
13 Elm.Widget.focus_next_manager_is;
14 Elm.Widget.focus_direction_manager_is;
15 Elm.Widget.focus_next;
16 Elm.Widget.theme_apply;
17
18 Efl.Pack.contents_iterate;
19 Efl.Pack.contents_count;
20 Efl.Pack.clear;
21 Efl.Pack.unpack_all;
22 Efl.Pack.unpack;
23 Efl.Pack.pack;
24 Efl.Pack.padding.get;
25 Efl.Pack.padding.set;
26 Efl.Pack.layout_update;
27 Efl.Pack.layout_request;
28 Efl.Pack_Grid.pack_grid;
29 Efl.Pack_Grid.grid_children_at;
30 Efl.Pack_Grid.grid_child_position.set;
31 Efl.Pack_Grid.grid_child_position.get;
32 Efl.Pack_Grid.grid_size.set;
33 Efl.Pack_Grid.grid_size.get;
34 Efl.Pack_Grid.max_span.set;
35 Efl.Pack_Grid.max_span.get;
36 Efl.Pack_Grid.columns.set;
37 Efl.Pack_Grid.columns.get;
38 Efl.Pack_Grid.rows.set;
39 Efl.Pack_Grid.rows.get;
40 Efl.Pack_Linear.pack_end;
41 //Efl.Pack_Linear.child_at.get;
42 //Efl.Pack_Linear.child_at.set;
43 //Efl.Pack_Linear.child_index.get;
44 //Efl.Pack_Linear.child_index.set;
45 Efl.Pack_Linear.direction.set;
46 Efl.Pack_Linear.direction.get;
47 Efl.Pack_Grid.directions.set;
48 Efl.Pack_Grid.directions.get;
49 }
50}