In this article we will see how to set tool tip to a progress bar. Tool tip is basically tip showed up on screen when cursor hover upon the progress bar. Tool tip will basically used to tell the user about the percentage or how much time is left to complete, in order to set the tool tip we use
Syntax : bar.setToolTip(text)
Argument : It takes string as argument.
Action performed : It will set tool tip to progress bar.
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