rbwebkitgtk
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:
- cd /path/to/rbwebkitgtk/
- export RG2_DIR=/path/to/ruby-gnome2-sources/; ruby extconf.rb
- make
- (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