Control that provides a list of selectable items (and/or icons) in a single column, or optionally in multiple columns.
This control provides a selectable list of items that may be in a single (or multiple columns) with option of text, icons,
or both text and icon. Tooltips are supported and may be different for every item in the list. Selectable items in the list
may be selected or deselected and multiple selection may be enabled. Selection with right mouse button may also be enabled
to allow use of popup context menus. Items may also be 'activated' with a double click (or Enter key).
Adds an item to the item list with no text, only an icon.
Adds an item to the item list with specified text. Specify an icon of null for a list item with no icon.
If selectable is true the list item will be selectable.
Remove all items from the list.
Ensure selection is visible, adjusting the scroll position as necessary.
Given a position within the control return the item (if any) at that point.
Return count of items currently in the item list.
Returns a [Color] modulating item's icon at the specified index.
Return the text for specified item index.
Return tooltip hint for specified item index.
Returns the list of selected indexes.
Returns the current vertical scroll bar for the List.
Returns [code]true[/code] if one or more items are selected.
Returns whether or not the item at the specified index is disabled
Returns whether or not the item at the specified index is selectable.
Returns whether the tooltip is enabled for specified item index.
Returns whether or not item at the specified index is currently selected.
Moves item at index [code]from_idx[/code] to [code]to_idx[/code].
Remove item at specified index from the list.
Select the item at the specified index.
Note: This method does not trigger the item selection signal.
Disable (or enable) item at specified index.
Disabled items are not be selectable and do not fire activation (Enter or double-click) signals.
Set (or replace) icon of the item at the specified index.
Sets a modulating [Color] for item's icon at the specified index.
Sets a value (of any type) to be stored with the item at the specified index.
Allow or disallow selection of the item at the specified index.
Sets text of item at specified index.
Sets tooltip hint for item at specified index.
Sets whether the tooltip is enabled for specified item index.
Sorts items in the list by their text.
Ensure item at specified index is not selected.
Ensure there are no items selected.
If [code]true[/code] the currently selected item may be selected again.
If [code]true[/code] a right mouse button click can select items.
Allow single or multiple selection. See the [code]SELECT_*[/code] constants.
Fired when specified list item is activated via double click or Enter.
Fired when specified list item has been selected via right mouse clicking.
The click position is also provided to allow appropriate popup of context menus
at the correct location.
Fired when specified item has been selected.
Fired when a multiple selection is altered on a list allowing multiple selection.