russ / rbwebkitgtk forked from danlucraft/rbwebkitgtk
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
c799700
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Apr 12 01:09:33 -0700 2008 | |
| |
COPYING.LIB | Sat Apr 12 00:04:03 -0700 2008 | |
| |
ChangeLog | Sat Apr 12 00:04:03 -0700 2008 | |
| |
README | Sat Apr 12 11:12:36 -0700 2008 | |
| |
extconf.rb | Wed Feb 04 05:29:11 -0800 2009 | |
| |
sample/ | Sat Apr 12 11:12:36 -0700 2008 | |
| |
sample_c_app/ | Sat Apr 12 00:04:03 -0700 2008 | |
| |
src/ | Sat Apr 12 09:30:43 -0700 2008 |
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