Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

createWindow()

Creates a window

Synopsis:

#include <GfWindow.h>

virtual WebView * createWindow(const char* url)

Description:

Creates a window given a URL to load.

Arguments:

url
The URL that the window will load. This may be null, allowing the user to manually set the URL.

Returns:

A WebView instance representing the new window.

See also:

runJavaScriptPrompt(), runJavaScriptAlert()