Table

Tables help organize data and information for users to view and interact with

class kivycupertino.uix.table.CupertinoClickableTableCell(*args: Any, **kwargs: Any)

iOS style clickable Cell for Table View. CupertinoClickableTableCell is a RelativeLayout and can accept any number of widgets

../_images/demo17.gif
color_disabled = [0.8, 0.8, 0.8, 1]

Background color of CupertinoClickableTableCell when disabled

../_images/color_disabled6.png

Python

CupertinoTableCell(disabled=True, color_disabled=(0.5, 0, 0, 1))

KV

CupertinoClickableTableCell:
    disabled: True
    color_disabled: 0.5, 0, 0, 1
color_down = [0.9, 0.9, 0.9, 0.9]

Background color of CupertinoClickableTableCell when pressed

../_images/color_down5.gif

Python

CupertinoClickableTableCell(color_down=(0.5, 0, 0, 1))

KV

CupertinoClickableTableCell:
    color_down: 0.5, 0, 0, 1
color_normal = [1, 1, 1, 1]

Background color of CupertinoClickableTableCell when not pressed or disabled

../_images/color_normal7.png

Python

CupertinoClickableTableCell(color_normal=(1, 0, 0, 1))

KV

CupertinoClickableTableCell:
    color_normal: 1, 0, 0, 1
disabled = False

If CupertinoClickableTableCell is disabled

../_images/disabled5.png

Python

CupertinoClickableTableCell(disabled=True)

KV

CupertinoClickableTableCell:
    disabled: True
transition_duration = 0.075

Duration of the transition of the color of CupertinoButton when its state changes

../_images/transition_duration5.gif

Python

CupertinoClickableTableCell(transition_duration=0.5)

KV

CupertinoClickableTableCell:
    transition_duration: 0.5
class kivycupertino.uix.table.CupertinoTableCell(*args: Any, **kwargs: Any)

iOS style Cell for Table View. CupertinoTableCell is a RelativeLayout and can accept any number of widgets

../_images/demo6.png
color = [1, 1, 1, 1]

Background color of CupertinoTableCell

../_images/color6.png

Python

CupertinoTableCell(color=(1, 0, 0, 1))

KV

CupertinoNavigationBar:
    CupertinoTableCell: 1, 0, 0, 1
class kivycupertino.uix.table.CupertinoTableGroup(*args: Any, **kwargs: Any)

iOS style table group

../_images/demo7.png
add_widget(widget, index=0, canvas=None)

Add an instance of CupertinoTableCell to CupertinoTableGroup

Parameters
text = ' '

Background color of CupertinoClickableTableCell when disabled

../_images/text6.png

Python

CupertinoTableGroup(text='Example Group')

KV

CupertinoTableGroup:
    text: 'Example Group'
text_color = [0.6, 0.6, 0.6, 1]

Background color of CupertinoClickableTableCell when disabled

../_images/text_color5.png

Python

CupertinoTableGroup(text_color=(1, 0, 0, 1))

KV

CupertinoTableGroup:
    text_color: 1, 0, 0, 1