Jan-06-2023, 03:52 PM
(This post was last modified: Jan-07-2023, 07:56 AM by deanhystad.)
buttons = [RadioButton(self, text=gt[0], value=gt[1], variable=self.radio_button_var)) for gt in graph_types]
for index, button in enumerate(buttons, start=1):
button.grid(row=index, column=0, padx=10, pady=10, sticky="W")[/python]
for index, button in enumerate(buttons, start=1):
button.grid(row=index, column=0, padx=10, pady=10, sticky="W")[/python]