Re: Which is the best solution?



You might try something like the GtkNotebook, and just select which of
the widgets should be activate at any one time. I think that you
should be able to suppress the tabs by using
gtk_notebook_set_show_tabs().

On 4/6/07, Fernando Tarín <lists im gmail com> wrote:
Hi i want to use a container with several children showing just one.
 First i tried with a Bin derived class since i can remove the child
 and add another one easily, to achieve this I used reparent to set the
parent of
the child, that worked fine but i was getting an assertion from gtk
so i tried a different approach now i'm using an HBox and removing inserted
children by hand leaving just the one i want to show, personally I prefer
the first solution but since i'm pretty new to gtkmm i want to know which
is the best solution in this case

Thanks for your time.



_______________________________________________
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]