1. Possible project? ("webview")

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.

https://www.purebasic.fr/english/viewtopic.php?t=81725

new topic     » topic index » view message » categorize

2. Re: Possible project? ("webview")

petelomax said...

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.

https://www.purebasic.fr/english/viewtopic.php?t=81725

After looking at it, it seems pretty simple. But maybe good for web development with Euphoria.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Possible project? ("webview")

petelomax said...

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.

https://www.purebasic.fr/english/viewtopic.php?t=81725

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu