PHP-GTK Manual
This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.
This method returns the name of the calling widget. If no name has been set for the widget, this will be in the format GtkWidget.
get_name() is very useful where the widget could be one of many, e.g. in a callback that is used by several different widgets.
See also: get_type, set_name() .