Python Forum
[Tkinter] Entry widget to variable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Entry widget to variable
#2
IPRangeEntry = Entry(main).place(x=115, y=44)
PortRangeEntry = Entry(main).place(x=115, y=84)
place() returns None. You have to first store the Entry instance so you can access in the function.

PRangeEntry = Entry(main)
PRangeEntry.place(x=115, y=44)
Reply


Messages In This Thread
Entry widget to variable - by Zeiphar - Sep-20-2019, 12:46 PM
RE: Entry widget to variable - by woooee - Sep-20-2019, 02:28 PM
RE: Entry widget to variable - by Zeiphar - Sep-20-2019, 02:43 PM
RE: Entry widget to variable - by Yoriz - Sep-20-2019, 03:20 PM
RE: Entry widget to variable - by Zeiphar - Sep-21-2019, 05:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ValueError: could not convert string to float: '' fron Entry Widget russellm44 5 705 Mar-06-2024, 08:42 PM
Last Post: russellm44
  [Tkinter] entry widget DPaul 5 1,536 Jul-28-2023, 02:31 PM
Last Post: deanhystad
  Tkinter Exit Code based on Entry Widget Nu2Python 6 3,013 Oct-21-2021, 03:01 PM
Last Post: Nu2Python
  [Tkinter] Update variable using tkinter entry methon drSlump 6 5,235 Oct-15-2021, 08:01 AM
Last Post: drSlump
  method to add entries in multi columns entry frames in self widget sudeshna24 2 2,265 Feb-19-2021, 05:24 PM
Last Post: BashBedlam
  Entry Widget issue PA3040 16 6,875 Jan-20-2021, 02:21 PM
Last Post: pitterbrayn
  [Tkinter] password with Entry widget TAREKYANGUI 9 6,005 Sep-24-2020, 05:27 PM
Last Post: TAREKYANGUI
  [Tkinter] Get the last entry in my text widget Pedroski55 3 6,429 Jul-13-2020, 10:34 PM
Last Post: Pedroski55
  How to retreive the grid location of an Entry widget kenwatts275 7 4,640 Apr-24-2020, 11:39 PM
Last Post: Larz60+
  Problem with setting variable within a Entry validatecommand kenwatts275 1 1,900 Mar-31-2020, 01:53 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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