WebKit2.WebView.prototype.get_favicon
function get_favicon(): cairo.Surface {
// Gjs wrapper for webkit_web_view_get_favicon()
}
Returns favicon currently associated to web_view, if any. You can connect to notify::favicon signal of web_view to be notified when the favicon is available.
- Returns
a pointer to a #cairo_surface_t with the favicon or null if there's no icon associated with web_view.