In this article we will see how we can set the special value text to the spin box. Setting special value text to spin box will display this special text instead of a numeric value whenever the current value is equal to minimum value. Typical use of this is to indicate that this choice has a special (default) meaning.
In order to do this we use
setSpecialValueText method with the spin box object.
Syntax : spin_box.setSpecialValueText(text)
Argument : It takes string as argument
Return : It returns None
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course