mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 21:40:34 +01:00
6 lines
243 B
Python
6 lines
243 B
Python
|
|
# Install message handler with the name wx_msg
|
|
self.webView.AddScriptMessageHandler('wx_msg')
|
|
# Bind an event handler to receive those messages
|
|
self.webView.Bind(wx.EVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED, self.handleMessage)
|