doc: added redimentary docs to recycle layouts

This commit is contained in:
Zen-CODE 2016-08-01 22:26:49 +02:00
parent 6163b26952
commit 16b46bd1c4
2 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,12 @@ RecycleBoxLayout
.. warning::
This module is highly experimental, its API may change in the future and
the documentation is not complete at this time.
The RecycleBoxLayout is designed to provide a
:class:`~kivy.uix.boxlayout.BoxLayout` type layout when used with the
:class:`~kivy.uix.recycleview.RecycleView` widget. Please refer to the
:mod:`~kivy.uix.recycleview` module documentation for more information.
"""
from kivy.uix.recyclelayout import RecycleLayout

View File

@ -5,6 +5,11 @@ RecycleGridLayout
.. warning::
This module is highly experimental, its API may change in the future and
the documentation is not complete at this time.
The RecycleGridLayout is designed to provide a
:class:`~kivy.uix.gridlayout.GridLayout` type layout when used with the
:class:`~kivy.uix.recycleview.RecycleView` widget. Please refer to the
:mod:`~kivy.uix.recycleview` module documentation for more information.
"""
from kivy.uix.recyclelayout import RecycleLayout
@ -13,6 +18,7 @@ from collections import defaultdict
__all__ = ('RecycleGridLayout', )
def nmax(*args):
# merge into one list
args = [x for x in args if x is not None]