[webkit-dev] Equivalent of WebKit/Qt's link delegation policy in WebKit/Gtk+?
Andrew S. Townley
ast at atownley.org
Mon Oct 20 08:07:00 PDT 2008
I'm trying to work with the GTK+ WebKit from svn/trunk to do rendering
for my application. Unfortunately, I'm having some troubles.
Unlike the majority of users, I don't need WebKit to access URIs on the
Internet. I need to be able to intercept them and display custom HTML
content to allow navigation of some complex, in-memory data structures.
I thought you might be able to do something with the
navigation-requested signal, but this doesn't appear to allow you to
substitute content for the URI. In digging around in the source tree, I
discovered that the Qt port allows you to get the linkClicked signal,
provided you've registered the appropriate link delegation policy with
Is this functionality planned for the GTK+ version? Is someone
currently working on implementing it? If the answers to this are no,
does anyone have any pointers for how to implement something similar for
the Gtk+ version? I'm not used to the Qt syntax, so I can't find the
code where it interacts with the core WebKit classes to accomplish this
I'd be willing to give this a go or at least help someone who is working
on this, as it is essential for what I'm doing and my only other
alternative is to use the soon-to-be-unmaintained GtkHTML(3) from Gnome
Any information on how this sort of behavior can be accomplished with
the existing GTK+ api would also be welcome.
Thanks in advance,
Andrew S. Townley <ast at atownley.org>
More information about the webkit-dev