an added bonusit supports both window and frame-style menusso it can be used by both standalone programs and nested components although it' important to know the underlying calls used to make menusyou don' necessarily have to remember them for long listboxes and scrollbars let' rejoin our widget tour listbox widgets allow you to display list of items for selectionand scrollbars are designed for navigating through the contents of other widgets because it is common to use these widgets togetherwe'll study them both at once example - builds both listbox and scrollbaras packaged set example - pp \gui\tour\scrolledlist py " simple customizable scrolled listbox componentfrom tkinter import class scrolledlist(frame)def __init__(selfoptionsparent=none)frame __init__(selfparentself pack(expand=yesfill=bothself makewidgets(optionsdef handlelist(selfevent)index self listbox curselection(label self listbox get(indexself runcommand(labeldef makewidgets(selfoptions)sbar scrollbar(self tkinter tourpart make me expandable on list double-click fetch selection text and call action here or get(active