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.

class BookmarkFile
string[]
getGroups
(
string uri
)

Parameters

uri string

a valid URI

Return Value

Type: string[]

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

Throws

GException on failure.

Meta

Since

2.12