Python Forum
[Tkinter] Background inactivity timer when tkinter window is not active
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Background inactivity timer when tkinter window is not active
#5
(Apr-15-2022, 06:38 PM)deanhystad Wrote: Running the idle checker in a different thread let's that code run in parallel with the dock, but it does stop tkinter.mainloop(). Notice that the counter in the window does not increment while the window is hidden. Is that a problem?

No, that's not a problem at all for what I'm trying to do. Thanks so much for this, I believe I can do what I need to now.
Reply


Messages In This Thread
RE: Background inactivity timer when tkinter window is not active - by DBox - Apr-16-2022, 04:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Transparent window background, but not text on it muzicman0 8 6,966 Feb-13-2025, 06:16 AM
Last Post: elonnmusk
  Tkinter multiple windows in the same window hosierycouch 1 1,231 May-30-2024, 04:28 AM
Last Post: deanhystad
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 2,534 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  Tkinter multiple windows in the same window tomro91 1 2,163 Oct-30-2023, 02:59 PM
Last Post: Larz60+
  Centering and adding a push button to a grid window, TKinter Edward_ 15 14,289 May-25-2023, 07:37 PM
Last Post: deanhystad
  My Background Image Is Not Appearing (Python Tkinter) HailyMary 2 10,474 Mar-14-2023, 06:13 PM
Last Post: deanhystad
  [Tkinter] Open tkinter colorchooser at toplevel (so I can select/focus on either window) tabreturn 4 3,451 Jul-06-2022, 01:03 PM
Last Post: deanhystad
  why my list changes to a string as I move to another window in tkinter? pymn 4 3,648 Feb-17-2022, 07:02 AM
Last Post: pymn
  [Tkinter] Not able to get image as background in a Toplevel window finndude 4 5,278 Jan-07-2022, 10:10 PM
Last Post: finndude
  [Tkinter] Tkinter Window Has no Title Bar gw1500se 4 4,047 Nov-07-2021, 05:14 PM
Last Post: gw1500se

Forum Jump:

User Panel Messages

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