add

open fun add(uiElement: UIElement): UIElementsGroup

Add an UIElement to the group

The added ui element is added as the topmost element

If the element is already within the group it will become the topmost one

Return

this

Parameters

uiElement

the element to add