Is there a way to change label fg colour with Tk? - Raspberry Pi Forums
hi
i'd change foreground of label, when int reaches defined value (button or this)
how work?
label looks this: , try to: works, when set colour before creating label, need after that.
lot
i'd change foreground of label, when int reaches defined value (button or this)
how work?
label looks this:
code: select all
self.label = tk.label(self, textvariable = self.labeltext[0][0], fg=colour.get(), bg="white")
code: select all
colour.set("red")
lot
please please please... if you're posting problem, give @ least details setup.
bit of code gather you're using tkinter python.
bit of code gather you're using tkinter python.
raspberrypi
Comments
Post a Comment