libgklademm - iterate over widgets




I know that

Gtk::Widget * Gnome::Glade::Xml::get_widget (const Glib::ustring &name)

is the function I want to call to get a widget out of a Glade::Xml object, but is there a way of finding out which widgets are present, i.e. what values of "name" are valid for that call?

What I *really* want is something like:

void doSomething(Gtk::Widget *)
{
...
}
...
for_each(xml->begin(), xml->end(), doSomething);


-------------------------------------------------------------------
Charlie - Metropolis Data Consultants

PGP Key: https://www.metropolis-data.co.uk/web/cim20_pubkey.gpg





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]