Inherits from
- Widget: enthought.pyface.widget.Widget
Attributes
- item_activated
An item has been activated.
item_activated = Event
- model
The model that provides the data for the list box.
model = Instance(ListBoxModel)
- selection
The objects currently selected in the list.
selection = Int(-Const(1))
- STYLE
Default style.
STYLE = (wx.LB_SINGLE | wx.LB_HSCROLL | wx.LB_NEEDED_SB)
Method summary
Methods
- __init__(self, parent, **traits)
Creates a new list box.
- dispose(self)
- refresh(self)
Refreshes the list box.