GObject.Object
WebKit.IconDatabase
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitIconDatabase |
Class : | IconDatabase |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
WebKit.IconDatabase | |
path : String
The absolute path of the icon database folder.
The absolute path of the icon database folder.
|
WebKit.IconDatabase | |
priv : WebKit.IconDatabasePrivate
read only
|
WebKit.IconDatabase |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.IconDatabase
(Object properties)
Create a new WebKit.IconDatabase
Create a new WebKit.IconDatabase
|
||
clear
()
:
none
|
WebKit.IconDatabase | |
get_icon_pixbuf
(String page_uri)
:
GdkPixbuf.Pixbuf
Obtains a GdkPixbuf of the favicon for the given page URI, or
a default icon if there is no icon for the given page.
Obtains a GdkPixbuf of the favicon for the given page URI, or
a default icon if there is no icon for the given page. Use webkit_icon_database_get_icon_uri() if you need to distinguish these cases. Usually you want to connect to WebKitIconDatabase::icon-loaded and call this method in the callback. The pixbuf will have the largest size provided by the server and should be resized before it is displayed. See also webkit_web_view_get_icon_pixbuf().
|
WebKit.IconDatabase | |
WebKit.IconDatabase | ||
get_path
()
:
String
Determines the absolute path to the database folder on disk.
Determines the absolute path to the database folder on disk.
|
WebKit.IconDatabase | |
set_path
(String path)
:
none
Specifies the absolute path to the database folder on disk.
Specifies the absolute path to the database folder on disk.
Passing NULL or "" disables the icon database.
|
WebKit.IconDatabase |
Event | Defined By | |
---|---|---|
This signal is emitted when a favicon is available for a page,
or a child frame.
This signal is emitted when a favicon is available for a page,
or a child frame. See WebKitWebView::icon-loaded if you only need the favicon for the main frame of a particular WebKitWebView.
|
WebKit.IconDatabase |
Class / Namespace | Method / Signal / Properties |
---|---|
WebKit
Method |
WebKit.get_icon_database
()
:
WebKit.IconDatabase
Returns the WebKitIconDatabase providing access to website icons.
|