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 `GtkText`.

Parameters:

this

a `GtkText`

text

a string to be displayed when this is empty and unfocused




2022 vala-language.org