In this article we will see how to set and get the name of progress bar. Name of progress bar is basically a named assigned to a progress bar by the developer. Name is set in order to classify the progress bar as while designing the GUI (Graphical User Interface) application, progress bar is created in order to classify them names are given to them like “loading”, “downloading”, “transfer” etc.
In order to set the name to progress bar
setAccessibleName method is used and to get the name
accessibleName method is used, if no name is assigned
accessibleName() method will return blank string.
Syntax :bar.setAccessibleName(name) bar.accessibleName()
setAccessibleNametakes string as argument.
accessibleNametakes no argument.
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