How can I minimize window in PyQt the same way as when _
is pressed?
I use
self.showMinimized()
It really minimizes window.
But there is no refocus to the previous window. As if focus is still on minimized window.
How can I minimize and refocus to the previous window as if minimize button _
is pressed?