space_ex v0.4.0 SpaceEx.UI.Panel

A container for user interface elements.

See SpaceEx.UI.Canvas.add_panel/3.

Link to this section Summary

Functions

Add a button to the panel

Add an input field to the panel

Create a panel within this panel

The rect transform for the panel

Remove the UI object

Whether the UI object is visible

Whether the UI object is visible

Link to this section Functions

Link to this function add_button(conn, this, content, visible)

Add a button to the panel.

  • content — The label for the button.

  • visible — Whether the button is visible.

Link to this function add_input_field(conn, this, visible)

Add an input field to the panel.

  • visible — Whether the input field is visible.
Link to this function add_panel(conn, this, visible)

Create a panel within this panel.

  • visible — Whether the new panel is visible.
Link to this function add_text(conn, this, content, visible)

Add text to the panel.

  • content — The text.

  • visible — Whether the text is visible.

Link to this function rect_transform(conn, this)

The rect transform for the panel.

Link to this function remove(conn, this)

Remove the UI object.

Link to this function set_visible(conn, this, value)

Whether the UI object is visible.

Link to this function visible(conn, this)

Whether the UI object is visible.