Python Forum
Test program returns int (I want int) and real one returns tuple (not wanted)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test program returns int (I want int) and real one returns tuple (not wanted)
#13
You are referencing the wrong widget. If you had inserted a print command to display the type of itembox it would have printed <class 'tkinter.Entry'>. Entry .size() returns the dimensions of the widget. itemlist is a Listbox.
Reply


Messages In This Thread
RE: Test program returns int (I want int) and real one returns tuple (not wanted) - by deanhystad - Mar-26-2020, 03:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Entry returns NONE mollerpunker 2 2,549 Dec-06-2020, 06:50 PM
Last Post: DT2000

Forum Jump:

User Panel Messages

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