Skip to content
Raphael Menges edited this page Sep 21, 2015 · 2 revisions

Manipulation of layouts or elements is a powerful tool to create functionalities inside the user interface depending on actions of the user or other influences. They can even be done inside the methods of a listener implementation of SensorListener or ButtonListener.

Layouts

There are multiple functions in the interface available to change the order of layouts in the GUI, change the visibility or block input. In most cases, a pointer to the owning GUI and the layout itself is necessary.

Elements

Manipulation of elements inside a layout with a function call is done by determining the element to manipulate by a pointer to the layout and the id of the element specified in the xml.

Clone this wiki locally