Hi all,

I have a text widget which successfully fetches data from a backend sqlite 
database and displays it in the text widget.
My requirement is that I want to make the text widget readonly so that no one 
can edit the fetched data. I use '-state disabled' but that hides the data that 
is displayed in the text widget.

Kindly help.

The relevant portion of the code is undergiven:
text .f2.t1 -bd 1 -highlightbackground black -highlightthickness 1 -font $fnt9 
-state disabled
   .f2.t1 insert end [string trim $nm]
   place .f2.t1 -x 65 -y 25 -width 170 -height 16

Thanxs in advance.
Anirban Sarkar

Reply via email to