PyQt5 – setWhatsThis() help text of Radio button
In this article we will see how we can set and access the help text of the radio button. Help text is the text which is used to know about the future information or what new information we can get about the radio button, in order to set help text we use
setWhatsThis method and for accessing we use
For setting help text to radio button –
Syntax : radio_button.setWhatsThis(text)
Argument : It takes string as argument
Return : None
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
For accessing help text of radio button –
Syntax : radio_button.whatsThis()
Argument : It takes no argument
Return : It returns string
Below is the implementation.