GladeXML::get_widget_by_long_name

GladeXML::get_widget_by_long_name

GtkWidget get_widget_by_long_name(string path);

Returns the widget specified by the given path, so that it can be accessed normally. Other than with get_widget() you don't pass the name but the full path with all parent widget names, separated by periods. In the example you get the close button with "dlgHellow.vbox1.btnClose".

The function returns NULL if the widget does not exist.

The counterpart to this function is get_widget_long_name().

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