A grid layout widget.
The grid is a grid layout widget that lays out a series of children as a fixed “grid” of widgets using a given percentage of the grid width and height each using the child object.
The Grid uses a “Virtual resolution” that is stretched to fill the grid widgets size itself. The default is 100 x 100, so that means the position and sizes of children will effectively be percentages (0 to 100) of the width or height of the grid widget.
efl.elementary.
Grid
(Object parent, *args, **kwargs)¶Bases: efl.elementary.__init__.Object
Parameters: |
|
---|
children_get
()¶clear
(clear)¶Faster way to remove all child objects from a grid object.
Parameters: | clear (bool) – If True, will also delete the just removed children |
---|
pack
(subobj, x, y, w, h)¶Pack child at given position and size
Parameters: |
|
---|
size
¶The virtual size (width and height) of the grid.
Type: | tuple of Evas_Coords (int) |
---|
size_get
()¶size_set
(w, h)¶efl.elementary.
grid_pack_set
(subobj, x, y, w, h)¶Set packing of an existing child at to position and size
Parameters: |
|
---|