Text.setPlaceholderText

void setPlaceholderText(string text = null)

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

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

Parameters

texta string to be displayed when self is empty and unfocused