GLib.KeyFile.prototype.get_string_list

function get_string_list(group_name: String, key: String): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_key_file_get_string_list()
}
  

Returns the values associated with key under group_name.

In the event the key cannot be found, null is returned and @error is set to #G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the event that the group_name cannot be found, null is returned and @error is set to #G_KEY_FILE_ERROR_GROUP_NOT_FOUND.

Since 2.6

group_name

a group name

key

a key

return_value

a null-terminated string array or null if the specified key cannot be found. The array should be freed with GLib.strfreev.

length

return location for the number of returned strings, or null