[Tutor] buttons, scrollbar, tkinter
I was trying to put buttons in, but now I know why it wouldn't work. I'm going to take a look at PMW. Thanks. Ron A ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] buttons, scrollbar, tkinter
Is there any way to change this to put in a column of buttons and it will scroll like it does now. I've tried but when I put in the buttons the scrollbar just grows with all the buttons and won't do anything. from Tkinter import * root = Tk() scrollbar = Scrollbar(root) scrollbar.pack(side=RIGHT, fill=Y) listbox = Listbox(root, yscrollcommand=scrollbar.set) for i in range(55): listbox.insert(END, str(i)) listbox.pack(side=LEFT, fill=BOTH) scrollbar.config(command=listbox.yview) Ron A ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] try here for tkinter lessons
I've had problems getting started with tkinter, but since reading these lessons everything is beginning to make sense. If anyone is interested this is the link. http://bembry.org/tech/python/index.php Ron A ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor