Accessing widgets


Google

To access a widget, for instance to show() a dialog, use the get_widget() method, providing the widget's name. This name should be specified in the Glade Properties window. If the widget could not be found, or is of the wrong type, then the pointer will be set to 0.
Gtk::Dialog* pDialog = 0;
refXml->get_widget("DialogBasic", pDialog);