[Gambas-user] Webview.URL and html file in Data section

Benoit Minisini benoit.minisini at gambas-basic.org
Mon Oct 31 12:19:07 CET 2022


Le 31/10/2022 à 09:11, Dimitris Anogiatis a écrit :
> Hey guys,
> 
> I want to use the GTK+3 WebView in my application and I have an HTML 
> page in the data section of the project. How do I get the webview to 
> read the HTML file without copying it in /tmp or another folder in the 
> system?
> 
> Thanks in Advance for your time
> Dimitrios
> 

You can directly define the HTML contents of the WebView, but it is not 
really useful, as HTML usually refers to other files (css, images...).

So the answer is: you can't.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list