Python Forum
Using Tkinter widgets on child window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Tkinter widgets on child window
#3
I tried using the .pack() method, but I still can't get the .insert() to work (Usually the methods associated with the Listbox comes up after I type variableName.). I can, however, do this in my main.py file without any issue. I am guessing this is because I define root = Tk() and then pass that to my Application class.

Is my other class not inheriting the Tk()?
Reply


Messages In This Thread
RE: Using Tkinter widgets on child window - by chewy1418 - Jan-31-2020, 01:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 540 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  make widgets disappear from tkinter jacksfrustration 12 1,190 Feb-06-2024, 03:58 PM
Last Post: deanhystad
  Tkinter multiple windows in the same window tomro91 1 870 Oct-30-2023, 02:59 PM
Last Post: Larz60+
  Centering and adding a push button to a grid window, TKinter Edward_ 15 4,906 May-25-2023, 07:37 PM
Last Post: deanhystad
  [Tkinter] Open tkinter colorchooser at toplevel (so I can select/focus on either window) tabreturn 4 1,928 Jul-06-2022, 01:03 PM
Last Post: deanhystad
  [Tkinter] Background inactivity timer when tkinter window is not active DBox 4 2,943 Apr-16-2022, 04:04 PM
Last Post: DBox
  why my list changes to a string as I move to another window in tkinter? pymn 4 2,586 Feb-17-2022, 07:02 AM
Last Post: pymn
  [Tkinter] Tkinter Window Has no Title Bar gw1500se 4 2,873 Nov-07-2021, 05:14 PM
Last Post: gw1500se
  .get() from generated Entry widgets in tkinter snakes 4 4,259 May-03-2021, 11:26 PM
Last Post: snakes
  "tkinter.TclError: NULL main window" Rama02 1 5,879 Feb-04-2021, 06:45 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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