get_widget_long_name

string get_widget_long_name(GtkWidget widget);

Returns the long name of a widget which has been loaded from a glade file.

If the widget has been created the "normal" way and not with glade, NULL is returned.

In the example you could use a
var_dump( libglade::get_widget_long_name( $btnClose));
which would return string(24) "dlgHellow.vbox1.btnClose".