A List with associated scrollbars.
def __getattr__(self, attr):
Delegates all other attributes to the list.
Constructs a new ScrollingList.
Keeps this from being delegated by getattr.
Adds a new item to the end of the list.
Overrides Widget.bind to bind events to the listbox instead of the frame.
provides special configuration processing. Mostly passes configuration
options to the list.
Returns a list of all selected item indeces (as integers).
Deletes the entire list.
Sets the contents of the list from a list of items. Anything that was
originally in the list is removed.
Returns the text of the first selected item. Returns None if there
are no selected items.
Returns the index of the first selected item, returns None if there is
no item selected.
Adds a new item at the given index within the list.
Command called when the list is scrolled.
Overrides Frame.size() to delegate this to the list.
Syncs the scrollbar to the current view of the list.
__init__(self, parent, **kw)
def __init__(self, parent, **kw):
__nonzero__(self)
def __nonzero__(self):
append(self, item)
def append(self, item):
bind(self, sequence, action)
def bind(self, sequence, action):
config(self, **opts)
def config(self, **opts):
curselection(self)
def curselection(self):
deleteAll(self)
def deleteAll(self):
fillList(self, items)
def fillList(self, items):
firstSelection(self)
def firstSelection(self):
firstSelectionIndex(self)
def firstSelectionIndex(self):
insert(self, index, item)
def insert(self, index, item):
scrolled(self, *args)
def scrolled(self, *args):
size(self)
def size(self):
syncScrollbar(self)
def syncScrollbar(self):