set_warning


Description:

public void set_warning (string? 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.

Parameters:

this

the prompt

warning

the warning or null




2022 vala-language.org