Re: Dynamic menus
- From: Diego Zuccato <diego otello alma unibo it>
- To: Sam B <totalsam hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: Dynamic menus
- Date: Sat, 18 Dec 2004 09:34:16 -0500
Sam B wrote:
> Thank you for this answer ! Yes, I'll try to implement it as you suggest
> ..... I hope there's no problem in having two widgets in the same table
> cell, one being "hidden" and the second "shown"...
Yes. It's a problem. One cell one widget.
> But I still have a question : suppose I have a notebook with a label (i.e :
> "page 1"), containing a widget that is a box with another label (i.e : "This
> is the page number 1"). How is it possible to hide or show this second label
> from an external function ? I can get the full notebook page with
> gtk_notebook_get_nth_page(), which returns a GtkWidget*. But then, how can I
> extract the widget that is in the notebook page instead of the label of the
> page ? And how can I get the widget (here a label) that is in a box, or in a
> table ??
Uh? Sorry. I can't understand what you're trying to do.
You can have a notebook with page1 empty (well, a blank label), page2
with the other label & so on.
Switching page you change the widget shown.
Maybe it's better to switch to PM.
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]