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:

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 webkit.settings.Settings.getExperimentalFeatures, webkit.settings.Settings.getDevelopmentFeatures, and webkit.settings.Settings.getAllFeatures.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
get
webkit.feature.Feature get(size_t index)

Gets a feature given its index.

getLength
size_t getLength()

Gets the number of elements in the feature list.

self
FeatureList self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.