Skip to content

WindowMessageBus

Process-local typed channels between windows (2.72).

import QWinUI3.Extras · src/extras/QWinUI3/Extras/WindowMessageBus.qml

Category: Shells & windows · Library: v2.80 · singleton

← Component index

Extends QtObject.

Example

WindowMessageBus.post("theme", { dark: true })
WindowMessageBus.subscribe("theme", function (payload) {  })

Notes

Same QGuiApplication only — not cross-process IPC.

API

Properties

No additional properties beyond the base type.

Signals

No custom signals (use inherited signals from the base type).

Methods

Signature Description
post(channel, payload)
subscribe(channel, handler)
unsubscribe(channel, handler)
clear(channel)

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.