You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.