setChild

fun setChild(id: String, child: <Error class: unknown class>)

Sets @child as the child for @id in @self.

When changing layouts, it will be inserted into the slot with @id.

Since

1.6

Parameters

id

the id of the child

child

the child to set