I'm using PyWebKitGTK on pygobject to embed a WebView into my application. I need to call some python methods from JS code, so I try to use the script-prompt
signal.
How do I assign the the text
parameter? In C/++, it would be a pointer, so I could write data there (I suppose? Didn't have much C experience), but here it is object
:
text (
object
) – To be filled with the return value or None if the dialog was cancelled.