Symbol
Symbols help portray an action with a simple symbol. To view all symbols in Kivy Cupertino,
visit Framework7 or run the Symbols program
- class kivycupertino.uix.symbol.CupertinoSymbol(*args: Any, **kwargs: Any)
Display an iOS style symbol.
- color = [0, 0, 0, 1]
Color of
CupertinoSymbol
Python
CupertinoSymbol(color=(1, 0, 0, 1))
KV
CupertinoSymbol: color: 1, 0, 0, 1
- on_symbol(instance, symbol)
Callback when symbol of
CupertinoSymbol
is changed- Parameters
instance – Instance of
CupertinoSymbol
symbol – Symbol to be displayed
- symbol = ' '
Symbol to be displayed by
CupertinoSymbol
.Python
CupertinoSymbol(symbol='alarm_fill')
KV
CupertinoSymbol: symbol: 'alarm_fill'