BookmarkFile.hasGroup

bool hasGroup(string uri, string group)

Checks whether group appears in the list of groups to which the bookmark for uri belongs to.

In the event the URI cannot be found, false is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Parameters

uria valid URI
groupthe group name to be searched

Returns

true if group was found.

Throws

[BookmarkFileException]