snip...
>
> I use wxPython most of the time, however effbot has a good tutorial on
> scrollbars for Tkinter that I think you might find helpful:
>
> http://effbot.org/zone/tkinter-scrollbar-patterns.htm
>
> Here's another link on the subject:
>
> http://www.pythonware.com/library/tkinter/introducti
On Apr 24, 7:11 am, goldtech <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm stumped on how to have a scrollbar with a long list of checkboxes.
> Given code like:
>
> from Tkinter import *
> root = Tk()
> states = []
> for i in range(150):
> var = IntVar()
> chk = Checkbutton(root, text=str(i), va
Hi,
I'm stumped on how to have a scrollbar with a long list of checkboxes.
Given code like:
from Tkinter import *
root = Tk()
states = []
for i in range(150):
var = IntVar()
chk = Checkbutton(root, text=str(i), variable=var)
chk.grid(sticky=W)
states.append(var)
root.mainloop()
p