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

class BookmarkFile
string
getTitle
(
string uri
)

Parameters

uri string

a valid URI or NULL. [allow-none]

Return Value

Type: string

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

Throws

GException on failure.

Meta