Method
GLibBookmarkFileset_groups
since: 2.12
Declaration
void
g_bookmark_file_set_groups (
GBookmarkFile* bookmark,
const gchar* uri,
const gchar** groups,
gsize length
)
Description
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.
Available since: 2.12
Parameters
uri-
Type:
const gchar*An item’s URI.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. groups-
Type: An array of
utf8An array of group names, or
NULLto remove all groups.The argument can be NULL.The length of the array is specified in the lengthargument.The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string. length-
Type:
gsizeNumber of group name values in
groups.