Now, if I try this, which should be nearer to the desired:-
// Load the interface
Glib::ustring glade_file;
glade_file = glade_file + working_directory.c_str() +
"glade/kas_master.glade";
main_gui = Gnome::Glade::Xml::create(glade_file);
welcome_screen& welcome =
dynamic_cast<welcome_screen&>(*main_gui->get_widget("welcome_screen"));
Gtk::Main::run(welcome);
I get this:-
john kas-dev:~/kas_master/trunk$ ./fsfm -x -d -c ip -t ip -w `pwd`/ #
terminate called after throwing an instance of 'std::bad_cast'
what(): St8bad_cast
Aborted
I think that what you want fits the "Using derived widgets" tutorial chapter, doesn't it?|
-- Enrique García Álvarez www.eldemonionegro.com |