Icon
ttkbootstrap.icons.Icon
A container class that contains base64 image attributes that can
be used in the PhotoImage
class using the data
parameter.
Attributes:
Name | Type | Description |
---|---|---|
icon |
str |
The ttkbootstrap icon. |
error |
str |
An error image. |
warning |
str |
A warning image. |
question |
str |
A question image. |
info |
str |
An info image. |
Examples:
img = tk.PhotoImage(data=Icon.warning)