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

◆ setID()

void Flint::UINode::setID ( std::string id)

Sets a unique string identifier for this node.

Warning
If the ID is already taken by another widget in the same UIContext, the assignment is rejected and a warning is logged.
Parameters
idThe unique tracking name string for this widget.
See also
UIContext::findById