rbwebkitgtk icon indicating copy to clipboard operation
rbwebkitgtk copied to clipboard

Ruby bindings for the GTK+ port of WebKit.

trafficstars

RbWebKitGTK

These are usable bindings. There are still some methods missing from WebView, but you can use almost the whole API at this point.

To build:

  1. cd /path/to/rbwebkitgtk/
  2. export RG2_DIR=/path/to/ruby-gnome2-sources/; ruby extconf.rb
  3. make
  4. (as root) make install

To require:

require 'webkit'

To use the WebView Gtk Widget:

webview = Gtk::WebKit::WebView.new webview.open("http://www.example.com/") -or- webview.load_html_string("

Hi!

")

This page sets out WebKit deps on ubuntu http://packages.ubuntu.com/source/hardy/webkit

I've developing against nightly build WebKit-r31823 - dan