class documentation
A simple alert dialog class for displaying messages to the user.
| Method | __del__ |
Clean up resources and deinitialize LVGL. |
| Method | __init__ |
Initialize the Alert with drawing context and styling. |
| Method | clear |
Clear the display with the background color. |
| Method | draw |
Render the alert message on the display. |
| Method | text |
Set the alert text. |
| Instance Variable | background |
Undocumented |
| Instance Variable | display |
Undocumented |
| Instance Variable | is |
Undocumented |
| Instance Variable | text |
Undocumented |
| Instance Variable | use |
Undocumented |
| Property | text |
Get the current alert text. |
| Instance Variable | _lvgl |
Undocumented |
| Instance Variable | _text |
Undocumented |
Initialize the Alert with drawing context and styling.
| Parameters | |
draw:Draw | The drawing context to render the alert. |
text:str | The message to display in the alert. |
textint | The color of the text. Defaults to 0xFFFF. |
backgroundint | The background color of the alert. Defaults to 0x0000. |