PyQt5 – Set tool tip to Status Bar
In this article we will see how we can set tool tip to a status bar. The tooltip or infotip or a hint is a common graphical user interface element. It is used in conjunction with a cursor, usually a pointer. The user hovers the pointer over an item, without clicking it, and a tooltip may appear—a small “hover box” with information about the item being hovered over.
In order to set this we will use
setToolTip method with status bar object.
Syntax : self.statusBar().setToolTip(data)
Argument : It takes string as argument.
Action performed : It sets tool tip to status bar.
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