Class (GI Struct)

WebKit-6.0WebKitFeatureListAbstractSince 2.42

Contains a set of toggle-able web engine features.

The list supports passing around a set of Feature objects and iterating over them:

g_autoptr(WebKitFeatureList) list = `webkit_settings_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 Settings.get_experimental_features, Settings.get_development_features, and Settings.get_all_features.

2.42

Index

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Atomically releases a reference on the given feature_list.

    If the reference was the last, the resources associated to the feature_list are freed. This function is MT-safe and may be called from any thread.

    Returns void