Gtk.Entry.prototype.get_text
function get_text():String {
// Gjs wrapper for gtk_entry_get_text()
}Retrieves the contents of the entry widget. See also Gtk.Editable.prototype.get_chars.
This is equivalent to:
<informalexample><programlisting> gtk_entry_buffer_get_text (gtk_entry_get_buffer (entry)); </programlisting></informalexample>
- 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.