GLib.KeyFile.prototype.remove_key

function remove_key(group_name: String, key: String): Boolean {
    // Gjs wrapper for g_key_file_remove_key()
}
  

Removes key in group_name from the key file.

Since 2.6

group_name

a group name

key

a key name to remove

Returns

true if the key was removed, false otherwise