summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_pack_table.eo
diff options
context:
space:
mode:
authorSangHyeon Lee <sh10233.lee@samsung.com>2017-12-19 14:13:58 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 14:25:08 +0900
commit0f16a0671008a324d8e1b523fb16ce7b5c1acd6c (patch)
treed5dabf48cdae006c2d9ec2edcb845803acdcef1f /src/lib/efl/interfaces/efl_pack_table.eo
parent85b2a8669a321495967d5d45737fcb94f137d979 (diff)
interface : change efl_pack_grid and efl_ui_grid to efl_pack_table and efl_ui_table
Summary: Change name of 'grid' to 'table' for matching on common ui naming and avoiding confusion with 'gengrid' and 'grid view'. grid will be introduced as grid image view after. Test Plan: checked make & make install checked make check - there are errors but not related with these changes. checked make examples - there are errors in cxx but not related with these changes. checked make discheck - failed test in elementary_test with Efl.Ui.Table and Table_static. Reviewers: raster, cedric, jpeg, felipealmeida Differential Revision: https://phab.enlightenment.org/D5668
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_pack_table.eo (renamed from src/lib/efl/interfaces/efl_pack_grid.eo)38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/lib/efl/interfaces/efl_pack_grid.eo b/src/lib/efl/interfaces/efl_pack_table.eo
index 3cd9cb27e8..4159fad19c 100644
--- a/src/lib/efl/interfaces/efl_pack_grid.eo
+++ b/src/lib/efl/interfaces/efl_pack_table.eo
@@ -1,44 +1,44 @@
1import efl_gfx_types; 1import efl_gfx_types;
2 2
3interface Efl.Pack.Grid (Efl.Pack.Linear) 3interface Efl.Pack.Table (Efl.Pack.Linear)
4{ 4{
5 [[2D containers aligned on a grid with rows and columns]] 5 [[2D containers aligned on a table with rows and columns]]
6 eo_prefix: efl_pack; 6 eo_prefix: efl_pack;
7 methods { 7 methods {
8 pack_grid { 8 pack_table {
9 [[Pack object at a given location in the grid. 9 [[Pack object at a given location in the table.
10 10
11 When this container is deleted, it will request deletion on the 11 When this container is deleted, it will request deletion on the
12 given $subobj. Use @Efl.Pack.unpack to remove $subobj from this 12 given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
13 container without deleting it. 13 container without deleting it.
14 ]] 14 ]]
15 params { 15 params {
16 subobj: Efl.Gfx; [[A child object to pack in this grid.]] 16 subobj: Efl.Gfx; [[A child object to pack in this table.]]
17 col: int; [[Column number]] 17 col: int; [[Column number]]
18 row: int; [[Row number]] 18 row: int; [[Row number]]
19 colspan: int @optional; [[0 means 1, -1 means @.grid_columns]] 19 colspan: int @optional; [[0 means 1, -1 means @.table_columns]]
20 rowspan: int @optional; [[0 means 1, -1 means @.grid_rows]] 20 rowspan: int @optional; [[0 means 1, -1 means @.table_rows]]
21 } 21 }
22 return: bool; [[$true on success, $false otherwise]] 22 return: bool; [[$true on success, $false otherwise]]
23 } 23 }
24 grid_contents_get { 24 table_contents_get {
25 [[Returns all objects at a given position in this grid.]] 25 [[Returns all objects at a given position in this table.]]
26 return: iterator<Efl.Gfx> @owned; [[Iterator to grid contents]] 26 return: iterator<Efl.Gfx> @owned; [[Iterator to table contents]]
27 params { 27 params {
28 @in col: int; [[Column number]] 28 @in col: int; [[Column number]]
29 @in row: int; [[Row number]] 29 @in row: int; [[Row number]]
30 @in below: bool @optional; [[If $true get objects spanning over this cell.]] 30 @in below: bool @optional; [[If $true get objects spanning over this cell.]]
31 } 31 }
32 } 32 }
33 grid_content_get { 33 table_content_get {
34 [[Returns a child at a given position, see @.grid_contents_get.]] 34 [[Returns a child at a given position, see @.table_contents_get.]]
35 return: Efl.Gfx; [[Child object]] 35 return: Efl.Gfx; [[Child object]]
36 params { 36 params {
37 @in col: int; [[Column number]] 37 @in col: int; [[Column number]]
38 @in row: int; [[Row number]] 38 @in row: int; [[Row number]]
39 } 39 }
40 } 40 }
41 @property grid_position { 41 @property table_position {
42 [[Position and span of the $subobj in this container, may be modified to move the $subobj]] 42 [[Position and span of the $subobj in this container, may be modified to move the $subobj]]
43 get { return: bool; [[Returns false if item is not a child]] } 43 get { return: bool; [[Returns false if item is not a child]] }
44 keys { 44 keys {
@@ -51,8 +51,8 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
51 rowspan: int; [[Row span]] 51 rowspan: int; [[Row span]]
52 } 52 }
53 } 53 }
54 @property grid_size { 54 @property table_size {
55 [[Combines @.grid_columns and @.grid_rows]] 55 [[Combines @.table_columns and @.table_rows]]
56 set {} 56 set {}
57 get {} 57 get {}
58 values { 58 values {
@@ -60,7 +60,7 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
60 rows: int; [[Number of rows]] 60 rows: int; [[Number of rows]]
61 } 61 }
62 } 62 }
63 @property grid_columns { 63 @property table_columns {
64 [[Gird columns property]] 64 [[Gird columns property]]
65 set { [[Specifies limit for linear adds - if direction is horizontal]] } 65 set { [[Specifies limit for linear adds - if direction is horizontal]] }
66 get {} 66 get {}
@@ -68,15 +68,15 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
68 cols: int; [[Number of columns]] 68 cols: int; [[Number of columns]]
69 } 69 }
70 } 70 }
71 @property grid_rows { 71 @property table_rows {
72 [[Grid rows property]] 72 [[Table rows property]]
73 set { [[Specifies limit for linear adds - if direction is vertical]] } 73 set { [[Specifies limit for linear adds - if direction is vertical]] }
74 get {} 74 get {}
75 values { 75 values {
76 rows: int; [[Number of rows]] 76 rows: int; [[Number of rows]]
77 } 77 }
78 } 78 }
79 @property grid_direction { 79 @property table_direction {
80 [[Primary and secondary up/left/right/down directions for linear apis. 80 [[Primary and secondary up/left/right/down directions for linear apis.
81 81
82 Default is horizontal and vertical. 82 Default is horizontal and vertical.