0
self.lblLabel= Label(self.f1,font=('arial',16,'bold'), text="Read Only", bd=14, anchor='r')
self.lblLabel.grid(row=1,column=1)
self.txtLabel=Entry(self.f1,font=('arial',16,'bold'), textvariable=self.rander,
                    bd=10, insertwidth=4, bg="red", justify = 'left')
self.txtLabel.grid(row=2,column=2)

I'm basically generating a random integer (self.rander) and displaying it in this text widget. How can I make it read only?

SneakyTurtle
  • 1,831
  • 1
  • 13
  • 23
George
  • 9
  • 1

0 Answers0