Re: Problem with signals and libglademm



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

-- 
View this message in context: http://www.nabble.com/Problem-with-signals-and-libglademm-tp17822512p17825818.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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