14 Feb 2009, Comments (1)

Writing a browser in less than a minute

Author: cjg

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!

[kaltura-widget wid="vzjollzqgu" width="410" height="364" addpermission="0" editpermission="0" /]

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.

Comments (1) »

Leave a comment

XHTML– Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">