Writing a browser in less than a minute

I wanted just to test WebKit, but instead of getting a browser based on that project I decided to test directly the (gtk) widget using python and I was impressed how it is simple and fast embedding a full functional web browser in any kind of application!

The source used in this video is (almost):

import webkit
import gtk

wv = webkit.WebView()
w = gtk.Window()
w.add(wv)
w.show_all()
wv.open("http://cjg.cruxppc.org")
gtk.main()

If you can’t/wan’t use any flash player you can download and watch the video from: Writing a browser in less than a minute.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s