Entry.setPlaceholderText

void setPlaceholderText(string text = null)

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

This can be used to give a visual hint of the expected contents of the [gtk.entry.Entry].

Parameters

texta string to be displayed when entry is empty and unfocused