Hi, I am writing to create two buttons, for selecting and de-selecting multiple checkboxes that I have created previously. These checkboxes have different variables that they are associated with for their values and thus cannot create a loop for the same.
Is there any way that I could create the above-mentioned buttons, without having to manually select/deselect each checkbox under a select/deselect function associated with the buttons? Checkboxes are as shown below: Checkbutton(paramroot, text = "K_eq", variable = keqparam).grid(row = 2, column = 1, sticky = W) Checkbutton(paramroot, text = "Hrxn", variable = delHrxnparam).grid(row = 3, column = 1, sticky = W) Checkbutton(paramroot, text = "Kf", variable = kfparam).grid(row = 4, column = 1, sticky = W) Checkbutton(paramroot, text = "Af", variable = Afparam).grid(row = 5, column = 1, sticky = W) Checkbutton(paramroot, text = "k", variable = ksimparam).grid(row = 11, column = 1, sticky = W) Checkbutton(paramroot, text = "A", variable = Aparam).grid(row = 12, column = 1, sticky = W) Checkbutton(paramroot, text = "Reactant A", variable = RAparam).grid(row = 13, column = 2, sticky = W) Checkbutton(paramroot, text = "Reactant B", variable = RBparam).grid(row = 14, column = 2, sticky = W) Checkbutton(paramroot, text = "Reactant C", variable = RCparam).grid(row = 15, column = 2, sticky = W) Please let me know. Thank you Pooja _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor