[Glade-users] How To Change the content of the main container
- From: tadeboro at gmail.com (Tadej Borovšak)
- Subject: [Glade-users] How To Change the content of the main container
- Date: Tue, 25 Aug 2009 11:30:19 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]