GLib.KeyFile.prototype.get_int64

function get_int64(group_name: String, key: String): Number(gint64) {
    // Gjs wrapper for g_key_file_get_int64()
}
  

Returns the value associated with key under group_name as a signed 64-bit integer. This is similar to GLib.KeyFile.prototype.get_integer but can return 64-bit results without truncation.

Since 2.26

group_name

a non-null group name

key

a non-null key

Returns

the value associated with the key as a signed 64-bit integer, or 0 if the key was not found or could not be parsed.