addChild

override fun <T : Menu> addChild(child: T): T

Allows child to be added dynamically with Kotlin DSL in the context of this manager.

Return

the child added.

Parameters

child

child to add.