BookmarkFile.hasGroup

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.

class BookmarkFile
bool
hasGroup
(
string uri
,
string group
)

Parameters

uri string

a valid URI

group string

the group name to be searched

Return Value

Type: bool

%TRUE if @group was found.

Throws

GException on failure.

Meta

Since

2.12