Sha256: d32f9767b917505d51b98a5e78fac30568c1937231bfa3b3b991bf687dbb8033
Contents?: true
Size: 374 Bytes
Versions: 6
Compression:
Stored size: 374 Bytes
Contents
# Based on http://www.idle-hacking.com/2010/02/webkit-ruby-and-gtk/ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'gir_ffi' GirFFI.setup :WebKit, '1.0' Gtk.init win = Gtk::Window.new :toplevel wv = WebKit::WebView.new win.add(wv) win.show_all wv.open('http://www.google.com/') GObject.signal_connect(win, "destroy") { Gtk.main_quit } Gtk.main
Version data entries
6 entries across 6 versions & 1 rubygems