1. Possible project? ("webview")
- Posted by petelomax Nov 22, 2023
- 1583 views
I haven't looked very deeply or even sideways at this, just stumbled upon & something inside went "maybe?".
The GTK/MacOS/WinAPI bits, and (o/c) "precompiled binaries" sparked an interest too.
2. Re: Possible project? ("webview")
- Posted by Icy_Viking Nov 22, 2023
- 1597 views
I haven't looked very deeply or even sideways at this, just stumbled upon & something inside went "maybe?".
The GTK/MacOS/WinAPI bits, and (o/c) "precompiled binaries" sparked an interest too.
After looking at it, it seems pretty simple. But maybe good for web development with Euphoria.
3. Re: Possible project? ("webview")
- Posted by ghaberek (admin) Nov 27, 2023
- 1459 views
I haven't looked very deeply or even sideways at this, just stumbled upon & something inside went "maybe?".
The GTK/MacOS/WinAPI bits, and (o/c) "precompiled binaries" sparked an interest too.
I made a wrapper for this a while ago: https://github.com/ghaberek/webview-euphoria. I can work on updating it if needed. Haven't looked at what might've changed recently.
It's a neat project, but you need to either build HTML content manually and then hook into the JavaScript events, or run a local web server in separate process, and both options seem messy for different reasons.
Phix might be able to use threads to run the web service, but when I tried using tasks in Euphoria it didn't seem to work correctly, and I'm guessing it's because part of the event loop is blocking.
-Greg