Method

GtkEntryget_placeholder_text

since: 3.2

Declaration [src]

const gchar*
gtk_entry_get_placeholder_text (
  GtkEntry* entry
)

Description [src]

Retrieves the text that will be displayed when entry is empty and unfocused.

Available since: 3.2

Return value

Type: const gchar*

A pointer to the placeholder text as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.