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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 wish - the user only sees the pane you intend. Simple ;)

Lance Capser

> On Oct 26, 2013, at 9:02 AM, "Patrick" <patrick@xxxxxxxxxxxxxxxxxxxxxx> 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.
> 
> Thanks-Patrick
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux