list of all child widgets

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

 



Hi, I just signed up.

How do I get a list of all child widgets, recursively down the
hierarchy?

I tried
    gtk_container_foreach()
but it only gives me the immediate child.  If I have something like

    vbox -- hbox +-- label
                 |
                 +-- button
         
and if I call gtk_container_foreach() for 'vbox', I only get 'hbox'.  I
can keep a list of what I added, but it would be nice to avoid such
bookkeeping.

-- 
William Park <opengeometry@xxxxxxxx>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/
_______________________________________________

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