Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ addChild()

void Flint::UINode::addChild ( std::unique_ptr< UINode > child)

Inserts a child widget to live inside this layout element container boundary.

Note
This node assumes complete memory ownership of the sub-element unique pointer. The target child automatically inherits this element's parent tracking context pointers.
Parameters
childUnique pointer configuration block wrapper holding the sub-widget instance.