Python Forum
[Tkinter] .delete and .insert not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] .delete and .insert not working
#2
You need to get the reference to the object Entry, by calling .grid on it you lose it, call grid separately.
change
display = Entry(root, width=25).grid(row=0, column=0, columnspan=3, padx=10, pady=20)
to

display = Entry(root, width=25)
display.grid(row=0, column=0, columnspan=3, padx=10, pady=20)
BashBedlam likes this post
Reply


Messages In This Thread
.delete and .insert not working - by francois072 - Jun-24-2020, 07:55 PM
RE: .delete and .insert not working - by Yoriz - Jun-24-2020, 08:02 PM
RE: .delete and .insert not working - by ndc85430 - Jun-24-2020, 08:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] .delete and .insert not working brigette 5 2,170 Jul-21-2022, 07:46 PM
Last Post: menator01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020