Next / Previous / Contents / Shipman's homepage

3.1. Public attributes of a ScrolledList

These attributes of a ScrolledList widget are visible.


The width of the listbox in characters when the widget was constructed.


The height of the listbox in lines when the widget was constructed.


The Tkinter Listbox widget inside the ScrolledList widget. If you want to change the appearance of the listbox, use this attribute's .configure() method.

For example, if you have a font object (tkFont.Font) named ttFont, and you would like to apply it to a ScrolledList widget named optionBox, this would do it: