I am working on a GUI where pressing a certain button produces a pop-up window that should display a long, scrollable list of text. I'm using the text widget within the popup window to display this text. I've added a scrollbar and it appears on the pop-up window just fine. However when you try to scroll, moving the slider on the scrollbar does nothing. The slider doesn't even move. But the text list will respond and scroll when I use the mouse-wheel. Please see the code below for the command "bib" that is assigned to my button: def bib(): root = tk.Tk() root.title("References") h=tk.Scrollbar(root) h.pack(side=tk.RIGHT,fill=tk.Y) v=tk.Scrollbar(root) t=tk.Text(root,width=90, wrap=tk.NONE, yscrollcommand=v.set) t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.insert(tk.END,"number 1\n") t.insert(tk.END,"number 2\n") t.pack(side=tk.TOP, fill=tk.X) t.configure(font=("Times New Roman", 10)) v.config(command=t.yview) t.mainloop() Continue reading...