These methods are defined on a
Returns the number of lines currently contained in the listbox.
To retrieve the text of the
ith line in the
listbox, you can use the regular Python index operator.
For example, if you have a ScrolledList instance named
optionBox, the expression “
optionBox” would return the contents
of the third line.
Adds a string
as the next line in the listbox.
Inserts a string
as a new line before
. For example, to add a new first line
ScrolledList widget named
Deletes a line from the listbox;
index of the line, starting from 0.
Removes all lines from the listbox.