Jump to content

[SOLVED] The conflict between the Widget and Unigine::Widgets


photo

Recommended Posts

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
×
×
  • Create New...