Python Forum
Tkinter object scope
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter object scope
#5
(Feb-16-2023, 08:14 PM)riversr54 Wrote: Now to the bad news...
It is because the .pack() method returns None. Do
self.entBookTitle = ttk.Entry(frameRight, font=('Helvetica', 12), width=20)
self.entBookTitle.pack(padx=10, pady=10)
Reply


Messages In This Thread
Tkinter object scope - by riversr54 - Feb-16-2023, 07:40 PM
RE: Tkinter object scope - by riversr54 - Feb-16-2023, 07:41 PM
RE: Tkinter object scope - by Gribouillis - Feb-16-2023, 07:55 PM
RE: Tkinter object scope - by riversr54 - Feb-16-2023, 08:14 PM
RE: Tkinter object scope - by Gribouillis - Feb-16-2023, 08:54 PM
RE: Tkinter object scope - by riversr54 - Feb-16-2023, 09:19 PM
RE: Tkinter object scope - by deanhystad - Feb-17-2023, 05:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter AttributeError: 'GUI' object has no attribute pfdjhfuys 3 1,789 May-18-2023, 03:30 PM
Last Post: pfdjhfuys
  Key Binding scope angus1964 1 1,288 Jun-30-2022, 08:17 PM
Last Post: deanhystad
  tkinter moving an class object with keybinds gr3yali3n 5 3,451 Feb-10-2021, 09:13 PM
Last Post: deanhystad
  Scope of variable when using two classes AyJay 2 2,233 Jan-23-2020, 10:09 AM
Last Post: AyJay

Forum Jump:

User Panel Messages

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