jbrowser.single_instance
Generated from the source code of JBrowser 1.5.2.
Single-instance guard: a second launch forwards its URLs to the running window.
Two processes must never share the same Chromium profile directories, and opening a link from another app should land in the existing window as a new card.
SingleInstance#
class SingleInstance(QObject)source
SingleInstance(key: str, parent: QObject | None=None)
Signals
| Signal | Arguments |
|---|---|
received |
(str) |
SingleInstance.notify_existing#
notify_existing(payload: str) -> boolsource
SingleInstance.listen#
listen() -> Nonesource
SingleInstance.close#
close() -> Nonesource
Stop answering so a restarted instance can take over the name.