BookmarkFile.getIcon

Gets the icon of the bookmark for uri. In the event the URI cannot be found, FALSE is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. Since 2.12

class BookmarkFile
int
getIcon
(
string uri
,
out string href
,
out string mimeType
)

Parameters

uri string

a valid URI

href string

return location for the icon's location or NULL. [allow-none]out

mimeType string

return location for the icon's MIME type or NULL. [allow-none]out

Return Value

Type: int

TRUE if the icon for the bookmark for the URI was found. You should free the returned strings.

Throws

GException on failure.

Meta