[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: tutorial on hiding a widget and showing another in it's place?
From:       Murray Cumming <murrayc () murrayc ! com>
Date:       2013-10-27 8:29:35
Message-ID: 1382862575.6056.9.camel () murrayc-ThinkPad-X220
[Download RAW message or body]

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 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 way of doing this before i reinvent the wheel.
> > 
> > Could someone point me to a good tutorial on this or if you happen to 
> > have a bit of code handy, to post it? I am okay with a variety languages 
> > if it is not in C.
> 
> The new GtkSwitch widget is useful for this.

I mean GtkStack. Sorry.


-- 
murrayc@murrayc.com
www.murrayc.com
www.openismus.com


_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic