set_feature_enabled


Description:

[ Version ( since = "2.42" ) ]
public void set_feature_enabled (Feature feature, bool enabled)

Enables or disables a feature.

The current status of the feature can be determined with [id@webkit_settings_get_feature_enabled]. To reset a feature to its initial status, pass the value returned by [id@webkit_feature_get_default_value] as the enabled parameter.

Parameters:

this

a Settings

feature

the feature to toggle.

enabled

whether the feature will be enabled.