GLib.BookmarkFile.prototype.set_groups
function set_groups(uri: String, groups: String, length: Number(gsize)): void { // Gjs wrapper for g_bookmark_file_set_groups() }
Sets a list of group names for the item with URI uri. Each previously set group name list is removed.
If uri cannot be found then an item for it is created.
Since 2.12
- uri
an item's URI
- groups
an array of group names, or null to remove all groups
- length
number of group name values in groups