BookmarkFile.getTitle

Returns the title of the bookmark for @uri.

If @uri is %NULL, the title of @bookmark is returned.

In the event the URI cannot be found, %NULL is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

class BookmarkFile
string
getTitle
(
string uri
)

Parameters

uri string

a valid URI or %NULL

Return: a newly allocated string or %NULL if the specified URI cannot be found.

Throws

GException on failure.

Meta

Since

2.12