How to temporarily hide the main window PyQt5?

Question:

I have removed the title of the main window.

Created a button that should hide the window, but not close it. How can I implement a similar function for her?

Asked By: Bitchdragon

||

Answers:

I guess you want something to minimize application

like this button :

enter image description here

To minimize your application you should call showMinimized(); function.

look at this Qt Documentation link :

https://doc.qt.io/qt-5/qwidget.html#showMinimized

Answered By: Parisa.H.R
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.