Skip to content

russ/rbwebkitgtk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C 56.3%
  • Ruby 43.0%
  • Shell 0.7%