jbrowser.models.infobar
Generated from the source code of JBrowser 1.5.0.
Data describing an in-card info bar (permission prompt, save password, crash, ...).
InfoAction#
class InfoActionsource
Attributes
| Name | Value |
|---|---|
label |
str |
callback |
Callable[[], None] |
primary |
bool = False |
InfoBarSpec#
class InfoBarSpecsource
Attributes
| Name | Value |
|---|---|
key |
str |
text |
str |
icon |
str = 'info' |
kind |
str = 'info' |
actions |
list[InfoAction] = field(default_factory=list) |
on_dismiss |
Callable[[], None] | None = None |
timeout_ms |
int = 0 |
persist_navigation |
bool = False |