I want to make a terminal with text widget in tkinter.I want that current path is written in Text widget and anyone cant erase it and on the other hand thay can write their command.
Asked
Active
Viewed 45 times
1 Answers
0
Set the state first to Normal
and then change the state to Disabled
following a text.insert
for a text widget.
text.configure(state='Normal')
text.insert('TEXT')
text.configure(state='Disabled')

Yuuty
- 123
- 10