Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby bindings for the GTK+ port of WebKit.
C Ruby Shell
Branch: master
Pull request Compare This branch is 9 commits behind danlucraft:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
sample
sample_c_app
src
.gitignore
COPYING.LIB
ChangeLog
README
extconf.rb

README

RbWebKitGTK

These are semi-usable bindings. There are a lot of methods missing,
and only one class, the Gtk::WebKit::WebView widget. But it works
for displaying web pages and arbitrary HTML.

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("<h1>Hi!</h1>")

-------

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

I've developing against nightly build WebKit-r31823 - dan
Something went wrong with that request. Please try again.