In your slot: containerA.remove(widgetA); containerA.add(widgetB);
Should do it fine. See: http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Container.html#9f31c07118f7bdc7a4e0651acf35abbc - John Hobbs [EMAIL PROTECTED] On Fri, Oct 17, 2008 at 11:42 AM, Germán Diago <[EMAIL PROTECTED]> wrote: > Hello. I would like to know how to remove a widget from a container in > order to replace it by > other widget when a button is pushed. Is hiding and unparenting the > widget the correct way to > do it? Because the widget is still shown. Thanks in advance. > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
