Tuesday, February 15, 2011

some proof

http://library.gnome.org/devel/gtk/stable/GtkContainer.html#gtk-container-get-children

There is a function for returning a list of all the children in a container which pretty much shows that each container widget keeps track of its respective child widgets. This must happen once you pack a widget into a container, and it explains why I can lose the original pointer to the widget after the packing and still have the signal callbacks function.

No comments:

Post a Comment