Is there a way to use event listeners within a WebView? For instance if I have a button in my html, can pressing that button trigger a script in python/grasshopper and output values etc. Still trying to wrap my head around the Eto documentation. I notice some event methods but not sure if any of them are what I need.
A while back I hacked something together that kind of did this: https://github.com/fraguada/TestWebUI
There is a basic html/js app with some buttons and a Rhino plugin with an Eto form using WebView that listens to the DocumentLoading event fired when the WebView is navigating to a different page. Here I exploit that event, cause the html/js never actually navigates to another page (navigation is canceled). There are probably less hacky ways to go about it.