Exemplo n.º 1
0
Arquivo: list.py Projeto: saebyn/nwgui
 def __init__(self, *args, **kwargs):
     kwargs['padding'] = (5, 5)
     kwargs['border'] = (1, (0, 0, 0))
     VerticalContainer.__init__(self, *args, **kwargs)
     self.items = []
     # This is the index of the item at the top of the
     # displayed list of items. It is None if there are no items.
     self.listItemViewedIndex = None
     self.selectedItem = None
     self._dirty = True
     self.callback = None