webkit.favicon_database

Module for [FaviconDatabase] class

Types 3

Provides access to the icons associated with web sites.

WebKit will automatically look for available icons in <link> elements on opened pages as well as an existing favicon.ico and load the images found into a memory cache if possible. That cache is frozen to an on-disk database for persistence.

If #WebKitSettings:enable-private-browsing is true, new icons won't be added to the on-disk database and no existing icons will be deleted from it. Nevertheless, WebKit will still store them in the in-memory cache during the current execution.

Methods
GType _gType() @property
FaviconDatabase self()Returns `this`, for use in `with` statements.
FaviconDatabaseGidBuilder builder()Get builder for [webkit.favicon_database.FaviconDatabase] Returns: New builder object
void clear()Clears all icons from the database.
void getFavicon(string pageUri, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously obtains a favicon image.
gdk.texture.Texture getFaviconFinish(gio.async_result.AsyncResult result)Finishes an operation started with [webkit.favicon_database.FaviconDatabase.getFavicon].
string getFaviconUri(string pageUri)Obtains the URI of the favicon for the given page_uri.
gulong connectFaviconChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == string))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.favicon_database.FaviconDatabase))) && Parameters!T.length < 4)Connect to `FaviconChanged` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkit.favicon_database.FaviconDatabase]