Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the Browser use the WebKit renderer on GTK?

browser Gtk renderer WebKit
0
10 Posted

Can the Browser use the WebKit renderer on GTK?

0
10

As of Eclipse/SWT 3.6 the Browser can use WebKitGTK+ (the GTK+ port of WebKit) as its native renderer. To use it the following must be true: • WebKitGTK 1.1.90 or newer is in the library path • Ubuntu 10.04 ships with this WebKitGTK+ version, so this requirement is automatically satisfied on this Linux distro • On Linux distros that do not ship a WebKitGTK+ with this version or newer you will need to compile WebKitGTK+ from source, and add its resulting .libs directory to your LD_LIBRARY_PATH environment variable. • Set java property “org.eclipse.swt.browser.UseWebKitGTK” to “true” • (optional) Add line “Device.DEBUG=true;” to your app so that the native renderer version being used will be written to stdout • Create your Browser instance with the usual SWT.NONE style Note that as of Eclipse/SWT 3.7 it is planned for WebKitGTK+ to become the default Browser renderer on Linux, assuming it is detected at runtime. If it is not detected at runtime then the Browser will revert to its Mozilla

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123