Stepping through all the widgets?

Kerion

13-08-2008 06:25:21

This seems like it should be obvious, but I can't figure out how to get a list of the top level widgets in a MyGUI state. Each Widget has getChilds() to return it's children, but Gui doesn't seem to have getChilds() to return the top-level widgets. Is there someway to do this that I am missing?

Altren

13-08-2008 06:45:34

There'sinline const VectorWidgetPtr & getChilds() { return mWidgetChild; }in MyGUI::Gui. This function was added in revision 801. Looks like you have older copy of MyGUI.

Kerion

13-08-2008 06:52:39

I have 2.2.0 RC1, but I guess I need to update to the latest HEAD.

Altren

13-08-2008 06:57:28

Yep :)