In this article we will see how we can get the name of the spin box, name is basically used to distinguish spin box with each other, programmer can name the spin box according to its use so that they can be easily distinguishable, by default no name is given to the combo box. Name can be set using
In order to do get the name we use
Syntax : spin_box.accessibleName()
Argument : It takes no argument
Return : It returns string
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.