Re: Problem with signals and libglademm




Thank you for that,  most helpful.



kike-5 wrote:
> 
> El vie, 13-06-2008 a las 08:18 -0700, johnmb escribió:
> 
>> 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?
> 
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch23s04.html
> 
> 
> 
> --
> Enrique García Álvarez
> 
> www.eldemonionegro.com
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-signals-and-libglademm-tp17822512p17826356.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]