GladeXML::get_widget

GladeXML::get_widget

GtkWidget get_widget(string name);

Returns the widget with the given name, so that it can be accessed as if it were constructed directly. In the example, you would just have to pass "btnClose" to get the close button.

The function returns NULL if the widget does not exist.

The counterpart to this function is get_widget_name().

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