View Single Post
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#2
Looks like you need to initialize threading support first. This works:
Code:
>>> import webkit,gobject
>>> gobject.threads_init()
>>> webkit.WebView()
<webkit.WebView object at 0x290968 (WebKitWebView at 0x2ff800)>
If you look at the source package http://maemo.org/packages/package_in...ebkit/1.0.2-4/ , there is a webbrowser.py in it as an example. Another program using it would be FeedingIt.
 

The Following User Says Thank You to Slocan For This Useful Post: