get_widget_name

get_widget_name

Returns the 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_name( $btnClose));
which would return string(8) "btnClose".

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.