VK wrote: > Hi! > Can entry widget be scrolled? > VK > > TypeError: xview() takes exactly 2 arguments (4 given) > > Code: > > > > from Tkinter import * > class ScrollEntry: > def __init__(self): > self.root = Tk() > self.scrollbar = Scrollbar(self.root,orient=HORIZONTAL,) > self.entry = Entry(self.root,xscrollcommand=self.scrollbar.set) > self.entry.focus() > self.entry.pack(side=TOP,fill=X) > self.scrollbar.pack(fill=X) > self.scrollbar.config(command=self.entry.xview) > self.entry.config() > > > a=ScrollEntry() > a.root.mainloop()
Already found: :) http://infohost.nmt.edu/tcc/help/pubs/tkinter/entry-scrolling.html -- http://mail.python.org/mailman/listinfo/python-list