"setAttribute"

This function allows to enable or disable several options per WebView instance.

Synopsis

void shape.setAttribute( string attribute, bool on);

Parameters

Parameter Description
attribute

Defines which option shall be enabled or disabled.

A complete list and description of the supported Qt attributes can be found in the Documentation of the WebAttributes.

on

TRUE enables the selected attribute

FALSE disables the selected attribute

Description

This function allows to enable or disable several options per WebView instance.

Example

In this example the automatic loading of pictures in web pages is disabled.

main()
{
  WebView_ewo1.setAttribute("AutoLoadImages", FALSE);
}

Assignment

WebView EWO