I've been trying to use webkit with a pure X11 window without any luck. My GTK tests went well, and here's my code:
#include <webkit2/webkit2.h> #include <gtkmm.h> int main(int argc, char **argv) { Glib::RefPtr<Gtk::Application> app = Gtk::Application::create(argc, argv, "Browser"); Gtk::Window window; window.set_default_size(500, 300); WebKitWebView* widget = WEBKIT_WEB_VIEW(webkit_web_view_new()); Gtk::Widget* wrapper = Glib::wrap(GTK_WIDGET(widget)); window.add(*wrapper); webkit_web_view_load_uri(widget, "https://www.google.com"); window.show_all(); app->run(window); exit(0); } I've been trying to do that exact same test, but without GTK, only pure X11. Is that possible? _______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-help