Re: tutorial on hiding a widget and showing another in it's place?

2013-10-27 Thread Murray Cumming
On Sat, 2013-10-26 at 10:33 -0400, Patrick wrote: > Hi Everyone > > I have a table of buttons. On clicking a button I would like a new table > of buttons to take the first tables place. > > I am assuming I do this by hiding the first table, and inserting another > in the callback function but I

Re: tutorial on hiding a widget and showing another in it's place?

2013-10-27 Thread Murray Cumming
On Sun, 2013-10-27 at 09:28 +0100, Murray Cumming wrote: > On Sat, 2013-10-26 at 10:33 -0400, Patrick wrote: > > Hi Everyone > > > > I have a table of buttons. On clicking a button I would like a new table > > of buttons to take the first tables place. > > > > I am assuming I do this by hiding t

Re: tutorial on hiding a widget and showing another in it's place?

2013-10-26 Thread Lance Capser (lmcapser)
If you know how the buttons are to be laid out ahead of time, I do this with a GtkNotebook widget. Just hide the tabs and you control switching the pages based on the button callbacks. This lets you build the tables on load, and switching the pages is very fast. You can do as many pages as you w

tutorial on hiding a widget and showing another in it's place?

2013-10-26 Thread Patrick
Hi Everyone I have a table of buttons. On clicking a button I would like a new table of buttons to take the first tables place. I am assuming I do this by hiding the first table, and inserting another in the callback function but I am not quite sure and it would be nice to see the standard w