hi,
here's the situation: I'm trying to build a GUI for a Genetic Algorithm that has a number of elements (labels) updated every iteration of the run.
I've tried doing it in the widget (Label) (1) and in the mainframe (2), but neither worked.
(1)
(2)
Thanks for any ideas
here's the situation: I'm trying to build a GUI for a Genetic Algorithm that has a number of elements (labels) updated every iteration of the run.
I've tried doing it in the widget (Label) (1) and in the mainframe (2), but neither worked.
(1)
Code:
Label(mainframe.update_idletasks(),textvariable=best,bg='#321000',fg='#000fff000',font=("Helvetica",x1)).grid(column=1,row=1)
Code:
mainframe = Frame(root) mainframe.grid(column=1000, row=1000, sticky=(N, W, E, S)) mainframe.columnconfigure(0, weight=1) mainframe.rowconfigure(0, weight=1) mainframe.update()
Comment