set_placeholder_text


Description:

public void set_placeholder_text (string? text)

Sets the text to be displayed when the text widget is empty and unfocused.

This can be used to give a visual hint of the expected contents of the text widget.

Parameters:

this

a text widget

text

a string to be displayed when this is empty and unfocused