vita_de Posted April 8, 2013 Share Posted April 8, 2013 Can I add a child WidgetVBox to a parent Unigine::Widgets::VBox? Example: Gui gui = engine.getGui(); WidgetVBox childVB = new WidgetVBox(gui); Unigine::Widgets::VBox parentVB = new Unigine::Widgets::VBox(); parentVB.addChild(childVB); // Error: Machine::do_callucfv(): "WidgetVBox 02e4f920 internal (12:21:21)" is not a user class If so, how? Link to comment
frustum Posted April 8, 2013 Share Posted April 8, 2013 Unigine::Widgets::VBox is a script wrapper around WidgetVBox. parentVB.vbox.addChilld(childVB); Link to comment
vita_de Posted April 11, 2013 Author Share Posted April 11, 2013 Thank you. Everything works fine! :rolleyes: Link to comment
Recommended Posts