Returns the instance pointer associated with a GfWindow object.
#include <GFWindow.h> void *getInstancePtr();
This function is used internally by the Web Browser Engine to return the instance pointer set by the launcher when it creates multiple WebView instances.
The Web Browser Engine exports a global pointer called _webViewInstancePtr. It performs a similar function to the GfWindow object's setInstancePtr() function for WebKit operations, where the GfWindow object is not known. In general, this pointer must be set whenever the launcher has created multiple WebView instances and the launcher's event handler makes calls into WebKit using the WebView API. This is so that the dispatch and timer pulses received back from WebKit always contain correct instance information. |
A WebView instance.