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. Since 2.12

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. [allow-none]

mimeType string

the MIME type of the icon for the bookmark

Meta