Bug 16686 - [GTK] Add DOM accessors to WebView/WebFrame
: [GTK] Add DOM accessors to WebView/WebFrame
Status: RESOLVED DUPLICATE of bug 16401
: WebKit
WebKit Gtk
: 528+ (Nightly build)
: PC Linux
: P3 Enhancement
Assigned To:
:
: Gtk
: 16401
:
  Show dependency treegraph
 
Reported: 2007-12-31 08:14 PST by
Modified: 2009-04-14 05:44 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-12-31 08:14:52 PST
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
------- Comment #1 From 2007-12-31 10:50:43 PST -------
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.
------- Comment #2 From 2008-08-20 16:25:10 PST -------
http://code.google.com/p/pywebkitgtk/issues/detail?id=12

i'm covering events as well.  it's not ideal: it's done using
javascript snippets right now.
------- Comment #3 From 2009-04-14 05:44:14 PST -------
I think this can safely be marked as a duplicate.

*** This bug has been marked as a duplicate of 16401 ***