[webkit-gtk] How can I access the undo manager in WebKitGTK+?

Matthew Pirocchi matthew at yorba.org
Mon Jun 4 11:32:41 PDT 2012


With WebKit, you get undo/redo functionality for free, as long as you
don't programmatically manipulate the DOM. If you programmatically
manipulate the DOM, you need to implement undo/redo yourself (see this
page<https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/UsingUndo.html%23//apple_ref/doc/uid/TP40001473-CJBEHAAG>
from
the Objective-C programming guide).

However, I can't seem to find a way to access the UndoManager in
WebKitGTK+. WebView exposes the methods "can_undo/redo" and "undo/redo",
and the signals "undo/redo", but nothing that gives me access to the
UndoManager itself.

Is the UndoManager just not available through WebKitGTK+? Am I approaching
this the wrong way?
- Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120604/beecf5d6/attachment.html>


More information about the webkit-gtk mailing list