function get_groups(uri: String): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_bookmark_file_get_groups()

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


a valid URI


a newly allocated null-terminated array of group names. Use GLib.strfreev to free it.


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