get_warning


Description:

public string get_warning ()

Get 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

Returns:

a newly allocated string containing the prompt warning, or null if no warning




2022 vala-language.org