Gcr.Prompt.prototype.set_warning
function set_warning(warning: String): void { // Gjs wrapper for gcr_prompt_set_warning() }
Set a prompt warning displayed on the prompt.
This is a warning like "The password is incorrect." usually displayed to the user about a previous 'unsuccessful' prompt.
If this string is null then no warning is displayed.
- warning
the warning or null