How to focus on application main window after calling show #1683
-
I am working to create an app with Toga that is able to be hidden with a key command and then shown with a key command regardless of if the program has focus. I was able to do this with a global keyboard shortcut and a background process. The issue that I am running into is focusing on the Toga app main_window after calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
At present, there isn't an API for this. This sort of request is on the edge of what is the concern of an "app", and what is the concern of the operating system; while it's definitely something that can be done, it hasn't been an area of focus for Toga development. |
Beta Was this translation helpful? Give feedback.
At present, there isn't an API for this. This sort of request is on the edge of what is the concern of an "app", and what is the concern of the operating system; while it's definitely something that can be done, it hasn't been an area of focus for Toga development.