get_text() retrieves the text entered into the GtkEntry widget, and also any appended or prepended text that may have been set but not displayed.
Contrary to rumour, this function is *not* marked as deprecated, either in the versions of GTK+ currently used by PHP-GTK or in recent development releases of GTK+.