Re: tutorial on hiding a widget and showing another in it's place?
- From: "Lance Capser (lmcapser)" <lmcapser micron com>
- To: Patrick <patrick spellingbeewinnars org>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: tutorial on hiding a widget and showing another in it's place?
- Date: Sat, 26 Oct 2013 17:06:31 +0000
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 spellingbeewinnars org> 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 gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]