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

class BookmarkFile
int
hasGroup
(
string uri
,
string group
)

Parameters

uri string

a valid URI

group string

the group name to be searched

Return Value

Type: int

TRUE if group was found.

Throws

GException on failure.

Meta