I've been playing with WebKitGTK+ recently, in Vala and C. I want to create an application that could use a WebKit instance for the front end, but all logic and information retrieval in the backend, using Vala or C.
My question is, if it is possible, how could one pass a message or bubble an event back up to the parent application through a WebKit instance. I've read over the documentation many times, but it hasn't yet clicked how to handle events or pass data between them. Any help or advice is appreciated.