From 16b46bd1c4d017426fccba7f6f97b7a7ad505a29 Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Mon, 1 Aug 2016 22:26:49 +0200 Subject: [PATCH] doc: added redimentary docs to recycle layouts --- kivy/uix/recycleboxlayout.py | 6 ++++++ kivy/uix/recyclegridlayout.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/kivy/uix/recycleboxlayout.py b/kivy/uix/recycleboxlayout.py index 2db09ecb2..efdf9f17a 100644 --- a/kivy/uix/recycleboxlayout.py +++ b/kivy/uix/recycleboxlayout.py @@ -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 diff --git a/kivy/uix/recyclegridlayout.py b/kivy/uix/recyclegridlayout.py index f9b150aba..ae21fa817 100644 --- a/kivy/uix/recyclegridlayout.py +++ b/kivy/uix/recyclegridlayout.py @@ -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]