Yes, but I can't create a new widget over them.. If I create a vbox in a place I can't (i don't know how) create a new widget at the same place to toggle with other widget. I know the visibility option, the idea is switch with widgets, but if I can't create new widgets at the same spot i can't hide those widgets.
How can I create two widgets at the same place (in glade3)? Or i should create the second widget in a new window and reparent this new widget with the other? If it is the last case, isn't works the old widget it hides but the new doesn't appears.. and I don't know what is wrong. Thanks again :) David On Thu, May 29, 2008 at 3:50 AM, muppet <[EMAIL PROTECTED]> wrote: > > On May 28, 2008, at 4:02 PM, anguila wrote: > > I have a toolbar and i want to with pushing a button, the treeview that >> have below it changes to another widget. >> I know that it exist reparent function that does that. I make de GUI with >> glade, and all widgets that you create needs a window parent . How can I >> create a vbox widget in glade3 without creating a window? Because if I >> create a window, to put the widget (vbox in this case) that I want to >> exchange this widget it has a parent (the window), and if it has a parent i >> can't reparent it. >> >> There is a way to make this with glade? or I should create vbox2 and all >> those new widgets without glade? >> > > I presume that a Notebook widget is not appropriate, or you would've gone > with that. ;-) > > If you're just toggling between two or three things, you can make them all > in glade in the same spot, but only set one of them visible at a time --- > the "visible" property handles this. > > > > -- > The Master in the art of living makes little distinction between his work > and his play, his labor and his leisure, his mind and his body, his > education and his recreation, his love and his religion. He hardly knows > which is which. He simply pursues his vision of excellence in whatever he > does, leaving others to decide whether he is working or playing. To him he > is always doing both. > > -- Zen Philosophy > > > >
_______________________________________________ gtk-perl-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-perl-list
