Scroll View

The CScrollView class inherits from ScrollView and extends its functionality by introducing additional properties.

For instance, let’s see an example of how CScrollView enhances control of background color compared to standard one.

CScrollView:
    bg_color: app.background_hover
ScrollView:
    canvas.before:
        Color:
            rgba: app.background_hover
        SmoothRectangle:
            pos: self.pos
            size: self.size

API

class carbonkivy.uix.scrollview.scrollview.CScrollView(*args: Any, **kwargs: Any)[source]

Bases: BackgroundColorBehaviorRectangular, ScrollView, DeclarativeBehavior