I am currently writing a win32gui python27 application (I\'m running win7). I am wondering if it is possible to create a new window from my mainloop() and KEEPING the focus
None of the above suggestions worked for me, on Mac OS El Capitan. But based on those hints, this does:
class Window(Tk.Toplevel): ... def setActive(self): self.lift() self.focus_force() self.grab_set() self.grab_release() ...