In this article we will see how we can set tool tip to the radio button. ToolTip is basically a message appear when we hover mouse over the radio button, tool tip gives the tip and help the user to understand better about the radio button.
In order to do set tool tip to the radio button we will use
Syntax : radio_button.setToolTip(text)
Argument : It takes string as argument
Action performed : This will set the tool tip to the radio button
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.