berekdaniel at gmail.com
Sun Mar 3 00:04:03 PST 2019
is running on a new web process).
I have two problems to solve, which connecting together.
1. At first, I am not sure whats the proper way to load an external
src="script.js"></script> tag from html file doesnt work, even the html
cant be loaded.
So I have to read the 'script.js' manually, and after
each webkit_web_view_load_html() I have to
loading once, so all html sites could use it?
2. I have a webview widget (described at the end of this message) and I
periodically called its destructor ( default destructor) to get rid off the
cached data and made a new instance. Unfortunately, deleting the webview
widget leaks almost 400kB of memory. So I stopped calling its destructor,
which is perfectly fine for me (no more leaks, I cant even see the
external 'script.js' file doesnt work properly, athough
Somebody knows whats the proper way for deleting a webview widget
Or any help is appreciated.
I hope I was clear, and we could find a solution. Thanks, Daniel
class CWebView : public Gtk::Widget
g_signal_connect(*this, "load-changed", G_CALLBACK(web_view_load_changed),
WebKitUserContentManager *manager =
ButtonPressed_Event = NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk