Method

Gtk.Entry.get_placeholder_text

Declaration [src]

const char*
gtk_entry_get_placeholder_text (
  GtkEntry* entry
)

Description [src]

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

Return value

Returns: const char*

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. If no placeholder text has been set, NULL will be returned.

Ownership is not transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string