You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings webview crew. I am a newby. Maybe this is something that can be done but in a different way, please let me know.
Because the 'run' method blocks, it's not possible to use the main thread for anything. Is there a possibility of allowing access to the main message loop. I have implemented a simple version by calling the gtk_main_iteration_do() method by adding a 'step' call to the webview api. This allows me to run my own message loop calling 'step' for each window in my app.
How is this API designed to be used, since the 'run' method blocks, you would need to create additional threads. I am not familiar with the GTK model, so I maybe way out here.
Any thoughts welcome.
The text was updated successfully, but these errors were encountered:
It's not weapons grade code to be honest. I've not fixed the run() method to close without a gtk error, but I'm not using run() in my project.
There's also some hardcoded title-bar styling for child windows which can be ignored, although it would be nice to do that properly if multiple windows are supported.
Greetings webview crew. I am a newby. Maybe this is something that can be done but in a different way, please let me know.
Because the 'run' method blocks, it's not possible to use the main thread for anything. Is there a possibility of allowing access to the main message loop. I have implemented a simple version by calling the gtk_main_iteration_do() method by adding a 'step' call to the webview api. This allows me to run my own message loop calling 'step' for each window in my app.
How is this API designed to be used, since the 'run' method blocks, you would need to create additional threads. I am not familiar with the GTK model, so I maybe way out here.
Any thoughts welcome.
The text was updated successfully, but these errors were encountered: