I have gotten a Python binding to work with the latest clutter Webkit
work. That is, the following code:

import clutter
from clutter import clutterwebkit
import sys

class HelloWebkit:
        def __init__(self):
                self.stage = clutter.Stage()
                self.stage.set_size(800, 600)
                self.webview = clutterwebkit.web_view_new(800, 600)
                self.webview.set_position(0, 0)
                self.stage.add(self.webview)

        def run(self, uri):
                self.webview.open_uri(uri)
                self.stage.show_all()
                clutter.main()

if __name__ == '__main__':
        app = HelloWebkit()
        app.run(len(sys.argv) > 1 and sys.argv[1] or "http://o-hand.com";)

Works fine.

Any suggestions what to do with it? I have taken the 0.6.2 pyclutter
source tarball and added clutter-webkit to it.

It's in git, so I can certainly push it to github or somewhere.

Blake
-- 
Blake Ramsdell | http://www.blakeramsdell.com
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to