FeatureList


Object Hierarchy:

WebKit.FeatureList WebKit.FeatureList WebKit.FeatureList

Description:

[ CCode ( ref_function = "webkit_feature_list_ref" , type_id = "webkit_feature_list_get_type ()" , unref_function = "webkit_feature_list_unref" ) ]
[ Compact ]
[ Version ( since = "2.42" ) ]
public class FeatureList

Contains a set of toggle-able web engine features.

The list supports passing around a set of [struct@Feature] objects and iterating over them:

```c g_autoptr(WebKitFeatureList) list = get_experimental_features; for (gsize i = 0; i < webkit_feature_list_get_length(list): i++) { WebKitFeature *feature = webkit_feature_list_get(list, i); // Do something with "feature". } ```

Lists of features can be obtained with [func@Settings.get_experimental_features], [func@Settings.get_development_features], and [ func@Settings.get_all_features].


Namespace: WebKit
Package: webkit2gtk-4.0

Content:

Methods: