set_icon


Description:

public void set_icon (string uri, string href, string mime_type)

Sets the icon for the bookmark for uri.

If href is null, unsets the currently set icon. href can either be a full URL for the icon file or the icon name following the Icon Naming specification.

If no bookmark for uri is found one is created.

Parameters:

this

a BookmarkFile

uri

a valid URI

href

the URI of the icon for the bookmark, or null

mime_type

the MIME type of the icon for the bookmark