BookmarkFile.setIcon

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.

class BookmarkFile
void
setIcon
(
string uri
,
string href
,
string mimeType
)

Parameters

uri string

a valid URI

href string

the URI of the icon for the bookmark, or %NULL

mimeType string

the MIME type of the icon for the bookmark

Meta

Since

2.12