Re: Removing a widget
- From: "John Hobbs" <john velvetcache org>
- To: "GTKmm List" <gtkmm-list gnome org>
- Subject: Re: Removing a widget
- Date: Fri, 17 Oct 2008 16:36:41 -0500
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
john velvetcache org
On Fri, Oct 17, 2008 at 11:42 AM, Germán Diago <germandiago gmail com> 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
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]