In this article we are going to learn about
SetItemLabel() method associated with wx.RadioBox class of wxPython. SetItemLabel() method is simply used to set the text of the n’th item in the radio box.
It takes the index of the item whose label we want to change and the new label string as parameter.
Syntax: wx.RadioBox.SetItemLabel(self, n, text)
Parameter Input Type Description n int The zero-based item index. text string The text to set for the label for item
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