void g_bookmark_file_set_groups ( GBookmarkFile* bookmark, const gchar* uri, const gchar** groups, gsize length )
Sets a list of group names for the item with URI
uri. Each previously
set group name list is removed.
uri cannot be found then an item for it is created.
Available since: 2.12
An item’s URI.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Type: An array of
An array of group names, or
NULLto remove all groups.
The argument can be
The length of the array is specified in the
The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string.
Number of group name values in