ScrolledListbox¶
-
class
ttkwidgets.
ScrolledListbox
(master=None, compound='right', autohidescrollbar=True, **kwargs)[source]¶ Bases:
ttk.Frame
Simple
tk.Listbox
with an added scrollbar.-
__init__
(master=None, compound='right', autohidescrollbar=True, **kwargs)[source]¶ Create a Listbox with a vertical scrollbar.
Parameters: - master (widget) – master widget
- compound (str) – side for the Scrollbar to be on (
tk.LEFT
ortk.RIGHT
) - autohidescrollbar (bool) – whether to use an
AutoHideScrollbar
or attk.Scrollbar
- kwargs – keyword arguments passed on to the
tk.Listbox
initializer
-