GLib.KeyFile.prototype.set_string_list

function set_string_list(group_name: String, key: String, list: Array(String)): void {
    // Gjs wrapper for g_key_file_set_string_list()
}
  

Associates a list of string values for key under group_name. If key cannot be found then it is created. If group_name cannot be found then it is created.

Since 2.6

group_name

a group name

key

a key

list

an array of string values