Version

Quick search

Table Of Contents

RecycleLayout

New in version 1.10.0.

Warning

This module is highly experimental, its API may change in the future and the documentation is not complete at this time.

class kivy.uix.recyclelayout.RecycleLayout(**kwargs)[source]

Bases: kivy.uix.recycleview.layout.RecycleLayoutManagerBehavior, kivy.uix.layout.Layout

RecycleLayout provides the default layout for RecycleViews.

default_size

size as in w, h. They each can be None.

do_layout(*largs)[source]

This function is called when a layout is called by a trigger. If you are writing a new Layout subclass, don’t call this function directly but use _trigger_layout() instead.

The function is by default called before the next frame, therefore the layout isn’t updated immediately. Anything depending on the positions of e.g. children should be scheduled for the next frame.

New in version 1.0.8.

refresh_view_layout(index, layout, view, viewport)[source]

See :meth:`~kivy.uix.recycleview.views.RecycleDataAdapter.refresh_view_layout.

set_visible_views(indices, data, viewport)[source]

viewport is in coordinates of the layout manager.