GLib.KeyFile.prototype.set_boolean

function set_boolean(group_name: String, key: String, value: Boolean): void {
    // Gjs wrapper for g_key_file_set_boolean()
}
  

Associates a new boolean value with key under group_name. If key cannot be found then it is created.

Since 2.6

group_name

a group name

key

a key

value

true or false