Re: Dynamic menus

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

 



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.
_______________________________________________

gtk-list@xxxxxxxxx
http://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