Closed hassandraga closed 1 year ago
Sorry, the commit has the wrong title, Update to WebUI v2.0.7
. I changed it to Update to WebUI v2.1.0
.
LGTM.
Some of the core functions such as _webui_browser_start_vivaldi
still need to be wrapped.
I just wanted to let you know that you don't need to. The function show(content);
will handle everything now.
show("<html>Hello</html>");
-> Show as HTML content.
show("index.html");
-> Show as a file.
show("second.html");
-> Navigate (Refresh).
The browser's order is like this now.
Usually, all function that starts with _webui_xxx
does not need to be care of by the wrappers.
I know that, but I would still like them to be available, however.
I know that, but I would still like them to be available, however.
Of course, that will be great. Something like showBrowser(content: string; browser: cuint)
.
showBrowser("<html>Hello World</html>", BrowserChrome);
showBrowser("index.html", BrowserFirefox);
This PR LGTM.
New Features
getInt()
andreturnInt()
are now 64bit integer instead of 32bitBreaking code
show(html, browser);
toshow(content);
, and it's used for HTML, files, or reload the windowshowCopy()
,refresh()
,refreshCopy()