Created
October 24, 2014 00:36
-
-
Save rmacqueen/87651645bfee1406da66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gtk = imports.gi.Gtk; | |
const WebKit2 = imports.gi.WebKit2; | |
Gtk.init(null); | |
let webview = new WebKit2.WebView(); | |
webview.connect('load-changed', function (event, view) { | |
print("load-changed called") | |
}); | |
webview.load_uri("http://www.google.com"); | |
Gtk.main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment