-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_WebViewNavigate
chrisd1100 edited this page Mar 26, 2023
·
1 revision
Navigate the WebView to a given URL or HTML string.
void MTY_WebViewNavigate(
MTY_App * app,
MTY_Window window,
const char * source,
bool url
);
app
(MTY_App *
)
The MTY_App
.
window
(MTY_Window
)
An MTY_Window
.
source
(const char *
)
Source content to be loaded by the WebView. This argument can either be a URL or direct HTML depending on the value of url
.
url
(bool
)
If true
, source
will be treated as a URL, else source
will be loaded directly as HTML.