WebKit2.UserContentFilter

Fields

None

Methods

get_identifier ()

ref ()

unref ()

Details

class WebKit2.UserContentFilter

A compiled set of rules which applied to resource loads.

New in version 2.24.

get_identifier()
Returns:

the identifier for the filter

Return type:

str

Obtain the identifier previously used to save the self.

Obtain the identifier previously used to save the self in the WebKit2.UserContentFilterStore.

New in version 2.24.

ref()
Returns:

the self passed in.

Return type:

WebKit2.UserContentFilter

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

New in version 2.24.

unref()

Atomically decrements the reference count of self by one.

If the reference count drops to 0, all the memory allocated by the WebKit2.UserContentFilter is released. This function is MT-safe and may be called from any thread.

New in version 2.24.