Text¶
- class widgets.Text(text: str, color: Color = None, font: Font = None, background_color: Color = None, corner_radius: float = 0.0, padding: Padding = None, link: str = None)¶
A widget UI element displaying plain text.
- text¶
The text displayed on screen.
- Return type:
str
- font¶
The font of the text.
- Return type:
- color¶
The foreground color of the text.
- Return type: