In this article we are going to learn about SetItemToolTip() method associated with wx.RadioBox class of wxPython. SetItemToolTip() method is simply used to set the tooltip text for the specified item in the radio group.
This function is currently only implemented in wxMSW and wxGTK2 and does nothing in the other ports.
Syntax: wx.RadioBox.SetItemToolTip(self, item, text)
Parameter Input Type Description item int The zero-based item index. helptext string Tooltip text for the item, the tooltip is removed if empty.
ToolTip item 0
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