Gio.TlsPassword.prototype.set_warning

function set_warning(warning: String): void {
    // Gjs wrapper for g_tls_password_set_warning()
}
  

Set a user readable translated warning. Usually this warning is a representation of the password flags returned from Gio.TlsPassword.prototype.get_flags.

Since 2.30

warning

The user readable warning