Python Forum
Int Variables in different Tkinter windows only returning 0
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Int Variables in different Tkinter windows only returning 0
#2
The code shown does not run, there is no tkinter import and data has not been defined.
Unable to compare if you are using the exact same code in main root window as secondary window as only one windows code is shown.
In the code shown when the Checkbutton's are created instead of each individual IntVar being passed as an argument to parameter variable, the whole button_list is being passed.
Reply


Messages In This Thread
RE: Int Variables in different Tkinter windows only returning 0 - by Yoriz - May-26-2019, 09:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter multiple windows in the same window hosierycouch 1 295 May-30-2024, 04:28 AM
Last Post: deanhystad
  tkinter two windows instead of one jacksfrustration 7 1,222 Feb-08-2024, 06:18 PM
Last Post: deanhystad
  pass a variable between tkinter and toplevel windows janeik 10 3,090 Jan-24-2024, 06:44 AM
Last Post: Liliana
  Tkinter multiple windows in the same window tomro91 1 1,121 Oct-30-2023, 02:59 PM
Last Post: Larz60+
  Dual Tkinter windows and shells Astrikor 6 4,288 Sep-03-2020, 10:09 PM
Last Post: Astrikor
  [Tkinter] How to compare two variables correctly in tkinter scratchmyhead 2 4,066 May-10-2020, 08:04 PM
Last Post: scratchmyhead
  [Tkinter] tkinter issue with variables carrying over between functions PengEng 1 1,864 Apr-06-2020, 06:13 PM
Last Post: deanhystad
  Returning a value from a tkinter.button call markr0804 4 26,170 Feb-16-2020, 10:35 AM
Last Post: markr0804
  Tkinter scaling windows conten to or with its size not working Detzi 5 4,758 Jan-12-2020, 12:42 PM
Last Post: Detzi
  [Tkinter] Tkinter bringing variables from 1 frame to another zukochew 6 12,916 Dec-26-2019, 05:27 AM
Last Post: skm

Forum Jump:

User Panel Messages

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