set_placeholder_text


Description:

public void set_placeholder_text (string? text)

Sets text to be displayed in this when it is empty.

This can be used to give a visual hint of the expected contents of the `GtkEntry`.

Parameters:

this

a `GtkEntry`

text

a string to be displayed when this is empty and unfocused




2022 vala-language.org