Skip to content

Event Reference

Complete reference for all PyWry events, payloads, and the JavaScript bridge API.

Event Format

All events follow the namespace:event-name pattern:

Part Rules Examples
namespace Starts with letter, alphanumeric app, plotly, grid, myapp
event-name Starts with letter, alphanumeric + hyphens click, row-select, update-data

Reserved namespaces: pywry:*, plotly:*, grid:*, toolbar:*, auth:*, chat:*, tray:*, menu:*, modal:*, tvchart:*

Namespace Reference

Namespace Description
System (pywry:*) Lifecycle, content, styling, notifications
Plotly (plotly:*) Chart interactions and updates
AG Grid (grid:*) Table interactions and data updates
Toolbar (toolbar:*) Component state and marquee
Auth (auth:*) OAuth2 login/logout flow
Chat (chat:*) Chat messages, threads, artifacts
TradingView (tvchart:*) Datafeed protocol and chart control
Tray (tray:*) System tray icon interactions
Menu (menu:*) Native menu item clicks
Modal (modal:*) Modal dialog control

See also: JavaScript API for the window.pywry bridge object and Tauri access.