Re: Gtk::Assistant and Glade



On Tue, 2011-03-08 at 11:27 -0500, Josh Sinykin wrote:
[snip]
> builder->get_widget( "vbox1" , PtrPage1Vbox);
> builder->get_widget( "hpaned1" , PtrHPaned1);    
> 
> append_page(*PtrPage1Vbox);
> append_page(*PtrHPaned1);
[snip]

You are getting widgets that are already in containers and trying to put
them into another container. That's why you are getting this error:

> " Gtk-CRITICAL **: gtk_assistant_insert_page: assertion `page->parent
> == NULL' failed

Why do you need to do this? Aren't the widgets already in the assistant
in Glade?

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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