I'm currently implementing Adium-Messagestyles to a messenging application using pywebkitgtk, but I don't see any easy way to add new messages to the WebView without rerendering the whole HTML. I'd like to see some DOM-Functions that make it possible to use code similiar to Kopete's (another Chat-Application supporting Adium-Messagestyles, using KHTML).
Here's a code-snippet from Kopete that pretty much describes what I'd like to have: http://pastebin.ca/839983
The OS X version of WebKit has a DOM API written in Objective-C that's generated from *.idl files. A generator for a C or C++ API would be one approach.
i'm covering events as well. it's not ideal: it's done using
I think this can safely be marked as a duplicate.
*** This bug has been marked as a duplicate of 16401 ***