-
Notifications
You must be signed in to change notification settings - Fork 4
Manipulation
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.
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.
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.