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

initWithFrame()

The designated initializer for WebView

Synopsis:

#include <WebView.h>

virtual void initWithFrame( BalRectangle& frame,
                            const char* frameName,
                            const char* groupName );

Description:

Initialize a WebView given the specified arguments.

This method creates a main WebFrame instance containing the view. You can pass a top-level frame name if you handle a targeted frame navigation that would normally open a window using some other method.

Arguments:

frame
The frame that is used to create the view.
frameName
The name to give the top level frame. May be an empty string.
groupName
The name of the webView group to which this webView instance will be added. May be an empty string.