Entry.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.

class Entry
string
getText
()

Return Value

Type: string

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.