BookmarkFile.getGroups

Retrieves the list of group names of the bookmark for uri. In the event the URI cannot be found, NULL is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. The returned array is NULL terminated, so length may optionally be NULL. Since 2.12

class BookmarkFile
string[]
getGroups
(
string uri
,)

Parameters

uri string

a valid URI

length gsize

return location for the length of the returned string, or NULL

Return Value

Type: string[]

a newly allocated NULL-terminated array of group names. Use g_strfreev() to free it.

Throws

GException on failure.

Meta