Dusk Audio Framework
Loading...
Searching...
No Matches
WebViewOptions Struct Reference

#include <WebViewImpl.hpp>

Classes

struct  PositionOffset

Public Member Functions

 WebViewOptions ()
 WebViewOptions (const WebViewMessageCallback cb, void *const ptr)

Public Attributes

struct WebViewOptions::PositionOffset offset
const char * initialJS
WebViewMessageCallback callback
void * callbackPtr

Detailed Description

Web view options, for customizing web view details.

Constructor & Destructor Documentation

◆ WebViewOptions() [1/2]

WebViewOptions::WebViewOptions ( )
inline

Constructor for default values

◆ WebViewOptions() [2/2]

WebViewOptions::WebViewOptions ( const WebViewMessageCallback cb,
void *const ptr )
inline

Constructor providing a callback

Member Data Documentation

◆ initialJS

const char* WebViewOptions::initialJS

Set some JavaScript to evaluate on every new page load.

◆ callback

WebViewMessageCallback WebViewOptions::callback

Message callback triggered from JavaScript code inside the WebView.


The documentation for this struct was generated from the following file: