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 aRelativeLayout
and can accept any number of widgets- color_disabled = [0.8, 0.8, 0.8, 1]
Background color of
CupertinoClickableTableCell
when disabledPython
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 pressedPython
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 disabledPython
CupertinoClickableTableCell(color_normal=(1, 0, 0, 1))
KV
CupertinoClickableTableCell: color_normal: 1, 0, 0, 1
- disabled = False
If
CupertinoClickableTableCell
is disabledPython
CupertinoClickableTableCell(disabled=True)
KV
CupertinoClickableTableCell: disabled: True
- transition_duration = 0.075
Duration of the transition of the color of
CupertinoButton
when its state changesPython
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 aRelativeLayout
and can accept any number of widgets- color = [1, 1, 1, 1]
Background color of
CupertinoTableCell
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
- add_widget(widget, index=0, canvas=None)
Add an instance of
CupertinoTableCell
toCupertinoTableGroup
- Parameters
widget – Instance of
CupertinoTableCell
to be added toCupertinoTableGroup
index – Index at which
CupertinoTableCell
will be inserted intochildren
ofCupertinoTableGroup
canvas – Canvas at which
CupertinoTableCell
will be inserted intoCupertinoTableGroup
- text = ' '
Background color of
CupertinoClickableTableCell
when disabledPython
CupertinoTableGroup(text='Example Group')
KV
CupertinoTableGroup: text: 'Example Group'
- text_color = [0.6, 0.6, 0.6, 1]
Background color of
CupertinoClickableTableCell
when disabledPython
CupertinoTableGroup(text_color=(1, 0, 0, 1))
KV
CupertinoTableGroup: text_color: 1, 0, 0, 1