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.

../_images/demo5.png
color = [0, 0, 0, 1]

Color of CupertinoSymbol

../_images/color5.png

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.

../_images/symbol3.png

Python

CupertinoSymbol(symbol='alarm_fill')

KV

CupertinoSymbol:
    symbol: 'alarm_fill'