Method

GLibKeyFilehas_group

Declaration

gboolean
g_key_file_has_group (
  GKeyFile* key_file,
  const gchar* group_name
)

Description

Looks whether the key file has the group group_name.

Available since:2.6

Parameters

group_name const gchar*
 

A group name.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if group_name is a part of key_file, FALSE otherwise.