carbonkivy.uix.gridlayout

Submodules

Classes

CGridLayout

Implements the creation and addition of child widgets as declarative

Package Contents

class carbonkivy.uix.gridlayout.CGridLayout(**kwargs)[source]

Bases: carbonkivy.behaviors.AdaptiveBehavior, carbonkivy.behaviors.BackgroundColorBehaviorRectangular, carbonkivy.behaviors.DeclarativeBehavior, kivy.uix.gridlayout.GridLayout

Implements the creation and addition of child widgets as declarative programming style.

max_cols

Maximum number of columns in the grid.

min_cols

Minimum number of columns in the grid.

max_rows

Maximum number of rows in the grid.

min_rows

Minimum number of rows in the grid.

responsive

Wether to show responsive behavior or not.

responsive_attr

The attribute of the grid for responsive behavior.

scale_height

Height of a single element.

scale_width

Width of a single element.

on_responsive(*args) None[source]
adjust_cols(*args) None[source]
adjust_rows(*args) None[source]