GLib.KeyFile.prototype.set_integer

function set_integer(group_name: String, key: String, value: Number(gint)): void {
    // Gjs wrapper for g_key_file_set_integer()
}
  

Associates a new integer 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

an integer value