setPlaceholderText

open fun setPlaceholderText(text: String? = 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 GtkText.

Parameters

text

a string to be displayed when @self is empty and unfocused