checkbuttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pythonjohn
    New Member
    • May 2010
    • 1

    checkbuttons

    How do I get past the default setting of 1, so I can group a bunch of check boxes right next to each other?


    Code:
    import Tkinter
    root = Tkinter.Tk()
    for r in range(4):
            for c in range(6):
               Tkinter.Checkbutton(root,borderwidth=0).grid(row=r,column=c)
    root.mainloop()
    Last edited by bvdet; May 7 '10, 12:00 AM. Reason: Add code tags
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    I don't understand the question. What default setting of 1? What do you mean - "group a bunch of check boxes right next to each other"? The check boxes are where you tell them to be.

    Comment

    Working...