Additional wxWebView::RunScriptAsync() documentation
This commit is contained in:
committed by
Tobias Taschner
parent
d31f1dc400
commit
9114122837
@@ -777,6 +777,11 @@ public:
|
|||||||
Runs the given JavaScript code asynchronously and returns the result
|
Runs the given JavaScript code asynchronously and returns the result
|
||||||
via a @c wxEVT_WEBVIEW_SCRIPT_RESULT.
|
via a @c wxEVT_WEBVIEW_SCRIPT_RESULT.
|
||||||
|
|
||||||
|
The script result value can be retrieved via wxWebViewEvent::GetString().
|
||||||
|
If the execution fails wxWebViewEvent::IsError() will return @true. In this
|
||||||
|
case additional script execution error information maybe available
|
||||||
|
via wxWebViewEvent::GetString().
|
||||||
|
|
||||||
@param javascript JavaScript code to execute.
|
@param javascript JavaScript code to execute.
|
||||||
@param clientData Arbirary pointer to data that can be retrieved from
|
@param clientData Arbirary pointer to data that can be retrieved from
|
||||||
the result event.
|
the result event.
|
||||||
@@ -1301,6 +1306,10 @@ public:
|
|||||||
Process a @c wxEVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED event
|
Process a @c wxEVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED event
|
||||||
only available in wxWidgets 3.1.5 or later. For usage details see
|
only available in wxWidgets 3.1.5 or later. For usage details see
|
||||||
wxWebView::AddScriptMessageHandler().
|
wxWebView::AddScriptMessageHandler().
|
||||||
|
@event{wxEVT_WEBVIEW_SCRIPT_RESULT(id, func)}
|
||||||
|
Process a @c wxEVT_WEBVIEW_SCRIPT_RESULT event
|
||||||
|
only available in wxWidgets 3.1.6 or later. For usage details see
|
||||||
|
wxWebView::RunScriptAsync().
|
||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@since 2.9.3
|
@since 2.9.3
|
||||||
|
Reference in New Issue
Block a user