Python Forum
.get() invoke after a button nested press
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.get() invoke after a button nested press
#6
You still have mainloop() appearing twice in you code. It can only appear once.

You still have this loop that will create thousands of login windows a second once you remove the extra mainloop().
while login_verified == False and run_program == True:
    LoginWindow = tk.TopLevel()
You did not read enough about simple dialog. I my example I have two entry fields. Not sure how you missed that if you ran the code.
Reply


Messages In This Thread
RE: .get() invoke after a button nested press - by deanhystad - Mar-29-2021, 03:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter.TclError: can't invoke "canvas" command cybertooth 8 6,113 Feb-23-2023, 06:58 PM
Last Post: deanhystad
  [Tkinter] _tkinter.TclError: can't invoke "destroy" command: application has been destroyed knoxvilles_joker 6 15,792 Apr-25-2021, 08:41 PM
Last Post: knoxvilles_joker
Question closing a "nested" window with a button in PySimpleGUI and repeating this process Robby_PY 9 13,684 Jan-18-2021, 10:21 PM
Last Post: Serafim
  tkinter touchscreen scrolling - button press makes unwanted scrolling nanok66 1 4,053 Dec-28-2020, 10:00 PM
Last Post: nanok66
  Anytime I press the button, the result is depicted Jionni 2 2,254 Feb-24-2020, 10:08 AM
Last Post: Jionni
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,063 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp
  [Tkinter] how to input a random entry with each button press? nadavrock 1 6,446 Jun-17-2019, 05:28 AM
Last Post: Yoriz
  [Tkinter] Spawn sub-window with button press malonn 3 5,927 Oct-28-2018, 02:56 PM
Last Post: malonn
  [Tkinter] Updating Label After Button Press malonn 7 5,761 Aug-23-2018, 10:52 PM
Last Post: malonn
  [Tkinter] Problem with changing label text on button press xk2006x 1 5,602 Jun-02-2017, 06:00 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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