This constructor is an implementation detail. Do not use this.
Returns a bitfield corresponding to which buttons are active.
The bits are as follows:
0x04
- Can remove the current component0x02
- Can move the current component up0x01
- Can move the current component downReturns the number of components in the layout.
Returns the name of the component at the specified index.
Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.
Returns the number of fields in the layout's settings.
Set component_settings
to true to use the selected component's settings instead.
Returns the name of the layout's setting at the specified index.
Set component_settings
to true to use the selected component's settings instead.
Returns the value of the layout's setting at the specified index.
Set component_settings
to true to use the selected component's settings instead.
Returns the index of the currently selected component.
Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.
Generated using TypeDoc
Represents the current state of the Layout Editor in order to visualize it properly.