Python Forum
[Tkinter] Is mainloop() necessary?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Is mainloop() necessary?
#3
(Sep-01-2019, 02:35 PM)Yoriz Wrote: IDLE is written in tkinter, running tkinter code in IDLE will use idle's mainloop.
Best advice is not to use IDLE for tkinter code.

Edit: yes mainloop is necessary.

Thank you .....
Thank you .....
Thank you .....
Thank you .....
Thank you .....
Dance

Thank you for arranging my first post and sending 'How To Arrange' link.....

Thank you for solving the problem .....

It worked!

I hadn't any idea that IDLE is written in tkinter and codes are using it's mainloop().

Thanks Man!
Reply


Messages In This Thread
Is mainloop() necessary? - by escape_freedom13 - Sep-01-2019, 01:06 PM
RE: Is mainloop() necessary? - by Yoriz - Sep-01-2019, 02:35 PM
RE: Is mainloop() necessary? - by escape_freedom13 - Sep-01-2019, 02:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TKinter restarting the mainloop when button pressed zazas321 7 16,437 Jan-26-2021, 06:38 AM
Last Post: zazas321
  [Tkinter] sleep(n) not working inside tkinter mainloop roger31415 2 5,214 Jul-14-2019, 06:57 PM
Last Post: wuf
  [split] What is a GUI's mainloop ? kom2 1 2,785 May-04-2019, 01:58 PM
Last Post: Yoriz
  [Tkinter] ttk.barprogress - root.mainloop francisco_neves2020 11 6,291 Apr-10-2019, 01:06 PM
Last Post: francisco_neves2020
  [Tkinter] How to update the gui in a loop without blocking the gui mainloop Qnuba 2 65,652 Nov-12-2016, 04:33 PM
Last Post: Qnuba

Forum Jump:

User Panel Messages

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