Bug 16686
| Summary: | [GTK] Add DOM accessors to WebView/WebFrame | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mathias Roth <i.am.dumb> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Enhancement | CC: | alp, christian, gustavo, i.am.dumb |
| Priority: | P3 | Keywords: | Gtk |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Bug Depends on: | 16401 | ||
| Bug Blocks: | |||
Mathias Roth
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
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.
Luke Kenneth Casson Leighton
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.
Gustavo Noronha (kov)
I think this can safely be marked as a duplicate.
*** This bug has been marked as a duplicate of 16401 ***