سؤال

In .NET WebBrowser Control, there is a Property named "ObjectForScripting". As you call window.external in Javascripts, it calls then the Function in .Net Code.

I'm wondering if this exists also in C++ wxWebView? Or maybe in another C++ GUI Library WebControl..

هل كانت مفيدة؟

المحلول

There is nothing like this in wxWebView at the moment, just the simple RunScript method. However there has been some work on doing this using the Webkit based wxWebView backends, more information is available here.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top