[webkit-gtk] How to retrieve selection content?

Matthew Barnes mbarnes at redhat.com
Sun May 30 20:31:11 PDT 2010


Is there presently a way to retrieve the content of a selection in a
WebKitWebView?  I need this for Evolution's selective reply feature
(select some text in a message, click Reply).  Just need the raw HTML
content (I think).

I see things in the API like webkit_web_view_delete_selection() and
webkit_web_view_has_selection() so I know the data is available... do I
need to start exploring the DOM bindings?

Thanks,
Matthew Barnes



More information about the webkit-gtk mailing list