set_placeholder


Description:

public void set_placeholder (string text)

Sets the text to display when the entry is empty and unfocused.

When the entry is displaying the hint, it has a pseudo class of "indeterminate". A value of NULL unsets the hint.

Parameters:

this

a Entry

text

text to set as the entry hint




2022 vala-language.org