Declaration [src]

const gchar*
gtk_entry_get_text (
  GtkEntry* entry

Description [src]

Retrieves the contents of the entry widget. See also gtk_editable_get_chars().

This is equivalent to getting entrys GtkEntryBuffer and calling gtk_entry_buffer_get_text() on it.

Gets propertyGtk.Entry:text

Return value

Type: const gchar*

A pointer to the contents of the widget 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.