summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_grid.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_grid.eo')
-rw-r--r--src/lib/evas/canvas/evas_grid.eo123
1 files changed, 0 insertions, 123 deletions
diff --git a/src/lib/evas/canvas/evas_grid.eo b/src/lib/evas/canvas/evas_grid.eo
deleted file mode 100644
index 74ea331..0000000
--- a/src/lib/evas/canvas/evas_grid.eo
+++ /dev/null
@@ -1,123 +0,0 @@
1class Evas.Grid extends Efl.Canvas.Group
2{
3 [[Evas grid class]]
4 legacy_prefix: evas_object_grid;
5 eo_prefix: evas_obj_grid;
6 methods {
7 @property grid_size {
8 set {
9 [[Set the virtual resolution for the grid
10
11 @since 1.1]]
12 legacy: evas_object_grid_size_set;
13 }
14 get {
15 [[Get the current virtual resolution
16
17 See also @.grid_size.set
18
19 @since 1.1]]
20 legacy: evas_object_grid_size_get;
21 }
22 values {
23 w: int; [[The virtual horizontal size (resolution) in integer units.]]
24 h: int; [[The virtual vertical size (resolution) in integer units.]]
25 }
26 }
27 @property children {
28 get {
29 [[Get the list of children for the grid.
30
31 Note: This is a duplicate of the list kept by the grid internally.
32 It's up to the user to destroy it when it no longer needs it.
33 It's possible to remove objects from the grid when walking this
34 list, but these removals won't be reflected on it.
35
36 @since 1.1]]
37 return: list<Efl.Canvas.Object> @owned @warn_unused; [[Iterator to grid children]]
38 }
39 }
40 accessor_new @const {
41 [[Get an accessor to get random access to the list of children for the grid.
42
43 Note: Do not remove or delete objects while walking the list.
44
45 @since 1.1]]
46 return: accessor<Efl.Canvas.Object> @owned @warn_unused; [[Accessor to children list]]
47 }
48 clear {
49 [[Faster way to remove all child objects from a grid object.
50
51 @since 1.1]]
52
53 params {
54 @in clear: bool; [[If $true, it will delete just removed children.]]
55 }
56 }
57 iterator_new @const {
58 [[Get an iterator to walk the list of children for the grid.
59
60 Note: Do not remove or delete objects while walking the list.
61
62 @since 1.1]]
63 return: iterator<Efl.Canvas.Object> @owned @warn_unused; [[Iterator]]
64 }
65 add_to {
66 [[Create a grid that is child of a given element parent.
67
68 \@ref evas_object_grid_add()
69
70 @since 1.1]]
71
72 return: Efl.Canvas.Object @warn_unused; [[New child object]]
73 }
74 unpack {
75 [[Remove child from grid.
76
77 Note: removing a child will immediately call a walk over children in order
78 to recalculate numbers of columns and rows. If you plan to remove
79 all children, use evas_object_grid_clear() instead.
80
81 @since 1.1]]
82
83 return: bool; [[1 on success, 0 on failure.]]
84 params {
85 @in child: Efl.Canvas.Object @nonull; [[Child to be removed]]
86 }
87 }
88 pack_get @const {
89 [[Get the pack options for a grid child
90
91 Get the pack x, y, width and height in virtual coordinates set by
92 @.pack.
93
94 @since 1.1]]
95 return: bool; [[1 on success, 0 on failure.]]
96 params {
97 @in child: Efl.Canvas.Object; [[The grid child to query for coordinates.]]
98 @out x: int; [[The pointer to where the x coordinate will be returned.]]
99 @out y: int; [[The pointer to where the y coordinate will be returned.]]
100 @out w: int; [[The pointer to where the width will be returned.]]
101 @out h: int; [[The pointer to where the height will be returned.]]
102 }
103 }
104 pack {
105 [[Add a new child to a grid object.
106
107 @since 1.1]]
108
109 return: bool; [[1 on success, 0 on failure.]]
110 params {
111 @in child: Efl.Canvas.Object @nonull; [[The child object to add.]]
112 @in x: int; [[The virtual x coordinate of the child.]]
113 @in y: int; [[The virtual y coordinate of the child.]]
114 @in w: int; [[The virtual width of the child.]]
115 @in h: int; [[The virtual height of the child.]]
116 }
117 }
118 }
119 implements {
120 Efl.Object.constructor;
121 Efl.Ui.I18n.mirrored {get; set;}
122 }
123}