module documentation
Picoware Notifications Application
Gets FlipSocial, weather, email, and other notifications.
| Function | run |
Run the app. |
| Function | start |
Start the app. |
| Function | stop |
Stop the app. |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Function | __advance |
Move to the next fetch state. |
| Function | __card |
Calculate a card height from its content. |
| Function | __close |
Close the HTTP client. |
| Function | __close |
Close the IMAP client. |
| Function | __content |
Build dashboard cards from notification data. |
| Function | __draw |
Draw the notification dashboard. |
| Function | __draw |
Draw one dashboard card. |
| Function | __draw |
Draw a compact notification icon. |
| Function | __empty |
Return the default notification cache. |
| Function | __fit |
Fit text within a character limit. |
| Function | __request |
Process the result of an asynchronous request. |
| Function | __request |
Start an asynchronous request based on the current state. |
| Function | __request |
Return the current fetch status. |
| Function | __save |
Persist completed notification data. |
| Function | __set |
Store the first request warning. |
| Function | __wrap |
Wrap text to the display width. |
| Variable | _cache |
Undocumented |
| Variable | _cache |
Undocumented |
| Variable | _http |
Undocumented |
| Variable | _imap |
Undocumented |
| Variable | _request |
Undocumented |
| Variable | _scroll |
Undocumented |
def __draw_card(draw, card:
dict, x: int, y: int, width: int, height: int, body_top: int, body_bottom: int, detail_line_height: int):
¶
Draw one dashboard card.