Gio.SettingsSchemaKey.prototype.ref

function ref(): Gio.SettingsSchemaKey {
    // Gjs wrapper for g_settings_schema_key_ref()
}
  

Increase the reference count of key, returning a new reference.

Since 2.40

Returns

a new reference to key