polyui
1.7.39
jvm
polyui
/
org.polyfrost.polyui.component
/
Component
/
addChild
add
Child
@
Locking
@
Synchronized
fun
addChild
(
child
:
Component
,
index
:
Int
=
-1
,
recalculate
:
Boolean
=
true
)
the runtime equivalent of adding children to this component during the constructor.
@
Locking
(
when
=
"children.size != 0"
)
fun
addChild
(
vararg
children
:
Component
)