Python Forum
[Tkinter] [split] [split] How to make a window stay on top
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] [split] [split] How to make a window stay on top
#3
Actually when I click the initial open next window the spawned window does not become active until I click open next window.

Which is the issue I was noticing when I tried to use -topmost true option.

The kicker is I am trying to ensure the window spawned is automatically active and at the top so that it will accept keyboard input.

The question I have to wonder is this a Windows 10 problem, or is it a tkinter problem, or is it a python problem.

The example is rather inspired.

So on my main script I launch it. Splash screen does its thing then it goes to the select screen as I call it. I then hit spacebar to go to the fire screen as I call it. I have to click the fire screen to make it active before I can hit key, "f" to get the firing logic to start applying.

The majority of users are going to be windows users, some Linux, and many Raspbian users along with a few macOS users. So I think this quirk is something I might want to address to keep the script more user friendly.

The flash software I am replacing did not have this issue so I am more leaning that it is an issue with the way I am coding things or it could be the way windows desktop manager is misbehaving or behaving depending upon ones point of view...
Reply


Messages In This Thread
RE: [split] [split] How to make a window stay on top - by knoxvilles_joker - Apr-24-2021, 10:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 612 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  [Tkinter] [split] I want to add a code to the "Save" button to save the data entered LOO 1 2,012 Jan-23-2023, 05:31 PM
Last Post: deanhystad
Question [Tkinter] How to make split button? teknixstuff 2 1,104 Jan-03-2023, 06:21 PM
Last Post: Yoriz
  [split] .delete and .insert not working brigette 5 2,068 Jul-21-2022, 07:46 PM
Last Post: menator01
  [Tkinter] [split] Is there a way to embed a treeview as a row inside another treeview? CyKlop 5 3,437 Oct-20-2021, 12:14 AM
Last Post: CyKlop
  Trying to make random image loop in Tk window using python Jediguy18 1 3,246 Dec-30-2020, 04:56 AM
Last Post: deanhystad
  [Tkinter] How to make message box error stay on top of window scratchmyhead 1 8,379 May-10-2020, 10:21 PM
Last Post: scratchmyhead
  tkinter window and turtle window error 1885 3 6,795 Nov-02-2019, 12:18 PM
Last Post: 1885
  [split] Closing a window but not the whole program scriptdrache 1 2,356 Jun-25-2019, 03:43 PM
Last Post: joe_momma
  [split] What is a GUI's mainloop ? kom2 1 2,794 May-04-2019, 01:58 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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