You have to change the state of the Text
widget from NORMAL
to DISABLED
after entering text.insert()
or text.bind()
:
text.config(state=DISABLED)
More Related Contents:
- How to bind self events in Tkinter Text widget after it will binded by Text widget?
- How to highlight text in a tkinter Text widget
- Add advanced features to a tkinter Text widget
- Celsius to Fahrenheit Converter GUI program python
- Why is the command bound to a Button or event executed when declared?
- tkinter: how to use after method
- Basic query regarding bindtags in tkinter
- How can I convert canvas content to an image?
- Get contents of a Tkinter Entry widget
- How can I escape latex code received through user input?
- How to get tkinter canvas to dynamically resize to window width?
- Closing pyplot windows
- Removing the TK icon on a Tkinter window
- Tkinter: Mouse drag a window without borders, eg. overridedirect(1)
- Way to play video files in Tkinter?
- Updating OptionMenu from List
- How can I set the mouse position in a tkinter window
- Difference between import tkinter as tk and from tkinter import
- Python Tkinter Canvas fail to bind keyboard
- Running a Tkinter form in a separate thread
- Tkinter.PhotoImage doesn’t not support png image
- Removing Ttk Notebook Tab Dashed Line
- How to start threads at the same time in Python [duplicate]
- How can I create a simple message box in Python?
- How do I get the Entry’s value in tkinter?
- How to run a code whenever a Tkinter widget value changes?
- Colour chart for Tkinter and Tix
- How to set the min and max height or width of a Frame?
- How to display text on the screen without a window using Python
- Tkinter Grid: How to position widgets so they are not stuck together