UserContentFilterStore.load

Asynchronously load a content filter given its @identifier. The filter must have been previously stored using webkit_user_content_filter_store_save().

When the operation is finished, @callback will be invoked, which then can use webkit_user_content_filter_store_load_finish() to obtain the resulting filter.

class UserContentFilterStore
void
load
(
string identifier
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

identifier string

a filter identifier

cancellable Cancellable

a #GCancellable or %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the load is completed

userData void*

the data to pass to the callback function

Meta

Since

2.24