ImPS_Elements_ListBox

class ImPS_Elements_ListBox($pos_x, $pos_y)

Attention

This class is not intended to be initialized directly.

Note

This class inherits from Baseclass for Elements and Panels.

Parameters:
  • $pos_x ([int]) - Its X position.

  • $pos_y ([int]) - Its Y position.

Attributes:
Returns:
ListBoxItem()

Note

This is the same as calling $this.Drawable.Items

Parameters:

None

Returns:
set_selected(index, $selected)
Parameters:
  • $index ([int]) - The index of the item to change.

  • $selected ([bool]) - true/false

Returns:
get_selected($index)
Parameters:
  • $index ([int]) - The index of the item to get.

Returns:
  • [bool]