hud.show_info_panel method
show_info_panel(self, title: str, text: str, image: str = ..., on_hide: Callable[[], None] = ...) -> Disposable:
Displays a panel with title text, body text and an image via id
.
text
and title
must be defined.
Example
Parameters
-
title: str
-
text: str
-
image: (optional) str
-
on_hide: (optional) Callable[[], None]
Returns
created panel.