python-efl/doc/elementary/grid.rst

34 lines
754 B
ReStructuredText

.. currentmodule:: efl.elementary
Grid
####
.. image:: /images/grid-preview.png
Widget description
==================
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.
Inheritance diagram
===================
.. inheritance-diagram:: Grid
:parts: 2
.. autoclass:: Grid
.. autofunction:: grid_pack_set
.. autofunction:: grid_pack_get