string get_text();

Retrieves the text entered into the GtkEntry widget, and also any appended or prepended text that may have been set using set_text() but not displayed.

Contrary to rumours, this function is NOT marked as deprecated, either in the earlier versions of GTK+ used by PHP-GTK or the current versions.

See also: append_text() , prepend_text() , set_text()