PyQt5 – Hide push button on click
In this article we will see how to hide the push button. When we design a GUI (Graphical User Interface) we create push button in it which do some task when they are pressed. But some time their is a need to hide the button if task is completed, in order to hide the button we will use hide method.
Syntax : button.hide()
Argument : It takes no argument.
Action performed : It hides the push button
When click button is pressed, output will generate and button will get hidden.