In this article we will see how to set tool tip duration. We can can tool tip using
setToolTip method with the status bar object but by default, tool tip will not disappear automatically after some time. We can set this disappearing time by using
setToolTipDuration method with status bar object.
Syntax : self.statusBar().setToolTipDuration(ms)
Argument : It take integer as argument which represent milliseconds
Action performed : It set time duration to tool tip of status bar.
This tool tip will disappear after 500 milliseconds i.e 5 seconds
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