Class StackControlBase
source code
TextScrollList --+
|
StackControlBase
stack base implementation. A stack keeps multiple items which can be added
and removed. Additionally, it allows to remap the items, effectively showing
a formatted item, which is kept in sync with an unformatted item.
:note: for now, only adding items, format will be applied. All other methods
operate on the formatted items.
|
|
|
|
|
|
|
|
|
removeItem(self,
item)
Remove the given formatted item from the list, as well as the corresponding
unformtted item. |
source code
|
|
|
|
- Returns:
- formatted version of item
|
- Returns:
- unformatted selected item or None
|
Select the unformatted item as identified by either the index or item
:param index_or_item: integer representing the 0-based index of the item to
select, or the item's id
:raise ValueError: if the item does not exist
|
Remove the given formatted item from the list, as well as the corresponding
unformtted item. Its not an error if the item does not exist
|