Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env python
import gtk, webkit
gtk.gdk.threads_init()
window = gtk.Window()
window.connect("destroy", gtk.main_quit)
window.resize(800, 500)
web = webkit.WebView()
web.open("http://gwibber.com")
scroll = gtk.ScrolledWindow()
scroll.add(web)
window.add(scroll)
window.show_all()
gtk.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment