Re: [gtk-list] Re: Getting children
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Getting children
- Date: 08 Jul 1998 14:42:16 -0400
Federico Mena Quintero <federico@nuclecu.unam.mx> writes:
> > I see how to get a child's ancestor. But knowing the ancestor, is there
> > a way to get the chilren of that ancestor?
>
> You can use gtk_container_foreach() for that. There are a couple of
> places in Gtk were a list of children is built using the foreach method.
Including:
GList* gtk_container_children (GtkContainer *container);
Which returns a GList of the children of a container.
Just thought it should be mentioned,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]