[Glade-users] How To Change the content of the main container

Tadej Borovšak tadeboro at gmail.com
Tue Aug 25 05:30:19 EDT 2009


Hi.

When I encountered situation like this, I simply created parent vbox
that holds all of my subsections of the GUI and then show/hide then
based on demand. For sample implementation, you can have a look at
Imagination (imagination.sf.net), where preview and overview modes are
handled this way (the GUI is not created using Glade, but the
principle still holds).

For a minimalistic demo, I created sample GtkBuilder UI so you can see
how things can be done.

Tadej


-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch.builder
Type: application/octet-stream
Size: 3954 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20090825/3dd859fe/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch.c
Type: application/octet-stream
Size: 1158 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20090825/3dd859fe/attachment-0003.obj 


More information about the Glade-users mailing list