Entry.getText

string getText()

Retrieves the contents of the entry widget. See also [gtk.editable.Editable.getChars].

This is equivalent to getting entry's #GtkEntryBuffer and calling [gtk.entry_buffer.EntryBuffer.getText] on it.

Returns

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.