In this article we will see how we can make the spin box visible with the help of
show method. We can hide the spin box using
hide method or
setHidden method. By default spin box is visible.
show method is exact opposite of
In order to do so we use
Syntax : spin_box.show()
Argument : It takes no argument
Action performed : Makes spin box visible
Implementation steps :
1. Create a spin box
2. Create a push button
3. Add action to the push button
4. Inside the push button make the spin box hidden with the help of hide method
5. Create another push button
6. Inside the action make the spin box visible with the help of show method
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.